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

Update haml requirement from >= 4.0, < 6 to >= 4.0, < 7 #233

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 21, 2022

Updates the requirements on haml to permit the latest version.

Release notes

Sourced from haml's releases.

6.0.0

Haml 6 became 1.7x faster than Haml 5, and it's now faster than Slim and Erubi in this benchmark that was originally written by Slim developers.

$ bundle exec ruby benchmark/slim/run-benchmarks.rb
Calculating -------------------------------------
       erubi v1.11.0    34.595k i/100ms
         slim v4.1.0    30.931k i/100ms
  haml v6.0.0.beta.1    35.621k i/100ms
-------------------------------------------------
       erubi v1.11.0    411.827k (± 0.4%) i/s -      2.076M
         slim v4.1.0    361.660k (± 0.4%) i/s -      1.825M
  haml v6.0.0.beta.1    427.207k (± 0.6%) i/s -      2.137M

Comparison: haml v6.0.0.beta.1: 427206.9 i/s erubi v1.11.0: 411826.6 i/s - 1.04x slower slim v4.1.0: 361659.8 i/s - 1.18x slower

Changes

  • Replace the implementation with Hamlit
    • The parser is kept as is, but everything else is replaced.
    • All Haml helpers except for preserve are removed.
    • Some legacy Rails integration is removed.
Changelog

Sourced from haml's changelog.

6.0.0

Released on September 21, 2022 (diff).

  • Replace the implementation with Hamlit
    • Haml 6 is about 1.7x faster than Haml 5 in this benchmark.
    • The parser is kept as is, but everything else is replaced.
    • The haml CLI interface was also replaced.
    • All Haml helpers except for preserve are removed.
    • Some legacy Rails integration is removed.

5.2.2

Released on July 27, 2021 (diff).

  • Support config.action_view.annotate_rendered_view_with_filenames = true of Rails 6.1

5.2.1

Released on November 30, 2020 (diff).

  • Add in improved "multiline" support for attributes #1043

5.2

Released on September 28, 2020 (diff).

  • Fix crash in the attribute optimizer when #inspect is overridden in TrueClass / FalseClass #972
  • Do not HTML-escape templates that are declared to be plaintext #1014 (Thanks @​cesarizu)
  • Class names are no longer ordered alphabetically, and now follow a new specification as laid out in REFERENCE #306

5.1.2

Released on August 6, 2019 (diff).

  • Fix crash in some environments such as New Relic by unfreezing string literals for ParseNode#inspect. #1016 (thanks Jalyna)

5.1.1

Released on May 25, 2019 (diff).

  • Fix NameError bug that happens on ruby 2.6.1-2.6.3 + haml 5.1.0 + rails < 5.1 + erubi. (Akira Matsuda)

5.1.0

... (truncated)

Commits
  • 3a6f147 Version 6.0.0
  • 1bed4fc Version 6.0.0.beta.2
  • 16e6f9a Throw exceptions from Haml::Parser like Haml 5
  • 23554f7 Unify Error and HamlError
  • 84cc3ed Mention the haml CLI change as well
  • 1be9800 Remove bundle install dependency from rake release
  • 1e33193 Version 6.0.0.beta.1
  • ebb459d Polish benchmarks and remove escape_utils dependency
  • 6f742e9 Resurrect block capturing support (#1081)
  • c9d0023 Merge pull request #1077 from petergoldstein/feature/add_ruby_3_1_to_ci
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [haml](https://github.com/haml/haml) to permit the latest version.
- [Release notes](https://github.com/haml/haml/releases)
- [Changelog](https://github.com/haml/haml/blob/main/CHANGELOG.md)
- [Commits](haml/haml@4.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: haml
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 21, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants