Skip to content

Bump objectboxVersion from 3.8.0 to 4.0.1#179

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/objectboxVersion-4.0.1
Closed

Bump objectboxVersion from 3.8.0 to 4.0.1#179
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/objectboxVersion-4.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 3, 2024

Bumps objectboxVersion from 3.8.0 to 4.0.1.
Updates io.objectbox:objectbox-android-objectbrowser from 3.8.0 to 4.0.1

Release notes

Sourced from io.objectbox:objectbox-android-objectbrowser's releases.

V4.0.1

V4.0.0 - Vector Search

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
public class City {
@HnswIndex(dimensions = 2)
float[] location;

}

Perform a nearest neighbor search using the new nearestNeighbors(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 float[] madrid = {40.416775F, -3.703790F};
final Query<City> query = box
        .query(City_.location.nearestNeighbors(madrid, 2))
        .build();
final City closest = query.findWithScores().get(0).get();

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

  • BoxStore: deprecated BoxStore.sizeOnDisk(). Instead use one of the new APIs to determine the size of a database:
    • BoxStore.getDbSize() which for a file-based database returns the file size and for an in-memory database returns the approximately used memory,
    • BoxStore.getDbSizeOnDisk() which only returns a non-zero size for a file-based database.
  • Query: add properly named setParameter(prop, value) methods that only accept a single parameter value, deprecated the old setParameters(prop, value) variants.
  • Sync: add SyncCredentials.userAndPassword(user, password).
  • Gradle plugin: the license of the Gradle plugin has changed to the GNU Affero General Public License (AGPL).
Commits
  • 289cc2c Prepare Java release 4.0.1
  • cdc58bd Merge branch 'relation-docs-updates' into 'dev'
  • 97e0584 ToMany: correctly refer to object instead of entity where needed
  • a758a0e ToOne: update get, set and set ID methods, note important details
  • f61eb8b ToMany: update add, remove and get methods, note important details
  • 9886e98 ToOne/ToMany: improve class descriptions, notable things first
  • 4a6cb74 Merge branch 'discourage-old-query-apis' into 'dev'
  • b77566e Query: refer to new query API for setParameter using alias
  • 7878433 QueryBuilder: note to use new query API, do not deprecate, yet
  • b79519d ToOne: remove outdated TODOs
  • Additional commits viewable in compare view

Updates io.objectbox:objectbox-android from 3.8.0 to 4.0.1

Release notes

Sourced from io.objectbox:objectbox-android's releases.

V4.0.1

V4.0.0 - Vector Search

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
public class City {
@HnswIndex(dimensions = 2)
float[] location;

}

Perform a nearest neighbor search using the new nearestNeighbors(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 float[] madrid = {40.416775F, -3.703790F};
final Query<City> query = box
        .query(City_.location.nearestNeighbors(madrid, 2))
        .build();
final City closest = query.findWithScores().get(0).get();

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

  • BoxStore: deprecated BoxStore.sizeOnDisk(). Instead use one of the new APIs to determine the size of a database:
    • BoxStore.getDbSize() which for a file-based database returns the file size and for an in-memory database returns the approximately used memory,
    • BoxStore.getDbSizeOnDisk() which only returns a non-zero size for a file-based database.
  • Query: add properly named setParameter(prop, value) methods that only accept a single parameter value, deprecated the old setParameters(prop, value) variants.
  • Sync: add SyncCredentials.userAndPassword(user, password).
  • Gradle plugin: the license of the Gradle plugin has changed to the GNU Affero General Public License (AGPL).
Commits
  • 289cc2c Prepare Java release 4.0.1
  • cdc58bd Merge branch 'relation-docs-updates' into 'dev'
  • 97e0584 ToMany: correctly refer to object instead of entity where needed
  • a758a0e ToOne: update get, set and set ID methods, note important details
  • f61eb8b ToMany: update add, remove and get methods, note important details
  • 9886e98 ToOne/ToMany: improve class descriptions, notable things first
  • 4a6cb74 Merge branch 'discourage-old-query-apis' into 'dev'
  • b77566e Query: refer to new query API for setParameter using alias
  • 7878433 QueryBuilder: note to use new query API, do not deprecate, yet
  • b79519d ToOne: remove outdated TODOs
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps `objectboxVersion` from 3.8.0 to 4.0.1.

Updates `io.objectbox:objectbox-android-objectbrowser` from 3.8.0 to 4.0.1
- [Release notes](https://github.com/objectbox/objectbox-java/releases)
- [Commits](objectbox/objectbox-java@V3.8.0...V4.0.1)

Updates `io.objectbox:objectbox-android` from 3.8.0 to 4.0.1
- [Release notes](https://github.com/objectbox/objectbox-java/releases)
- [Commits](objectbox/objectbox-java@V3.8.0...V4.0.1)

---
updated-dependencies:
- dependency-name: io.objectbox:objectbox-android-objectbrowser
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.objectbox:objectbox-android
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 3, 2024
@github-actions github-actions Bot enabled auto-merge June 3, 2024 21:44
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2024

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Aug 26, 2024

Superseded by #204.

@dependabot dependabot Bot closed this Aug 26, 2024
auto-merge was automatically disabled August 26, 2024 21:58

Pull request was closed

@dependabot dependabot Bot deleted the dependabot/gradle/objectboxVersion-4.0.1 branch August 26, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants