Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/java-datastore
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.11.5
Choose a base ref
...
head repository: googleapis/java-datastore
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.12.0
Choose a head ref
  • 11 commits
  • 61 files changed
  • 5 contributors

Commits on Oct 3, 2022

  1. 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).
    release-please[bot] authored Oct 3, 2022
    Configuration menu
    Copy the full SHA
    9b48326 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. chore(deps): update dependency com.google.cloud:google-cloud-datastor…

    …e to v2.11.5 (#869)
    
    [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datastore/2.11.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datastore/2.11.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datastore/2.11.5/compatibility-slim/2.11.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datastore/2.11.5/confidence-slim/2.11.4)](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=-->
    renovate-bot authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    15eddd9 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. 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>
    renovate-bot and gcf-owl-bot[bot] authored Oct 7, 2022
    Configuration menu
    Copy the full SHA
    4a8da72 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    b2a72ca View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. 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
    jainsahab authored Oct 14, 2022
    Configuration menu
    Copy the full SHA
    0e4ab63 View commit details
    Browse the repository at this point in the history
  2. 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 ._
    jainsahab authored Oct 14, 2022
    Configuration menu
    Copy the full SHA
    4641306 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. feat: Count API (#823)

    * 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
    jainsahab authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    8c22e61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76a187a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed816e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    831a92b View commit details
    Browse the repository at this point in the history
  5. chore(main): release 2.12.0 (#874)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    1f2dec1 View commit details
    Browse the repository at this point in the history
Loading