realm-js/CHANGELOG.md

91 lines
3.8 KiB
Markdown
Raw Normal View History

2016-05-16 23:02:30 +00:00
x.x.x Release notes (yyyy-MM-dd)
=============================================================
### Breaking changes
* None
### Enhancements
* Added `isValid()` method to `Results` and `List` to ensure objects have not been deleted or
invalidated
### Bugfixes
* None
2016-05-16 21:48:08 +00:00
0.13.0 Release notes (2016-5-16)
2016-05-16 20:56:59 +00:00
=============================================================
### Breaking changes
* With this release we have switched over to a new cross platform compatible date format.
This change will only require action from users who are using both the JS and Cocoa or Android
bindings simultaneously and accessing Realm files from both bindings. In these cases you need to
open the Realm file with the latest version of the iOS or Android bindings before accessing the
Realm from JS to prevent an unnecessary conversion.
### Enhancements
* None
### Bugfixes
* Date properties are now stored in a format compatible with the Realm Browser and other bindings.
* Fix for using `class MyObject extends Realm.Object` in a React Native project.
* Fix a memory leak caused by constructing a Realm instance of an already opened Realm.
* Fix for better supporting hot module reloading.
* Fix for some warnings when using `ListView` with React Native 0.25+
2016-05-16 20:56:59 +00:00
2016-05-04 20:48:19 +00:00
0.12.0 Release notes (2016-5-4)
2016-04-12 15:13:29 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* Support for queries comparing optional properties to `null`
2016-04-27 00:14:15 +00:00
* `object.isValid()` has been added to enable checking if an object has been deleted
2016-05-03 01:38:43 +00:00
- **Note:** Custom object classes can extend `Realm.Object` to inherit this method
* Support opening a Realm as read-only with the `readOnly` configuration option
* Support for providing a custom migration function (please see the docs for details)
* Added `path`, `readOnly`, `schema`, and `schemaVersion` properties to `Realm` instances
* Optional and list properties are no longer required when creating objects
2016-04-12 15:13:29 +00:00
### Bugfixes
2016-04-19 23:09:10 +00:00
* When accessing an empty Results `undefined` is returned rather than throwing an exception
2016-04-28 19:52:15 +00:00
* Accessing a deleted object throws a JS exception rather than crashing
* Accessing an invalidated Results snapshot throws a JS exception rather than crashing
2016-05-02 19:46:34 +00:00
* Fix for error message when specifying properties with invalid object types
2016-05-03 01:38:43 +00:00
* Fix memory leak when reloading an app in debug mode
2016-05-03 20:06:41 +00:00
* Setting non-persisted properties now works as expected
2016-04-12 15:13:29 +00:00
2016-03-29 22:30:15 +00:00
0.11.1 Release notes (2016-3-29)
=============================================================
### Bugfixes
* Fix for using Android Studio to build app using Realm
* Fix for sharing Realm between JS and Objective-C/Swift
0.11.0 Release notes (2016-3-24)
2016-03-11 00:15:54 +00:00
=============================================================
### Breaking changes
* Realm for React Native is now packaged as a static library for iOS
- Remove the reference to `RealmJS.xcodeproj` from your Xcode project
(under the `Libraries` group)
- Make sure `rnpm` is installed and up-to-date: `npm install -g rnpm`
- Run `rnpm link realm` from your app's root directory
2016-03-11 00:24:12 +00:00
2016-03-11 00:15:54 +00:00
### Enhancements
* Support for encrypted Realms
* List and Results now inherit from Realm.Collection
* List and Results is now iterable (e.g. supports `for...of` loops)
2016-03-11 00:24:12 +00:00
* Add common Array methods to List and Results
* Accept constructor in create() and objects() methods
* Support relative paths when opening Realms
* Support case insensitive queries by adding `[c]` after operators
* Support for indexed `bool`, `string`, and `int` properties
* Added `Realm.schemaVersion` method, which supports unopened Realms
2016-03-11 00:24:12 +00:00
2016-03-11 00:15:54 +00:00
### Bugfixes
2016-03-15 20:56:51 +00:00
* Fix for crash on Android when initializing the Realm module
2016-03-16 19:54:39 +00:00
* Fix for using Chrome debug mode from a device
* Fix for List splice method not accepting a single argument
2016-03-11 00:24:12 +00:00
* Don't download or unpack core libraries unnecessarily
2016-03-11 00:15:54 +00:00
2016-03-11 00:24:12 +00:00
0.10.0 Release notes (2016-2-22)
=============================================================
### Enhancements
2016-03-16 19:54:39 +00:00
* Initial Release