Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump objectbox, objectbox_generator and objectbox_flutter_libs #47

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps objectbox, objectbox_generator and objectbox_flutter_libs. These dependencies needed to be updated together.
Updates objectbox from 2.5.1 to 4.0.0

Release notes

Sourced from objectbox's releases.

V4.0 Vector Search

To upgrade to this major release run flutter pub upgrade objectbox --major-versions (or for Dart Native apps dart pub upgrade objectbox --major-versions).

ObjectBox now supports Vector Search to enable efficient similarity searches.

This is particularly useful for AI/ML/RAG applications, e.g. image, audio, or text similarity. Other use cases include semantic search or recommendation engines.

Create a Vector (HNSW) index for a floating point vector property. For example, a City with a location vector:

@Entity()
class City {
@​HnswIndex(dimensions: 2)
@​Property(type: PropertyType.floatVector)
List<double>? location;
}

Perform a nearest neighbor search using the new nearestNeighborsF32(queryVector, maxResultCount) query condition and the new "find with scores" query methods (the score is the distance to the query vector). For example, find the 2 closest cities:

final madrid = [40.416775, -3.703790];
final query = box
    .query(City_.location.nearestNeighborsF32(madrid, 2))
    .build();
final closest = query.findWithScores()[0].object;

For an introduction to Vector Search, more details and other supported languages see the Vector Search documentation.

  • The generator correctly errors when using an unsupported index on a vector type.
  • Flutter for Linux/Windows, Dart Native: update to objectbox-c 4.0.0.
  • Flutter for Android: update to objectbox-android 4.0.0. If you are using Admin, make sure to update to io.objectbox:objectbox-android-objectbrowser:4.0.0 in android/app/build.gradle.
  • Flutter for iOS/macOS: update to objectbox-swift 2.0.0. Existing projects may have to run pod repo update and pod update ObjectBox.
Commits
  • 6a54675 Prepare release 4.0.0
  • 52e9f9d CHANGELOG: clarify generator errors on unsupported indexes on vectors
  • 210a139 README: fix line breaks
  • 81ffe10 CHANGELOG: shorten code example even more
  • 6b44b00 CHANGELOG: make vector search an intro, add major version hint.
  • f0d9f9b Merge branch '106-hnsw-annotation' into 'main'
  • 889223a Require at least C API 4.0.0 with core 4.0.0-2024-05-14
  • 5a1811f Update C-API [e196f0f2 -> 4.0.0]
  • e9ee0c9 Update ObjectBox Swift [1.9.2 -> 4.0.0]
  • b16331c Update objectbox-android [3.8.0 -> 4.0.0]
  • Additional commits viewable in compare view

Updates objectbox_generator from 2.5.1 to 4.0.0

Release notes

Sourced from objectbox_generator's releases.

V4.0 Vector Search

To upgrade to this major release run flutter pub upgrade objectbox --major-versions (or for Dart Native apps dart pub upgrade objectbox --major-versions).

ObjectBox now supports Vector Search to enable efficient similarity searches.

This is particularly useful for AI/ML/RAG applications, e.g. image, audio, or text similarity. Other use cases include semantic search or recommendation engines.

Create a Vector (HNSW) index for a floating point vector property. For example, a City with a location vector:

@Entity()
class City {
@​HnswIndex(dimensions: 2)
@​Property(type: PropertyType.floatVector)
List<double>? location;
}

Perform a nearest neighbor search using the new nearestNeighborsF32(queryVector, maxResultCount) query condition and the new "find with scores" query methods (the score is the distance to the query vector). For example, find the 2 closest cities:

final madrid = [40.416775, -3.703790];
final query = box
    .query(City_.location.nearestNeighborsF32(madrid, 2))
    .build();
final closest = query.findWithScores()[0].object;

For an introduction to Vector Search, more details and other supported languages see the Vector Search documentation.

  • The generator correctly errors when using an unsupported index on a vector type.
  • Flutter for Linux/Windows, Dart Native: update to objectbox-c 4.0.0.
  • Flutter for Android: update to objectbox-android 4.0.0. If you are using Admin, make sure to update to io.objectbox:objectbox-android-objectbrowser:4.0.0 in android/app/build.gradle.
  • Flutter for iOS/macOS: update to objectbox-swift 2.0.0. Existing projects may have to run pod repo update and pod update ObjectBox.
Commits
  • 6a54675 Prepare release 4.0.0
  • 52e9f9d CHANGELOG: clarify generator errors on unsupported indexes on vectors
  • 210a139 README: fix line breaks
  • 81ffe10 CHANGELOG: shorten code example even more
  • 6b44b00 CHANGELOG: make vector search an intro, add major version hint.
  • f0d9f9b Merge branch '106-hnsw-annotation' into 'main'
  • 889223a Require at least C API 4.0.0 with core 4.0.0-2024-05-14
  • 5a1811f Update C-API [e196f0f2 -> 4.0.0]
  • e9ee0c9 Update ObjectBox Swift [1.9.2 -> 4.0.0]
  • b16331c Update objectbox-android [3.8.0 -> 4.0.0]
  • Additional commits viewable in compare view

Updates objectbox_flutter_libs from 2.5.1 to 4.0.0

Release notes

Sourced from objectbox_flutter_libs's releases.

V4.0 Vector Search

To upgrade to this major release run flutter pub upgrade objectbox --major-versions (or for Dart Native apps dart pub upgrade objectbox --major-versions).

ObjectBox now supports Vector Search to enable efficient similarity searches.

This is particularly useful for AI/ML/RAG applications, e.g. image, audio, or text similarity. Other use cases include semantic search or recommendation engines.

Create a Vector (HNSW) index for a floating point vector property. For example, a City with a location vector:

@Entity()
class City {
@​HnswIndex(dimensions: 2)
@​Property(type: PropertyType.floatVector)
List<double>? location;
}

Perform a nearest neighbor search using the new nearestNeighborsF32(queryVector, maxResultCount) query condition and the new "find with scores" query methods (the score is the distance to the query vector). For example, find the 2 closest cities:

final madrid = [40.416775, -3.703790];
final query = box
    .query(City_.location.nearestNeighborsF32(madrid, 2))
    .build();
final closest = query.findWithScores()[0].object;

For an introduction to Vector Search, more details and other supported languages see the Vector Search documentation.

  • The generator correctly errors when using an unsupported index on a vector type.
  • Flutter for Linux/Windows, Dart Native: update to objectbox-c 4.0.0.
  • Flutter for Android: update to objectbox-android 4.0.0. If you are using Admin, make sure to update to io.objectbox:objectbox-android-objectbrowser:4.0.0 in android/app/build.gradle.
  • Flutter for iOS/macOS: update to objectbox-swift 2.0.0. Existing projects may have to run pod repo update and pod update ObjectBox.
Commits
  • 6a54675 Prepare release 4.0.0
  • 52e9f9d CHANGELOG: clarify generator errors on unsupported indexes on vectors
  • 210a139 README: fix line breaks
  • 81ffe10 CHANGELOG: shorten code example even more
  • 6b44b00 CHANGELOG: make vector search an intro, add major version hint.
  • f0d9f9b Merge branch '106-hnsw-annotation' into 'main'
  • 889223a Require at least C API 4.0.0 with core 4.0.0-2024-05-14
  • 5a1811f Update C-API [e196f0f2 -> 4.0.0]
  • e9ee0c9 Update ObjectBox Swift [1.9.2 -> 4.0.0]
  • b16331c Update objectbox-android [3.8.0 -> 4.0.0]
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

…r_libs

Bumps [objectbox](https://github.com/objectbox/objectbox-dart), [objectbox_generator](https://github.com/objectbox/objectbox-dart) and [objectbox_flutter_libs](https://github.com/objectbox/objectbox-dart). These dependencies needed to be updated together.

Updates `objectbox` from 2.5.1 to 4.0.0
- [Release notes](https://github.com/objectbox/objectbox-dart/releases)
- [Commits](objectbox/objectbox-dart@v2.5.1...v4.0.0)

Updates `objectbox_generator` from 2.5.1 to 4.0.0
- [Release notes](https://github.com/objectbox/objectbox-dart/releases)
- [Commits](objectbox/objectbox-dart@v2.5.1...v4.0.0)

Updates `objectbox_flutter_libs` from 2.5.1 to 4.0.0
- [Release notes](https://github.com/objectbox/objectbox-dart/releases)
- [Commits](objectbox/objectbox-dart@v2.5.1...v4.0.0)

---
updated-dependencies:
- dependency-name: objectbox
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: objectbox_generator
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: objectbox_flutter_libs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels May 20, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 28, 2024

Superseded by #49.

@dependabot dependabot bot closed this May 28, 2024
@dependabot dependabot bot deleted the dependabot/pub/multi-b8bfeaccf2 branch May 28, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants