Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump js-routes from 2.3.0 to 2.3.4 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 18, 2024

Bumps js-routes from 2.3.0 to 2.3.4.

Release notes

Sourced from js-routes's releases.

v2.3.4

Changes

  • Fix deprecator usage in rake js:routes:typescript #327
  • Migrate to yarn 4
  • Deprecated prefix option in favor of default_url_options.script_name.
  • Add support for script_name Rails helper option.
Routes.post_path(1, { script_name: "/myapp" })
  // => /myapp/post/1
Routes.configure({
default_url_options: { script_name: "/myapp" }
})
Routes.post_path(1) // => /myapp/post/1

Changelog

Sourced from js-routes's changelog.

[2.3.4]

  • Fix deprecator usage in rake js:routes:typescript #327
  • Migrate to yarn 4
  • Deprecated prefix option in favor of default_url_options.script_name.
  • Add support for script_name Rails helper option.
Routes.post_path(1, { script_name: "/myapp" })
  // => /myapp/post/1
Routes.configure({
default_url_options: { script_name: "/myapp" }
})
Routes.post_path(1) // => /myapp/post/1

[2.3.3]

  • Rework default banner to use routes.rb digest instead of timestamp to ensure consistent routes.js version accross environments.
  • Use JSDoc Tags in banner by default.

The new default banner:

/**
 * @file Generated by js-routes 2.3.3. Based on Rails 7.2.0 routes of App.
 * @see https://github.com/railsware/js-routes
 * @version e289929fc3fbe69b77aa24c5c3a58fcb1246ad1ea3f4e883f7eafa915ca929f3
 */

[2.3.2]

  • Add banner option that allow to control JSDoc on top of generated file. #324.
JsRoutes.setup do |c|
    c.banner = -> {
      <<~DOC
      @file Javascript Route helpers of my magic pony app.
      @author Bogdan Gusiev
      @license MIT
      @version #{JsRoutes.digest}
      DOC
    }
end
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [js-routes](https://github.com/railsware/js-routes) from 2.3.0 to 2.3.4.
- [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.3.0...v2.3.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Dec 18, 2024
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.

0 participants