Skip to content

Commit

Permalink
Fix changelog for 2.1.1, all the 2.2.0 changes had snuck in there
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Oct 23, 2008
1 parent 4cf5f9a commit e929d74
Showing 1 changed file with 0 additions and 62 deletions.
62 changes: 0 additions & 62 deletions actionpack/CHANGELOG
Expand Up @@ -7,68 +7,6 @@

*2.1.1 (September 4th, 2008)*

* Stopped logging template compiles as it only clogs up the log [DHH]

* Changed the X-Runtime header to report in milliseconds [DHH]

* Changed BenchmarkHelper#benchmark to report in milliseconds [DHH]

* Changed logging format to be millisecond based and skip misleading stats [DHH]. Went from:

Completed in 0.10000 (4 reqs/sec) | Rendering: 0.04000 (40%) | DB: 0.00400 (4%) | 200 OK [http://example.com]

...to:

Completed in 100ms (View: 40, DB: 4) | 200 OK [http://example.com]

* Add support for shallow nesting of routes. #838 [S. Brent Faulkner]

Example :

map.resources :users, :shallow => true do |user|
user.resources :posts
end

- GET /users/1/posts (maps to PostsController#index action as usual)
named route "user_posts" is added as usual.

- GET /posts/2 (maps to PostsController#show action as if it were not nested)
Additionally, named route "post" is added too.

* Added button_to_remote helper. #3641 [Donald Piret, Tarmo Tänav]

* Deprecate render_component. Please use render_component plugin from http://github.com/rails/render_component/tree/master [Pratik]

* Routes may be restricted to lists of HTTP methods instead of a single method or :any. #407 [Brennan Dunn, Gaius Centus Novus]
map.resource :posts, :collection => { :search => [:get, :post] }
map.session 'session', :requirements => { :method => [:get, :post, :delete] }

* Deprecated implicit local assignments when rendering partials [Josh Peek]

* Introduce current_cycle helper method to return the current value without bumping the cycle. #417 [Ken Collins]

* Allow polymorphic_url helper to take url options. #880 [Tarmo Tänav]

* Switched integration test runner to use Rack processor instead of CGI [Josh Peek]

* Made AbstractRequest.if_modified_sense return nil if the header could not be parsed [Jamis Buck]

* Added back ActionController::Base.allow_concurrency flag [Josh Peek]

* AbstractRequest.relative_url_root is no longer automatically configured by a HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root [Josh Peek]

* Update Prototype to 1.6.0.2 #599 [Patrick Joyce]

* Conditional GET utility methods. [Jeremy Kemper]
response.last_modified = @post.updated_at
response.etag = [:admin, @post, current_user]

if request.fresh?(response)
head :not_modified
else
# render ...
end

* All 2xx requests are considered successful [Josh Peek]

* Deprecate the limited follow_redirect in functional tests. If you wish to follow redirects, use integration tests. [Michael Koziarski]
Expand Down

0 comments on commit e929d74

Please sign in to comment.