Skip to content

docs(hooks): files module enable / disable are PUT, not GET - #41

Merged
Domantas merged 1 commit into
mainfrom
docs/toggle-verb-comments
Oct 5, 2026
Merged

Domantas merged 1 commit into
mainfrom
docs/toggle-verb-comments

Conversation

@Domantas

@Domantas Domantas commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Comment-only fix: the route list at the top of src/hooks/hub/files.ts showed GET for /{version}/files/enable and /{version}/files/disable.

The gateway serves both as PUT only. The hidden GET aliases were removed on refactoringV2 (codemash-io/gateway 35d76ab08), and ServiceStack's predefined routes are off (ad8e2a43d). The hooks call the TS SDK, which already sends PUT, so behaviour is unchanged.

  • No code change, no release expected (docs commit).
  • Gateway task file: gateway/docs/tasks/close-predefined-get-routes.md (branch refactoringV2).

🤖 Generated with Claude Code

The route list in the files hooks header still showed GET for
/{version}/files/enable and /disable. The gateway serves them as PUT only
(the GET aliases are removed), and the hooks call the TS SDK, which sends PUT.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit c2afae4 into main Oct 5, 2026
@Domantas
Domantas deleted the docs/toggle-verb-comments branch October 5, 2026 16:07
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

🚀 Release preview

Next version on merge to main: none

semantic-release dry-run output
[4:07:59 PM] [semantic-release] › ℹ  Running semantic-release version 25.0.9
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[4:08:00 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[4:08:02 PM] [semantic-release] › ⚠  Run automated release from branch main on repository https://github.com/norbix-code/react-redux.git in dry-run mode
[4:08:02 PM] [semantic-release] › ℹ  The local branch main is behind the remote one, therefore a new version won't be published.

If next_version is none, your commits don't trigger a release. Use feat: for minor (breaking changes too, until launch), fix: / perf: for patch.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.8.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant