Skip to content

feat: add #patch to http_request method (4.2.0) - #15

Merged
Kamirus merged 1 commit into
masterfrom
feat/http-request-patch
Jun 29, 2026
Merged

feat: add #patch to http_request method (4.2.0)#15
Kamirus merged 1 commit into
masterfrom
feat/http-request-patch

Conversation

@ggreif

@ggreif ggreif commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What

Adds the #patch case to HttpRequestArgs.method in src/Types.mo, bumps the package to 4.2.0, and refreshes did/ic.did.

Why

The IC interface spec added patch to the management-canister http_request method — dfinity/developer-docs#289, merged 2026-06-29. PATCH HTTPS outcalls are rolled out across all subnets, so the ic package should expose it.

How

Followed REGENERATING.md:

  • did/ic.did refreshed from dfinity/developer-docs main — the only change is http_request_args.method gaining patch.
  • src/Types.mo regenerated via didc 0.6.2 bind --target mo | pascal_types.py. The sole semantic diff is the new #patch variant case; incidental record-wrapping churn from the newer didc formatter was discarded to keep the diff to the established format (CI runs mops test only — no format gate).
  • Minor bump per the REGENERATING.md semver table (new input variant case = minor): 4.1.0 → 4.2.0.
  • CHANGELOG updated.

Compatibility

Additive variant-case addition — existing #get/#head/#post/#put/#delete callers are unaffected.

🤖 Generated with Claude Code

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>
@Kamirus
Kamirus merged commit 3d33400 into master Jun 29, 2026
4 checks passed
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.

2 participants