From 45a486af392d23224f744b029b1132fed0344be2 Mon Sep 17 00:00:00 2001 From: Ankit Agarwal <146331865+ankiaga@users.noreply.github.com> Date: Tue, 7 May 2024 12:43:56 +0530 Subject: [PATCH 1/2] fix: Fixing README.rst to fix release failure. (#885) * fix: Fixing README.rst to fix release failure. https://github.com/googleapis/python-spanner-django/issues/883 * More changes * More changes --- README.rst | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/README.rst b/README.rst index a9aa48084f..0db8d56191 100644 --- a/README.rst +++ b/README.rst @@ -140,23 +140,19 @@ configured: } } - Transaction support in autocommit mode - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Django version 4.2 and higher by default supports transactions in autocommit mode. - A transaction is automatically started if you define an - [atomic block](https://docs.djangoproject.com/en/4.2/topics/db/transactions/#controlling-transactions-explicitly). - - Django version 3.2 and earlier did not support transactions in autocommit mode with Spanner. - You can enable transactions in autocommit mode with Spanner with the - `ALLOW_TRANSACTIONS_IN_AUTO_COMMIT` configuration option. - - - To enable transactions in autocommit mode in V3.2, set - the flag "ALLOW_TRANSACTIONS_IN_AUTO_COMMIT" to True in your - settings.py file. - - To disable transactions in autocommit mode in V4.2, set - the flag "ALLOW_TRANSACTIONS_IN_AUTO_COMMIT" to False in your - settings.py file. +Transaction support in autocommit mode +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Django version 4.2 and higher by default supports transactions in autocommit mode. +A transaction is automatically started if you define an +[atomic block](https://docs.djangoproject.com/en/4.2/topics/db/transactions/#controlling-transactions-explicitly). + +Django version 3.2 and earlier did not support transactions in autocommit mode with Spanner. +You can enable transactions in autocommit mode with Spanner with the +`ALLOW_TRANSACTIONS_IN_AUTO_COMMIT` configuration option. + +- To enable transactions in autocommit mode in V3.2, set the flag `ALLOW_TRANSACTIONS_IN_AUTO_COMMIT` to True in your settings.py file. +- To disable transactions in autocommit mode in V4.2, set the flag `ALLOW_TRANSACTIONS_IN_AUTO_COMMIT` to False in your settings.py file. Set credentials and project environment variables From 538235d9c825fef8abf4cfefc04ed603b723f9c5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 07:59:13 +0000 Subject: [PATCH 2/2] chore(main): release 4.0.1 (#886) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ version.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 955d617d43..171185bf42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [4.0.1](https://github.com/googleapis/python-spanner-django/compare/v4.0.0...v4.0.1) (2024-05-07) + + +### Bug Fixes + +* Fixing README.rst to fix release failure. ([#885](https://github.com/googleapis/python-spanner-django/issues/885)) ([45a486a](https://github.com/googleapis/python-spanner-django/commit/45a486af392d23224f744b029b1132fed0344be2)) + ## [4.0.0](https://github.com/googleapis/python-spanner-django/compare/v3.1.0...v4.0.0) (2024-04-25) diff --git a/version.py b/version.py index 69c0395ae8..247ad21869 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__ = "4.0.0" +__version__ = "4.0.1"
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: