Skip to content

Commit

Permalink
Django 5.1 compatibility, dropped Django 3.2 / Postgres 12 support (#34)
Browse files Browse the repository at this point in the history
* Initialize template from version 80d7f1ffae8953435935d7f1ef7d1e526a4be755

* Update template to version 2794ea47b0220081dc869d01199ee490dda00762

* Adjust changelog formatting

* Bump version and add release notes

* Add funding
  • Loading branch information
wesleykendall authored Aug 26, 2024
1 parent bcd758e commit 865a84a
Show file tree
Hide file tree
Showing 24 changed files with 342 additions and 961 deletions.
43 changes: 21 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ orbs:
docker:
- image: opus10/circleci-python-library:2024-04-17
environment:
# Ensure makefile commands are not wrapped in "docker-compose run"
# Ensure makefile commands are not wrapped in "docker compose run"
EXEC_WRAPPER: ''
TOX_PARALLEL_NO_SPINNER: 1
DATABASE_URL: postgres://root@localhost/circle_test?sslmode=disable
- image: cimg/postgres:<<parameters.pg_version>>
environment:
Expand Down Expand Up @@ -40,14 +39,14 @@ jobs:
test_pg_min:
executor:
name: opus10/python
pg_version: "12.15"
pg_version: "13.16"
steps:
- opus10/test

test_pg_max:
executor:
name: opus10/python
pg_version: "16.0"
pg_version: "16.4"
steps:
- opus10/test

Expand All @@ -69,16 +68,6 @@ jobs:
- run: make dependencies
- run: make type-check || true

check_changelog:
executor: opus10/python
steps:
- checkout
- restore_cache:
key: v4-{{ checksum "poetry.lock" }}
- run: make dependencies
- run: git tidy-log origin/main..
- run: make tidy-lint

deploy:
executor: opus10/python
steps:
Expand All @@ -94,14 +83,22 @@ workflows:
version: 2
on_commit:
jobs:
- test_pg_min
- test_pg_max
- lint
- type_check
- check_changelog:
- test_pg_min:
filters:
branches:
ignore: main
tags:
only: /.*/
- test_pg_max:
filters:
tags:
only: /.*/
- lint:
filters:
tags:
only: /.*/
- type_check:
filters:
tags:
only: /.*/
- deploy:
context: python-library
requires:
Expand All @@ -111,4 +108,6 @@ workflows:
- type_check
filters:
branches:
only: main
ignore: /.*/
tags:
only: /.*/
15 changes: 0 additions & 15 deletions .git-tidy/commit.tpl

This file was deleted.

22 changes: 0 additions & 22 deletions .git-tidy/commit.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .git-tidy/log.tpl

This file was deleted.

11 changes: 0 additions & 11 deletions .gitcommit.tpl

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: wesleykendall
60 changes: 33 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,42 @@
# Changelog

## 3.5.0 (2024-08-25)

#### Changes

- Django 5.1 compatibility, dropped Django 3.2 / Postgres 12 support by [@wesleykendall](https://github.com/wesleykendall) in [#34](https://github.com/Opus10/django-pgclone/pull/34).

## 3.4.1 (2024-04-06)

### Trivial
#### Trivial

- Fix ReadTheDocs builds. [Wesley Kendall, d5eeaed]

## 3.4.0 (2023-12-06)

### Bug
#### Bug

- Fix issue quoting URLs [Wesley Kendall, ace6561]

Ensure that URLs are percent-encoded when running psql commands.

## 3.3.0 (2023-11-26)

### Feature
#### Feature

- Django 5.0 compatibility [Wesley Kendall, cd279dd]

Support and test against Django 5 with psycopg2 and psycopg3.

## 3.2.1 (2023-10-09)

### Trivial
#### Trivial

- Added Opus10 branding to docs [Wesley Kendall, ba4621f]

## 3.2.0 (2023-10-08)

### Feature
#### Feature

- Add Python3.12 support and use Mkdocs for documentation [Wesley Kendall, 97e7d99]

Expand All @@ -41,15 +47,15 @@

## 3.1.0 (2023-06-08)

### Feature
#### Feature

- Added Python 3.11, Django 4.2, and Psycopg 3 support [Wesley Kendall, d1cf98c]

Adds Python 3.11, Django 4.2, and Psycopg 3 support along with tests for multiple Postgres versions. Drops support for Django 2.2.

## 3.0.0 (2023-06-01)

### Api-Break
#### Api-Break

- Changed behavior of reversible restores and local copies [Wes Kendall, de428c1]

Expand All @@ -76,7 +82,7 @@

## 2.6.0 (2023-06-01)

### Feature
#### Feature

- Support overriding Postgres statement timeouts [Wes Kendall, 4ef38f4]

Expand All @@ -89,7 +95,7 @@

## 2.5.0 (2023-05-23)

### Feature
#### Feature

- Add ``pgclone copy`` command. [Wes Kendall, 6ad17b9]

Expand All @@ -106,45 +112,45 @@

Set this setting to ``False`` to prevent the ability to run ``pgclone dump``.

### Trivial
#### Trivial

- Add ability to specify endpoint url [Jack Linke, 2e1e5f5]

## 2.4.0 (2023-04-28)

### Bug
#### Bug

- Quote database connection strings [Wesley Kendall, 31fd3cf]

Database connection strings are properly quoted to avoid issues when there
are special characters.

### Trivial
#### Trivial

- Updated developer utilities with the latest Django library template [Wesley Kendall, 2508920]

## 2.3.3 (2022-09-03)

### Trivial
#### Trivial

- Implemented a more robust routing method for pre-swap hooks [Wes Kendall, 8f34c40]

## 2.3.2 (2022-08-27)

### Trivial
#### Trivial

- Local development enhancements [Wes Kendall, 5d62570]
- Test against Django 4.1 and other CI improvements [Wes Kendall, c11c848]

## 2.3.1 (2022-08-25)

### Trivial
#### Trivial

- Don't close original connection during routing [Wes Kendall, 93e5c03]

## 2.3.0 (2022-08-25)

### Bug
#### Bug

- Fix issue routing connections during restore [Wes Kendall, 2ab5552]

Expand All @@ -153,7 +159,7 @@

## 2.2.0 (2022-08-25)

### Bug
#### Bug

- Restore command properly overrides storage location [Wes Kendall, 15acd90]

Expand All @@ -162,7 +168,7 @@

## 2.1.0 (2022-08-24)

### Bug
#### Bug

- Allow "reversible" to proliferate through settings and configs. [Wes Kendall, bda7b69]

Expand All @@ -172,14 +178,14 @@

## 2.0.1 (2022-08-24)

### Trivial
#### Trivial

- Update with latest Django template [Wes Kendall, c46d7e4]
- Fix ReadTheDocs builds [Wes Kendall, 7c74338]

## 2.0.0 (2022-08-24)

### Api-Break
#### Api-Break

- Upgrade configuration hierarchy, add multi-db support, and change dump key format [Wes Kendall, 5edeeb8]

Expand All @@ -196,7 +202,7 @@

## 1.1.0 (2022-08-21)

### Feature
#### Feature

- Removed dependency on ``django-pgconnection`` [Wes Kendall, 5047031]

Expand All @@ -208,37 +214,37 @@

## 1.0.5 (2022-08-20)

### Trivial
#### Trivial

- Updated with latest Django template [Wes Kendall, 5ab9ddd]

## 1.0.4 (2022-08-20)

### Trivial
#### Trivial

- Fix release note rendering and don't package tests [Wes Kendall, 5621de7]

## 1.0.3 (2022-07-31)

### Trivial
#### Trivial

- Updated with latest Django template, fixing doc builds [Wes Kendall, 32a5eea]

## 1.0.2 (2021-06-15)

### Trivial
#### Trivial

- Updated to latest Django template [Wes Kendall, cf4deaf]

## 1.0.1 (2020-06-28)

### Trivial
#### Trivial

- Fixed minor documentation typos [Wes Kendall, 68cb863]

## 1.0.0 (2020-06-28)

### Api-Break
#### Api-Break

- Initial release of django-pgclone [Wes Kendall, b8419ce]

Expand Down
Loading

0 comments on commit 865a84a

Please sign in to comment.