This repository was archived by the owner on Mar 25, 2019. It is now read-only.
Releases: virtusize/nap
Releases · virtusize/nap
NapClient, stability and improvements
Feature
- Feature: Added Response object to nap client. (hs)
- Feature: View filters now accept lists and filter on the containing elements. (hs)
- Feature: Added a method to find a view of the Api by endpoint prefix. (hs)
- Feature: Added blinker signals to SAModelController for create, update and delete actions. (hs)
- Feature: Now empty results get handled by authorization. For possible improvements see Github Issues. (hs)
- Feature: Added in process nap client and http client libraries. (hs)
- Feature: Added query as a default implemented controller and view method. (hs)
Refactor
- Refactor: Moved flask.json stuff into nap.util. (hs)
- Refactor: Model class is now responsible for creating its name. (hs)
- Refactor: SQLConstraintsValidator now doesn't get applied if a field is creating default values. (hs)
- Refactor: Now errors that get transmitted as json use camelized keys. (hs)
Cleanup
- Cleanup: Removed a print statement from caching_query. (hs)
Minor
- Minor: Added main python script to run the test API. (hs)
Generic exception handling
- Feature: Handling other exceptions by returning json responses (hs)
Initial release
Features
- Tableless and SqlAlchemy models
- Controllers for both model types
- Views for both model types
- API Blueprint
- API versioning support
- Authorization for Actions of Identities on Controllers through Roles
- Exception handling
- JSON de- and encoding
- Custom model serializers
- Model validation
- Prebuilt validators
- Chainable response filters for views
- Prebuilt filters
- 100% code coverage in tests