Skip to content

Commit 0898c2b

Browse files
authored
fix: update pk field only raises unfriendly error (#1873)
* fix: update pk field only raises unfriendly error * docs: update changelog * chore: make style * chore: upgrade deps * tests: check exception message * refactor: raises OperatinalError when save partial with pk and other fields
1 parent 4e47cff commit 0898c2b

File tree

6 files changed

+195
-176
lines changed

6 files changed

+195
-176
lines changed

CHANGELOG.rst

+4-6
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,27 @@ Changelog
66

77
.. rst-class:: emphasize-children
88

9-
0.25
9+
0.24
1010
====
1111

12-
0.25.0 (unreleased)
12+
0.24.1 (unreleased)
1313
------
1414
Fixed
1515
^^^^^
16+
- Fix update pk field raises unfriendly error (#1873)
1617
- Fixed asyncio "no current event loop" deprecation warning by replacing `asyncio.get_event_loop()` with modern event loop handling using `get_running_loop()` with fallback to `new_event_loop()` (#1865)
1718

1819
Changed
1920
^^^^^^^
2021
- add benchmarks for `get_for_dialect` (#1862)
2122

22-
0.24
23-
====
24-
2523
0.24.0
2624
------
2725
Fixed
2826
^^^^^
27+
- `_get_dialects`: support properties (#1859)
2928
- Rename pypika to pypika_tortoise for fixing package name conflict (#1829)
3029
- Concurrent connection pool initialization (#1825)
31-
- `_get_dialects`: support properties (#1859)
3230

3331
Changed
3432
^^^^^^^

0 commit comments

Comments
 (0)