isar 2.0.0-dev.1 isar: ^2.0.0-dev.1 copied to clipboard
Fast Cross Platform Database for Flutter & Web Apps. Supports indexes, FTS, queries etc.
2.0.0-dev.1 #
- Fix Isar connect issue (thanks @rizzi37)
- Imorove Isar Core error messages
2.0.0-dev.0 #
Breaking #
- The id for non-final objects is now assigned automatically after
.put()
and.putSync()
double
andList<double>
indexes can no longer be at the beginning of a composite indexList<double>
indexes can no longer be hashed.greaterThan()
,.lessThan()
and.between()
filters and are now excluding fordouble
values (>=
->>
)- Changed the default index type for lists to
IndexType.value
IsarLink
andIsarLinks
will no longer initialized by Isar and must not benullable
orlate
.
Enhancements #
- Added
isar.clear()
,isar.clearSync()
,col.clear()
andcol.clearSync()
- Added
col.filter()
as shortcut forcol.where().filter()
- Added
include
parameter to.greaterThan()
and.lessThan()
filters and where clauses - Added
includeLower
andincludeUpper
parameters to.between()
filters and where clauses - Added
Isar.autoIncrement
to allow non-nullable auto-incrementing ids Isar.close()
now returns whether it was successful- Improved generated code
- Minor performance improvements
- Automatic XCode configuration
- Updated analyzer to
3.0.0
- More tests
Fixed #
- Fixed multi-entry index queries returning items multiple times in some cases
- Fixed
.anyLessThan()
and.anyGreaterThan()
issues - Fixed issues with backlinks
- Fixed issue where query only returned the first
99999
results - Fixed issue with id where clauses
IsarLink
andIsarLinks
can now be final
1.0.5 #
1.0.0+1 #
Added missing binaries
1.0.0 #
Switched from liblmdb to libmdbx for better performance, more stability and many internal improvements.
Breaking #
The internal database format has been changed to improve performance. Old databases do not work anymore!
Fixes #
- Fix issue with links being removed after object update
- Fix String index problems
Enhancements #
- Support
greaterThan
,lessThan
andbetween
queries for String values - Support for inheritance (enabled by default)
- Support for
final
properties and getters - Support for
freezed
and other code generators - Support getting / deleting objects by a key
col.deleteByName('Anne')
- Support for list indexes (hash an element based)
- Generator now creates individual files instead of one big file
- Allow specifying the collection accessor name
- Unsupported properties are now ignored automatically
- Returns the assigned ids after
.put()
operations (objects are no longer mutated) - Introduces
replaceOnConflict
option for.put()
(instead of specifying it for index) - many more...
Internal #
- Improve generated code
- Many new unit tests
0.4.0 #
Breaking #
- Remove
.where...In()
and...In()
extension methods - Split
.watch(lazy: bool)
into.watch()
and.watchLazy()
- Remove
include
option for filters
Fixes #
- Generate id for JSON imports that don't have an id
- Enable
sortBy
andthenBy
generation
Enhancements #
- Add
.optional()
and.repeat()
query modifiers - Support property queries
- Support query aggregation
- Support dynamic queries (for custom query languages)
- Support multi package configuration with
@ExternalCollection()
- Add
caseSensitive
option to.distinctBy()
Internal #
- Change iOS linking
- Improve generated code
- Set up integration tests and improve unit tests
- Use CORE/0.4.0
0.2.0 #
- Link support
- Many improvements and fixes
0.1.0 #
- Support for links and backlinks
0.0.4 #
- Bugfixes and many improvements
0.0.2 #
Fix dependency issue
0.0.1 #
Initial release