Release Notes
2.0
- Upload and download support.
- Media type changes from
application/vnd.coreapi+jsontoapplication/coreapi+json. For backwards compatibility, either are currently accepted. - Codec methods
dump()/load()becomeencode()/decode(). The old style methods currently continue to work for backward compatibility. - The client instance validates that passed parameters match the available parameter names. Fails if unknown parameters are included, or required parameters are not included.
.action()now accepts avalidate=Falseargument, to turn off parameter validation.- Parameter values are validated against the encoding used on the link to ensure that they can be represented in the request.
typeannotation added toFieldinstances.multipart/form-datais now consistently used on multipart links, even when no file arguments are passed.action,encoding, andtransformparameters to.action()now replaced with a singleoverridesargument. The old style arguments currently continue to work for backward compatibility.- The
supportsattribute is no longer used when defining codec classes. Asupportsproperty currently exists on the base class, to provide backwards compatibility forcoreapi-cli.
The various backwards compatibility shims are planned to be removed in the 2.1 release.