Releases: Cornices/cornice
Releases · Cornices/cornice
2.0.1
2.0.0
Breaking changes
Please refer to upgrading docs for detailed migration instructions.
- Dropped Python 2.6 support (#368)
- Got rid of Buildout files (#369)
- Got rid of Spore extension (#379)
- Moved Sphinx extension to dedicated repo (#379)
- Moved project scaffold to dedicated repo (#238, #390)
- Completely rework the schema validation features (#376, #386)
- Moved examples to dedicated repo (#392)
- Custom
error_handler
now receives the request instead of errors (#381) - Errors list
request.errors
has norequest
anymore (#372, #378) request.errors.add()
now only accepts one ofheader
,body
,url
,
path
,querystring
,cookies
ormethod
as first argument (#374)- Remove deprecated features (#382)
Internal changes
1.2.1
1.2.0
1.1.0
- Warn if resource collection and record paths are not distinct. Thanks
@circlingthesun (#292)
Bug fixes
- Fix duplicated CORS exposed headers (#301)
- Fix setup.py in template. Thanks @areski (#296)
- Make resource test less dependent on Pyramid version (#312)
- Fix reload in sphinx extension for Python 3. Thanks @JohnBrodie (#295)
- Fix usage of Colander
schema_type()
andschema.typ
. Thanks
@tisdall (#309) - Fix check for CORS Allow Credentials. Thanks @treerao (#320)
- Fix Access-Control-Max-Age value if undefined on service (#338)
Documentation
1.0.0
Breaking changes:
- ACLs are now handled per route and not per view. Thanks @circlingthesun
(#287)
Other changes:
- Display default values in the sphinx documentation extension, Thanks
@MikaYuoadas (#284) - Add an option to disable Colander schema request binding. (#288)