feat: add #patch to http_request method (4.2.0) - #15
Merged
Conversation
The IC interface spec added `patch` to the `http_request` management-canister method (dfinity/developer-docs#289, merged 2026-06-29). PATCH HTTPS outcalls are now rolled out across all subnets. Regenerated from the refreshed `did/ic.did`: the only `Types.mo` change is `HttpRequestArgs.method` gaining the `#patch` case (additive variant-case addition — existing callers unaffected). Minor bump 4.1.0 -> 4.2.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Adds the
#patchcase toHttpRequestArgs.methodinsrc/Types.mo, bumps the package to 4.2.0, and refreshesdid/ic.did.Why
The IC interface spec added
patchto the management-canisterhttp_requestmethod — dfinity/developer-docs#289, merged 2026-06-29. PATCH HTTPS outcalls are rolled out across all subnets, so theicpackage should expose it.How
Followed
REGENERATING.md:did/ic.didrefreshed fromdfinity/developer-docsmain — the only change ishttp_request_args.methodgainingpatch.src/Types.moregenerated viadidc 0.6.2 bind --target mo | pascal_types.py. The sole semantic diff is the new#patchvariant case; incidental record-wrapping churn from the newer didc formatter was discarded to keep the diff to the established format (CI runsmops testonly — no format gate).REGENERATING.mdsemver table (new input variant case = minor): 4.1.0 → 4.2.0.Compatibility
Additive variant-case addition — existing
#get/#head/#post/#put/#deletecallers are unaffected.🤖 Generated with Claude Code