Plone-jsonapi-routes

Latest version: v0.9.4

Safety actively analyzes 619212 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.9.4

------------------

**Changes**

- Merge brain data to object info
- Handle Zope Datetime Fields
- Support Backbone.js REST API

0.9.3

------------------

**Changes**

- `IDataManager` contain now a `json_data` method to return a JSON suitable
return structure or delegate to the `IFieldManager.json_data` method.
Please see section "Customizing" in the documentation for more details.
- Added support for `z3c.relationfield.interfaces.IRelationList` fields
- Added support for `plone.app.textfield.interfaces.IRichText` fields
- Added support for `plone.app.blob.interfaces.IBlobField` fields
- More code cleanup and refactoring (coming closer to a robust 1.0.0 release!)

0.9.2

------------------

**Changes**

- Added `IFieldManager` adapter to `get` and `set` the value on field level.
- Removed `build` number from version route JSON response.
- Content route improved.
- API refactored.
- Improved `users` route.
- Updated documentation

0.9.1

------------------

**Changes**

- Added `ICatalog` and `ICatalogQuery` adapter for full search control. See docs for usage.
- Removed `query` module in favor of the new adapters.
- Removed multiple catalog query functionality. Please define a custom `ICatalog` adapter if you need it.
- Added generic route provider for all `portal_types`.
N.B. The old-style route providers, e.g. `folders`, `documents` etc., are now obsolete.
Please use the lower portal type name instead, e.g. `folder`, `docuememt` ...
- The `users` route shows now more details of the users and results are now batched.
- Removed default `getObjPositionInParent` sorting. Please specify explicitly via `sort_on`.
- UID of the plone site is now '0' instead of 0.
- Huge code refactoring and cleanup.

0.9.0

------------------

**Changes**

- API mthods `get_items` and `get_batched` accept now keyword paramters.
Keywords can be catalog indexes, e.g. `id=document-1` or a complete catalog
query objejt, e.g. `query={'portal_type': 'Document'}`.
- Changed `get_contents` method to use the `search` functionality from the
`query` module.
- More doctests added

0.8.9

------------------

**Changes**

- Catalog to query can now be set via the `catalog` request parameter.
- Optimized search logic
- Fixed issue with multiple `portal_type` parameters in request
- Code Refactoring
- More tests

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.