github objectbox/objectbox-dart v2.3.0

latest releases: v4.0.3, v4.0.2, v4.0.1...
14 months ago
  • Query support for integer and floating point lists: For integer lists (excluding byte lists)
    greater, less and equal are supported on elements of the vector (e.g. "has element greater").

    For floating point lists greater and less queries are supported on elements of the vector
    (e.g. "has element greater").

    A simple example is a shape entity that stores a palette of RGB colors:

    @Entity()
    class Shape {
        @Id()
        int id = 0;
    
        // An array of RGB color values that are used by this shape.
        Int32List? palette;
    }
    
    // Find all shapes that use red in their palette
    final query = store.box<Shape>()
            .query(Shape_.palette.equals(0xFF0000))
            .build();
    query.findIds();
    query.close();
  • Queries: all expected results are now returned when using a less-than or less-or-equal condition
    for a String property with IndexType.value. #318

  • Queries: when combining multiple conditions with OR and adding a condition on a related entity
    ("link condition") the combined conditions are now properly applied. #546

  • Update: objectbox-c 0.19.0.
    Notably now requires glibc 2.28 or higher (and GLIBCXX_3.4.25); e.g. at least Debian Buster 10
    (2019) or Ubuntu 20.04
    .

  • Update: objectbox-swift 1.9.0.

  • Update: objectbox-android 3.7.0.
    If you are using Admin, make sure to update to
    io.objectbox:objectbox-android-objectbrowser:3.7.0.

Don't miss a new objectbox-dart release

NewReleases is sending notifications on new releases.