Skip to content

Bump objectboxVersion from 3.8.0 to 4.0.2#204

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 26, 2024

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

Release notes

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

V4.0.2

  • Add convenience oneOf and notOneOf conditions that accept Date to avoid manual conversion using getTime().
  • When BoxStore is closing, briefly wait on active transactions to finish.
  • Guard against crashes when BoxStore was closed, but database operations do still occur concurrently (transactions are still active).

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).

... (truncated)

Commits
  • 6d65a6a Prepare Java release 4.0.2
  • c29a614 Merge branch '1068-close-while-read-tx-active' into 'dev'
  • acc26bf BoxStore: make handle volatile
  • c7ac7ed BoxStore: on close, wait briefly on open transactions
  • 901235b Tests: closing Store while Transaction is active should not crash
  • 88e3122 Merge branch '169-test-date-property' into 'dev'
  • c95901c Date: add oneOf conditions, update and add query tests
  • 19193db BoxStore: increase VERSION to 4.0.2-2024-08-13
  • a579019 Gradle: fix logging of standard out and error streams for tests
  • ac54f3f build.gradle.kts: note release-only properties
  • Additional commits viewable in compare view

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

Release notes

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

V4.0.2

  • Add convenience oneOf and notOneOf conditions that accept Date to avoid manual conversion using getTime().
  • When BoxStore is closing, briefly wait on active transactions to finish.
  • Guard against crashes when BoxStore was closed, but database operations do still occur concurrently (transactions are still active).

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).

... (truncated)

Commits
  • 6d65a6a Prepare Java release 4.0.2
  • c29a614 Merge branch '1068-close-while-read-tx-active' into 'dev'
  • acc26bf BoxStore: make handle volatile
  • c7ac7ed BoxStore: on close, wait briefly on open transactions
  • 901235b Tests: closing Store while Transaction is active should not crash
  • 88e3122 Merge branch '169-test-date-property' into 'dev'
  • c95901c Date: add oneOf conditions, update and add query tests
  • 19193db BoxStore: increase VERSION to 4.0.2-2024-08-13
  • a579019 Gradle: fix logging of standard out and error streams for tests
  • ac54f3f build.gradle.kts: note release-only properties
  • 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.2.

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

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

---
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 Aug 26, 2024
@github-actions github-actions Bot enabled auto-merge August 26, 2024 21:58
@github-actions
Copy link
Copy Markdown
Contributor

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 Oct 21, 2024

Superseded by #227.

@dependabot dependabot Bot closed this Oct 21, 2024
auto-merge was automatically disabled October 21, 2024 21:13

Pull request was closed

@dependabot dependabot Bot deleted the dependabot/gradle/objectboxVersion-4.0.2 branch October 21, 2024 21:13
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