Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 6.29 KB

CHANGELOG.md

File metadata and controls

75 lines (49 loc) · 6.29 KB

Changelog for react-native-calendar-events

2.2.0 - 2021-01-08

  • Fixed findEventByID on iOS - return null if event is not found (for consistency with Android) #337 by @dstop75

  • Fixed android calendar query to catch events that intersect date range but aren't entirely a subset (for consistency with iOS) #333 by @jenniferburch

  • Added ability to set timezone on events in iOS (necessary for recurrence expansion to work correctly across daylight savings time transitions) #335 by @LorienHW and @mcarlson

Also includes minor documentation tweaks.

2.1.2 - 2020-11-08

  • Fixed exceptionDate option being optional in TypeScript bindings #329 by @MoOx

2.1.1 - 2020-10-20

  • Fixed TypeScript declaration in package.json file #328 by @wmcmahan
  • Fixed Android import into the README manual linking section #321 by @chiformihai

2.1.0 - 2020-08-11

  • Added ability to restrict to read-only permission on Android #320 by @mikehardy
  • Added a Troubleshooting section in README, to document the issue about saved event not being kept on device during sync #317 by @MoOx

2.0.1 - 2020-08-01

  • Fixed TypeScript definition for missing requestPermissions #316 by @wmcmahan

2.0.0 - 2020-08-01

In addition to bugfixes, this release introduces some minor breaking changes:

  • Support for React Native 0.60+ only
  • AndroidX support!
  • Android & iOS package name have changed. If you rely on React Native autolinking, you don't have to change a thing, otherwise, please see README to update installation instruction.
  • Permissions method names have changed for more explicit checkPermissions & requestPermissions.
  • For iOS, we now avoid crashes at all cost, which means
    • if a native method fails, it should be recoverable from JavaScript (promise rejection) - we tried to cover most native code part in the bridge to be able to catch all kind of exception
    • An exception has been made for fetching event: if some part of the serialization fails, a NSLog is emitted & the specific problematic part is ommited (eg: an alarm or a structuredLocation could be missing) and the process continues on other events. We keep in mind the idea of adding an error field into calendar event so the information is explicitely available from JavaScript. This is to avoid receving a promise rejection if you fetch 2 months of events & have a single tiny information that we failed to serialize. In this cases, you will receive all fetched calendar events with just a tiny information missing, which offers a better UX.

All platforms

Android

  • Package is now com.calendarevents.RNCalendarEvents a39efe7 by @MoOx
  • Fixed 'boolean android.database.Cursor.moveToNext()' on a null object reference error e7c9680 by @MoOx
  • Fixed parsing allowed availability #268 by @saghul
  • Added AndroidX support for react-native 0.60 #263 by @yfuks
  • Added: use PermissionListener to avoid Android manual steps #252 by @saghul
  • Added "NEVER ASK ME AGAIN" status added in Android #273 by @webtaculars
  • Added key to skip setting timezone on Android #271 by @eleddie

iOS

Docs

Pre 2.0.0

For 1.7.x & before, please refer to git history.