Skip to content

Commit 4d94477

Browse files
committed
Merge branch 'master' of https://github.com/intridea/grape
Conflicts: grape.gemspec
2 parents 313f1bb + 746dbfb commit 4d94477

29 files changed

+1734
-385
lines changed

CHANGELOG.markdown

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
Next Release
2+
============
3+
4+
* [#201](https://github.com/intridea/grape/pull/201): Added custom exceptions to Grape. Updated validations to use ValidationError that can be rescued. - [@adamgotterer](https://github.com/adamgotterer).
5+
* [#211](https://github.com/intridea/grape/pull/211): Updates to validation and coercion: Fix #211 and force order of operations for presence and coercion - [@adamgotterer](https://github.com/adamgotterer).
6+
* [#210](https://github.com/intridea/grape/pull/210): Fix: `Endpoint#body_params` causing undefined method 'size' - [@adamgotterer](https://github.com/adamgotterer).
7+
* [#201](https://github.com/intridea/grape/pull/201): Rewritten `params` DSL, including support for coercion and validations - [@schmurfy](https://github.com/schmurfy).
8+
* [#205](https://github.com/intridea/grape/pull/205): Fix: Corrected parsing of empty JSON body on POST/PUT - [@tim-vandecasteele](https://github.com/tim-vandecasteele).
9+
* [#181](https://github.com/intridea/grape/pull/181): Fix: Corrected JSON serialization of nested hashes containing `Grape::Entity` instances - [@benrosenblum](https://github.com/benrosenblum).
10+
* [#203](https://github.com/intridea/grape/pull/203): Added a check to `Entity#serializable_hash` that verifies an entity exists on an object - [@adamgotterer](https://github.com/adamgotterer).
11+
* [#204](https://github.com/intridea/grape/pull/204): Added ability to declare shared parameters at namespace level - [@tim-vandecasteele](https://github.com/tim-vandecasteele).
12+
* [#208](https://github.com/intridea/grape/pull/208): `Entity#serializable_hash` must also check if attribute is generated by a user supplied block - [@ppadron](https://github.com/ppadron).
13+
14+
0.2.1 (7/11/2012)
15+
=================
16+
17+
* [#186](https://github.com/intridea/grape/issues/186): Fix: helpers allow multiple calls with modules and blocks - [@ppadron](https://github.com/ppadron).
18+
* [#188](https://github.com/intridea/grape/pull/188): Fix: multi-method routes append '(.:format)' only once - [@kainosnoema](https://github.com/kainosnoema).
19+
* [#64](https://github.com/intridea/grape/issues/64), [#180](https://github.com/intridea/grape/pull/180): Added support to get request bodies as parameters - [@bobbytables](https://github.com/bobbytables).
20+
* [#175](https://github.com/intridea/grape/pull/175): Added support for API versioning based on a request parameter - [@jackcasey](https://github.com/jackcasey).
21+
* [#168](https://github.com/intridea/grape/pull/168): Fix: Formatter can parse symbol keys in the headers hash - [@netmask](https://github.com/netmask).
22+
* [#169](https://github.com/intridea/grape/pull/169): Silence multi_json deprecation warnings - [@whiteley](https://github.com/whiteley).
23+
* [#166](https://github.com/intridea/grape/pull/166): Added support for `redirect`, including permanent and temporary - [@allenwei](https://github.com/allenwei).
24+
* [#159](https://github.com/intridea/grape/pull/159): Added `:requirements` to routes, allowing to use reserved characters in paths - [@gaiottino](https://github.com/gaiottino).
25+
* [#156](https://github.com/intridea/grape/pull/156): Added support for adding formatters to entities - [@bobbytables](https://github.com/bobbytables).
26+
* [#183](https://github.com/intridea/grape/pull/183): Added ability to include documentation in entities - [@flah00](https://github.com/flah00).
27+
* [#189](https://github.com/intridea/grape/pull/189): `HEAD` requests no longer return a body - [@stephencelis](https://github.com/stephencelis).
28+
* [#97](https://github.com/intridea/grape/issues/97): Allow overriding `Content-Type` - [@dblock](https://github.com/dblock).
29+
30+
0.2.0 (3/28/2012)
31+
=================
32+
33+
* Added support for inheriting exposures from entities - [@bobbytables](https://github.com/bobbytables).
34+
* Extended formatting with `default_format` - [@dblock](https://github.com/dblock).
35+
* Added support for cookies - [@lukaszsliwa](https://github.com/lukaszsliwa).
36+
* Added support for declaring additional content-types - [@joeyAghion](https://github.com/joeyAghion).
37+
* Added support for HTTP PATCH - [@LTe](https://github.com/LTe).
38+
* Added support for describing, documenting and reflecting APIs - [@dblock](https://github.com/dblock).
39+
* Added support for anchoring and vendoring - [@jwkoelewijn](https://github.com/jwkoelewijn).
40+
* Added support for HTTP OPTIONS - [@grimen](https://github.com/grimen).
41+
* Added support for silencing logger - [@evansj](https://github.com/evansj).
42+
* Added support for helper modules - [@freelancing-god](https://github.com/freelancing-god).
43+
* Added support for Accept header-based versioning - [@jch](https://github.com/jch), [@rodzyn](https://github.com/rodzyn).
44+
* Added support for mounting APIs and other Rack applications within APIs - [@mbleigh](https://github.com/mbleigh).
45+
* Added entities, multiple object representations - [@mbleigh](https://github.com/mbleigh).
46+
* Added ability to handle XML in the incoming request body - [@jwillis](https://github.com/jwillis).
47+
* Added support for a configurable logger - [@mbleigh](https://github.com/mbleigh).
48+
* Added support for before and after filters - [@mbleigh](https://github.com/mbleigh).
49+
* Extended `rescue_from`, which can now take a block - [@dblock](https://github.com/dblock).
50+
51+
52+
0.1.5 (6/14/2011)
53+
==================
54+
55+
* Extended exception handling to all exceptions - [@dblock](https://github.com/dblock).
56+
* Added support for returning JSON objects from within error blocks - [@dblock](https://github.com/dblock).
57+
* Added support for handling incoming JSON in body - [@tedkulp](https://github.com/tedkulp).
58+
* Added support for HTTP digest authentication - [@daddz](https://github.com/daddz).
59+
60+
0.1.4 (4/8/2011)
61+
==================
62+
63+
* Allow multiple definitions of the same endpoint under multiple versions - [@chrisrhoden](https://github.com/chrisrhoden).
64+
* Added support for multipart URL parameters - [@mcastilho](https://github.com/mcastilho).
65+
* Added support for custom formatters - [@spraints](https://github.com/spraints).
66+
67+
0.1.3 (1/10/2011)
68+
==================
69+
70+
* Added support for JSON format in route matching - [@aiwilliams](https://github.com/aiwilliams).
71+
* Added suport for custom middleware - [@mbleigh](https://github.com/mbleigh).
72+
73+
0.1.1 (11/14/2010)
74+
==================
75+
76+
* Endpoints properly reset between each request - [@mbleigh](https://github.com/mbleigh).
77+
78+
0.1.0 (11/13/2010)
79+
==================
80+
81+
* Initial public release - [@mbleigh](https://github.com/mbleigh).

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ group :development, :test do
1010
gem 'rb-fsevent'
1111
gem 'growl'
1212
gem 'json'
13+
14+
gem 'rspec'
15+
gem 'rack-test', :require => "rack/test"
1316
end

0 commit comments

Comments
 (0)