-
Notifications
You must be signed in to change notification settings - Fork 48
Comparing changes
Open a pull request
base repository: googleapis/java-datastore
base: v2.11.5
head repository: googleapis/java-datastore
compare: v2.12.0
- 11 commits
- 61 files changed
- 5 contributors
Commits on Oct 3, 2022
-
chore(main): release 2.11.6-SNAPSHOT (#868)
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Configuration menu - View commit details
-
Copy full SHA for 9b48326 - Browse repository at this point
Copy the full SHA 9b48326View commit details
Commits on Oct 4, 2022
-
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
…e to v2.11.5 (#869) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-datastore](https://togithub.com/googleapis/java-datastore) | `2.11.4` -> `2.11.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-datastore). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTMuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIxMy4xIn0=-->
Configuration menu - View commit details
-
Copy full SHA for 15eddd9 - Browse repository at this point
Copy the full SHA 15eddd9View commit details
Commits on Oct 7, 2022
-
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
…1.3 (#870) * chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4a8da72 - Browse repository at this point
Copy the full SHA 4a8da72View commit details
Commits on Oct 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b2a72ca - Browse repository at this point
Copy the full SHA b2a72caView commit details
Commits on Oct 14, 2022
-
refactor: making query class generic (#875)
* Making query generic and moving all the entity records related concerns to an internal RecordQuery interface * fixing lint * Making getType an internal function
Configuration menu - View commit details
-
Copy full SHA for 0e4ab63 - Browse repository at this point
Copy the full SHA 0e4ab63View commit details -
refactor: Extracting out Proto preparation logic to encourage reusabi…
…lity (#876) This change introduces a component called ProtoPreparer which will be used to populate the protos from the domain objects. In the upcoming count aggregation feature, aggregation query will be acting upon StructuredQuery and GqlQuery and hence need to populate the protos of those queries **again**. For that reason _ProtoPreparer_ component will have the responsibility to populate the protos and be reused in multiple usecases. _Note: This PR is intended to trim down the changes done as part of #823 ._
Configuration menu - View commit details
-
Copy full SHA for 4641306 - Browse repository at this point
Copy the full SHA 4641306View commit details
Commits on Oct 17, 2022
-
* Add method in Datastore client to invoke rpc for aggregation query * Creating count aggregation and using it to populate Aggregation proto * Moving aggregation builder method to root level aggregation class * Introducing RecordQuery to represent queries which returns entity records when executed * Updating gitignore with patch extension * Setting up structure of Aggregation query and its builder * Introducing ProtoPreparer to populate the request protos * Delegating responsibility of preparing query proto to QueryPreparer * Populating aggregation query with nested structured query * Delegating responsibility of preparing query proto in GqlQuery to QueryPreparer * Removing RecordQuery from the query hierarchy and making it a standalone interface for now * Populating aggregation query with nested gql query * Removing deprecation warning by using assertThrows instead of ExpectedException rule * Making DatastoreRpc call aggregation query method on client * Creating response transformer to transform aggregation query response into domain objects * Implementing aggregation query executor to execute AggergationQuery * Adding missing assertion statements * Creating RetryExecutor to inject it as a dependency in other components * Making RetryExecutor accept RetrySettings when creating it * Revert "Making RetryExecutor accept RetrySettings when creating it" This reverts commit 1dfafb7. * Revert "Creating RetryExecutor to inject it as a dependency in other components" This reverts commit 8872a55. * Introducing RetryAndTraceDatastoreRpcDecorator to have retry and traceability logic on top of another DatastoreRpc * Extracting out the responsibility of preparing ReadOption in it's own ProtoPreparer * Making QueryExecutor to execute query with provided ReadOptions * Exposing readTime to the user * Ignoring runAggregationQuery method from clirr check * Making readTime final * Allowing namespace to be optional in AggregationQuery * Add capability to fetch aggregation result by passing alias * Implementing User facing datastore.runAggrgation method to run aggregation query * Add integration test for count aggregation * Add transaction Id support in ReadOptionsProtoPreparer * Supporting aggregation query with transactions * Allowing user to create Aggregation directly without involving its builder * Preventing creating duplicated aggregation when creating an aggregation query * Marking RecordQuery implemented method as InternalApi * Writing comments and JavaDoc for aggregation query related class * Adding a default implementation in the public interfaces to avoid compile time failures * covering a scenario to maintain consistent snapshot when executing aggregation query in a transaction * Creating emulator proxy to simulate AggregationQuery response from emulator * Integration test to execute an aggregation query in a read only transaction * Getting rid off limit operation on count aggregation as same behaviour can be achieved by using 'limit' operation on the underlying query * Removing import statement from javadoc and undo changes in .gitignore file * Using Optional instead of returning null from ReadOptionsProtoPreparer * using assertThat from Truth library * fixing unit test * Getting rid off Double braces initialization syntax * Fixing lint * Getting rid off emulator proxy and using easy mock to check the aggregationQuery triggered * Deleting a entity created locally in other test which is causing failure in other test * Deleting all keys in datastore in integration test so that new test can start fresh * Executing two read write transaction simultaneously and verifying their behaviour * Removing tests to verify serializability as it's an underlying implementation detail * Fixing lint * Adding runAggregationQuery method to reflect config so that it's available and accessible in native image through reflection * Fixing equals of CountAggregation * Fixing lint * Adding an integration test of using limit option with aggregation query * Adding BetaApi annotation to public surface to indicate that aggregation query / count is in preview * Fixing lint * Removing unused functiona and fixing javadoc * fixing variable name
Configuration menu - View commit details
-
Copy full SHA for 8c22e61 - Browse repository at this point
Copy the full SHA 8c22e61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76a187a - Browse repository at this point
Copy the full SHA 76a187aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed816e2 - Browse repository at this point
Copy the full SHA ed816e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 831a92b - Browse repository at this point
Copy the full SHA 831a92bView commit details -
chore(main): release 2.12.0 (#874)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1f2dec1 - Browse repository at this point
Copy the full SHA 1f2dec1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.11.5...v2.12.0