diff --git a/.changes/0.9.0.md b/.changes/0.9.0.md new file mode 100644 index 00000000..cb9ee010 --- /dev/null +++ b/.changes/0.9.0.md @@ -0,0 +1,8 @@ +## 0.9.0 - 2023-10-11 +### Added +* [#944](https://github.com/edgarrmondragon/citric/issues/944) Add `Client.get_server_version` +* [#1005](https://github.com/edgarrmondragon/citric/issues/1005) Official support for Python 3.12 +### Documentation +* [#934](https://github.com/edgarrmondragon/citric/issues/934) Report status of integration tests against multiple LimeSurvey versions +* [#964](https://github.com/edgarrmondragon/citric/issues/964) Fix GitHub archive URLs in integration test docs +* [#996](https://github.com/edgarrmondragon/citric/issues/996) Document current version in docs site \ No newline at end of file diff --git a/.changes/unreleased/Added-20230823-121334.yaml b/.changes/unreleased/Added-20230823-121334.yaml deleted file mode 100644 index 9e49aeaf..00000000 --- a/.changes/unreleased/Added-20230823-121334.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Added -body: Add `Client.get_server_version` -time: 2023-08-23T12:13:34.216336-06:00 -custom: - Issue: "944" diff --git a/.changes/unreleased/Added-20231002-092130.yaml b/.changes/unreleased/Added-20231002-092130.yaml deleted file mode 100644 index b1688e4c..00000000 --- a/.changes/unreleased/Added-20231002-092130.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Added -body: Official support for Python 3.12 -time: 2023-10-02T09:21:30.414891-06:00 -custom: - Issue: "1005" diff --git a/.changes/unreleased/Documentation-20230829-024819.yaml b/.changes/unreleased/Documentation-20230829-024819.yaml deleted file mode 100644 index 7da9f63d..00000000 --- a/.changes/unreleased/Documentation-20230829-024819.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Documentation -body: Report status of integration tests against multiple LimeSurvey versions -time: 2023-08-29T02:48:19.63024-06:00 -custom: - Issue: "934" diff --git a/.changes/unreleased/Documentation-20230905-083410.yaml b/.changes/unreleased/Documentation-20230905-083410.yaml deleted file mode 100644 index db4829b8..00000000 --- a/.changes/unreleased/Documentation-20230905-083410.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Documentation -body: Fix GitHub archive URLs in integration test docs -time: 2023-09-05T08:34:10.769144-06:00 -custom: - Issue: "964" diff --git a/.changes/unreleased/Documentation-20230920-101503.yaml b/.changes/unreleased/Documentation-20230920-101503.yaml deleted file mode 100644 index b6207e89..00000000 --- a/.changes/unreleased/Documentation-20230920-101503.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Documentation -body: Document current version in docs site -time: 2023-09-20T10:15:03.894096-06:00 -custom: - Issue: "996" diff --git a/.changie.yaml b/.changie.yaml index c6333279..aeeddccc 100644 --- a/.changie.yaml +++ b/.changie.yaml @@ -30,9 +30,6 @@ kinds: - label: Documentation auto: patch replacements: -- path: pyproject.toml - find: ^version = ".*"$ - replace: version = "{{.VersionNoPrefix}}" - path: src/citric/client.py find: "NEXT_VERSION" replace: "{{.VersionNoPrefix}}" diff --git a/.github/ISSUE_TEMPLATE/BUG.yml b/.github/ISSUE_TEMPLATE/BUG.yml index a80a0ae0..46871155 100644 --- a/.github/ISSUE_TEMPLATE/BUG.yml +++ b/.github/ISSUE_TEMPLATE/BUG.yml @@ -15,7 +15,7 @@ body: attributes: label: Citric Version description: Version of the package you are using - placeholder: "0.8.0" + placeholder: "0.9.0" validations: required: true - type: dropdown @@ -39,7 +39,6 @@ body: attributes: label: LimeSurvey Version description: Version of LimeSurvey you are using - placeholder: "6.2.3" validations: required: true - type: input @@ -55,7 +54,6 @@ body: attributes: label: Operating System description: What Operating System you are using - placeholder: "Windows" validations: required: true - type: textarea diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c176501..d5711cb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 0.9.0 - 2023-10-11 +### Added +* [#944](https://github.com/edgarrmondragon/citric/issues/944) Add `Client.get_server_version` +* [#1005](https://github.com/edgarrmondragon/citric/issues/1005) Official support for Python 3.12 +### Documentation +* [#934](https://github.com/edgarrmondragon/citric/issues/934) Report status of integration tests against multiple LimeSurvey versions +* [#964](https://github.com/edgarrmondragon/citric/issues/964) Fix GitHub archive URLs in integration test docs +* [#996](https://github.com/edgarrmondragon/citric/issues/996) Document current version in docs site + ## 0.8.0 - 2023-08-22 ### Added * [#793](https://github.com/edgarrmondragon/citric/issues/793) Implement `invite_participants` in client diff --git a/README.md b/README.md index 29f68b0f..fe550e89 100644 --- a/README.md +++ b/README.md @@ -61,12 +61,12 @@ Python. | | **PostgreSQL** | **MySQL** | | - |:--: | :-: | +| 6.2.9 | ✅ | ✅ | | 6.2.8 | ✅ | ✅ | | 6.2.7 | ✅ | ✅ | -| 6.2.6 | ✅ | ✅ | +| 5.6.39 | ✅ | ✅ | | 5.6.38 | ✅ | ✅ | | 5.6.37 | ✅ | ✅ | -| 5.6.35 | ✅ | ✅ | ## Installation diff --git a/poetry.lock b/poetry.lock index 8eaee74a..34301d60 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1479,4 +1479,4 @@ docs = ["furo", "myst-parser", "sphinx", "sphinx-autoapi", "sphinx-autobuild", " [metadata] lock-version = "2.0" python-versions = ">=3.8" -content-hash = "4facb1d2df749e05594679b83c7a94062d95e6d2436da722c17808ddc61c3c0d" +content-hash = "4db34c045ba88c33ff8e3ea20b07e1ae276ca95767e8ab8d2462142850614a1d" diff --git a/pyproject.toml b/pyproject.toml index 06388412..e8833777 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,10 +8,6 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", @@ -53,7 +49,7 @@ mypy = ">=1.5" pytest = ">=7.3.1" pytest-github-actions-annotate-failures = ">=0.1.7" python-dotenv = ">=1" -requests-cache = { version = "^1.1.0", python = ">=3.8,<4.0" } +requests-cache = { version = "^1.1.0", python = "<4.0" } safety = ">=2.1.1" semver = "^3.0.1" tabulate = "^0.9.0" diff --git a/scripts/docker_tags.py b/scripts/docker_tags.py index bb8412ee..ff1799ad 100644 --- a/scripts/docker_tags.py +++ b/scripts/docker_tags.py @@ -33,7 +33,7 @@ def sort_tags(tags: t.Iterable[dict]) -> list[dict]: """Sort tags.""" return sorted( tags, - key=lambda tag: tag["last_updated"], + key=lambda tag: tag["name"], reverse=True, ) diff --git a/src/citric/client.py b/src/citric/client.py index de087ae5..6d32cdf3 100644 --- a/src/citric/client.py +++ b/src/citric/client.py @@ -1066,7 +1066,7 @@ def get_server_version(self) -> str: Returns: The LimeSurvey server version. - .. versionadded:: NEXT_VERSION + .. versionadded:: 0.9.0 """ return self._get_site_setting("versionnumber")