Skip to content

Commit

Permalink
Version/1.26.0 (#927)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
roman-right committed May 1, 2024
1 parent 65c2190 commit 51e73eb
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/github-actions-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down Expand Up @@ -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!!`

----
Expand Down
2 changes: 1 addition & 1 deletion beanie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
32 changes: 32 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@

Beanie project

## [1.26.0] - 2024-05-01
### Feature: soft delete
- Author - [Ali Moradi](https://github.com/alm0ra)
- PR <https://github.com/roman-right/beanie/pull/901>

### Update deprecated call of general_plain_validator_function (#676)
- Author - [dslemusp](https://github.com/dslemusp)
- PR <https://github.com/roman-right/beanie/pull/897>

### Annotate decorators that wrap `document` methods (#679)
- Author - [Maxim](https://github.com/bedlamzd)
- PR <https://github.com/roman-right/beanie/pull/886>

### Update relations docs to indicate that backlinks are virtual.
- Author - [Josh Borrow](https://github.com/JBorrow)
- PR <https://github.com/roman-right/beanie/pull/904>

### Docs: fix typo (#869)
- Author - [Valentin Oliver Loftsson](https://github.com/valentinoli)
- PR <https://github.com/roman-right/beanie/pull/899>

### Add possibility of leveraging enum in find query
- Author - [Danil](https://github.com/damikhai)
- PR <https://github.com/roman-right/beanie/pull/868>

### Handle typeerror in validator of pydanticobjectid
- Author - [Christian Grotheer](https://github.com/grthr)
- PR <https://github.com/roman-right/beanie/pull/861>

[1.26.0]: https://pypi.org/project/beanie/1.26.0

## [1.25.0] - 2024-01-24
### Encode Date Objects
Expand Down
15 changes: 14 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down Expand Up @@ -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!!`

----
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_beanie.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def test_version():
assert __version__ == "1.25.0"
assert __version__ == "1.26.0"

0 comments on commit 51e73eb

Please sign in to comment.