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/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 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" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy