Skip to content

Commit fe54941

Browse files
committed
Release 1.5.0
1 parent e795cd3 commit fe54941

3 files changed

Lines changed: 123 additions & 161 deletions

File tree

CHANGELOG.md

Lines changed: 121 additions & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -1,160 +1,122 @@
1-
# New release information
2-
New releases are in Releases section of Github
3-
https://github.com/mgonto/restangular/releases
41

5-
#1.0.11
6-
* Documentation Typo fixes
7-
* errorInterceptor can now stop Restangular from rejecting the promise
8-
* Bugfix fot method override on DELETE. Now it works
9-
10-
#1.0.9
11-
* **BREAKING CHANGE**: Restangular methods created with `addRestangularMethod` will change its signature depending on the opreation. If the operation is safe (GET, OPTIONS, etc.), the signature is methodName(params, headers, elemForBody). If it's not safe (POST, PUT, etc.), the signature is methodName(elemForBody, params, headers). This is to facilitate using them as when it's not safe, you're usually going to set a body
12-
* Now you can configure default request parameters per method and for everything as well
13-
* Added the ability to use Cannonical IDs. They're used if you need to change Primary Key (ID) of the element (Really weird case).
14-
* If response is null or undefined, the element sent in the request ISN'T used anymore. This is to have clarity of what's returned by the server and also to fix one bug.
15-
* Added tests
16-
* Fixed bug with ID when it was an empty string
17-
* Added missing ';'.
18-
19-
20-
#1.0.7
21-
* `baseUrl` can now be set either with or without ending `/` and it'll work
22-
23-
#1.0.5
24-
* Several bug fixes
25-
* Added `parentless` configuration to ignore nested restful URLs
26-
27-
#1.0.2
28-
* First final release
29-
* Added `one` and `all` to all collection methods
30-
* Added `fullResponse` for getting the full `$http` response in every call
31-
* Improved documentation on `addElemTransformer`
32-
* Configuration can be set globally on either `RestangularProvider` or `Restangular`
33-
34-
#0.8.9
35-
* Fix call to `isOverridenMethod` in `setMethodOverriders`.
36-
37-
#0.8.8
38-
* Removed extra trailling slash for elements without ID. Thanks @cboden
39-
40-
#0.8.7
41-
* Bugfix for Refactor
42-
43-
#0.8.6
44-
* Ditched the buggy `$resource` and using `$http` inside :D
45-
46-
#0.8.4
47-
* Fixed bug with defaultHttpFields for scoped configuration
48-
* Added `defaultHeaders`
49-
50-
#0.8.3
51-
* Fixed bug with URLHandler. Now it uses local configuration as well
52-
* Added error interceptor
53-
* Fixed minor bugs
54-
55-
56-
#0.8.0
57-
* Big refactor to use scoped configurations
58-
59-
#0.7.3
60-
* All configuration can be done via either `Restangular` or `RestangularProvider`
61-
* url field now is called getRestangularUrl
62-
* `id` configuration from `restangularFields` now accepts nested (dotted) properties
63-
64-
#0.7.1
65-
* Added `defaultRequestParams` to set default request query parameters
66-
67-
#0.7.0
68-
* RequestInterceptor wasn't being called in getList
69-
* Removed extra `/` when no restangularWhat is provided. This is fixed by Angular's team since version 1.1.5 but this fixes it for all versions including 1.0.X
70-
* Added documentation for supported AngularJS versions
71-
* Added url method to elements which returns the URL of the current object
72-
73-
# 0.6.9
74-
* Wrapping everything in an anonymous self executed function to not expose anything
75-
76-
# 0.6.7
77-
* Bug fix for a regresion error using _.omit
78-
* Added element transformers to transform any Restangularized element.
79-
* Added putElement method to collection to put a certain element at an index and return a promise of the updated array.
80-
81-
# 0.6.5
82-
* Added `Restangular.copy` for copying objects
83-
84-
# 0.6.4
85-
* added methodOverriders to override any HTTP Method
86-
* Added requestInterceptor
87-
88-
# 0.6.3
89-
* Added `defaultHttpFields` configuration property
90-
91-
# 0.6.2
92-
* URL suffix is unescaped now
93-
94-
# 0.6.1
95-
* Elements are striped from Restangular fields before being sent to the server
96-
97-
# 0.6.0
98-
* Fixed bug when adding metadata to response in ResopnseExtractor. It wasn't being added
99-
* Added enhanced promises. [Check the section in README](https://github.com/mgonto/restangular/blob/master/README.md#enhanced-promises).
100-
101-
# 0.5.5
102-
* Changed by default from Underscore to Lodash. They both can be used anyway. (thanks @pauldijou)
103-
* Added tests for both Underscore and Lodash to check it's working. (thanks @pauldijou)
104-
105-
# 0.5.4
106-
* Added onElemRestangularized hook
107-
* Added posibility to add your own Restangular methods
108-
109-
# 0.5.3
110-
* Added the posibility to do URL Building and RequestLess tree navigations
111-
* Added alias to `do[method]`. For example, Now you can do `customPOST` as well as `doPOST`
112-
113-
# 0.5.2
114-
* responseExtractor renamed to responseInterceptor. Added alias from responseExtractor to responseInterceptor to mantain backwards compatibility
115-
* responseExtractor now receives 4 parameters. Response, operation, what (path of current element) and URL
116-
* Error function for any Restangular action now receives a response to get StatusCode and other interesting stuff
117-
118-
# 0.5.1
119-
* Added listTypeIsArray property to set getList as not an array.
120-
121-
# 0.5.0
122-
* Added `requestSuffix`configuration for requests ending en .json
123-
* `what` field is now configurable and not hardcoded anymore
124-
* All instance variables from `RestangularProvider` are now local variables to reduce visibility
125-
* Fully functional version with all desired features
126-
127-
# 0.4.6
128-
* Added Custom methods to all Restangular objects. Check it out in the README
129-
130-
# 0.4.5
131-
* Fixed but that didn't let ID to be 0.
132-
* Added different Collection methods and Element methods
133-
* Added posibility po do a post in a collection to post an element to itself
134-
* Added Travis CI for build
135-
* Fixed bug with parentResource after a post of a new element
136-
* When doing a post, if no element is returned, we enhance the object received as a parameter
137-
138-
# 0.3.4
139-
* Added new HTTP methods to use: Patch, Head, Trace and Options (thanks @pauldijou)
140-
* Added tests with Karma for all functionality.
141-
142-
# 0.3.3
143-
* Restangular fields can now be configured. You can set the id, route and parentResource fields. They're not hardcoded anymore
144-
145-
# 0.3.2
146-
* Added ResponseExtractor for when the real data is wrapped in an envelope in the WebServer response.
147-
148-
# 0.3.1
149-
150-
* Now all methods accept Headers. You can query `account.getList('buildings', {query: 'param'}, {'header': 'mine'})`
151-
152-
# 0.2.1
153-
154-
* Added query params to all methods. getList, post, put, get and delete accept query params now.
155-
156-
# 0.2.0
157-
* Added post method to all elements. Now you can also create new elements by calling `account.post('buildings', {name: "gonto"})`.
158-
159-
# 0.1.1
160-
* Changed `elem.delete()` to `elem.remove()` due to errors with Closure Compiler in Play 2
2+
1.5.0 / 2015-04-03
3+
==================
4+
5+
* Adding cleanup changes
6+
* Fixes #955
7+
* Remove console.log
8+
* Fixes #982
9+
* Merge pull request #1055 from carlware/me
10+
* Merge pull request #948 from devm33/master
11+
* fixed scheme replace // with /, added more test cases
12+
* added tests for urls with suffixes
13+
* Merge branch 'master' of github.com:mgonto/restangular
14+
* Changed one() implementation
15+
* Fixed wrong place of new readme section
16+
* Added note about status code 0 returned
17+
* Merge pull request #1030 from seth2810/seth2810
18+
* Fixed wrong usage of one() as this is not allowed, one requires path and id.
19+
* Fixes #1010
20+
* Updated dependencies, fixes #1036
21+
* initial normalize url path, added some basic testing
22+
* Merge pull request #848 from mmahalwy/master
23+
* Merge pull request #808 from brandonjp/patch-1
24+
* Merge pull request #886 from compact/patch-1
25+
* Merge pull request #963 from agusputra/master
26+
* Merge pull request #960 from sebeichholz/patch-1
27+
* Merge pull request #967 from MichielDeMey/patch-1
28+
* Merge pull request #977 from AlmogBaku/patch-1
29+
* Merge pull request #991 from JoshSGman/patch-1
30+
* Merge pull request #1044 from stevermeister/patch-1
31+
* Merge pull request #1049 from elliotec/master
32+
* update readme to document .plain() method
33+
* removing extra slash if is not required
34+
* misprint
35+
* Rename module variable because it's crash webpack bundling system.
36+
* Fix Outdated Copyright Year
37+
* Update README.md
38+
* Update README.md: Added "Back to top" link above h3.
39+
* build status reflected on the master branch
40+
* Update README.md
41+
* Update README.md
42+
* add Dropwizard as compatible Java REST framework
43+
* add request suffix to requests without params Fixes #947
44+
* add .idea to .gitignore
45+
* use mocha-reporter in karma
46+
* README typo
47+
* Merge pull request #850 from oneeman/master
48+
* Merge pull request #842 from omfgitsjack/patch-1
49+
* Merge pull request #856 from hjast/patch-1
50+
* Merge pull request #861 from PowerKiKi/patch-2
51+
* Fix minor typo in README
52+
* Clarify Error Message
53+
* Update README: update reference to "responseExtractor" to "addResponseInterceptor"
54+
* Update README: remove reference to listTypeIsArray (deprecated)
55+
* Added to 'Production apps using Restangular'
56+
* Remove doc form extending Promise from README
57+
* Update README.md, setParentless description
58+
* Correct #815
59+
* Merge pull request #824 from Aourin/master
60+
* Merge pull request #825 from marcomafessolli/patch-1
61+
* Update README.md
62+
* Fixed odd parsing of array of strings
63+
* Merge pull request #799 from bvaughn/features/restangularize-promise-interceptor
64+
* Updated section of README to include information about decorating promises.
65+
* Merge pull request #818 from mgonto/issues/771
66+
* New way to detect a Restangularized element
67+
* Correct gittip badge
68+
* Correct typo in README
69+
* Ooops, wait for release before updating README
70+
* Merge pull request #794 from dlaxar/master
71+
* Merge pull request #809 from LordDawnhunter/master
72+
* Improve ToC + typos
73+
* add custom collection method to scoped service (including tests)
74+
* Updated README description of clone()
75+
* Merge pull request #781 from kjlubick/master
76+
* Set contributors as a list
77+
* Merge pull request #786 from fauverism/master
78+
* Merge pull request #774 from SonicHedgehog/fix-typo
79+
* Merge pull request #768 from alanctkc/patch-1
80+
* Merge pull request #767 from pyner/master
81+
* Merge pull request #744 from ChristophGr/stable_versions
82+
* Allow users to extend restangularized promise functionality via setRestangularizePromiseInterceptor
83+
* Fixes typo in tests that caused FAIL
84+
* ErrorInterceptors now behave the same way as the Request/Response Interceptors (queue instead of setter)
85+
* Update README.md
86+
* Two minor changes
87+
* Added empty payload note to remove() docs
88+
* Fix typo in README.md
89+
* add missing Restangular dependency
90+
* Update README.md
91+
* Merge branch 'commandtab-patch-1'
92+
* Sync PR with master
93+
* Update CONTRIBUTE.md to warn about tests and coding style.
94+
* Set coding style and edit code to follow it
95+
* Merge pull request #754 from pauldijou/master
96+
* Added contributor
97+
* [README] Whitespaces
98+
* [README] Correct typos, improve a snippet, add a line about doXXX methods
99+
* use stricter versions for bower-dependencies
100+
* RestFUL -> RESTful
101+
* Added video link
102+
* Merge pull request #704 from foobear/update-readme#687
103+
* Merge pull request #710 from techniq/fix-setIdToElem
104+
* Merge pull request #725 from baloo/patch-1
105+
* Merge pull request #726 from extr3m0/fix-528
106+
* Merge pull request #731 from slavafomin/patch-1
107+
* Fixed incorrect local link
108+
* Updated readme for errorInterceptor usage
109+
* Updated readme for errorInterceptor usage
110+
* Updated readme for errorInterceptor usage
111+
* Updated readme for errorInterceptor usage
112+
* Passing along the response handler to the error interceptor
113+
* Typo in Readme.md
114+
* Add to . Correctly fixes #646
115+
* Update readme (resolves #687)
116+
* Merge pull request #691 from sionide21/patch-1
117+
* Update README to new way of getting promise
118+
* Merge pull request #689 from dsferruzza/fix-missing-keyword
119+
* Add missing "var" keyword
120+
* Merge pull request #685 from Linkeex/patch-1
121+
* Update README.md
122+
* Update Documentation concerning setFullResponse

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "restangular",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"main": "./dist/restangular.js",
55
"description": "Restful Resources service for AngularJS apps",
66
"repository": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "restangular",
33
"description": "Restful Resources service for AngularJS apps",
4-
"version": "1.4.0",
4+
"version": "1.5.0",
55
"filename": "restangular.min.js",
66
"main": "./dist/restangular.min.js",
77
"homepage": "https://github.com/mgonto/restangular",

0 commit comments

Comments
 (0)