fix: retire the popular sort from library.list docs (2.7.1) - #39
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The server dropped the view counter and its popularity sort (lenzhq/Lenz#273, follow-up lenzhq/Lenz#277) and silently coerces
sort=populartorecent, so thelibrary.listdocstring advertised a dead option. This removes it —sortstays a plainstr, so nothing breaks for callers still sending"popular"(the server keeps returningrecentordering).Also refreshes the
openapi.jsonsnapshot (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 thepopularremoval 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