-
Notifications
You must be signed in to change notification settings - Fork 361
Comparing changes
Open a pull request
base repository: hotwired/turbo-rails
base: v2.0.13
head repository: hotwired/turbo-rails
compare: v2.0.14
- 14 commits
- 16 files changed
- 13 contributors
Commits on Mar 3, 2025
-
Fix unwanted model retention when using class methods from `Turbo::Br…
…oadcastable` with locals (#710) Consider the following model: ```ruby class MyModel < ApplicationRecord broadcasts locals: { something_static: true } end ``` When broadcasting for the first time without this fix, Broadcastable does something like: ``` { something_static }.reverse_merge!(my_model: #<MyModel: id=1>) ``` On the second broadcast for another model instance, the reverse merge will be a no-op, because the first model is already in the Hash! Switching to a non-destructive `reverse_merge` resolves the issue.
Configuration menu - View commit details
-
Copy full SHA for bc499f9 - Browse repository at this point
Copy the full SHA bc499f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c36bab5 - Browse repository at this point
Copy the full SHA c36bab5View commit details -
We dont need that many mutations
David Heinemeier Hansson committedMar 3, 2025 Configuration menu - View commit details
-
Copy full SHA for a32d6cc - Browse repository at this point
Copy the full SHA a32d6ccView commit details -
David Heinemeier Hansson committed
Mar 3, 2025 Configuration menu - View commit details
-
Copy full SHA for 7c6e902 - Browse repository at this point
Copy the full SHA 7c6e902View commit details -
Configuration menu - View commit details
-
Copy full SHA for a187ff3 - Browse repository at this point
Copy the full SHA a187ff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59e98c0 - Browse repository at this point
Copy the full SHA 59e98c0View commit details -
* Test installer This commit adds test coverage for the installer Rake task and application template. The installer is run against a freshly generated Rails app using the version of Rails that is currently loaded. Thus the installer can be tested with different versions of Rails in CI. Similar to hotwired/stimulus-rails#136. The motivation is to be able to move these tests from railties, see: rails/rails#49679 Co-authored-by: Jonathan Hefner <jonathan@hefner.pro> * Monkey-patch AppName#valid_const? on older Rails (< 7.1) My hunch is that this was fixed in Rails 7.1 by rails/rails#46074, but I'm less concerned here because this test suite uses a Dummy app for all of the tests. This is a problem I've been working on in rails/rails#50427, to remove the dummy applications and replace them with a generated app like we've done here with the installer test. I'm happy to investigate replacing the dummy app here afterwards. * Make sure only supported sqlite3 gem is installed ``` LoadError: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.4), already activated sqlite3-2.0.0-x86_64-linux-gnu. Make sure all dependencies are added to Gemfile. (LoadError) Caused by: Gem::LoadError: can't activate sqlite3 (~> 1.4), already activated sqlite3-2.0.0-x86_64-linux-gnu. Make sure all dependencies are added to Gemfile. (Gem::LoadError) Tasks: TOP => db:test:prepare => db:load_config (See full trace by running task with --trace) /home/zzak/.rbenv/versions/3.2.3/lib/ruby/gems/3.2.0/gems/bundler-2.5.4/lib/bundler/rubygems_integration.rb:237:in `block (2 levels) in replace_gem': Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.4), already activated sqlite3-2.0.0-x86_64-linux-gnu. Make sure all dependencies are added to Gemfile. (LoadError) ``` * Fix installer test for Rails 6.1 --------- Co-authored-by: Jonathan Hefner <jonathan@hefner.pro> Co-authored-by: David Heinemeier Hansson <david@hey.com>
Configuration menu - View commit details
-
Copy full SHA for dd6ab1b - Browse repository at this point
Copy the full SHA dd6ab1bView commit details
Commits on Mar 4, 2025
-
Update @rails/actioncable dependency to version >=7.0 (#705)
* Update @rails/actioncable dependency to version >=7.0 * yarn build
Configuration menu - View commit details
-
Copy full SHA for 8241ae3 - Browse repository at this point
Copy the full SHA 8241ae3View commit details
Commits on Mar 7, 2025
-
Include CSRF
<meta>elements in frame layout (#697)Closes [#669][] If a response to a request with the `Turbo-Frame:` header does not include the `<meta>` elements in the `<html>` document, it's likely that the browser will remove any `<meta>` element present after handling navigating the `<turbo-frame>` that originated the request. In support of testing this behavior, this commit enables CSRF protection in the test suite.
Configuration menu - View commit details
-
Copy full SHA for 94767d3 - Browse repository at this point
Copy the full SHA 94767d3View commit details
Commits on Mar 10, 2025
-
Bump oven-sh/setup-bun from 1 to 2
Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) from 1 to 2. - [Release notes](https://github.com/oven-sh/setup-bun/releases) - [Commits](oven-sh/setup-bun@v1...v2) --- updated-dependencies: - dependency-name: oven-sh/setup-bun dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 25c359b - Browse repository at this point
Copy the full SHA 25c359bView commit details
Commits on Apr 7, 2025
-
Merge pull request #722 from hotwired/dependabot/github_actions/oven-…
…sh/setup-bun-2 Bump oven-sh/setup-bun from 1 to 2
Configuration menu - View commit details
-
Copy full SHA for 3db32e4 - Browse repository at this point
Copy the full SHA 3db32e4View commit details
Commits on Apr 9, 2025
-
Fix stream_name calculation inside of thread (#727)
* Generate the stream name in the current thread * Whitespace * Revert to *streamables
Configuration menu - View commit details
-
Copy full SHA for cb47713 - Browse repository at this point
Copy the full SHA cb47713View commit details
Commits on Jun 2, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 1ac14bd - Browse repository at this point
Copy the full SHA 1ac14bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for abb445e - Browse repository at this point
Copy the full SHA abb445eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.0.13...v2.0.14