Releases: hinthealth/facade
Releases · hinthealth/facade
Update Dependencies
Remove deprecated lodash functions https://github.com/lodash/lodash/wiki/Deprecations
createDefault can now be taken in the options.
Now create default can be taken in the options of Facade, rather than only added later.
Initialize now clears things out before hand.
Doesn't exactly stop a bug, but if a previous test failed, and the afterEach failed to run, then the Facade would throw an error saying "X resource already exists, please rename it". But this wasn't really the case, it was just that initialize got called twice in a row, when it shouldn't have.
Added patch route creation
0.4.6 Added "PATCH" route creation, cuz it should be there.
Nested resource bug
Fixed a bug where nested resources weren't getting added to the official resource list.
Bug fix on creating item routes.
0.4.3 Fixed bug so custom item routes are created correctly
Fixed bug about sending request data so it's already parsed.
0.4.2 Fixed bug so that request data is always passed as an already parsed …
Bug fix
Added regex functionality to routes
- Added regex functionality, and now requires custom routes to have callbacks that return a standard angular response thing.
Improvements
- Facade's definition now takes a callback which is run each time on initialize. This helps to make sure everything is fresh each time.
- Now add multiple items at once.
- Now have expectations! With loose expect matchers.
- Now can have a createDefault function so post requests can get handled in a smoother way.