Skip to content

0.0.12

Pre-release
Pre-release
Compare
Choose a tag to compare
@Miha-x64 Miha-x64 released this 14 Mar 21:48
· 175 commits to master since this release

Persistence

  • Lens became (Struct) -> T instead of (Partial) -> T, deprecated ofStruct(), added ofPartial()
  • Renamed DataTypes which are Java keywords (int, long, enum etc) to be Rust keywords (i32, i64) or just non-keywords (enumeration) for Java interop possibilities
  • TokenStream.iteratorOf(type) for reading streams on demand
  • Renamed schema.build to invoke, Player.build { => Player { (similarly to Rust struct literals)

Extended Persistence

  • added t1 * t2 * t3 => Tuple3("first", t1, "second", t1, "third", t3) factories
  • added t1 + t2 + t3 => either3("first", t1, "second", t1, "third", t3) factories

Properties

  • added MutableProperty<Boolean>.flip()
  • many FieldSet.intersect(FieldSet) overloads with intersected return type

SQL

  • fixed support for non-long primary keys in SqliteSession
  • added JDBC/SQLite templates (Session.query API) with abilities to fetch Eagerly and Lazily
  • added projection(schema): Table — a factory method for building anonymous tables useful for raw queries
  • added NestingCaseNamingConvention for, well, nesting (outer.inner)
  • added transaction.insertAll(table, iterator)

Android Bindings

  • internal binding optimizations
  • removed Lifecycle Watcher Fragment which worked incorrectly