Cornice

Latest version: v6.1.0

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

Scan your dependencies

Page 1 of 6

6.1.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Dependency Updates
* Modernize repo by leplatrem in https://github.com/Cornices/cornice/pull/579
* Add support for Python 3.9 and 3.10 by jugmac00 in https://github.com/Cornices/cornice/pull/566
* Ref 581: Run CI on Python 3.12 by leplatrem in https://github.com/Cornices/cornice/pull/582
Other Changes
* Update badge by jugmac00 in https://github.com/Cornices/cornice/pull/567
* Update documentation for `Running tests` by jugmac00 in https://github.com/Cornices/cornice/pull/570
* docs: Fix a few typos by timgates42 in https://github.com/Cornices/cornice/pull/573
* Use TestCase.assertTrue() instead of TestCase.assert_() by musicinmybrain in https://github.com/Cornices/cornice/pull/575
* Update test matrix for the new generation of Python versions. by Natim in https://github.com/Cornices/cornice/pull/576


New Contributors
* jugmac00 made their first contribution in https://github.com/Cornices/cornice/pull/566
* musicinmybrain made their first contribution in https://github.com/Cornices/cornice/pull/575
* dependabot made their first contribution in https://github.com/Cornices/cornice/pull/580

**Full Changelog**: https://github.com/Cornices/cornice/compare/6.0.1...6.1.0

6.0.1

**Internal Changes**

- Add deserializer to Cornice params (565)
- Refactory ``unittest`` aliases for Python 3.11 compatibility

6.0.0

**Breaking changes**

- Drop support of Marshmallow < 3

**New features**

- Add ``cornice.always_cors`` setting to force CORS headers in responses when services origins is ``*``.

**Bug fixes**

- Correctly determine Service with Pyramid route to ensure filters are applied and ``apply_cors_post_request()`` is called

5.2.0

**Internal Changes**

- Support of Pyramid 2 (fixes 555)

5.1.0

**New features**

- Make services with pyramid routes accessible by current_service utility method (refs 550)
- Update the generated service to look like the resource it is wrapping (544)

**Internal Changes**

- Switch to Github Actions

5.0.3

**Bug fixes**

- Fix missing ``body``, ``headers``, ``path``, ``querystring`` when using ``*_validator`` Colander validators (545)

**Internal Changes**

- Replaced ``mock`` by standard ``unittest.mock``
- Replaced *Nose* test runner by *pytest*

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.