From 965e846bcb14c0da1d04ea628e53e73074a83a2a Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Sun, 20 Dec 2015 23:08:26 -0600 Subject: [PATCH] Add CHANGELOG from 0.9 https://github.com/rails-api/active_model_serializers/blob/0-9-stable/CHANGELOG.md --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ CONTRIBUTING.md | 4 ++++ 2 files changed, 32 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 404549b8..dd6e4f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -226,6 +226,34 @@ Features: - [#653](https://github.com/rails-api/active_model_serializers/pull/653) Add "_test" suffix to JsonApi::HasManyTest filename. (@alexgenco) - [#631](https://github.com/rails-api/active_model_serializers/pull/631) Update build badge URL (@craiglittle) +## 0.9.0.pre + +* The following methods were removed + - Model#active\_model\_serializer + - Serializer#include! + - Serializer#include? + - Serializer#attr\_disabled= + - Serializer#cache + - Serializer#perform\_caching + - Serializer#schema (needs more discussion) + - Serializer#attribute + - Serializer#include\_#{name}? (filter method added) + - Serializer#attributes (took a hash) + +* The following things were added + - Serializer#filter method + - CONFIG object + +* Remove support for ruby 1.8 versions. + +* Require rails >= 3.2. + +* Serializers for associations are being looked up in a parent serializer's namespace first. Same with controllers' namespaces. + +* Added a "prefix" option in case you want to use a different version of serializer. + +* Serializers default namespace can be set in `default_serializer_options` and inherited by associations. + ## 0.08.x ### v0.8.3 (2014/12/10 14:45 +00:00) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f9a248ac..620271e3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,5 @@ +First of all, **thank you**! + ![Commit Strip http://www.commitstrip.com/en/2014/05/07/the-truth-behind-open-source-apps/](docs/how-open-source-maintained.jpg) @@ -214,3 +216,5 @@ To run a single test suite Which can be further narrowed down to one test: `$ rake test TEST=path/to/test.rb TESTOPTS="--name=test_something"` + +:heart: :sparkling_heart: :heart: