Metadata-Version: 2.1
Name: invenio-rest
Version: 1.3.0
Summary: "REST API module for Invenio."
Home-page: https://github.com/inveniosoftware/invenio-rest
Author: CERN
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio rest api module
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.7
Requires-Dist: Flask-CORS >=2.1.0
Requires-Dist: invenio-base >=1.2.5
Requires-Dist: invenio-logging[sentry_sdk] >=2.1.0
Requires-Dist: itsdangerous <2.1,>=1.1
Requires-Dist: marshmallow >=2.15.2
Requires-Dist: webargs <6.0.0,>=5.5.0
Provides-Extra: cors
Provides-Extra: docs
Provides-Extra: tests
Requires-Dist: pytest-black <0.3.10,>=0.3.0 ; extra == 'tests'
Requires-Dist: xmltodict >=0.11.0 ; extra == 'tests'
Requires-Dist: pytest-invenio >=1.4.0 ; extra == 'tests'
Requires-Dist: Sphinx >=4.5.0 ; extra == 'tests'

..
    This file is part of Invenio.
    Copyright (C) 2015-2018 CERN.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

==============
 Invenio-REST
==============

.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-rest.svg
        :target: https://github.com/inveniosoftware/invenio-rest/blob/master/LICENSE

.. image:: https://github.com/inveniosoftware/invenio-rest/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-rest/actions

.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-rest.svg
        :target: https://coveralls.io/r/inveniosoftware/invenio-rest

.. image:: https://img.shields.io/pypi/v/invenio-rest.svg
        :target: https://pypi.org/pypi/invenio-rest

REST API module for Invenio.

Invenio-REST takes care of installing basic error handling on a Flask API
application, as well as initializing Flask-CORS for Cross-Origin Resources
Sharing (not enabled by default).

Further documentation is available on
https://invenio-rest.readthedocs.io/

..
    This file is part of Invenio.
    Copyright (C) 2015-2020 CERN.
    Copyright (C) 2022 Northwestern University.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

Changes
=======

Version 1.3.0 (released 2023-10-17)

- Fixed sentry error id.

Version 1.2.8 (released 2022-01-13)

- Add support for ItsDangerous <2.1 (datetime aware/naive of date_signed)

Version 1.2.6 (released 2021-12-05)

- Add support for CSRF token rotation during a grace period to allow clients
  transparently rotate the CSRF token without being prompted with CSRF errors.

Version 1.2.5 (released 2021-12-04)

- Fix issue with CSRF token being reset on every request.

Version 1.2.4 (released 2021-10-18)

- Support for Flask v2.0

Version 1.2.3 (released 2020-12-07)

- Fixes a bug with CSRF checking when the endpoint did not exist.

Version 1.2.2 (released 2020-09-27)

- Adds Cache-Control:'no-cache' header to 304 responses to
  ensure that browsers will not cache responses client side

Version 1.2.1 (released 2020-05-08)

- The CSRF Middleware is now by default disabled.
- The ``CSRF_SECRET_SALT`` now defaults to ``invenio-csrf-token``.
- Added a new configuration variable: ``CSRF_FORCE_SECURE_REFERER``.

Version 1.2.0 (released 2020-03-10)

- Centralize dependency management via Invenio-Base.

Version 1.1.3 (released 2020-01-08)

- Set upper limit version of webargs, lower than 6.0.0.

Version 1.1.2 (released 2019-09-19)

- Bumps webargs to 5.5.0 (provides support for marshmallow 3).

Version 1.1.1 (released 2019-08-02)

- Bumps marshmallow to 2.15.2 (minimum required by webargs).

Version 1.1.0 (released 2019-07-31)

- Adds marshmallow 2 vs 3 compatibility functions.

Version 1.0.0 (released 2018-03-23)

- Initial public release.


