Pyramid-royal

Latest version: v0.8.10

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

Scan your dependencies

Page 2 of 3

0.8.1

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

- Add sqlalchemy extension.
- Change the way links are added to resource representation.
- Fix issue 6: HTTP 500 error when using POST verb on Item resources.
- Breaking changes:

- `royal.resource:Base` constructor now takes request as third positional
argument.
- `royal.resource:Base.resource_url` and `Base.url` method signatures change.

- Add `presources` script to print all resources declared with royal.
- Add declarative configuration decorators `collection_config` & `item_config`.
- No more utility class: resource configuration uses pyramid introspectables to
store configuration rather than utility internal dict.
- Move `royal.utility` to ` royal.directives`

0.7.4

-----

- Add update_schema and replace_schema to be symetric with create_schema.

0.7.3

-----

- Started some documentation.
- Set default root factory to ``royal.resource.Root``
- Exception view which catches all exception is only added when ``debug=false``
in application settings.

0.7.2

-----

- Depends on pyramid without any version spec.

0.7.1

-----

- Add a default ``multipart/form-data`` deserializer.
- No more views on ``voluptuous.MultipleInvalid`` as ``voluptuous`` has been
removed from dependencies.

0.7

---

- Breaking changes:

- Query params are not anymore passed to resources methods
via ``**kwargs`` but as a ``dict``. TBD: use a ``multidict``.
- Working on return value of ``Collection.create`` method. TBD: Add adapters
to permit multiple way of calling resource methods from view and adapt
renderering

- Add ``renderer_adapter`` decorator to register adapter via ``config.scan``.
- Add renderer adapter to configuration introspectables under *Renderer
adapters* category.
- Add ``add_deserializer`` config directive and
decorator ``royal.deserializer_config`` to add deserializers for specific
content_type.
- Remove decorator ``log_error_dict`` in favor of pyramid_exclog extension.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.