- Added base_url_sans_pks classproperty to ResourceBase
- Create is now an individual resource rather than a list resource
- Added CreateRetrieve, CreateRetrieveUpdate, andCreateRetrieveUpdateDelete mixins
- Removed CreateRetrieveList mixin
- Overhauled how links and relationships are generated
- Lots of bugs
- Added include_relationships keyword argument to ResourceBase __init__ for performance reasons
- Nothing changed yet.
- Changed location of classproperty decorator from
ripozo.utilities
toripozo.decorators
- Fixed bug with wrapping _apiclassmethod decorated functions.
- Fixed error with formatting exceptions
- Added links
- Added _list_fields attribute to BaseManager for more efficient querying when necessary
- Moved getting the adapter class based on the format type in the dispatcher to its own method.
- Fields no longer have a default.
- Adapter.extra_headers returns a dictionary instead of a list
- Fields can specify an error message.
- ListField added
- Fixed deep inheritance issue with translate decorator.
- Added the name of the relationship as an item in the rel list in the SIREN adapter.
- Endpoint name
- Fixed bug with RetrieveList mixin
- Added
picky_processor
which specifically includes processors to include or exclude. - pre and post processors now get the name of the function being called. before running
- Fucked up...
- Fixed the bug where inheritance of abstract methods resulted in mutable common endpoint_dictionaries
- endpoint_dictionary is now a method and not a property
- Fixed bug that resulted in multiple forward slashes in a row on a url
- Added method to RequestContainer object
- Imported Relationship and ListRelationship into relationships.__init__.py module for more intuitive access
- Imported HtmlAdapter to adapters.__init__.py for more intuitive imports.
- Including html adapter templates in package
- Added generic CRUD+L mixins. These are included merely for convience
- Required fields validation can be skipped. In other words, you can now specify that a field does not need to be present when validating
- Code cleanup
- Some updates to the release process.
- Started using zest.releaser for managing releases.
- Added
register_resources
method to the DispatcherBase class