Skip to content

v2.3.0

Compare
Choose a tag to compare
@greenrobot-team greenrobot-team released this 19 Sep 14:46
· 245 commits to main since this release
  • 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. Existing projects may have to run pod repo update and pod update ObjectBox.

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