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 phlex-rails from 1.1.1 to 1.2.1 #333

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 15, 2024

Bumps phlex-rails from 1.1.1 to 1.2.1.

Release notes

Sourced from phlex-rails's releases.

1.2.1

Just a quick fix for an issue that occurred when rendering ViewComponents inside Phlex Components.

What's Changed

Full Changelog: phlex-ruby/phlex-rails@1.2.0...1.2.1

1.2.0

This release adds support for Phlex 1.10.

Highlights

New Streaming Tools

You can now include Phlex::Rails::Streaming into a Rails controller and then use the stream method instead of render to stream HTML or CSV views. Note, this is not compatible with Rails built-in layout system. It will only work if you render your layouts from your Phlex views like any other component.

Enhanced support for Phlex::CSV with ActiveRecord::Relations

Unordered ActiveRecord::Relations will enumerate with find_each by default when passed to a CSV view.

Parameterised layouts

You can now initialise a Phlex::Rails::Layout with parameters.

layout -> { ApplicationLayout.new(foo: "bar") }

[Experimental] support for Selective Rendering (incomplete)

Phlex 1.10 introduced experimental Selective Rendering and phlex-rails now has limited support for this via the X-Fragment HTTP header. Currently, this only works for views that are 100% Phlex. In the future, we plan to use Nokogiri to parse ViewComponent components and ActionView views and output helpers so they can be selectively rendered too.

Performance Improvements

  • The same buffer performance improvement in Phlex 1.10 has been applied here
  • Helper adapters are now auto-loaded, which should improve startup performance

Deprecations

  • Helper modules have been renamed for better consistency with the respective helper method names — the old module names still work but will print a deprecation warning now.

Other notable change

  • If you call a Rails helper without including the adapter module, the error message will guide you to include the appropriate module
  • Support for new Turbo 8 helpers
  • Fixed Tailwind configuration path in the install generator
  • Better support for translation helpers

PRs merged

... (truncated)

Changelog

Sourced from phlex-rails's changelog.

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 15, 2024
@dependabot dependabot bot force-pushed the dependabot/bundler/main/phlex-rails-1.2.1 branch from 853915d to a313789 Compare April 18, 2024 08:55
Bumps [phlex-rails](https://github.com/phlex-ruby/phlex-rails) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/phlex-ruby/phlex-rails/releases)
- [Changelog](https://github.com/phlex-ruby/phlex-rails/blob/main/CHANGELOG.md)
- [Commits](phlex-ruby/phlex-rails@1.1.1...1.2.1)

---
updated-dependencies:
- dependency-name: phlex-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/main/phlex-rails-1.2.1 branch from a313789 to 284cb13 Compare May 2, 2024 13:55
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.

None yet

0 participants