-
Notifications
You must be signed in to change notification settings - Fork 131
Comparing changes
Open a pull request
base repository: googleapis/java-spanner
base: v6.60.1
head repository: googleapis/java-spanner
compare: v6.61.0
- 16 commits
- 196 files changed
- 7 contributors
Commits on Feb 23, 2024
-
chore(main): release 6.60.2-SNAPSHOT (#2922)
🤖 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 77f649b - Browse repository at this point
Copy the full SHA 77f649bView commit details -
chore(deps): update dependency com.google.cloud:google-cloud-spanner …
…to v6.60.1 (#2923) * chore(deps): update dependency com.google.cloud:google-cloud-spanner to v6.60.1 * 🦉 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 704ad74 - Browse repository at this point
Copy the full SHA 704ad74View commit details -
docs: samples and tests for backup Admin APIs and overall spanner Adm…
…in APIs. (#2882) * fix: prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests. * For details on issue see - #2206 * Fixing lint issues. * chore: copy samples and rewrite create backup. * chore: fix code. * chore: fix code. * chore: fix code. * chore: fix error. * fix: all compilation errors. * fix: more compilation issues. * fix: all compile issues. * chore: compile and test PgSpannerSample. * fix: all issues with PgSpannerSample. * chore: compile and fix SpannerSample/SpannerSampleIT. * chore: fix kms configs and ITs. * chore: fix cancel backup tests. * Update samples/snippets/src/main/java/com/example/spanner/admin/generated/SpannerSample.java Co-authored-by: Knut Olav Løite <[email protected]> * chore: add log statements in tests. * chore: fix lint errors and fix comments. * chore: fix lint errors. * chore: fix lint errors. * chore: fix backup samples for restore use-case. * fix: fix restore/list backup tests. * chore: fix PgSpannerSample sample and test. * chore: fix delete backup test. * chore: fix lint errors. * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: add IT for CopyBackupSample. * chore: fix lint errors. * chore: refactor test for delete backup. --------- Co-authored-by: Knut Olav Løite <[email protected]> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for de13636 - Browse repository at this point
Copy the full SHA de13636View commit details -
fix: flaky test issue due to AbortedException. (#2925)
* fix: prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests. * For details on issue see - #2206 * Fixing lint issues. * fix: flaky test issue due to AbortedException. * chore: remove assertion.
Configuration menu - View commit details
-
Copy full SHA for cd34c1d - Browse repository at this point
Copy the full SHA cd34c1dView commit details
Commits on Feb 26, 2024
-
chore: replace client creation methods for all new samples with auto-…
…generated admin clients (#2927) * fix: prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests. * For details on issue see - #2206 * Fixing lint issues. * chore: remove unused imports. * chore: replace with new client creation methods. * Update samples/snippets/src/main/java/com/example/spanner/admin/generated/AddAndDropDatabaseRole.java Co-authored-by: Knut Olav Løite <[email protected]> * chore: address comments. * chore: replace with new client creation methods. --------- Co-authored-by: Knut Olav Løite <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6d82d4 - Browse repository at this point
Copy the full SHA c6d82d4View commit details
Commits on Feb 27, 2024
-
chore: add support for OpenTelemetry metrics to Connection API (#2896)
* chore: add support for OpenTelemetry metrics to Connection API * 🦉 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 4f7d28b - Browse repository at this point
Copy the full SHA 4f7d28bView commit details
Commits on Feb 28, 2024
-
feat: support float32 type (#2894)
* feat: float32 changes with unit and integration tests * Update formatting and clirr * Update the hashCode logic to account for NaN equality * Prevent FLOAT32 integration tests from running on emulator and production * Fix integration tests for FLOAT32 * Update float32UntypedParameters test to work with PG dialect too * Split the parameters test in ITQueryTest into supported + currently-unsupported tests. * Split the Mutation.isNaN method to make it more readable * test: added some additional tests * Update to resolve comments on PR#2894. Major change: Ensures that the new methods in interfaces do not break for older clients. Minor changes: remove double cast; remove dependency on Truth assertions; remove unnecessary logic in Mutations::isNaN * Un-ignore the skipped FLOAT32 tests as the backend fixes have been deployed * Un-ignore the float32 tests in ITQueryTest --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Knut Olav Løite <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19b7976 - Browse repository at this point
Copy the full SHA 19b7976View commit details
Commits on Feb 29, 2024
-
chore: loosen restrictions setRetryAbortsInternally (#2924)
* chore: loosen restrictions setRetryAbortsInternally Calling setRetryAbortsInternally(boolean) was unnecessarily strict, as there is no reason why it should be disallowed to change the value while in auto-commit mode and/or read-only mode. The fact that the flag does not have any direct impact on those modes, does not mean that it should be disallowed to set the value. The fact that it was impossible to set the value while in auto-commit mode, also means that it is impossible to disable it using a startup command for a PostgreSQL connection to PGAdapter, as PGAdapter creates connections in auto-commit mode. * 🦉 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 cf865f8 - Browse repository at this point
Copy the full SHA cf865f8View commit details -
chore: fix float32 NaN comparison + deprecate generator (#2933)
The FLOAT32 type was only added to the com.google.cloud.spanner.RandomResultSetGenerator, but that generator misses multiple other types. The one in the .connection package should be used instead. This PR therefore deprecates the one that should not be used, and updates all tests that used the old one. It also adds FLOAT32 to the .connection.RandomResultSetGenerator, which is used by a larger number of tests. This discovered a bug in the FLOAT32 NaN comparison, which is also fixed in this PR. Note: The commit is not marked with 'fix:', as the feature has not yet been released.
Configuration menu - View commit details
-
Copy full SHA for 2f6182e - Browse repository at this point
Copy the full SHA 2f6182eView commit details
Commits on Mar 2, 2024
-
test: add a default benchmark for measuring baselines. (#2739)
* Adding a benchmark (along with usual considerations) for measuring the latencies of some Java Client APIs. For any new feature, we usually first define the baseline by running benchmarks (without the feature). * Adding few utility methods to measure the p99/p95/p50 latencies. * Added benchmarking best-practices to avoid hotspot (by randomising keys), avoid cold start, etc.
Configuration menu - View commit details
-
Copy full SHA for 9a8cce8 - Browse repository at this point
Copy the full SHA 9a8cce8View commit details
Commits on Mar 4, 2024
-
docs: update all public documents to use auto-generated admin clients. (
#2928) * fix: prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests. * For details on issue see - #2206 * Fixing lint issues. * docs: update all public documents to use auto-generated admin clients. * chore: fix lint issue. * 🦉 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 ccb110a - Browse repository at this point
Copy the full SHA ccb110aView commit details -
test: support float32 in mock server (#2937)
Adds support for `float32` to the mock server for testing. Also adds a couple of tests that can be used to verify that the mock server supports all types, and that verifies that the client library reads and encodes all types correctly. These tests can be overridden by frameworks using the Java client (e.g. JDBC and PGAdapter) to verify that these also handle these types correctly when used through the API of that tool (I.e. through JDBC or PostgreSQL wire-protocol).
Configuration menu - View commit details
-
Copy full SHA for 66ddf6c - Browse repository at this point
Copy the full SHA 66ddf6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8f835a - Browse repository at this point
Copy the full SHA f8f835aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d7044e - Browse repository at this point
Copy the full SHA 1d7044eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71ab685 - Browse repository at this point
Copy the full SHA 71ab685View commit details -
chore(main): release 6.61.0 (#2926)
🤖 I have created a release *beep* *boop* --- ## [6.61.0](https://togithub.com/googleapis/java-spanner/compare/v6.60.1...v6.61.0) (2024-03-04) ### Features * Support float32 type ([#2894](https://togithub.com/googleapis/java-spanner/issues/2894)) ([19b7976](https://togithub.com/googleapis/java-spanner/commit/19b79764294e938ad85d02b7c0662db6ec3afeda)) ### Bug Fixes * Flaky test issue due to AbortedException. ([#2925](https://togithub.com/googleapis/java-spanner/issues/2925)) ([cd34c1d](https://togithub.com/googleapis/java-spanner/commit/cd34c1d3ae9a5a36f4d5516dcf7c3667a9cf015a)) ### Dependencies * Update dependency com.google.cloud:sdk-platform-java-config to v3.27.0 ([#2935](https://togithub.com/googleapis/java-spanner/issues/2935)) ([f8f835a](https://togithub.com/googleapis/java-spanner/commit/f8f835a9da705605c492e232a58276c39d1d7e6c)) * Update dependency org.json:json to v20240303 ([#2936](https://togithub.com/googleapis/java-spanner/issues/2936)) ([1d7044e](https://togithub.com/googleapis/java-spanner/commit/1d7044e97d16f5296b7de020cd24b11cbe2a7df0)) ### Documentation * Samples and tests for backup Admin APIs and overall spanner Admin APIs. ([#2882](https://togithub.com/googleapis/java-spanner/issues/2882)) ([de13636](https://togithub.com/googleapis/java-spanner/commit/de1363645e03f46deed5be41f90ddfed72766751)) * Update all public documents to use auto-generated admin clients. ([#2928](https://togithub.com/googleapis/java-spanner/issues/2928)) ([ccb110a](https://togithub.com/googleapis/java-spanner/commit/ccb110ad6835557870933c95cfd76580fd317a16)) --- 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 95bad55 - Browse repository at this point
Copy the full SHA 95bad55View 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 v6.60.1...v6.61.0