v2.0.0
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
- Event.
Changed
-
❗ BREAKING: TeamupClient config options are renamed
calToken
->calendarKey
apiKey
->teamupToken
calPassword
->teamupPassword
-
❗ BREAKING:
Events
class is renamed toEvent
-
❗ BREAKING: exposed methods are renamed:
listEvents
->getEvents
listEvent
->getEvent
listSubCalendars
->getSubCalendars
listSubCalendar
->getSubCalendar
-
Client
is merged to theRequest
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