Skip to content

Releases: Cornices/cornice

6.1.0

08 Feb 11:27
677aa40
Compare
Choose a tag to compare

What's Changed

Dependency Updates

Other Changes

New Contributors

Full Changelog: 6.0.1...6.1.0

6.0.1

07 Jan 13:41
6.0.1
270d47e
Compare
Choose a tag to compare

Internal Changes

  • Add deserializer to Cornice params (#565)
  • Refactory unittest aliases for Python 3.11 compatibility

6.0.0

29 Sep 12:52
6.0.0
36426c5
Compare
Choose a tag to compare

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

06 Apr 09:38
Compare
Choose a tag to compare

Internal Changes

  • Support of Pyramid 2 (fixes #555)

5.1.0

18 Feb 15:29
5.1.0
b192db9
Compare
Choose a tag to compare

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

31 Aug 09:25
5.0.3
5fd487e
Compare
Choose a tag to compare

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

5.0.2

12 Aug 14:10
5.0.2
924aad3
Compare
Choose a tag to compare
  • Rename default renderer from cornice to cornicejson (#543)

We made the choice not to bump a major for this, because the default renderer name was never documented. If you ever were relying on the default renderer's name (simplejson for Cornice < 5.X, and cornice for 5.0.0 and 5.0.1), then I'm truely sorry for the breakage.

5.0.1

25 May 15:20
5.0.1
3008869
Compare
Choose a tag to compare
  • Add setuptoools python_requires check

5.0.0

20 May 13:03
5.0.0
241542e
Compare
Choose a tag to compare

Breaking Changes

  • Drop Python 2 support
  • The default JSON renderer does not use simplejson.dumps() by default anymore, so the requirement has been dropped.

Please refer to upgrading docs for detailed migration instructions.

4.0.1

02 Dec 15:06
b6ab5a0
Compare
Choose a tag to compare

Bug fixes

  • Fix support of schema as class instead of instance (#523)