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-spanner
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.2.0
Choose a base ref
...
head repository: googleapis/java-spanner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.0
Choose a head ref
  • 9 commits
  • 50 files changed
  • 5 contributors

Commits on Mar 18, 2021

  1. feat!: customer-managed encryption keys for Spanner (#666)

    * feat: add support for encrypted databases
    
    * fix: fix deps and clirr failures
    
    * tests: add additional tests for keys
    
    * tests: remove IT and add unit
    
    * fix: set null instead of default instance
    
    * fix: does not set encryption info if null
    
    Does not set encryption info in the request if it is null
    
    * fix: fixes dependencies
    
    * feature: adds support for encrypted backup
    
    Adds the possibility to set encryption config info in the creation of a
    backup.
    
    * feature: adds support for restoring encrypted dbs
    
    * Revert "tests: remove IT and add unit"
    
    This reverts commit cc19cf2.
    
    * fix: makes the setEncryptionConfigInfo public
    
    This is so a backup can be encrypted
    
    * feature: adds tests for cmek
    
    Adds tests for creating encrypted database, creating encrypted backups
    and restoring encrypted databases.
    
    * fix: removes keys after test finishes
    
    Destroy keys used in CMEK tests
    
    * fix: fixes clirr errors
    
    * fix: ignores failing cmek tests
    
    Ignores the failing CMEK tests until the backend support is enabled in
    production.
    
    * fix: uses wrapper encryption info for backups
    
    * fix: fixes clirr issues
    
    * fix: re-orders clirr issues
    
    * fix: addresses PR comments
    
    * test: fixes database admin client tests
    
    * chore: re-formats the code
    
    * chore: fixes clirr checks
    
    * tests: adds unit tests for domain classes
    
    Adds unit tests for EncryptionConfigInfo, EncryptionConfig, Backup and
    Restore.
    
    * chore: renames EncryptionConfigInfo
    
    Renames EncryptionConfigInfo to EncryptionConfig in order to mirror what
    is the protobuf definition.
    
    * tests: do not create a key on CMEK test
    
    Instead use an existing key and fails if the key is not present.
    
    * feat: allows multiple encryption configs
    
    Allows customer managed encryption for create databases (google default
    encryption is just nullifying the value here).
    Allows customer managed encryption, google default encryption and
    database encryption for create backups.
    Allows customer managed encryption, google default encryption and backup
    encryption for restore databases.
    
    * docs: adds java doc to Restore class
    
    * chore: refactors pom.xml
    
    Uses variables to define project id and instance id for running
    integration tests.
    
    * test: fixes cmek integration test
    
    * chore: fixes linting
    
    * Revert "chore: refactors pom.xml"
    
    This reverts commit d182b83.
    
    * test: unifies cmek backup and restore tests
    
    * chore: adds toString to encryption classes
    
    * docs: updates DatabaseInfo javadoc
    
    Co-authored-by: Knut Olav Løite <[email protected]>
    
    * docs: updates Restore javadocs
    
    Co-authored-by: Knut Olav Løite <[email protected]>
    
    * docs: updates DatabaseInfo javadocs
    
    Co-authored-by: Knut Olav Løite <[email protected]>
    
    * fix: addresses PR comments
    
    * tests: reformats
    
    Co-authored-by: Olav Loite <[email protected]>
    thiagotnunes and olavloite authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    8338116 View commit details
    Browse the repository at this point in the history
  2. feat!: drops support of Java 7 (#946)

    * feat!: drops support of Java 7
    
    From the next major release we will be only supporting Java 8+
    
    * tests: do not run unit tests for java 7
    thiagotnunes authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    7af1951 View commit details
    Browse the repository at this point in the history
  3. chore: release 5.2.1-SNAPSHOT (#992)

    🤖 I have created a release \*beep\* \*boop\*
    ---
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    ---
    
    
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    release-please[bot] authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    29a200d View commit details
    Browse the repository at this point in the history
  4. feat!: add closeAsync() method to Connection (#984)

    Co-authored-by: Thiago Nunes <[email protected]>
    olavloite and thiagotnunes authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    e7ec96e View commit details
    Browse the repository at this point in the history
  5. chore: regenerate README (#993)

    This PR was generated using Autosynth. 🌈
    
    
    <details><summary>Log from Synthtool</summary>
    
    ```
    2021-03-18 05:00:56,730 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-spanner/.github/readme/synth.py.
    On branch autosynth-readme
    nothing to commit, working tree clean
    2021-03-18 05:00:57,698 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
    
    ```
    </details>
    
    Full log will be available here:
    https://source.cloud.google.com/results/invocations/4feedb3a-2e39-4824-b0f1-48e0dce90a14/targets
    
    - [ ] To automatically regenerate this PR, check this box.
    yoshi-automation authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    fc305b7 View commit details
    Browse the repository at this point in the history
  6. test: fail if the same token is seen twice (#983)

    The backup pagination test should fail if the same page token is returned twice by the backend, instead of fetching the same page indefinitely. Further investigation is necessary if that actually happens, as it is not something that is expected.
    olavloite authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    459a477 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. chore(deps): update dependency com.google.cloud:libraries-bom to v19.…

    …2.1 (#1000)
    
    [![WhiteSource 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:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.2.0` -> `19.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/compatibility-slim/19.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/confidence-slim/19.2.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Renovate configuration
    
    :date: **Schedule**: At any time (no schedule defined).
    
    :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-spanner).
    renovate-bot authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    254cfdc View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2021

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

Commits on Mar 22, 2021

  1. chore: release 6.0.0 (#994)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Mar 22, 2021
    Configuration menu
    Copy the full SHA
    27d5343 View commit details
    Browse the repository at this point in the history
Loading