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 4.0.7 to 5.2.2 #83

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, 2021

Bumps haml from 4.0.7 to 5.2.2.

Release notes

Sourced from haml's releases.

Look Under Your Seats, It's an All Expense Paid Annotation!

Howdy Haml-faml,

The 5.x.x line of Haml keeps chugging along, and we will likely keep this codebase going for those who want this full-fat version of Haml and addressing little issues here and there.

In this version, the wonderful @​jdelStrother brought in a new feature for adding annotations to your output during development showing which template the html came from.

<div class='navbar-light navbar-collapse collapse wi-100 d-md-none' id='navbar-collapse'>
    <div class='navbar-nav phm mbm' role='menu'>
        <!-- BEGIN app/views/page_header/_user_profile_links.html.haml -->
        <a class="nav-link" href="/profile">Profile</a>
        <a class="nav-link" href="/account/edit">Settings</a>
        <div class='dropdown-divider'></div>
        <a class="nav-link" href="/logout">Log out</a>
        <!-- END app/views/page_header/_user_profile_links.html.haml -->
  </div>
</div>

This was added in Rails 6.1 for ERB files, and now all you wonderful Haml-ers out there get the same useful feature.

As for the future of Haml, we are likely going to be moving over the main branch and 6.x.x development to be based off of @​k0kubun's awesome Hamlit implementation. It does lack some of the features that 5.x has, but it comes with almost 2x speed improvement and honestly, even the way I (Hampton) use Haml – is well covered by Hamlit. You really have to be doing some weird stuff for it to be an issue. So, we'll likely be releasing an alpha of that 6.x-based-on-Hamlit code soon.

A Surprise Visit

It's time to face the facts that the last release was a LIE. I said we weren't going to release another version of Haml 5.x... and yet, here we are again.

"What's this all about?!?!", you must be screaming at your computer.

Well, our wonderful @​k0kubun has given all of us a wonderful present– which is proper multiline-attributes support for Haml. No longer are we forced to either have super long lines or have kinda wonky spacing on our attributes.

How it started:

  .messages-overflow-container{"data-simplebar": true}
    .messages{data: {controller: "chat-messages"}}
  .like-notification{data: {controller: "reaction-notification"}}
  - unless video.finished?
    .message-write{data: { "controller": "chat", "show-when-logged-in": true }}
      .chat-controls
        .write-area{placeholder: 'Send a message', contenteditable: true, role: "textbox", data: {action: "keydown->chat#chatBoxKeyDown", target: "chat.messageInput"}}
        = render "shared/reaction_button"
    .message-login-prompt{data: { "show-when-logged-out": true }}
      %button{data: {action: "authentication#showModal"}} Login To Chat

How it's going:

  .messages-overflow-container{"data-simplebar": true}
</tr></table> 

... (truncated)

Changelog

Sourced from haml's changelog.

Haml Changelog

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

Released on May 16, 2019 (diff).

  • Rails 6 support #1008 (thanks Seb Jacobs)
  • Add escape_filter_interpolations option for backwards compatibility with haml 4 defaults #984 (thanks Will Jordan)
  • Fix error on empty :javascript and :css filter blocks #986 (thanks Will Jordan)
  • Respect changes in Haml::Options.defaults in Haml::TempleEngine options (Takashi Kokubun)
  • Un-freeze TempleEngine precompiled string literals #983 (thanks Will Jordan)
  • Various performance/memory improvements #965, #966, #963 (thanks Dillon Welch)
  • Enable frozen_string_literal magic comment for all .rb files #967 (thanks Dillon Welch)

5.0.4

Released on October 13, 2017 (diff).

... (truncated)

Commits
  • 31727c9 Releasing 5.2.2
  • 7ec3e22 Updating changelog
  • cb2230b Fix short_identifier on older rails versions
  • b10e0a7 Add support for annotate_rendered_view_with_filenames
  • 7a3fbdb adding in supported version notes
  • 523740d add in submodules to test
  • f19115f use jruby 9.2
  • c728218 readme updates and adding more tests to our github actions matrix
  • 09d41d9 Only Support Testing Modern Builds
  • d3839d3 Fix a typo
  • 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.

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

---
updated-dependencies:
- dependency-name: haml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 21, 2021
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