Skip to content

Commit 6fdead7

Browse files
KumzyHarshal6927
andauthored
chore(release): bump to v1.7.0 (#577)
* chore(release): bump to v1.7.0 * Update Makefile Signed-off-by: Harshal Laheri <73422191+Harshal6927@users.noreply.github.com> --------- Signed-off-by: Harshal Laheri <73422191+Harshal6927@users.noreply.github.com> Co-authored-by: Harshal Laheri <73422191+Harshal6927@users.noreply.github.com>
1 parent 9178592 commit 6fdead7

3 files changed

Lines changed: 180 additions & 65 deletions

File tree

docs/changelog.rst

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,87 @@
33
1.x Changelog
44
=============
55

6+
.. changelog:: 1.7.0
7+
:date: 2025-10-13
8+
9+
.. change:: handle and compare `numpy` arrays
10+
:type: feature
11+
:pr: 550
12+
13+
Direct equality comparisons (`!=`) with numpy arrays in repository update methods raised `ValueError: The truth value of an array with more than one element is ambiguous`
14+
15+
Adds a safe comparison utility that handle numpy arrays gracefully
16+
17+
.. change:: enhance visibility of syntax blocks in docs
18+
:type: feature
19+
:pr: 570
20+
21+
Migrates custom documentation styling from hardcoded colors to Shibuya theme's native CSS variable system. This ensures consistent theming across light/dark modes and leverages the configured `accent_color: "amber"` setting.
22+
23+
.. change:: align CLI commands with complete Alembic API
24+
:type: feature
25+
:pr: 569
26+
:issue: 566, 568
27+
28+
Implements complete API parity with Alembic 1.16.5 CLI by adding 9 missing commands and completing the stamp command with all options.
29+
30+
.. change:: lazy attributes getting accessed on repository update method
31+
:type: bugfix
32+
:pr: 553
33+
:issue: 552
34+
35+
This fixes #552 by moving the guard condition up.
36+
37+
.. change:: prevent update() from overwriting unset fields with None (#560)
38+
:type: bugfix
39+
:pr: 563
40+
:issue: 560
41+
42+
Added `was_attribute_set()` helper function that uses SQLAlchemy's
43+
instance state inspection to check which attributes were actually
44+
modified/set on the input instance. The update() method now only copies
45+
attributes that have been explicitly set by the user.
46+
47+
.. change:: updated_at not being updated
48+
:type: bugfix
49+
:pr: 551
50+
51+
`updated_at` was not correctly updated on some base models.
52+
53+
.. change:: ensure to_model called with update operation for all data types
54+
:type: bugfix
55+
:pr: 575
56+
:issue: 555
57+
58+
This PR fixes a bug in the Service layer's `update()` method where dict, Pydantic, msgspec, and attrs data bypassed the `to_model()` operation map, preventing custom `to_model()` implementations from being invoked during update operations.
59+
60+
.. change:: handle deleted objects gracefully in auto_expunge
61+
:type: bugfix
62+
:pr: 574
63+
:issue: 514
64+
65+
Resolves InvalidRequestError when deleting objects with `auto_expunge=True` and `auto_commit=True` enabled.
66+
67+
.. change:: punctuation symbols not visible in dark mode syntax highlighting
68+
:type: bugfix
69+
:pr: 576
70+
71+
Add explicit color styling for `.highlight .p` (punctuation tokens) in both light and dark modes using Shibuya theme's `--gray-12` variable. This ensures brackets, parentheses, commas, and other punctuation symbols are properly visible when viewing code examples in dark mode.
72+
73+
.. change:: correct closure variable capture in filter provider loops
74+
:type: bugfix
75+
:pr: 573
76+
:issue: 507
77+
78+
Fixes a closure bug where multiple fields in `in_fields` and `not_in_fields` arrays resulted in only the last field working correctly. This was caused by loop variables being captured by reference rather than by value in nested function definitions.
79+
80+
.. change:: agent workflow and knowledge repository
81+
:type: misc
82+
:pr: 567
83+
84+
Introduce a structured agent workflow and comprehensive development guides for the AI agent based development. This includes detailed instructions for agents, directory structures for requirements, and updates to existing documentation.
85+
86+
687
.. changelog:: 1.6.3
788
:date: 2025-09-19
889

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ maintainers = [
4444
name = "advanced_alchemy"
4545
readme = "docs/PYPI_README.md"
4646
requires-python = ">=3.9"
47-
version = "1.6.3"
47+
version = "1.7.0"
4848

4949
[project.urls]
5050
Changelog = "https://docs.advanced-alchemy.litestar.dev/latest/changelog"
@@ -173,7 +173,7 @@ test = [
173173
allow_dirty = true
174174
commit = false
175175
commit_args = "--no-verify"
176-
current_version = "1.6.3"
176+
current_version = "1.7.0"
177177
ignore_missing_files = false
178178
ignore_missing_version = false
179179
message = "chore(release): bump to v{new_version}"

0 commit comments

Comments
 (0)