2014-05-31 21:05:00 -04:00
|
|
|
* Ensure the controller is always notified as soon as the client disconnects
|
|
|
|
during live streaming, even when the controller is blocked on a write.
|
|
|
|
|
|
|
|
*Nicholas Jakobsen*, *Matthew Draper*
|
|
|
|
|
2014-06-03 17:05:16 -04:00
|
|
|
* Routes specifying 'to:' must be a string that contains a "#" or a rack
|
|
|
|
application. Use of a symbol should be replaced with `action: symbol`.
|
|
|
|
Use of a string without a "#" should be replaced with `controller: string`.
|
|
|
|
|
2014-05-24 11:41:28 -04:00
|
|
|
* Fix URL generation with `:trailing_slash` such that it does not add
|
|
|
|
a trailing slash after `.:format`
|
|
|
|
|
|
|
|
*Dan Langevin*
|
|
|
|
|
2014-05-13 22:30:57 -04:00
|
|
|
* Build full URI as string when processing path in integration tests for
|
|
|
|
performance reasons.
|
|
|
|
|
|
|
|
*Guo Xiang Tan*
|
|
|
|
|
2014-05-23 17:45:21 -04:00
|
|
|
* Fix `'Stack level too deep'` when rendering `head :ok` in an action method
|
2014-05-15 15:18:05 -04:00
|
|
|
called 'status' in a controller.
|
|
|
|
|
|
|
|
Fixes #13905.
|
|
|
|
|
|
|
|
*Christiaan Van den Poel*
|
|
|
|
|
2014-05-15 13:36:24 -04:00
|
|
|
* Add MKCALENDAR HTTP method (RFC 4791).
|
|
|
|
|
|
|
|
*Sergey Karpesh*
|
|
|
|
|
2014-02-21 05:28:51 -05:00
|
|
|
* Instrument fragment cache metrics.
|
|
|
|
|
|
|
|
Adds `:controller`: and `:action` keys to the instrumentation payload
|
|
|
|
for the `*_fragment.action_controller` notifications. This allows tracking
|
|
|
|
e.g. the fragment cache hit rates for each controller action.
|
|
|
|
|
|
|
|
*Daniel Schierbeck*
|
|
|
|
|
2014-05-11 07:56:33 -04:00
|
|
|
* Always use the provided port if the protocol is relative.
|
|
|
|
|
|
|
|
Fixes #15043.
|
|
|
|
|
|
|
|
*Guilherme Cavalcanti*, *Andrew White*
|
|
|
|
|
2014-05-02 10:54:35 -04:00
|
|
|
* Moved `params[request_forgery_protection_token]` into its own method
|
|
|
|
and improved tests.
|
|
|
|
|
|
|
|
Fixes #11316.
|
|
|
|
|
|
|
|
*Tom Kadwill*
|
|
|
|
|
2013-06-28 09:37:26 -04:00
|
|
|
* Added verification of route constraints given as a Proc or an object responding
|
2014-05-04 17:47:29 -04:00
|
|
|
to `:matches?`. Previously, when given an non-complying object, it would just
|
|
|
|
silently fail to enforce the constraint. It will now raise an `ArgumentError`
|
2013-06-28 09:37:26 -04:00
|
|
|
when setting up the routes.
|
|
|
|
|
|
|
|
*Xavier Defrang*
|
|
|
|
|
2013-10-25 17:16:42 -04:00
|
|
|
* Properly treat the entire IPv6 User Local Address space as private for
|
|
|
|
purposes of remote IP detection. Also handle uppercase private IPv6
|
|
|
|
addresses.
|
|
|
|
|
|
|
|
Fixes #12638.
|
|
|
|
|
|
|
|
*Caleb Spare*
|
|
|
|
|
2014-04-23 12:07:50 -04:00
|
|
|
* Fixed an issue with migrating legacy json cookies.
|
|
|
|
|
|
|
|
Previously, the `VerifyAndUpgradeLegacySignedMessage` assumes all incoming
|
|
|
|
cookies are marshal-encoded. This is not the case when `secret_token` is
|
|
|
|
used in conjunction with the `:json` or `:hybrid` serializer.
|
|
|
|
|
|
|
|
In those case, when upgrading to use `secret_key_base`, this would cause a
|
|
|
|
`TypeError: incompatible marshal file format` and a 500 error for the user.
|
|
|
|
|
|
|
|
Fixes #14774.
|
|
|
|
|
|
|
|
*Godfrey Chan*
|
|
|
|
|
2014-04-20 05:08:32 -04:00
|
|
|
* Make URL escaping more consistent:
|
|
|
|
|
|
|
|
1. Escape '%' characters in URLs - only unescaped data should be passed to URL helpers
|
|
|
|
2. Add an `escape_segment` helper to `Router::Utils` that escapes '/' characters
|
|
|
|
3. Use `escape_segment` rather than `escape_fragment` in optimized URL generation
|
|
|
|
4. Use `escape_segment` rather than `escape_path` in URL generation
|
|
|
|
|
|
|
|
For point 4 there are two exceptions. Firstly, when a route uses wildcard segments
|
2014-05-23 17:45:21 -04:00
|
|
|
(e.g. `*foo`) then we use `escape_path` as the value may contain '/' characters. This
|
2014-04-20 05:08:32 -04:00
|
|
|
means that wildcard routes can't be optimized. Secondly, if a `:controller` segment
|
|
|
|
is used in the path then this uses `escape_path` as the controller may be namespaced.
|
|
|
|
|
|
|
|
Fixes #14629, #14636 and #14070.
|
|
|
|
|
|
|
|
*Andrew White*, *Edho Arief*
|
|
|
|
|
2014-04-17 13:50:52 -04:00
|
|
|
* Add alias `ActionDispatch::Http::UploadedFile#to_io` to
|
|
|
|
`ActionDispatch::Http::UploadedFile#tempfile`.
|
|
|
|
|
|
|
|
*Tim Linquist*
|
|
|
|
|
2014-04-14 15:59:47 -04:00
|
|
|
* Returns null type format when format is not know and controller is using `any`
|
|
|
|
format block.
|
|
|
|
|
|
|
|
Fixes #14462.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2014-04-11 10:27:24 -04:00
|
|
|
* Improve routing error page with fuzzy matching search.
|
|
|
|
|
|
|
|
*Winston*
|
|
|
|
|
2014-04-11 05:20:54 -04:00
|
|
|
* Only make deeply nested routes shallow when parent is shallow.
|
|
|
|
|
|
|
|
Fixes #14684.
|
|
|
|
|
|
|
|
*Andrew White*, *James Coglan*
|
|
|
|
|
2014-05-23 17:45:21 -04:00
|
|
|
* Append link to bad code to backtrace when exception is `SyntaxError`.
|
2014-01-30 09:33:49 -05:00
|
|
|
|
|
|
|
*Boris Kuznetsov*
|
2014-04-11 05:20:54 -04:00
|
|
|
|
2014-03-22 18:50:55 -04:00
|
|
|
* Swapped the parameters of assert_equal in `assert_select` so that the
|
2014-05-31 14:21:56 -04:00
|
|
|
proper values were printed correctly.
|
2014-03-22 18:50:55 -04:00
|
|
|
|
|
|
|
Fixes #14422.
|
|
|
|
|
|
|
|
*Vishal Lal*
|
|
|
|
|
2014-03-16 05:15:52 -04:00
|
|
|
* The method `shallow?` returns false if the parent resource is a singleton so
|
|
|
|
we need to check if we're not inside a nested scope before copying the :path
|
|
|
|
and :as options to their shallow equivalents.
|
|
|
|
|
|
|
|
Fixes #14388.
|
|
|
|
|
|
|
|
*Andrew White*
|
|
|
|
|
2014-03-04 19:24:51 -05:00
|
|
|
* Make logging of CSRF failures optional (but on by default) with the
|
|
|
|
`log_warning_on_csrf_failure` configuration setting in
|
2014-03-08 16:17:49 -05:00
|
|
|
`ActionController::RequestForgeryProtection`.
|
2014-03-04 19:24:51 -05:00
|
|
|
|
|
|
|
*John Barton*
|
2014-02-18 17:12:11 -05:00
|
|
|
|
2014-03-08 16:17:49 -05:00
|
|
|
* Fix URL generation in controller tests with request-dependent
|
|
|
|
`default_url_options` methods.
|
|
|
|
|
|
|
|
*Tony Wooster*
|
|
|
|
|
2014-05-05 18:25:29 -04:00
|
|
|
|
2014-02-25 07:14:35 -05:00
|
|
|
Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionpack/CHANGELOG.md) for previous changes.
|