Skip to content

Releases: rails/jbuilder

v2.14.1

12 Aug 15:38
v2.14.1
38339ad
Compare
Choose a tag to compare

What's Changed

  • Ensure that Jbuilder.encode properly forwards arguments to .new by @flavorjones in #601

New Contributors

Full Changelog: v2.14.0...v2.14.1

v2.14.0

08 Aug 19:50
v2.14.0
30ba7df
Compare
Choose a tag to compare

What's Changed

  • Drop support to Ruby < 3.0 and Rails < 7.0
  • Test against Rails 8 and fix Rails 7 logger dependency by @excid3 in #582
  • Add status: :see_other to update action by @excid3 in #583
  • Force close final statement in templates by @ienders in #578
  • Optimize _is_collection? method by @moberegger in #590
  • Add #frozen_string_literal: true to all files by @moberegger in #599
  • Optimize _key to prevent string allocation when formatting Symbols by @moberegger in #593
  • Optimize key formatter by @moberegger in #597
  • Optimize internal extract! calls to save on memory allocation by @moberegger in #598
  • Fix regression in API controllers with view_cache_dependencies helper by @excid3 in #575
  • Optimize method_missing via alias_method by @moberegger in #600
  • Cleanup project for Rails 7+ support by @moberegger in #594
  • Fix warnings and prevent Jbuilder::VERSION constant from being obliterated by @pixeltrix in #574
  • Optimize memory allocation when rendering partials by @moberegger in #591

New Contributors

Full Changelog: v2.13.0...v2.14.0

v2.13.0

15 Sep 14:38
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Redirect to @record or path in controller generator by @jeromedalbert in #569
  • Return early from collection partial rendering if blank by @tylerjc in #560
  • Add missing ':see_other' status code in generated destroy controller method by @ldeld in #538
  • Remove OpenStruct references from Jbuilder by @mtsmfm in #567
  • Use new params.expect syntax instead of params.require by @jeromedalbert in #573

New Contributors

Full Changelog: v2.12.0...v2.13.0

v2.12.0

29 Apr 00:53
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Use OpenStruct only if available by @yahonda in #562
  • Replace deprecated ProxyObject with BasicObject by @Earlopain in #563
  • Avoid loading ActionController::API constant by @nvasilevski in #529
  • Fixed a bug where #501 broke compatibility with Enumerable by @yuki24 in #531
  • Fix namespace issue when generating jbuilder views by @hahmed in #536
  • Remove reliance on ERBTracker from rails by @HParker in #504
  • Fix require path of dependency_tracker in railtie.rb by @jalyna in #552

New Contributors

Full Changelog: v2.11.5...v2.12.0

v2.11.5

21 Dec 04:06
v2.11.5
c6bda15
Compare
Choose a tag to compare

What's Changed

  • Make sure action_view is loaded before using it.

Full Changelog: v2.11.4...v2.11.5

v2.11.4

17 Dec 14:31
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Fix scaffold controller generator with namespace by @ceritium in #512
  • Remove the unwanted #empty call on the collection by @yuki24 in #524

Full Changelog: v2.11.3...v2.11.4

v2.11.3

14 Nov 14:41
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Speed up collection rendering and add support for multifetch collection handling by @yuki24 in #501

Full Changelog: v2.11.2...v2.11.3

v2.11.2

21 Dec 03:24
Compare
Choose a tag to compare

What's Changed

  • Improve key formatting for nested hashes and disable by default by @tf in #497

New Contributors

Full Changelog: v2.11.1...v2.11.2

v2.11.1

21 Dec 03:25
Compare
Choose a tag to compare

What's Changed

  • Use symbols instead of strings for before_action filters [DHH]
  • Slim down comments in generated scaffold code [DHH]

Full Changelog: v2.11.0...v2.11.1

v2.11.0

21 Dec 03:26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.10.2...v2.11.0