Skip to content

Commit 81b1654

Browse files
committed
Merge pull request #1388 from bf4/restore_docs_from_older_releases
Restore docs from older releases
2 parents b51a432 + fd98349 commit 81b1654

File tree

3 files changed

+133
-0
lines changed

3 files changed

+133
-0
lines changed

CHANGELOG.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,13 @@ Misc:
184184
* adds method to override association
185185
- [#794](https://github.com/rails-api/active_model_serializers/pull/794) add to_param for correct URL generation (@carlesjove)
186186

187+
### v0.10.0-pre
188+
189+
- [Introduce Adapter](https://github.com/rails-api/active_model_serializers/commit/f00fe5595ddf741dc26127ed8fe81adad833ead5)
190+
- Prefer `ActiveModel::Serializer` to `ActiveModelSerializers`:
191+
- [Namespace](https://github.com/rails-api/active_model_serializers/commit/729a823868e8c7ac86c653fcc7100ee511e08cb6#diff-fe7aa2941c19a41ccea6e52940d84016).
192+
- [README](https://github.com/rails-api/active_model_serializers/commit/4a2d9853ba7486acc1747752982aa5650e7fd6e9).
193+
187194
## 0.09.x
188195

189196
### v0.9.3 (2015/01/21 20:29 +00:00)
@@ -227,6 +234,36 @@ Features:
227234
- [#653](https://github.com/rails-api/active_model_serializers/pull/653) Add "_test" suffix to JsonApi::HasManyTest filename. (@alexgenco)
228235
- [#631](https://github.com/rails-api/active_model_serializers/pull/631) Update build badge URL (@craiglittle)
229236

237+
### 0.9.0.alpha1 - January 7, 2014
238+
239+
### 0.9.0.pre
240+
241+
* The following methods were removed
242+
- Model#active\_model\_serializer
243+
- Serializer#include!
244+
- Serializer#include?
245+
- Serializer#attr\_disabled=
246+
- Serializer#cache
247+
- Serializer#perform\_caching
248+
- Serializer#schema (needs more discussion)
249+
- Serializer#attribute
250+
- Serializer#include\_#{name}? (filter method added)
251+
- Serializer#attributes (took a hash)
252+
253+
* The following things were added
254+
- Serializer#filter method
255+
- CONFIG object
256+
257+
* Remove support for ruby 1.8 versions.
258+
259+
* Require rails >= 3.2.
260+
261+
* Serializers for associations are being looked up in a parent serializer's namespace first. Same with controllers' namespaces.
262+
263+
* Added a "prefix" option in case you want to use a different version of serializer.
264+
265+
* Serializers default namespace can be set in `default_serializer_options` and inherited by associations.
266+
230267
## 0.08.x
231268

232269
### v0.8.3 (2014/12/10 14:45 +00:00)
@@ -242,3 +279,94 @@ Features:
242279
- [#610](https://github.com/rails-api/active_model_serializers/pull/610) ArraySerializer (@bolshakov)
243280
- [#607](https://github.com/rails-api/active_model_serializers/pull/607) ruby syntax highlights (@zigomir)
244281
- [#602](https://github.com/rails-api/active_model_serializers/pull/602) Add DSL for associations (@JordanFaust)
282+
283+
### 0.8.1 (May 6, 2013)
284+
285+
* Fix bug whereby a serializer using 'options' would blow up.
286+
287+
### 0.8.0 (May 5, 2013)
288+
289+
* Attributes can now have optional types.
290+
291+
* A new DefaultSerializer ensures that POROs behave the same way as ActiveModels.
292+
293+
* If you wish to override ActiveRecord::Base#to_Json, you can now require
294+
'active_record/serializer_override'. We don't recommend you do this, but
295+
many users do, so we've left it optional.
296+
297+
* Fixed a bug where ActionController wouldn't always have MimeResponds.
298+
299+
* An optinal caching feature allows you to cache JSON & hashes that AMS uses.
300+
Adding 'cached true' to your Serializers will turn on this cache.
301+
302+
* URL helpers used inside of Engines now work properly.
303+
304+
* Serializers now can filter attributes with `only` and `except`:
305+
306+
```
307+
UserSerializer.new(user, only: [:first_name, :last_name])
308+
UserSerializer.new(user, except: :first_name)
309+
```
310+
311+
* Basic Mongoid support. We now include our mixins in the right place.
312+
313+
* On Ruby 1.8, we now generate an `id` method that properly serializes `id`
314+
columns. See issue #127 for more.
315+
316+
* Add an alias for `scope` method to be the name of the context. By default
317+
this is `current_user`. The name is automatically set when using
318+
`serialization_scope` in the controller.
319+
320+
* Pass through serialization options (such as `:include`) when a model
321+
has no serializer defined.
322+
323+
## [0.7.0 (March 6, 2013)](https://github.com/rails-api/active_model_serializers/commit/fabdc621ff97fbeca317f6301973dd4564b9e695)
324+
325+
* ```embed_key``` option to allow embedding by attributes other than IDs
326+
* Fix rendering nil with custom serializer
327+
* Fix global ```self.root = false```
328+
* Add support for specifying the serializer for an association as a String
329+
* Able to specify keys on the attributes method
330+
* Serializer Reloading via ActiveSupport::DescendantsTracker
331+
* Reduce double map to once; Fixes datamapper eager loading.
332+
333+
## 0.6.0 (October 22, 2012)
334+
335+
* Serialize sets properly
336+
* Add root option to ArraySerializer
337+
* Support polymorphic associations
338+
* Support :each_serializer in ArraySerializer
339+
* Add `scope` method to easily access the scope in the serializer
340+
* Fix regression with Rails 3.2.6; add Rails 4 support
341+
* Allow serialization_scope to be disabled with serialization_scope nil
342+
* Array serializer should support pure ruby objects besides serializers
343+
344+
## 0.05.x
345+
346+
### [0.5.2 (June 5, 2012)](https://github.com/rails-api/active_model_serializers/commit/615afd125c260432d456dc8be845867cf87ea118#diff-0c5c12f311d3b54734fff06069efd2ac)
347+
348+
### [0.5.1 (May 23, 2012)](https://github.com/rails-api/active_model_serializers/commit/00194ec0e41831802fcbf893a34c0bb0853ebe14#diff-0c5c12f311d3b54734fff06069efd2ac)
349+
350+
### [0.5.0 (May 16, 2012)](https://github.com/rails-api/active_model_serializers/commit/33d4842dcd35c7167b0b33fc0abcf00fb2c92286)
351+
352+
* First tagged version
353+
* Changes generators to always generate an ApplicationSerializer
354+
355+
## [0.1.0 (December 21, 2011)](https://github.com/rails-api/active_model_serializers/commit/1e0c9ef93b96c640381575dcd30be07ac946818b)
356+
357+
## First Commit as [Rails Serializers 0.0.1](https://github.com/rails-api/active_model_serializers/commit/d72b66d4c5355b0ff0a75a04895fcc4ea5b0c65e)
358+
(December 1, 2011).
359+
360+
## Prehistory
361+
362+
- [Changing Serialization/Serializers namespace to `Serializable` (November 30, 2011)](https://github.com/rails/rails/commit/8896b4fdc8a543157cdf4dfc378607ebf6c10ab0)
363+
- [Merge branch 'serializers'. This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love.](https://github.com/rails/rails/commit/fcacc6986ab60f1fb2e423a73bf47c7abd7b191d)
364+
- But [was reverted](https://github.com/rails/rails/commit/5b2eb64ceb08cd005dc06b721935de5853971473).
365+
'[Revert the serializers API as other alternatives are now also under discussion](https://github.com/rails/rails/commit/0a4035b12a6c59253cb60f9e3456513c6a6a9d33)'.
366+
- [Proposed Implementation to Rails 3.2 by @wycats and @josevalim (November 25, 2011)](https://github.com/rails/rails/pull/3753)
367+
- [Docs and CHANGELOG](https://github.com/rails/rails/commit/696d01f7f4a8ed787924a41cce6df836cd73c46f)
368+
- [Deprecation of ActiveModel::Serialization to ActiveModel::Serializable](https://github.com/rails/rails/blob/696d01f7f4a8ed787924a41cce6df836cd73c46f/activemodel/lib/active_model/serialization.rb)
369+
- [Creation of `ActiveModel::Serialization` from `ActiveModel::Serializer` in Rails (2009)](https://github.com/rails/rails/commit/c6bc8e662614be711f45a8d4b231d5f993b024a7#diff-d029b9768d8df0407a35804a468e3ae5)
370+
- [Integration of `ActiveModel::Serializer` into `ActiveRecord::Serialization`](https://github.com/rails/rails/commit/783db25e0c640c1588732967a87d65c10fddc08e)
371+
- [Creation of `ActiveModel::Serializer` in Rails (2009)](https://github.com/rails/rails/commit/d2b78b3594b9cc9870e6a6ebfeb2e56d00e6ddb8#diff-80d5beeced9bdc24ca2b04a201543bdd)
372+
- [Creation of `ActiveModel::Serializers::JSON` in Rails (2009)](https://github.com/rails/rails/commit/fbdf706fffbfb17731a1f459203d242414ef5086)

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
First of all, **thank you**!
2+
13
![Commit Strip
24
http://www.commitstrip.com/en/2014/05/07/the-truth-behind-open-source-apps/](docs/how-open-source-maintained.jpg)
35

@@ -214,3 +216,5 @@ To run a single test suite
214216
Which can be further narrowed down to one test:
215217

216218
`$ rake test TEST=path/to/test.rb TESTOPTS="--name=test_something"`
219+
220+
:heart: :sparkling_heart: :heart:

0 commit comments

Comments
 (0)