Skip to content

Commit 0b97646

Browse files
jacalataclaude
andcommitted
docs: correct Filter CHANGELOG entry - datetime/bool, not date
Verified against filter.py: the isinstance check is for datetime.datetime, not datetime.date. Bare date objects fall through to str(), unchanged by #1805. Removed the "date" claim from the bullet. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ac6039f commit 0b97646

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
hops (default 30). Refuses HTTPS -> HTTP scheme downgrades and raises
2323
`RedirectError` with a clear message on missing `Location` headers or hop
2424
overflow. Fixes #1127 and #1828.
25-
* Fixed `Filter` serialization for `datetime`, `date`, and `bool` values.
26-
Datetimes now emit ISO-8601 UTC (`2023-01-01T00:00:00Z`) instead of
27-
`str(dt)`'s space-separated form, and booleans emit lowercase
28-
`true`/`false` rather than Python's capitalized `True`/`False`. Both
29-
previously produced 400s from the REST API on fields like `isCertified`,
30-
`hasExtracts`, and any `createdAt` / `updatedAt` filter. Naive datetimes
31-
now raise `ValueError` up front rather than silently producing a
32-
wrong-timezone value. Fixes #1025.
25+
* Fixed `Filter` serialization for `datetime` and `bool` values. Datetimes
26+
now emit ISO-8601 UTC (`2023-01-01T00:00:00Z`) instead of `str(dt)`'s
27+
space-separated form, and booleans emit lowercase `true`/`false` rather
28+
than Python's capitalized `True`/`False`. Both previously produced 400s
29+
from the REST API on fields like `isCertified`, `hasExtracts`, and any
30+
`createdAt` / `updatedAt` filter. Naive datetimes now raise `ValueError`
31+
up front rather than silently producing a wrong-timezone value. Fixes
32+
#1025.
3333
* `UserItem.CSVImport.create_user_from_line` no longer
3434
lowercases the entire CSV line before parsing. Previously the whole line,
3535
including the username, display name, fullname, and email fields, was

0 commit comments

Comments
 (0)