Skip to content

Commit

Permalink
Merging 3.0.x CHANGELOGs
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed May 10, 2011
1 parent 3f36441 commit 259c749
Show file tree
Hide file tree
Showing 7 changed files with 280 additions and 4 deletions.
30 changes: 29 additions & 1 deletion actionmailer/CHANGELOG
Expand Up @@ -2,14 +2,42 @@

* No changes

*Rails 3.0.2 (unreleased)*

*Rails 3.0.7 (April 18, 2011)*

* remove AM delegating register_observer and register_interceptor to Mail [Josh Kalderimis]


*Rails 3.0.6 (April 5, 2011)

* Don't allow i18n to change the minor version, version now set to ~> 0.5.0 [Santiago Pastorino]


*Rails 3.0.5 (February 26, 2011)*

* No changes.


*Rails 3.0.4 (February 8, 2011)*

* No changes.


*Rails 3.0.3 (November 16, 2010)*

* No changes.


*Rails 3.0.2 (November 15, 2010)*

* No changes


*Rails 3.0.1 (October 15, 2010)*

* No Changes, just a version bump.


*Rails 3.0.0 (August 29, 2010)*

* subject is automatically looked up on I18n using mailer_name and action_name as scope as in t(".subject") [JK]
Expand Down
53 changes: 52 additions & 1 deletion actionpack/CHANGELOG
Expand Up @@ -133,7 +133,58 @@ tested.
* Add Rack::Cache to the default stack. Create a Rails store that delegates to the Rails cache, so by default, whatever caching layer you are using will be used for HTTP caching. Note that Rack::Cache will be used if you use #expires_in, #fresh_when or #stale with :public => true. Otherwise, the caching rules will apply to the browser only. [Yehuda Katz, Carl Lerche]


*Rails 3.0.2 (unreleased)*
*Rails 3.0.7 (April 18, 2011)*

*No changes.


*Rails 3.0.6 (April 5, 2011)

* Fixed XSS vulnerability in `auto_link`. `auto_link` no longer marks input as
html safe. Please make sure that calls to auto_link() are wrapped in a
sanitize(), or a raw() depending on the type of input passed to auto_link().
For example:

<%= sanitize(auto_link(some_user_input)) %>

Thanks to Torben Schulz for reporting this. The fix can be found here:
61ee3449674c591747db95f9b3472c5c3bd9e84d

* Fixes the output of `rake routes` to be correctly match to the behavior of the application, as the regular expression used to match the path is greedy and won't capture the format part by default [Prem Sichanugrist]

* Fixes an issue with number_to_human when converting values which are less than 1 but greater than -1 [Josh Kalderimis]

* Sensitive query string parameters (specified in config.filter_parameters) will now be filtered out from the request paths in the log file. [Prem Sichanugrist, fxn]

* URL parameters which return nil for to_param are now removed from the query string [Andrew White]

* Don't allow i18n to change the minor version, version now set to ~> 0.5.0 [Santiago Pastorino]

* Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0 [Sven Fuchs]

* Fix regression: javascript_include_tag shouldn't raise if you register an expansion key with nil or [] value [Santiago Pastorino]

* Fix Action caching bug where an action that has a non-cacheable response always renders a nil response body. It now correctly renders the response body. [Cheah Chu Yeow]


*Rails 3.0.5 (February 26, 2011)*

* No changes.


*Rails 3.0.4 (February 8, 2011)*

* No changes.


*Rails 3.0.3 (November 16, 2010)*

* When ActiveRecord::Base objects are sent to predicate methods, the id of the object should be sent to ARel, not the ActiveRecord::Base object.

* :constraints routing should only do sanity checks against regular expressions. String arguments are OK.


*Rails 3.0.2 (November 15, 2010)*

* The helper number_to_currency accepts a new :negative_format option to be able to configure how to render negative amounts. [Don Wilson]

Expand Down
31 changes: 30 additions & 1 deletion activemodel/CHANGELOG
Expand Up @@ -18,7 +18,36 @@
* Add support for selectively enabling/disabling observers [Myron Marston]


*Rails 3.0.2 (unreleased)*
*Rails 3.0.7 (April 18, 2011)*

*No changes.


*Rails 3.0.6 (April 5, 2011)

* Fix when database column name has some symbolic characters (e.g. Oracle CASE# VARCHAR2(20)) #5818 #6850 [Robert Pankowecki, Santiago Pastorino]

* Fix length validation for fixnums #6556 [Andriy Tyurnikov]

* Fix i18n key collision with namespaced models #6448 [yves.senn]


*Rails 3.0.5 (February 26, 2011)*

* No changes.


*Rails 3.0.4 (February 8, 2011)*

* No changes.


*Rails 3.0.3 (November 16, 2010)*

* No changes.


*Rails 3.0.2 (November 15, 2010)*

* No changes

Expand Down
80 changes: 80 additions & 0 deletions activerecord/CHANGELOG
Expand Up @@ -290,6 +290,84 @@ IrreversibleMigration exception will be raised when going down.
[Aaron Patterson]


*Rails 3.0.7 (April 18, 2011)*

* Destroying records via nested attributes works independent of reject_if LH #6006 [Durran Jordan]

* Delegate any? and many? to Model.scoped for consistency [Andrew White]

* Quote the ORDER BY clause in batched finds - fixes #6620 [Andrew White]

* Change exists? so records are not instantiated - fixes #6127. This prevents after_find
and after_initialize callbacks being triggered when checking for record existence.
[Andrew White]

* Fix performance bug with attribute accessors which only occurred on Ruby 1.8.7, and ensure we
cache type-casted values when the column returned from the db contains non-standard chars.
[Jon Leighton]

* Fix a performance regression introduced here 86acbf1cc050c8fa8c74a10c735e467fb6fd7df8
related to read_attribute method [Stian Grytøyr]


*Rails 3.0.6 (April 5, 2011)*

* Un-deprecate reorder method [Sebastian Martinez]

* Extensions are applied when calling +except+ or +only+ on relations.
Thanks to Iain Hecker.

* Schemas set in set_table_name are respected by the mysql adapter. LH #5322

* Fixed a bug when empty? was called on a grouped Relation that wasn't loaded.
LH #5829

* Reapply extensions when using except and only. Thanks Iain Hecker.

* Binary data is escaped when being inserted to SQLite3 Databases. Thanks
Naruse!


*Rails 3.0.5 (February 26, 2011)*

* Model.where(:column => 1).where(:column => 2) will always produce an AND
query.

[Aaron Patterson]

* Deprecated support for interpolated association conditions in the form of :conditions => 'foo = #{bar}'.

Instead, you should use a proc, like so:

Before:

has_many :things, :conditions => 'foo = #{bar}'

After:

has_many :things, :conditions => proc { "foo = #{bar}" }

Inside the proc, 'self' is the object which is the owner of the association, unless you are
eager loading the association, in which case 'self' is the class which the association is within.

You can have any "normal" conditions inside the proc, so the following will work too:

has_many :things, :conditions => proc { ["foo = ?", bar] }

Previously :insert_sql and :delete_sql on has_and_belongs_to_many association allowed you to call
'record' to get the record being inserted or deleted. This is now passed as an argument to
the proc.

[Jon Leighton]


*Rails 3.0.4 (February 8, 2011)*

* Added deprecation warning for has_and_belongs_to_many associations where the join table has
additional attributes other than the keys. Access to these attributes is removed in 3.1.
Please use has_many :through instead. [Jon Leighton]


*Rails 3.0.3 (November 16, 2010)*

* Support find by class like this: Post.where(:name => Post)
Expand Down Expand Up @@ -326,10 +404,12 @@ IrreversibleMigration exception will be raised when going down.

[Aaron Patterson]


*Rails 3.0.1 (October 15, 2010)*

* Introduce a fix for CVE-2010-3993


*Rails 3.0.0 (August 29, 2010)*

* Changed update_attribute to not run callbacks and update the record directly in the database [Neeraj Singh]
Expand Down
30 changes: 29 additions & 1 deletion activeresource/CHANGELOG
Expand Up @@ -2,14 +2,42 @@

* No changes

*Rails 3.0.2 (unreleased)*

*Rails 3.0.7 (April 18, 2011)*

*No changes.


*Rails 3.0.6 (April 5, 2011)

* No changes.


*Rails 3.0.5 (February 26, 2011)*

* No changes.


*Rails 3.0.4 (February 8, 2011)*

* No changes.


*Rails 3.0.3 (November 16, 2010)*

* No changes.


*Rails 3.0.2 (November 15, 2010)*

* No changes


*Rails 3.0.1 (October 15, 2010)*

* No Changes, just a version bump.


*Rails 3.0.0 (August 29, 2010)*

* JSON: set Base.include_root_in_json = true to include a root value in the JSON: {"post": {"title": ...}}. Mirrors the Active Record option. [Santiago Pastorino]
Expand Down
28 changes: 28 additions & 0 deletions activesupport/CHANGELOG
Expand Up @@ -19,14 +19,42 @@ advantage of the new ClassCache.

* Added before_remove_const callback to ActiveSupport::Dependencies.remove_unloadable_constants! [Andrew White]


*Rails 3.0.7 (April 18, 2011)*

* Hash.from_xml no longer loses attributes on tags containing only whitespace [André Arko]


*Rails 3.0.6 (April 5, 2011)

* No changes.


*Rails 3.0.5 (February 26, 2011)*

* No changes.


*Rails 3.0.4 (February 8, 2011)*

* No changes.


*Rails 3.0.3 (November 16, 2010)*

* No changes.


*Rails 3.0.2 (November 15, 2010)*

* Added before_remove_const callback to ActiveSupport::Dependencies.remove_unloadable_constants! [Andrew White]


*Rails 3.0.1 (October 15, 2010)*

* No Changes, just a version bump.


*Rails 3.0.0 (August 29, 2010)*

* Implemented String#strip_heredoc. [fxn]
Expand Down
32 changes: 32 additions & 0 deletions railties/CHANGELOG
Expand Up @@ -74,10 +74,42 @@ by the prototype-rails gem. [fxn]

* Include all helpers from plugins and shared engines in application [Piotr Sarnacki]


*Rails 3.0.7 (April 18, 2011)*

*No changes.


*Rails 3.0.6 (April 5, 2011)

* No changes.


*Rails 3.0.5 (February 26, 2011)*

* No changes.


*Rails 3.0.4 (February 8, 2011)*

* No changes.


*Rails 3.0.3 (November 16, 2010)*

* No changes.


*Rails 3.0.2 (November 15, 2010)*

* No changes.


*Rails 3.0.1 (October 15, 2010)*

* No Changes, just a version bump.


*Rails 3.0.0 (August 29, 2010)*

* Application generation: --skip-testunit and --skip-activerecord become --skip-test-unit and --skip-active-record respectively. [fxn]
Expand Down

0 comments on commit 259c749

Please sign in to comment.