README.md in rage-rb-0.4.0 vs README.md in rage-rb-0.5.0
- old
+ new
@@ -47,10 +47,11 @@
Check out in-depth API docs for more information:
- [Controller API](https://rage-rb.pages.dev/RageController/API)
- [Routing API](https://rage-rb.pages.dev/Rage/Router/DSL/Handler)
- [Fiber API](https://rage-rb.pages.dev/Fiber)
+- [Logger API](https://rage-rb.pages.dev/Rage/Logger)
Also, see the [changelog](https://github.com/rage-rb/rage/blob/master/CHANGELOG.md) and [upcoming-releases](https://github.com/rage-rb/rage#upcoming-releases) for currently supported and planned features.
### Example
@@ -96,14 +97,14 @@
```ruby
require "net/http"
class PagesController < RageController::API
def index
- pages = Fiber.await(
+ pages = Fiber.await([
Fiber.schedule { Net::HTTP.get(URI("https://httpbin.org/json")) },
Fiber.schedule { Net::HTTP.get(URI("https://httpbin.org/html")) },
- )
+ ])
render json: { pages: pages }
end
end
```
@@ -141,15 +142,16 @@
Version | Changes
------- |------------
0.2 :white_check_mark: | ~~Gem configuration by env.<br>Add `skip_before_action`.<br>Add `rescue_from`.<br>Router updates:<br> • make the `root` helper work correctly with `scope`;<br> • support the `defaults` option;~~
0.3 :white_check_mark: | ~~CLI updates:<br> • `routes` task;<br> • `console` task;<br>Support the `:if` and `:unless` options in `before_action`.<br>Allow to set response headers.~~
-0.4 :white_check_mark: | ~~Expose the `params` object.<br>Support header authentication with `authenticate_with_http_token`.<br>Router updates:<br> • add the `resources` route helper;<br> • add the `namespace` route helper;<br>~~ • support regexp constraints (postponed)
-0.5 | Implement Iodine-based equivalent of `ActionController::Live`.<br>Use `ActionDispatch::RemoteIp`.
-0.6 | Expose the `cookies` object.<br>Expose the `send_data` and `send_file` methods.<br>Support conditional get with `etag` and `last_modified`.
-0.7 | Add request logging.
-0.8 | Collect app metrics.
-0.9 | Automatic code reloading in development.
+0.4 :white_check_mark: | ~~Expose the `params` object.<br>Support header authentication with `authenticate_with_http_token`.<br>Router updates:<br> • add the `resources` route helper;<br> • add the `namespace` route helper;~~
+0.5 :white_check_mark: | ~~Add request logging.~~
+0.6 | Automatic code reloading in development with Zeitwerk.
+0.7 | Expose the `send_data` and `send_file` methods.
+0.8 | Support conditional get with `etag` and `last_modified`.
+0.9 | Expose the `cookies` and `session` objects.
+1.0 | Implement Iodine-based equivalent of Action Cable.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.