Skip to content

build(deps): bump js-routes from 2.4.0 to 2.4.1#512

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/js-routes-2.4.1
Open

build(deps): bump js-routes from 2.4.0 to 2.4.1#512
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/js-routes-2.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps js-routes from 2.4.0 to 2.4.1.

Release notes

Sourced from js-routes's releases.

v2.4.1

Changes

Fix camelCase TypeScript definitions for optional parameters

Fix a bug introduced in 2.4.0 where camel_case: true caused TypeScript type definitions to advertise camelCase keys for optional route parameters while the JavaScript runtime still required snake_case. Fixes #351.

Optional parameter names in .d.ts output now match what the runtime actually accepts:

// Before (broken): type advertised perPage but runtime required per_page
itemsPath({ perPage: 20 })   // → "/items?perPage=20"  ✗ (silently wrong)
itemsPath({ per_page: 20 })  // → "/items/20"          ✓ (worked but type was misleading)
// After (fixed): type and runtime agree on snake_case
itemsPath({ per_page: 20 })  // → "/items/20"          ✓

Changelog

Sourced from js-routes's changelog.

[2.4.1]

Fix camelCase TypeScript definitions for optional parameters

Fix a bug introduced in 2.4.0 where camel_case: true caused TypeScript type definitions to advertise camelCase keys for optional route parameters while the JavaScript runtime still required snake_case. Fixes #351.

Optional parameter names in .d.ts output now match what the runtime actually accepts:

// Before (broken): type advertised perPage but runtime required per_page
itemsPath({ perPage: 20 })   // → "/items?perPage=20"  ✗ (silently wrong)
itemsPath({ per_page: 20 })  // → "/items/20"          ✓ (worked but type was misleading)
// After (fixed): type and runtime agree on snake_case
itemsPath({ per_page: 20 })  // → "/items/20"          ✓

Commits
  • 1e1fa28 Update actions/checkout to v7
  • 5e3c191 Bump version to 2.4.1
  • 4311039 Fix camelCase DTS definitions for optional parameters
  • e647092 Move IMPORT_ROUTER into wrapper_variable, eliminating it as a separate RubyVa...
  • 4900762 Bump required_ruby_version to 2.7 to match CI minimum
  • 8cc0cb6 Update Ruby to 4.0.5 in release workflow
  • 6f55a36 Fix changelog extraction breaking on ### subheadings
  • 738e53d Improve workflows versions
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jun 22, 2026
@viniciusoyama

Copy link
Copy Markdown
Collaborator

@dependabot rebase

Bumps [js-routes](https://github.com/railsware/js-routes) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/railsware/js-routes/releases)
- [Changelog](https://github.com/railsware/js-routes/blob/main/CHANGELOG.md)
- [Commits](railsware/js-routes@v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: js-routes
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/js-routes-2.4.1 branch from 93f6505 to 4b03220 Compare June 23, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant