feat: bump spec to v0.1.0-rc.2 (schedule assignment id)#3
Merged
Conversation
Tracks platform release v0.1.0-rc.2. Schedule assignments are now addressable by their own id: set `id` on an upsert to update a specific assignment in place, or omit it to create a new one (the same name can be scheduled multiple times). The returned id can be used to reschedule or delete that instance. Delete now also accepts an `id` to remove a single assignment instead of all by name. - spec/SOURCE.md pinned to v0.1.0-rc.2; spec/client.yaml re-vendored - regenerated src/lunogram/gen/models.py (datamodel-code-generator, py3.12); the scheduled request models gain an optional `id` (and delete `name` is now optional). The facade passes models/dicts through unchanged.
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.
Tracks platform release
v0.1.0-rc.2. The only spec change sincerc.1is the schedule assignment id feature.What changed
Schedule assignments are now addressable by their own
id:user.scheduled.post/organization.scheduled.post): setidto update a specific assignment in place, or omit it to create a new one — the same name can now be scheduled multiple times. The id is returned in the response.user.scheduled.delete/organization.scheduled.delete): setidto remove a single assignment; omit it to delete every assignment by name (unchanged).nameis now optional.How
spec/SOURCE.mdpinned tov0.1.0-rc.2;spec/client.yamlre-vendored from the release asset (byte-identical to the published spec).src/lunogram/gen/models.py(datamodel-code-generator, Python 3.12 — matching CI). The scheduled request models gain an optionalid._serializeemitsidviamodel_dump(mode="json", exclude_none=True).make check-drift(regen matches committed) andpytestpass (44 passed, e2e skipped without creds).