Skip to content

Releases: rage-rb/rage

v1.16.0

20 May 17:15
df55698
Compare
Choose a tag to compare

What's Changed

Rage v1.16 introduces a new WebSocket protocol - RawWebSocketJson. This protocol enables you to interact with Rage::Cable applications using the native WebSocket object, eliminating the need for the @rails/actioncable dependency.

Other changes:

  • Feature: Added the after_initialize hook by @serhii-sadovskyi in #149
  • [OpenAPI] Correctly handle the key option in associations
  • [OpenAPI] Correctly handle root_key!
  • Correctly parse plaintext responses in RSpec

New Contributors

Full Changelog: v1.15.1...v1.16.0

v1.15.0

02 Apr 17:45
8a8a12e
Compare
Choose a tag to compare

What's Changed

With v1.15, Rage introduces OpenAPI Explorer - a tool that allows you to experiment with Rage::OpenAPI without the need to set up a project. You can try out different tags and serializer combinations to see the documentation generated by Rage::OpenAPI.

Additionally, the release includes some new functionality and numerous bug fixes.

Added

  • Enhance the Rage::Request class by @aaoafk
  • [OpenAPI] Support the @param tag

Fixed

  • Fix using Fiber.schedule in console by @lkibbalam
  • Correctly handle regexp origins in Rage::Cors
  • [OpenAPI] Correctly handle trailing slash
  • [OpenAPI] Correctly handle empty shared components
  • [OpenAPI] Explicitly load Prism
  • [OpenAPI] Correctly verify available before actions
  • [OpenAPI] Correctly handle global comments

Shoutouts

Thank you to @RichStone for his idea of the OpenAPI Explorer tool, as well as for his feedback and advice on how to improve Rage::OpenAPI.

New Contributors

Full Changelog: v1.14.0...v1.15.0

v1.14.0

10 Mar 18:03
f2ec2e5
Compare
Choose a tag to compare

What's Changed

  • Update app template to include all app rake tasks by @pjb3 in #130
  • Reload code in development based on filesystem updates by @rsamoilov in #132

New Contributors

  • @pjb3 made their first contribution in #130

Full Changelog: v1.13.0...v1.14.0

v1.13.0

12 Feb 19:47
bc8bb2c
Compare
Choose a tag to compare

What's Changed

Shoutouts

Special thanks to @p8 for tackling the Ruby 3.4 + Rage bug!

New Contributors

Full Changelog: v1.12.0...v1.13.0

v1.12.0

21 Jan 18:28
47e227c
Compare
Choose a tag to compare

What's Changed

  • [Cable] Added Redis adapter, which now allows you to scale Rage::Cable applications to more than one server. The adapter is based on Redis Streams, which means clients do not lose messages during network disruptions. As before, an adapter is not needed if you only use one server. This means that even if Redis is down due to an outage, clients connected to the same server as the broadcaster will still receive broadcasts.
  • [API] Added long-awaited around_action hooks.
  • [OpenAPI] Added global response tags, which can be used to specify global responses shared by multiple endpoints.

Full Changelog: v1.11.0...v1.12.0

v1.11.0

18 Dec 19:49
58cf4fa
Compare
Choose a tag to compare

What's Changed

If you still haven’t had enough reasons to use Rage, here’s one more - v1.11 now lets you build OpenAPI specifications for your applications!

We’ve worked hard on implementing this feature and even harder on scoping it out. And with features like automatic security scheme application based on before_action callbacks and integration with the awesome Alba, we couldn’t be happier with the result!

So, check out the guide and don’t forget to share your feedback!

Another important update in this release:
Rage now correctly handles ActiveRecord connections in the environments with legacy_connection_handling == false.

Full Changelog: v1.10.1...v1.11.0

v1.10.0

16 Sep 18:12
6bf8859
Compare
Choose a tag to compare

What's Changed

v1.10.0 focuses on the database and brings two major changes:

  • Rage's own Connection Pool is now enabled by default. We've implemented lots of improvements and stability fixes to it while preserving excellent performance. Active Record versions starting with 6.0 are supported.
  • You can now use the -d option with the rage new command to preconfigure the app for the selected database. Thanks to standalone_migrations, commands like rage db:migrate or rage db:seed are supported out-of-the-box.

Other changes in the release:

  • Add rage middleware and rage version commands.
  • Log to STDOUT by default in production.

Full Changelog: v1.9.0...v1.10.0

v1.9.0

24 Aug 11:40
15e80c8
Compare
Choose a tag to compare

What's Changed

  • Allow to serve static files from the public directory in #100
  • Add request methods to the Rage::Request class by @cuneyter in #97
  • Correctly set Rails env in #102
  • Rails 7.2 compatibility in #101

Full Changelog: v1.8.0...v1.9.0

v1.8.0

06 Aug 18:21
91c3e25
Compare
Choose a tag to compare

What's Changed

v1.8.0 adds support for WebSockets! Head out to the WebSockets page to see it in action. Make sure to check the benchmarks!

On the note of benchmarks, Rage is now part of the TechEmpower benchmark project! And we all look forward to seeing the official results 😬🤩

Full Changelog: v1.7.0...v1.8.0

v1.7.0

30 Jul 18:53
592d7e1
Compare
Choose a tag to compare

What's Changed

  • Controller parameters wrapping feature by @alex-rogachev in #89
  • Unknown Environment Error Handling by @cuneyter in #95
  • Allow rescue_from handlers to not accept arguments in #93

New Contributors

Full Changelog: v1.6.0...v1.7.0