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 ~> 3.0 to >= 3, < 7 #5

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 Jan 9, 2023

Updates the requirements on haml to permit the latest version.

Changelog

Sourced from haml's changelog.

5.0.0

Released on April 26, 2017 (diff).

Breaking Changes

  • Haml now requires Ruby 2.0.0 or above.

  • Rails 3 is no longer supported, matching the official Maintenance Policy for Ruby on Rails. Use Haml 4 if you want to use Rails 3. (Tee Parham)

  • Remove :ugly option (#894)

  • The haml command's debug option (-d) no longer executes the Haml code, but rather checks the generated Ruby syntax for errors.

  • Drop parser/compiler accessor from Haml::Engine. Modify Haml::Engine#initialize options or Haml::Template.options instead. (Takashi Kokubun)

  • Drop dynamic quotes support and always escape ' for escape_html/escape_attrs instead. Also, escaped results are slightly changed and always unified to the same characters. (Takashi Kokubun)

  • Don't preserve newlines in attributes. (Takashi Kokubun)

  • HTML escape interpolated code in filters. #770 (Matt Wildig)

      :javascript
        #{JSON.generate(foo: "bar")}
      Haml 4 output: {"foo":"bar"}
      Haml 5 output: {&quot;foo&quot;:&quot;bar&quot;}
    

Added

  • Add a tracing option. When enabled, Haml will output a data-trace attribute on each tag showing the path to the source Haml file from which it was generated. Thanks Alex Babkin.
  • Add haml_tag_if to render a block, conditionally wrapped in another element (Matt Wildig)
  • Support Rails 5.1 Erubi template handler.
  • Support Sprockets 3. Thanks Sam Davies and Jeremy Venezia.
  • General performance and memory usage improvements. (Akira Matsuda)
  • Analyze attribute values by Ripper and render static attributes beforehand. (Takashi Kokubun)
  • Optimize attribute rendering about 3x faster. (Takashi Kokubun)
  • Add temple gem as dependency and create Haml::TempleEngine class. Some methods in Haml::Compiler are migrated to Haml::TempleEngine. (Takashi Kokubun)

Fixed

  • Fix for attribute merging. When an attribute method (or literal nested hash) was used in an old style attribute hash and there is also a (non-static) new style hash there is an error. The fix can result in different behavior in some circumstances. See the commit message for detailed info. (Matt Wildig)
  • Make escape_once respect hexadecimal references. (Matt Wildig)

... (truncated)

Commits
  • 78e2a09 Version 5.0.0
  • e5d6409 Note about #770 in Haml 5 changes
  • 1bac6f9 Remove JRuby from allow_failures
  • d45c2d4 Add backslash for @ to support JRuby
  • 8f20707 Enable frozen_string_literal pragma if possible
  • a6bb255 Oops, this was not intentional...
  • aa4c397 Fix spec in #867 for pretty mode removal
  • 11af795 Fallback to default value of preserve option
  • bbbeb7e Update CHANGELOG to include #867
  • ed7f24f Merge pull request #867 from redoPop/atful-css
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

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.6...v5.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/haml-5.0.0 branch from 8fdfdc3 to 314a13d Compare January 9, 2023 18:23
@dependabot dependabot bot added the dependencies This pull request has dependencies. label Jan 9, 2023
@ImagineBuildBot
Copy link

Scan submitted to Checkmarx

@ImagineBuildBot
Copy link

Logo
Checkmarx SAST - Scan Summary & Details

Cx-SAST Summary

Total of 0 vulnerabilities
High 0 High
Medium 0 Medium
Low 0 Low
Info 0 Info

Checkmarx Scan Summary

Severity Count
High 0
Medium 0
Low 0
Informational 0

Violation Summary

No policy violation found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies This pull request has dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant