-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: zevisert/databases
base: master
head repository: encode/databases
compare: master
- 16 commits
- 26 files changed
- 10 contributors
Commits on May 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ab5eb71 - Browse repository at this point
Copy the full SHA ab5eb71View commit details
Commits on Jul 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 71ea4ad - Browse repository at this point
Copy the full SHA 71ea4adView commit details -
Bump starlette from 0.20.4 to 0.27.0 (encode#560)
* Bump starlette from 0.20.4 to 0.27.0 Bumps [starlette](https://github.com/encode/starlette) from 0.20.4 to 0.27.0. - [Release notes](https://github.com/encode/starlette/releases) - [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md) - [Commits](encode/starlette@0.20.4...0.27.0) --- updated-dependencies: - dependency-name: starlette dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Add httpx as dependency --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zanie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3f0c6f - Browse repository at this point
Copy the full SHA f3f0c6fView commit details -
Bump requests from 2.28.1 to 2.31.0 (encode#562)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.28.1...v2.31.0) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c095428 - Browse repository at this point
Copy the full SHA c095428View commit details
Commits on Jul 25, 2023
-
fix: incorrect concurrent usage of connection and transaction (encode…
…#546) * fix: incorrect concurrent usage of connection and transaction * refactor: rename contextvar class attributes, add some explaination comments * fix: contextvar.get takes no keyword arguments * test: add concurrent task tests * feat: use ContextVar[dict] to track connections and transactions per task * test: check multiple databases in the same task use independant connections * chore: changes for linting and typechecking * chore: use typing.Tuple for lower python version compatibility * docs: update comment on _connection_contextmap * Update `Connection` and `Transaction` to be robust to concurrent use * chore: remove optional annotation on asyncio.Task * test: add new tests for upcoming contextvar inheritance/isolation and weakref cleanup * feat: reimplement concurrency system with contextvar and weakmap * chore: apply corrections from linters * fix: quote WeakKeyDictionary typing for python<=3.7 * docs: add examples for async transaction context and nested transactions * fix: remove connection inheritance, add more tests, update docs Connections are once again stored as state on the Database instance, keyed by the current asyncio.Task. Each task acquires it's own connection, and a WeakKeyDictionary allows the connection to be discarded if the owning task is garbage collected. TransactionBackends are still stored as contextvars, and a connection must be explicitly provided to descendant tasks if active transaction state is to be inherited. --------- Co-authored-by: Zanie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25fa295 - Browse repository at this point
Copy the full SHA 25fa295View commit details
Commits on Aug 2, 2023
-
Allow SQLite query parameters and support cached databases (encode#561)
* add support for sqlite connection string query parameters, cached memory databases * add additional comments encode#196 * tweaked comments encode#196 * Lint --------- Co-authored-by: Nathan Joshi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9795187 - Browse repository at this point
Copy the full SHA 9795187View commit details
Commits on Aug 28, 2023
-
chore: release 0.8.0 prep (encode#565)
* chore: update changelog for 0.8.0 * Add release date to changelog (tomorrow) * Move concurrent pull request to changes --------- Co-authored-by: Zanie Blue <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d653b31 - Browse repository at this point
Copy the full SHA d653b31View commit details
Commits on Aug 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 27c1699 - Browse repository at this point
Copy the full SHA 27c1699View commit details
Commits on Aug 30, 2023
-
Fix flaky tests with in-memory SQLite databases (encode#569)
* Run garbage collection before asserting SQLite database is cleared in test * Use unique in-memory database name for each SQLite test * Run garbage collection after every test
Configuration menu - View commit details
-
Copy full SHA for d047d40 - Browse repository at this point
Copy the full SHA d047d40View commit details
Commits on Sep 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d05618 - Browse repository at this point
Copy the full SHA 2d05618View commit details
Commits on Nov 28, 2023
-
enabler(backends): allow ssl string parameters in PostgreSQL URL (enc…
…ode#575) (encode#576) The underlying library asyncpg accepts string values in the ssl parameter. The old code only accepted the values true and false, which are converted to boolean.
Configuration menu - View commit details
-
Copy full SHA for c2e4c5b - Browse repository at this point
Copy the full SHA c2e4c5bView commit details
Commits on Feb 21, 2024
-
🪛 Moving to SQLAlchemy 2.0 (encode#540)
* 🪛 Added support for SQLAlchemy 2.0 * Added common and dialects packages to handle the new SQLAlchemy 2.0+ * 🪲 Fix specific asyncpg oriented test --------- Co-authored-by: ansipunk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e40ad1 - Browse repository at this point
Copy the full SHA 1e40ad1View commit details
Commits on Feb 22, 2024
-
Fix some column types being parsed twice (encode#582)
* Fix JSON and enum type columns * Add time to reparsing check, add date and time tests * Make processed types inclusive rather than exclusive, limit to just DIALECT_EXCLUDE
Configuration menu - View commit details
-
Copy full SHA for 0fc16b2 - Browse repository at this point
Copy the full SHA 0fc16b2View commit details -
Support Python 3.12 (encode#583)
* Python support * Remove support for Python 3.7 * Add support for Python 3.12 * Replace psycopg2-binary with psycopg * Bump requirements.txt versions * Add setuptools as requirement
Configuration menu - View commit details
-
Copy full SHA for b273cd9 - Browse repository at this point
Copy the full SHA b273cd9View commit details -
Bump starlette from 0.27.0 to 0.36.2 (encode#581)
Bumps [starlette](https://github.com/encode/starlette) from 0.27.0 to 0.36.2. - [Release notes](https://github.com/encode/starlette/releases) - [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md) - [Commits](encode/starlette@0.27.0...0.36.2) --- updated-dependencies: - dependency-name: starlette dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 40079f9 - Browse repository at this point
Copy the full SHA 40079f9View commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ae3fb16 - Browse repository at this point
Copy the full SHA ae3fb16View commit details
There are no files selected for viewing