-
Notifications
You must be signed in to change notification settings - Fork 101
Comparing changes
Open a pull request
base repository: googleapis/python-spanner
base: v3.0.0
head repository: googleapis/python-spanner
compare: v3.1.0
- 16 commits
- 67 files changed
- 10 contributors
Commits on Jan 19, 2021
-
test: unskip list_backup_operations sample (#210)
Co-authored-by: larkee <larkee@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fe48b93 - Browse repository at this point
Copy the full SHA fe48b93View commit details -
chore(deps): update dependency google-cloud-spanner to v3 (#209)
[](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-spanner](https://togithub.com/googleapis/python-spanner) | major | `==2.1.0` -> `==3.0.0` | --- ### Release Notes <details> <summary>googleapis/python-spanner</summary> ### [`v3.0.0`](https://togithub.com/googleapis/python-spanner/blob/master/CHANGELOG.md#​300-httpswwwgithubcomgoogleapispython-spannercomparev210v300-2021-01-15) [Compare Source](https://togithub.com/googleapis/python-spanner/compare/v2.1.0...v3.0.0) ##### β BREAKING CHANGES - convert operations pbs into Operation objects when listing operations ([#​186](https://togithub.com/googleapis/python-spanner/issues/186)) ##### Features - add support for instance labels ([#​193](https://www.github.com/googleapis/python-spanner/issues/193)) ([ed462b5](https://www.github.com/googleapis/python-spanner/commit/ed462b567a1a33f9105ffb37ba1218f379603614)) - add support for ssl credentials; add throttled field to UpdateDatabaseDdlMetadata ([#​161](https://www.github.com/googleapis/python-spanner/issues/161)) ([2faf01b](https://www.github.com/googleapis/python-spanner/commit/2faf01b135360586ef27c66976646593fd85fd1e)) - adding missing docstrings for functions & classes ([#​188](https://www.github.com/googleapis/python-spanner/issues/188)) ([9788cf8](https://www.github.com/googleapis/python-spanner/commit/9788cf8678d882bd4ccf551f828050cbbb8c8f3a)) - autocommit sample ([#​172](https://www.github.com/googleapis/python-spanner/issues/172)) ([4ef793c](https://www.github.com/googleapis/python-spanner/commit/4ef793c9cd5d6dec6e92faf159665e11d63762ad)) ##### Bug Fixes - convert operations pbs into Operation objects when listing operations ([#​186](https://www.github.com/googleapis/python-spanner/issues/186)) ([ed7152a](https://www.github.com/googleapis/python-spanner/commit/ed7152adc37290c63e59865265f36c593d9b8da3)) - Convert PBs in system test cleanup ([#​199](https://www.github.com/googleapis/python-spanner/issues/199)) ([ede4343](https://www.github.com/googleapis/python-spanner/commit/ede4343e518780a4ab13ae83017480d7046464d6)) - **dbapi:** autocommit enabling fails if no transactions begun ([#​177](https://www.github.com/googleapis/python-spanner/issues/177)) ([e981adb](https://www.github.com/googleapis/python-spanner/commit/e981adb3157bb06e4cb466ca81d74d85da976754)) - **dbapi:** executemany() hiding all the results except the last ([#​181](https://www.github.com/googleapis/python-spanner/issues/181)) ([020dc17](https://www.github.com/googleapis/python-spanner/commit/020dc17c823dfb65bfaacace14d2c9f491c97e11)) - **dbapi:** Spanner protobuf changes causes KeyError's ([#​206](https://www.github.com/googleapis/python-spanner/issues/206)) ([f1e21ed](https://www.github.com/googleapis/python-spanner/commit/f1e21edbf37aab93615fd415d61f829d2574916b)) - remove client side gRPC receive limits ([#​192](https://www.github.com/googleapis/python-spanner/issues/192)) ([90effc4](https://www.github.com/googleapis/python-spanner/commit/90effc4d0f4780b7a7c466169f9fc1e45dab8e7f)) - Rename to fix "Mismatched region tag" check ([#​201](https://www.github.com/googleapis/python-spanner/issues/201)) ([c000ec4](https://www.github.com/googleapis/python-spanner/commit/c000ec4d9b306baa0d5e9ed95f23c0273d9adf32)) ##### Documentation - homogenize region tags ([#​194](https://www.github.com/googleapis/python-spanner/issues/194)) ([1501022](https://www.github.com/googleapis/python-spanner/commit/1501022239dfa8c20290ca0e0cf6a36e9255732c)) - homogenize region tags pt 2 ([#​202](https://www.github.com/googleapis/python-spanner/issues/202)) ([87789c9](https://www.github.com/googleapis/python-spanner/commit/87789c939990794bfd91f5300bedc449fd74bd7e)) - update CHANGELOG breaking change comment ([#​180](https://www.github.com/googleapis/python-spanner/issues/180)) ([c7b3b9e](https://www.github.com/googleapis/python-spanner/commit/c7b3b9e4be29a199618be9d9ffa1d63a9d0f8de7)) </details> --- ### 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/python-spanner).
Configuration menu - View commit details
-
Copy full SHA for 283ea3d - Browse repository at this point
Copy the full SHA 283ea3dView commit details
Commits on Jan 27, 2021
-
test(dbapi): add retry to autocommit sample to reduce flakiness (#214)
Co-authored-by: larkee <larkee@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bc38664 - Browse repository at this point
Copy the full SHA bc38664View commit details
Commits on Jan 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for be27507 - Browse repository at this point
Copy the full SHA be27507View commit details
Commits on Feb 2, 2021
-
test: make system test timeout configurable and default to 60 seconds (β¦
β¦#217) b/173067462 It seems 30 seconds are too short for mtls test (which uses the system test, and runs on an internal platform). This makes the mtls test very flaky. This PR introduces a `SPANNER_OPERATION_TIMEOUT_IN_SECONDS` env var to make the timeout configurable. The default value is now 60 seconds.
Configuration menu - View commit details
-
Copy full SHA for d790cfb - Browse repository at this point
Copy the full SHA d790cfbView commit details
Commits on Feb 5, 2021
-
test: fix credential scope assertions (#223)
The assertions for credential scope in the `client` unit tests were broken by [a PR in the auth library](googleapis/google-auth-library-python#665). This does raise the question of whether we should be asserting the scopes like this in this library. This PR fixes the assertions. Removal of these assertions can be done in a separate PR if it is decided they don't belong in this library.
Configuration menu - View commit details
-
Copy full SHA for 05c3ad9 - Browse repository at this point
Copy the full SHA 05c3ad9View commit details -
chore: add support for commit stats and PITR (via synth) (#204)
This PR was generated using Autosynth. π Synth log will be available here: https://source.cloud.google.com/results/invocations/3b4457c8-4080-407a-9a6d-4a48ddcea154/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 354996675 Source-Link: googleapis/googleapis@20712b8 PiperOrigin-RevId: 352816749 Source-Link: googleapis/googleapis@ceaaf31 PiperOrigin-RevId: 350246057 Source-Link: googleapis/googleapis@5206824
Configuration menu - View commit details
-
Copy full SHA for 1f80a39 - Browse repository at this point
Copy the full SHA 1f80a39View commit details
Commits on Feb 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4afea77 - Browse repository at this point
Copy the full SHA 4afea77View commit details -
fix(db_api): add dummy lastrowid attribute (#227)
Ilya Gurov authoredFeb 15, 2021 Configuration menu - View commit details
-
Copy full SHA for 0375914 - Browse repository at this point
Copy the full SHA 0375914View commit details
Commits on Feb 17, 2021
-
fix: use datetime timezone info when generating timestamp strings (#236)
* fix: use datetime timezone when generating timestamp strings * style: fix lint Co-authored-by: larkee <larkee@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 539f145 - Browse repository at this point
Copy the full SHA 539f145View commit details
Commits on Feb 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 36b12a7 - Browse repository at this point
Copy the full SHA 36b12a7View commit details
Commits on Feb 22, 2021
-
feat: add support for Point In Time Recovery (PITR) (#148)
* feat: add PITR-lite support * fix: remove unneeded conversion for earliest_version_time * test: fix list_databases list comprehension * feat: add support for PITR-lite backups (#1) * Backup changes * Basic tests * Add system tests * Fix system tests * Add retention period to backup systests * style: fix lint errors * test: fix failing backup system tests (#2) * Remove unnecessary retention period setting * Fix systests * Review changes (#3) * Remove unnecessary retention period setting * Fix systests * Review changes * style: fix lint Co-authored-by: larkee <larkee@users.noreply.github.com> Co-authored-by: Zoe <zoc@google.com>
Configuration menu - View commit details
-
Copy full SHA for a082e5d - Browse repository at this point
Copy the full SHA a082e5dView commit details
Commits on Feb 23, 2021
-
test: fix PITR restored database version time assertion (#238)
This PR fixes the assertion to use `metadata.backup_info.version_time` instead of `metadata.backup_info.create_time`. It looks it was passing before the backend correctly supported it and I forgot to re-run the tests before merging #148 (whoops!) and so it is currently failing and preventing #205 from being merged: https://source.cloud.google.com/results/invocations/8f0f5dab-1b35-4ce3-bb72-0ce9e79ab89d/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-spanner%2Fpresubmit%2Fpresubmit/log
Configuration menu - View commit details
-
Copy full SHA for fd14b13 - Browse repository at this point
Copy the full SHA fd14b13View commit details -
feat: add support to log commit stats (#205)
* feat: add support for logging commit stats * test: add commit stats to CommitResponse * style: fix lint errors * refactor: remove log formatting * test: update info arg assertions * docs: document logger param * refactor: pass CommitStats via extra kwarg * fix: ensure logger is unused if commit fails Co-authored-by: larkee <larkee@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 434967e - Browse repository at this point
Copy the full SHA 434967eView commit details -
perf: improve streaming performance (#240)
* perf: improve streaming performance by using raw pbs * refactor: remove unused import Co-authored-by: larkee <larkee@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3e35d4a - Browse repository at this point
Copy the full SHA 3e35d4aView commit details -
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2bdd21c - Browse repository at this point
Copy the full SHA 2bdd21cView 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 v3.0.0...v3.1.0