From 51e73ebc297df02082c5c683d555f7d057c4f6aa Mon Sep 17 00:00:00 2001 From: Roman Right Date: Wed, 1 May 2024 21:25:53 +0200 Subject: [PATCH] Version/1.26.0 (#927) * version: 1.26.0 * Update README * update test gh workflow * update test gh workflow * add condition based on the python and pydantic versions * add condition based on the python and pydantic versions * remove 3.7 from testing versions * remove 3.7 from testing versions --- .github/workflows/github-actions-tests.yml | 5 +++- README.md | 15 +++++++++- beanie/__init__.py | 2 +- docs/changelog.md | 32 ++++++++++++++++++++++ docs/index.md | 15 +++++++++- pyproject.toml | 2 +- tests/test_beanie.py | 2 +- 7 files changed, 67 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github-actions-tests.yml b/.github/workflows/github-actions-tests.yml index 8f90ba498..48d5ccd04 100644 --- a/.github/workflows/github-actions-tests.yml +++ b/.github/workflows/github-actions-tests.yml @@ -16,7 +16,10 @@ jobs: matrix: python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] mongodb-version: [ 4.4, 5.0 ] - pydantic-version: [ 1.10.12, 2.3 ] + pydantic-version: [ "1.10.15", "2.7" ] + exclude: + - python-version: "3.7" + pydantic-version: "2.7" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 4504c47fe..662a4e8ef 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,19 @@ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G2G0PS833) +## 📢 Important Update 📢 + +We are excited to announce that Beanie is transitioning from solo development to a team-based approach! This move will help us enhance the project with new features and more collaborative development. + +At this moment we are establishing a board of members that will decide all the future steps of the project. We are looking for contributors and maintainers to join the board. + +### Join Us +If you are interested in contributing or want to stay updated, please join our Discord channel. We're looking forward to your ideas and contributions! + +[Join our Discord](https://discord.gg/AwwTrbCASP) + +Let’s make Beanie better, together! + ## Overview [Beanie](https://github.com/roman-right/beanie) - is an asynchronous Python object-document mapper (ODM) for MongoDB. Data models are based on [Pydantic](https://pydantic-docs.helpmanual.io/). @@ -113,7 +126,7 @@ Iliya Hosseini](https://github.com/IHosseini083) project - **[Changelog](https://beanie-odm.dev/changelog)** - list of all the valuable changes -- **[Discord](https://discord.gg/29mMrEBvr4)** - ask your questions, share +- **[Discord](https://discord.gg/AwwTrbCASP)** - ask your questions, share ideas or just say `Hello!!` ---- diff --git a/beanie/__init__.py b/beanie/__init__.py index 5a41b4459..d243564f7 100644 --- a/beanie/__init__.py +++ b/beanie/__init__.py @@ -37,7 +37,7 @@ from beanie.odm.utils.init import init_beanie from beanie.odm.views import View -__version__ = "1.25.0" +__version__ = "1.26.0" __all__ = [ # ODM "Document", diff --git a/docs/changelog.md b/docs/changelog.md index 4ebef45c7..dbfbeb8fd 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,38 @@ Beanie project +## [1.26.0] - 2024-05-01 + +### Feature: soft delete +- Author - [Ali Moradi](https://github.com/alm0ra) +- PR + +### Update deprecated call of general_plain_validator_function (#676) +- Author - [dslemusp](https://github.com/dslemusp) +- PR + +### Annotate decorators that wrap `document` methods (#679) +- Author - [Maxim](https://github.com/bedlamzd) +- PR + +### Update relations docs to indicate that backlinks are virtual. +- Author - [Josh Borrow](https://github.com/JBorrow) +- PR + +### Docs: fix typo (#869) +- Author - [Valentin Oliver Loftsson](https://github.com/valentinoli) +- PR + +### Add possibility of leveraging enum in find query +- Author - [Danil](https://github.com/damikhai) +- PR + +### Handle typeerror in validator of pydanticobjectid +- Author - [Christian Grotheer](https://github.com/grthr) +- PR + +[1.26.0]: https://pypi.org/project/beanie/1.26.0 + ## [1.25.0] - 2024-01-24 ### Encode Date Objects diff --git a/docs/index.md b/docs/index.md index 4504c47fe..662a4e8ef 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,6 +5,19 @@ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G2G0PS833) +## 📢 Important Update 📢 + +We are excited to announce that Beanie is transitioning from solo development to a team-based approach! This move will help us enhance the project with new features and more collaborative development. + +At this moment we are establishing a board of members that will decide all the future steps of the project. We are looking for contributors and maintainers to join the board. + +### Join Us +If you are interested in contributing or want to stay updated, please join our Discord channel. We're looking forward to your ideas and contributions! + +[Join our Discord](https://discord.gg/AwwTrbCASP) + +Let’s make Beanie better, together! + ## Overview [Beanie](https://github.com/roman-right/beanie) - is an asynchronous Python object-document mapper (ODM) for MongoDB. Data models are based on [Pydantic](https://pydantic-docs.helpmanual.io/). @@ -113,7 +126,7 @@ Iliya Hosseini](https://github.com/IHosseini083) project - **[Changelog](https://beanie-odm.dev/changelog)** - list of all the valuable changes -- **[Discord](https://discord.gg/29mMrEBvr4)** - ask your questions, share +- **[Discord](https://discord.gg/AwwTrbCASP)** - ask your questions, share ideas or just say `Hello!!` ---- diff --git a/pyproject.toml b/pyproject.toml index 6cae02dcb..c34614340 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi" [project] name = "beanie" -version = "1.25.0" +version = "1.26.0" description = "Asynchronous Python ODM for MongoDB" readme = "README.md" requires-python = ">=3.7,<4.0" diff --git a/tests/test_beanie.py b/tests/test_beanie.py index 1551d70f6..1b63fc822 100644 --- a/tests/test_beanie.py +++ b/tests/test_beanie.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == "1.25.0" + assert __version__ == "1.26.0"