You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_object_by_uid() already has a client-side fallback via _hacks="insist"
that fetches all objects and filters client-side when the server returns no
results from text search. The search.text.by-uid guard was therefore no
longer needed, and all skip_unless_support/is_supported checks in tests
have been removed.
Closes#586
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ This project should adhere to [Semantic Versioning](https://semver.org/spec/v2.0
14
14
15
15
## [Unreleased]
16
16
17
+
### Removed
18
+
19
+
* Compatibility feature `search.text.by-uid` has been removed. `get_object_by_uid()` already has a client-side fallback (via `_hacks="insist"`) that works on any server, so the guard was no longer needed. Closes https://github.com/python-caldav/caldav/issues/586
20
+
17
21
### Fixed
18
22
19
23
* Reusing a `CalDAVSearcher` across multiple `search()` calls could yield inconsistent results: the first call would return only pending tasks (correct), but subsequent calls would change behaviour because `icalendar_searcher.Searcher.check_component()` mutated the `include_completed` field from `None` to `False` as a side-effect. Fixed by passing a copy with `include_completed` already resolved to `filter_search_results()`, leaving the original searcher object unchanged. Fixes https://github.com/python-caldav/caldav/issues/650
Copy file name to clipboardExpand all lines: caldav/compatibility_hints.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -221,9 +221,6 @@ class FeatureSet:
221
221
"search.text.category.substring": {
222
222
"description": "Substring search for category should work according to the RFC. I.e., search for mil should match family,finance",
223
223
},
224
-
"search.text.by-uid": {
225
-
"description": "The server supports searching for objects by UID property. When unsupported, calendar.get_object_by_uid(uid) will not work. This may be removed in the feature - the checker-script is not checking the right thing (check TODO-comments), probably search by uid is no special case for any server implementations"
226
-
},
227
224
"search.recurrences": {
228
225
"description": "Support for recurrences in search"
"search.text": { "support": "unsupported", "behaviour": "a text search ignores the filter and returns all elements" },
1222
-
"search.text.by-uid": { "support": "fragile", "behaviour": "Probably not supported, but my caldav-server-checker tool has issues with it at the moment" },
0 commit comments