Skip to content

fix: retire the popular sort from library.list docs (2.7.1) - #39

Merged
lenzhq merged 1 commit into
mainfrom
fix/retire-popular-sort
Aug 15, 2026
Merged

fix: retire the popular sort from library.list docs (2.7.1)#39
lenzhq merged 1 commit into
mainfrom
fix/retire-popular-sort

Conversation

@lenzhq

@lenzhq lenzhq commented Aug 15, 2026

Copy link
Copy Markdown
Owner

The server dropped the view counter and its popularity sort (lenzhq/Lenz#273, follow-up lenzhq/Lenz#277) and silently coerces sort=popular to recent, so the library.list docstring advertised a dead option. This removes it — sort stays a plain str, so nothing breaks for callers still sending "popular" (the server keeps returning recent ordering).

Also refreshes the openapi.json snapshot (doc-only server drift: /extract enumeration semantics, /verify body-keyed idempotency, the errors table). The snapshot is byte-identical with the sibling PR in lenz-io-node, per the cross-SDK invariant — merge and release the two together (both cut 2.7.1; this repo versions from the release tag). Note the popular removal in the snapshot reflects lenzhq/Lenz#277, which is awaiting review; if that PR's docstring changes, regen before merging.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CKoW1ePZ2oquG1dtUnDJ9K

The server dropped the view counter and its popularity sort (Lenz #273)
and silently coerces sort=popular to recent, so the docstring advertised
a dead option. sort stays a plain str — nothing breaks for callers still
sending it.

Also refreshes the openapi.json snapshot (doc-only server drift), kept
byte-identical with the Node SDK's copy per the cross-SDK invariant.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CKoW1ePZ2oquG1dtUnDJ9K
@lenzhq
lenzhq requested a review from paveljor as a code owner August 15, 2026 19:40
@lenzhq
lenzhq merged commit b33967c into main Aug 15, 2026
9 checks passed
@lenzhq
lenzhq deleted the fix/retire-popular-sort branch August 15, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant