Skip to content

v2.0.0

Compare
Choose a tag to compare
@saw-jan saw-jan released this 23 May 05:35
· 4 commits to main since this release
3c0c5e7

Added

  • BREAKING: APIs return custom data and error responses
  • Document latest changes in README docs
  • New TeamupClient config options: bearerToken
  • New APIs:
    • Event.getAllDayEvents() Gets events occurring for the whole day
    • Event.getRecurringEvents() Gets recurring events
    • SubCalendar.getInactiveSubCalendars() Gets inactive sub-calendars
    • SubCalendar.getSubCalendarByName() Gets a sub-calendar by name

Changed

  • BREAKING: TeamupClient config options are renamed

    • calToken -> calendarKey
    • apiKey -> teamupToken
    • calPassword -> teamupPassword
  • BREAKING: Events class is renamed to Event

  • BREAKING: exposed methods are renamed:

    • listEvents -> getEvents
    • listEvent -> getEvent
    • listSubCalendars -> getSubCalendars
    • listSubCalendar -> getSubCalendar
  • Client is merged to the Request class

  • Consistent variables naming

  • Solidify url joining

  • Request .get() method now accepts url params as args

Removed

  • Remove Client class

Full Changelog: v1.1.0...v2.0.0