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 haml from 5.2.2 to 6.0.1 #1011

Closed
wants to merge 5 commits into from
Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps haml from 5.2.2 to 6.0.1.

Release notes

Sourced from haml's releases.

6.0.1

  • Unescape HTML-safe interpolation on Rails #1084
  • Resurrect Haml 5's AttributeParser.available? for syntax_tree-haml #1085

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.

6.0.0.beta.1

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

... (truncated)

Changelog

Sourced from haml's changelog.

6.0.1

Released on September 23, 2022 (diff).

  • Unescape HTML-safe interpolation on Rails #1084
  • Resurrect Haml 5's AttributeParser.available? for syntax_tree-haml #1085

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.
Commits
  • 481ee29 Version 6.0.1
  • 1a1ca00 Haml doesn't need to override Haml itself
  • 08098f1 Unescape HTML-safe interpolation on Rails
  • b3cdafd Resurrect AttributeParser.available?
  • aeba1f0 Merge pull request #1086 from mishina2228/update-ci-status-badge
  • 6ecf37b Update CI status badge
  • 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
  • Additional commits viewable in compare view

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 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 [haml](https://github.com/haml/haml) from 5.2.2 to 6.0.1.
- [Release notes](https://github.com/haml/haml/releases)
- [Changelog](https://github.com/haml/haml/blob/main/CHANGELOG.md)
- [Commits](haml/haml@v5.2.2...v6.0.1)

---
updated-dependencies:
- dependency-name: haml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Sep 23, 2022
@CloCkWeRX
Copy link
Member

@dependabot rebase

Bumps [haml](https://github.com/haml/haml) from 5.2.2 to 6.0.1.
- [Release notes](https://github.com/haml/haml/releases)
- [Changelog](https://github.com/haml/haml/blob/main/CHANGELOG.md)
- [Commits](haml/haml@v5.2.2...v6.0.1)

---
updated-dependencies:
- dependency-name: haml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/haml-6.0.1 branch from a3adfb3 to 0562a16 Compare September 25, 2022 02:57
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 28, 2022

A newer version of haml exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@CloCkWeRX CloCkWeRX closed this Apr 5, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 5, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/haml-6.0.1 branch April 5, 2023 09:30
@CloCkWeRX CloCkWeRX restored the dependabot/bundler/haml-6.0.1 branch October 26, 2023 12:01
@CloCkWeRX CloCkWeRX deleted the dependabot/bundler/haml-6.0.1 branch October 26, 2023 12:01
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.

2 participants