diff --git a/CHANGELOG.md b/CHANGELOG.md index 18c6605e33..92589f74c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,119 @@ # Changelog +## [3.0.0](https://github.com/googleapis/python-spanner-django/compare/v3.0.2...v3.0.0) (2024-04-17) + + +### ⚠ BREAKING CHANGES + +* DBAPI code was moved into python-spanner in https://github.com/googleapis/python-spanner/pull/160. This change removes it from this repo and bumps the dependency on python-spanner to 2.0.0, the first released version to include DBAPI. +* Update python-spanner dep, drop py 3.5 ([#557](https://github.com/googleapis/python-spanner-django/issues/557)) + +### Features + +* [WIP] The first stage of `nox` implementation ([#468](https://github.com/googleapis/python-spanner-django/issues/468)) ([96f2223](https://github.com/googleapis/python-spanner-django/commit/96f2223e3389a0922e0f1db44df72c698cfa5263)) +* Add decimal/numeric support ([#620](https://github.com/googleapis/python-spanner-django/issues/620)) ([d09ad61](https://github.com/googleapis/python-spanner-django/commit/d09ad61ac7a38289bb81ad7b0c06883bc44dcc65)) +* Add dummy WHERE clause to certain statements ([#516](https://github.com/googleapis/python-spanner-django/issues/516)) ([af5d8e3](https://github.com/googleapis/python-spanner-django/commit/af5d8e3af808a8639e54c691c8f110be0a309d15)) +* Add open telemetry trace in schema and related unit tests ([#648](https://github.com/googleapis/python-spanner-django/issues/648)) ([fc51086](https://github.com/googleapis/python-spanner-django/commit/fc51086158d87f72cadc360343c2d47766537c1d)) +* Add PyPI release support ([#451](https://github.com/googleapis/python-spanner-django/issues/451)) ([da82c41](https://github.com/googleapis/python-spanner-django/commit/da82c417815e607611743c828f3525e71f9a46f4)) +* Add support for open telemetry ([#633](https://github.com/googleapis/python-spanner-django/issues/633)) ([2ba879a](https://github.com/googleapis/python-spanner-django/commit/2ba879ac1aaf9c2ffa3d72b53ff2ec6d664ca115)) +* Added support for check constraint ([#679](https://github.com/googleapis/python-spanner-django/issues/679)) ([42352c0](https://github.com/googleapis/python-spanner-django/commit/42352c0a0b41b323b40fe81c3f269a4672a81d53)) +* Added unit test with coverage of 68% ([#611](https://github.com/googleapis/python-spanner-django/issues/611)) ([92ad508](https://github.com/googleapis/python-spanner-django/commit/92ad508083e0534374d20c807311f0ce746c3bba)) +* Clear session pool on connection close ([#543](https://github.com/googleapis/python-spanner-django/issues/543)) ([14e4cac](https://github.com/googleapis/python-spanner-django/commit/14e4cac77fd9ba5cf421c56c636528ec77b82451)) +* Cursor must detect if the parent connection is closed ([#463](https://github.com/googleapis/python-spanner-django/issues/463)) ([a9fd5a3](https://github.com/googleapis/python-spanner-django/commit/a9fd5a382463be47e34ec079a606fd9952048469)) +* Enable support for `get_key_columns` and cleanup tests with unknown failures to specific failures. ([#721](https://github.com/googleapis/python-spanner-django/issues/721)) ([1ec0784](https://github.com/googleapis/python-spanner-django/commit/1ec07849787dfcfeda7206e038e0a63c0b45d74c)) +* Implementing DB-API types according to the PEP-0249 specification ([#521](https://github.com/googleapis/python-spanner-django/issues/521)) ([62c22b1](https://github.com/googleapis/python-spanner-django/commit/62c22b113b470776cddacbab92c4428c6581c551)) +* Merge django 2.2 and django 3.2 branches into 1 branch ([#717](https://github.com/googleapis/python-spanner-django/issues/717)) ([bfb2e20](https://github.com/googleapis/python-spanner-django/commit/bfb2e20e26ad63ae41bcc9a5442e9f3b3b383b31)) +* Move migrations test modules to run against different emulator ([#613](https://github.com/googleapis/python-spanner-django/issues/613)) ([5b3b2e4](https://github.com/googleapis/python-spanner-django/commit/5b3b2e4ed7b98783e547943b27050a594864187d)) +* Refactor connect() function, cover it with unit tests ([#462](https://github.com/googleapis/python-spanner-django/issues/462)) ([4fedcf1](https://github.com/googleapis/python-spanner-django/commit/4fedcf18a235c226d062ce7e61070477bfd3a107)) +* Stage 2 of `nox` implementation - adding `docs` target ([#473](https://github.com/googleapis/python-spanner-django/issues/473)) ([45d6b97](https://github.com/googleapis/python-spanner-django/commit/45d6b970867627694684b628fb20900388f78663)) +* Stage 3-4 of `nox` implementation - adding auto-format targets ([#478](https://github.com/googleapis/python-spanner-django/issues/478)) ([59e7c3f](https://github.com/googleapis/python-spanner-django/commit/59e7c3f2cb5ca8381a8674eb3f2aef59c37e9fa6)) +* Stage 5 of `nox` implementation - adding coverage targets ([#479](https://github.com/googleapis/python-spanner-django/issues/479)) ([cec6b96](https://github.com/googleapis/python-spanner-django/commit/cec6b96d8b8ae662028d7f0901cacceeb2eb1c97)) +* Stage 6 of `nox` implementation - enabling system tests ([#480](https://github.com/googleapis/python-spanner-django/issues/480)) ([dc73bf6](https://github.com/googleapis/python-spanner-django/commit/dc73bf65f9dbe0f9a62059ea23c6423dfcfd1901)) +* Support foreign keys ([#802](https://github.com/googleapis/python-spanner-django/issues/802)) ([3426ab9](https://github.com/googleapis/python-spanner-django/commit/3426ab90805a979707ec8cdcc80dd8f4a5e3aa98)) +* Support transactions management ([#535](https://github.com/googleapis/python-spanner-django/issues/535)) ([2f2cd86](https://github.com/googleapis/python-spanner-django/commit/2f2cd8631817c9f3d898c60e38778ae533c3f803)) +* Update docs and nox file to compile it ([#610](https://github.com/googleapis/python-spanner-django/issues/610)) ([876f2fc](https://github.com/googleapis/python-spanner-django/commit/876f2fc78e908af6f9aade32f5fbcfcfccb28077)) +* Update workflow files to uniformly distribute the test modules by time taken by each test module ([#615](https://github.com/googleapis/python-spanner-django/issues/615)) ([c386123](https://github.com/googleapis/python-spanner-django/commit/c386123db1aeed85768571e19bb4792661e0b414)) + + +### Bug Fixes + +* Add description for transaction autocommit ([#587](https://github.com/googleapis/python-spanner-django/issues/587)) ([8441edc](https://github.com/googleapis/python-spanner-django/commit/8441edcc161a5ad86f171dfc2cd4b9ccef19b2c0)) +* Add project env in readme file ([#586](https://github.com/googleapis/python-spanner-django/issues/586)) ([55b9d19](https://github.com/googleapis/python-spanner-django/commit/55b9d197f023067470f8769615a83e1a11df53ba)) +* Bump version ahead of lateset release ([#571](https://github.com/googleapis/python-spanner-django/issues/571)) ([36e5b82](https://github.com/googleapis/python-spanner-django/commit/36e5b82facdc8e7a7286b2cf1ab20afa2e9e1aef)) +* Bump version number after 2.2.1b0 release ([#596](https://github.com/googleapis/python-spanner-django/issues/596)) ([5f946d2](https://github.com/googleapis/python-spanner-django/commit/5f946d2abbf22ac0c16f9ebf40166888b484ae23)) +* Bump version number after 2.2.1b1 release ([#652](https://github.com/googleapis/python-spanner-django/issues/652)) ([287b893](https://github.com/googleapis/python-spanner-django/commit/287b8938e2b8de381029b8b418386b01f8958e30)) +* Bump version number after 2.2.1b2 release ([#688](https://github.com/googleapis/python-spanner-django/issues/688)) ([5f9750e](https://github.com/googleapis/python-spanner-django/commit/5f9750e4c934ac09c1dc88438063b120ed47fd3e)) +* Bump version number after 2.2.1b3 release ([#696](https://github.com/googleapis/python-spanner-django/issues/696)) ([a8f2aac](https://github.com/googleapis/python-spanner-django/commit/a8f2aac06929152067e39b5aac1cebfd74ef5337)) +* Change release script package name ([#489](https://github.com/googleapis/python-spanner-django/issues/489)) ([388ea6b](https://github.com/googleapis/python-spanner-django/commit/388ea6bc187bd5510e2aeab0fd5d6a6e46efb777)) +* Correct import path ([#649](https://github.com/googleapis/python-spanner-django/issues/649)) ([bc99bb5](https://github.com/googleapis/python-spanner-django/commit/bc99bb55c2442e998ab8e3fef1d913160872eddf)) +* Correct test case for sql_flush for multiple delete table commands ([#629](https://github.com/googleapis/python-spanner-django/issues/629)) ([3de1a81](https://github.com/googleapis/python-spanner-django/commit/3de1a8115aae796a3beb6c2af873b2a12a9ac0f9)) +* DatabaseWrapper method impl and potential bugfix ([#545](https://github.com/googleapis/python-spanner-django/issues/545)) ([d8453c7](https://github.com/googleapis/python-spanner-django/commit/d8453c7e458b0b476b91785d32ba234e333a4b9f)) +* Downgrade google-cloud-spanner to v 3.11.1 ([#747](https://github.com/googleapis/python-spanner-django/issues/747)) ([a1f1cac](https://github.com/googleapis/python-spanner-django/commit/a1f1cac6a630cf71643b27580bb0f98c8f06d3ef)) +* Fix black, isort compatibility ([#469](https://github.com/googleapis/python-spanner-django/issues/469)) ([dd005d5](https://github.com/googleapis/python-spanner-django/commit/dd005d5a8f39634750a8c81b603782f1254dcccf)) +* Fix from-scratch tutorial ([#573](https://github.com/googleapis/python-spanner-django/issues/573)) ([59ce5e7](https://github.com/googleapis/python-spanner-django/commit/59ce5e7abd13a1793c7985ee4b4a092f6afdf770)) +* Fix healthchecks app tutorial ([#574](https://github.com/googleapis/python-spanner-django/issues/574)) ([65d2e9d](https://github.com/googleapis/python-spanner-django/commit/65d2e9dccf494c3283f1abcd936220b5f353c59e)) +* Fix license classifier ([#507](https://github.com/googleapis/python-spanner-django/issues/507)) ([9244414](https://github.com/googleapis/python-spanner-django/commit/9244414d23fca9facdd05c0e10dde86891001001)) +* Fix package name in README ([#556](https://github.com/googleapis/python-spanner-django/issues/556)) ([8b2329a](https://github.com/googleapis/python-spanner-django/commit/8b2329afca64863197790681d6bf8c64a9040823)) +* Fix typo in README ([#575](https://github.com/googleapis/python-spanner-django/issues/575)) ([d25fa86](https://github.com/googleapis/python-spanner-django/commit/d25fa86857409a4f0f17c9de3057465bef048df6)) +* Iexact lookup with Transform expression crash issue when RHS is direct value and a transform function is involved ([#628](https://github.com/googleapis/python-spanner-django/issues/628)) ([2772b57](https://github.com/googleapis/python-spanner-django/commit/2772b57ff0a2b7676636e70a85b64c9d2d0efe16)) +* Lint_setup_py was failing in Kokoro is now fixed ([#607](https://github.com/googleapis/python-spanner-django/issues/607)) ([d125148](https://github.com/googleapis/python-spanner-django/commit/d125148e2e1188a7df5093ffd164bb9707bcca9b)) +* Override AutoField default value only for Spanner ([#780](https://github.com/googleapis/python-spanner-django/issues/780)) ([3bf2c77](https://github.com/googleapis/python-spanner-django/commit/3bf2c77bddf0ea1886ce096e2bd97f34afd5eb7f)) +* Override django autocommit to spanner ([#583](https://github.com/googleapis/python-spanner-django/issues/583)) ([7ce685d](https://github.com/googleapis/python-spanner-django/commit/7ce685d76033fa8a46d4ccf8488af68ee8947ced)) +* Permanently broken date & time unit tests on Windows ([#524](https://github.com/googleapis/python-spanner-django/issues/524)) ([3f5db62](https://github.com/googleapis/python-spanner-django/commit/3f5db62863bd03c85b2a1b4614d5d782895b6d57)) +* Remove delete of instance if it already exists, as it might be in use by another test ([#641](https://github.com/googleapis/python-spanner-django/issues/641)) ([0544208](https://github.com/googleapis/python-spanner-django/commit/0544208d6f9ef81b290cf5c4ee304ba0ec0e95c4)) +* Remove error msg check from test_decimal_precision_limit ([#646](https://github.com/googleapis/python-spanner-django/issues/646)) ([9be15c0](https://github.com/googleapis/python-spanner-django/commit/9be15c0c035016eed9158fc298e33b65b03bee19)) +* Remove error msg check from test_decimal_precision_limit for non emulator test ([#647](https://github.com/googleapis/python-spanner-django/issues/647)) ([fe4a062](https://github.com/googleapis/python-spanner-django/commit/fe4a062797bfec461e4fa7c2fa6e5d83dfb1938c)) +* Remove old quickstart instructions link ([#593](https://github.com/googleapis/python-spanner-django/issues/593)) ([03adf65](https://github.com/googleapis/python-spanner-django/commit/03adf65edab4f23ed52b2e213282187d572ddafb)) +* Remove un necessary file from code base ([#608](https://github.com/googleapis/python-spanner-django/issues/608)) ([58b9969](https://github.com/googleapis/python-spanner-django/commit/58b99696d328a631c6a92a0d8cfbf5df63cef146)) +* Replace repo name with pkg name ([#508](https://github.com/googleapis/python-spanner-django/issues/508)) ([fbba900](https://github.com/googleapis/python-spanner-django/commit/fbba9001344295a9e18cd153d7f8475bc3e1b684)) +* Replace, fast-forward Django CI branch ([#598](https://github.com/googleapis/python-spanner-django/issues/598)) ([5d65e3f](https://github.com/googleapis/python-spanner-django/commit/5d65e3f12b2ecce240859e4b0cccee7ef596e999)) +* S/installation/installation/ ([#509](https://github.com/googleapis/python-spanner-django/issues/509)) ([03c963a](https://github.com/googleapis/python-spanner-django/commit/03c963a7aaac61f3ea6575952c193e72c67f5bf2)) +* S/useage/usage/ ([#511](https://github.com/googleapis/python-spanner-django/issues/511)) ([6b960ec](https://github.com/googleapis/python-spanner-django/commit/6b960ecea66cbe23fb7987763fbcd29ce0b8dc6d)) +* Update links in comments to use googleapis repo ([#622](https://github.com/googleapis/python-spanner-django/issues/622)) ([3fa1aeb](https://github.com/googleapis/python-spanner-django/commit/3fa1aeb49801fcd0dc598b8ec46879b8812c59f8)) +* Update pypi package name ([#454](https://github.com/googleapis/python-spanner-django/issues/454)) ([47154d1](https://github.com/googleapis/python-spanner-django/commit/47154d1f6c7bf0b1d7150c24ba18e2f1dffd9cc1)) +* Update README for alpha release ([#503](https://github.com/googleapis/python-spanner-django/issues/503)) ([3d31167](https://github.com/googleapis/python-spanner-django/commit/3d3116752acdc89ec90d56a9fa3b9d26d11ebf67)) +* Update version to 2.2.0a1 ([#506](https://github.com/googleapis/python-spanner-django/issues/506)) ([a3a6344](https://github.com/googleapis/python-spanner-django/commit/a3a6344656d63e34d6110536aa6830b0db13343a)) +* Updated assets to have text background so it works with dark mode ([#671](https://github.com/googleapis/python-spanner-django/issues/671)) ([0f99938](https://github.com/googleapis/python-spanner-django/commit/0f99938daf40a12c79036e2b90da774b9eb12ba8)) +* Updated assets to have text background so it works with dark mode ([#674](https://github.com/googleapis/python-spanner-django/issues/674)) ([306eeba](https://github.com/googleapis/python-spanner-django/commit/306eebaf3363b4fecabd0361de224105ac779c42)) +* Use "any" default role in sphinx ([#550](https://github.com/googleapis/python-spanner-django/issues/550)) ([196c449](https://github.com/googleapis/python-spanner-django/commit/196c44949370fb818e610b21c3b00344fdc3d03a)) + + +### Documentation + +* Add a querying example into the main readme ([#515](https://github.com/googleapis/python-spanner-django/issues/515)) ([c477cc2](https://github.com/googleapis/python-spanner-django/commit/c477cc283ab1f036454eb446f0ca0599235b1e5c)) +* Add docs build kokoro config for django spanner ([#644](https://github.com/googleapis/python-spanner-django/issues/644)) ([ecf241a](https://github.com/googleapis/python-spanner-django/commit/ecf241a6a74160122d2c224e1d9ca4a0b1a378ce)) +* Add limitations docs on spanner features not supported by spanner-django library. ([#758](https://github.com/googleapis/python-spanner-django/issues/758)) ([66469bf](https://github.com/googleapis/python-spanner-django/commit/66469bf72dd57555d6729f8863d7d401b7f6613e)) +* Adding documentation for GA ([#665](https://github.com/googleapis/python-spanner-django/issues/665)) ([216c2e0](https://github.com/googleapis/python-spanner-django/commit/216c2e0dab720c18ced10b2a35ec3413423bcd0a)) +* Fix changelog header to consistent size ([#767](https://github.com/googleapis/python-spanner-django/issues/767)) ([3cc8d7d](https://github.com/googleapis/python-spanner-django/commit/3cc8d7d63126a372a69df2a11e6ffef2facaf4e6)) +* Fix changelog link and sample examples. ([#700](https://github.com/googleapis/python-spanner-django/issues/700)) ([08b80ce](https://github.com/googleapis/python-spanner-django/commit/08b80cef7723819c22dae53c4ff7f45c4fc8c518)) +* Lint fix for samples ([#697](https://github.com/googleapis/python-spanner-django/issues/697)) ([ed404f5](https://github.com/googleapis/python-spanner-django/commit/ed404f57ed4a23c7b60f4f9c238f5b5fa9f81d0c)) +* Minor fixes to README.md ([#448](https://github.com/googleapis/python-spanner-django/issues/448)) ([f969000](https://github.com/googleapis/python-spanner-django/commit/f9690007603c94f4c99b244a92c639adfd360a8f)) +* Move test suite information to CONTRIBUTING.md ([#442](https://github.com/googleapis/python-spanner-django/issues/442)) ([05280ae](https://github.com/googleapis/python-spanner-django/commit/05280aecdcbe933e113616b5705f4e76303d9637)) +* Typo fixes in readme ([#732](https://github.com/googleapis/python-spanner-django/issues/732)) ([bb60a16](https://github.com/googleapis/python-spanner-django/commit/bb60a1621be50a12286b939e99e6390b0c4f1bab)) +* Update dbapi location in overview asset file ([#702](https://github.com/googleapis/python-spanner-django/issues/702)) ([4643876](https://github.com/googleapis/python-spanner-django/commit/4643876219e8a54feb94bf14a79f0fe2fbe3971a)) +* Update docs to show decimal field support and check constraints but no support for unsigned data type ([#683](https://github.com/googleapis/python-spanner-django/issues/683)) ([74f2269](https://github.com/googleapis/python-spanner-django/commit/74f22692802337a317d439c97f70c8d000124dda)) +* Update docstrings for `django_spanner` ([#564](https://github.com/googleapis/python-spanner-django/issues/564)) ([7083f1d](https://github.com/googleapis/python-spanner-django/commit/7083f1d81dc8b412aab5a4e7d7f110152a87c5d9)) +* Update limitations about json query support and django version support. ([#729](https://github.com/googleapis/python-spanner-django/issues/729)) ([c3b111f](https://github.com/googleapis/python-spanner-django/commit/c3b111ff19d58f6ff67eb381a9efef042c70ec54)) +* Updated `README.rst` file ([#563](https://github.com/googleapis/python-spanner-django/issues/563)) ([d70cb28](https://github.com/googleapis/python-spanner-django/commit/d70cb28c8a20511558fa47818103afb5e0492918)) +* Verify and comment the DB API exceptions ([#522](https://github.com/googleapis/python-spanner-django/issues/522)) ([5ed0845](https://github.com/googleapis/python-spanner-django/commit/5ed08453002a318245d9241cd1e24c222a588159)) + + +### Miscellaneous Chores + +* Release 2.2.0a1 ([803ad0a](https://github.com/googleapis/python-spanner-django/commit/803ad0ac15fb7ba55c6882e2e97d5f93620cb166)) +* Release 2.2.1b0 ([35420ef](https://github.com/googleapis/python-spanner-django/commit/35420eff678d8d6177f86491375d108f94f9e566)) +* Release 2.2.1b1 ([#650](https://github.com/googleapis/python-spanner-django/issues/650)) ([5f34570](https://github.com/googleapis/python-spanner-django/commit/5f3457028a4877f08e3be59912d34169a173abe0)) +* Release 2.2.1b2 ([#685](https://github.com/googleapis/python-spanner-django/issues/685)) ([96a809d](https://github.com/googleapis/python-spanner-django/commit/96a809d88968cc7691bf0587c9ff694c4948998c)) +* Release 2.2.1b3 ([#693](https://github.com/googleapis/python-spanner-django/issues/693)) ([e1caf28](https://github.com/googleapis/python-spanner-django/commit/e1caf284db1e92e9a73fb824fbd7463ad863ec6e)) +* Release 2.2.1b4 ([#724](https://github.com/googleapis/python-spanner-django/issues/724)) ([6581d7b](https://github.com/googleapis/python-spanner-django/commit/6581d7bdbe2dcbd204596b70043ab75f9932fcf5)) +* Release 3.0.0 ([#734](https://github.com/googleapis/python-spanner-django/issues/734)) ([a285571](https://github.com/googleapis/python-spanner-django/commit/a285571ce2339a16acc922d82c013817659931f4)) + + +### Code Refactoring + +* Erase dbapi directory and all the related tests ([#554](https://github.com/googleapis/python-spanner-django/issues/554)) ([8183247](https://github.com/googleapis/python-spanner-django/commit/818324708e9ca46fbd80c47745bdf38e8a1a069c)) +* Update python-spanner dep, drop py 3.5 ([#557](https://github.com/googleapis/python-spanner-django/issues/557)) ([5910833](https://github.com/googleapis/python-spanner-django/commit/5910833216288d2fd5cce57e98eb051d0cf82131)) + ## [3.0.2](https://github.com/googleapis/python-spanner-django/compare/v3.0.1...v3.0.2) (2022-08-08) diff --git a/version.py b/version.py index 0a15890711..04eaed8d70 100644 --- a/version.py +++ b/version.py @@ -4,4 +4,4 @@ # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd -__version__ = "3.0.2" +__version__ = "3.0.0"