Skip to main content

"REST API module for Invenio."

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-rest.svg https://github.com/inveniosoftware/invenio-rest/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-rest.svg https://img.shields.io/pypi/v/invenio-rest.svg

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/

Changes

Version v4.0.0 (released 2026-06-16)

  • chore(setup): bump dependencies

  • chore(git-blame): ignore the SPDX license header commit

  • chore(licenses): update license headers to use SPDX

Version v3.0.2 (released 2026-06-01)

  • fix(context): wrong default value

  • fix(serializer): inherit context_schema in nested BaseSchema calls

Version v3.0.1 (released 2026-03-12)

  • chore(setup): unpin webargs

Version v3.0.0 (released 2026-01-27)

  • chore(setup): bump dependencies

  • fix(tests): PendingDeprecationWarning

  • fix(chore): DeprecationWarning stdlib

  • refactor: use context_schema

Version v2.0.5 (released 2025-07-15)

  • fix: support TRUSTED_HOST is None in csrf_validate

Version v2.0.4 (released 2025-07-01)

  • fix: pkg_resources DeprecationWarning

Version v2.0.3 (released 2025-04-17)

  • installation: pin marshmallow to <4.0.0

Version v2.0.2 (released 2025-02-24)

  • fix: copyright headers

Version v2.0.1 (released 2025-02-24)

  • fix: flask changed from APP_ALLOWED_HOSTS to TRUSTED_HOSTS

Version 2.0.0 (released 2024-12-03)

  • fix: set_cookie needs a str

  • fix: cookie_jar not in FlaskClient

  • tests: update api usage of set_cookie

  • fix: set_cookie needs a str

  • chore: remove unused imports

  • global: remove try except for jws

  • setup: bump major dependencies

Version v1.5.0 (released 2024-12-02)

  • global: make sentry-sdk optional
    • Import-detects sentry_sdk so that we can remove the hard dependency.

Version 1.4.2 (release 2024-11-30)

  • fix: no translation

Version 1.4.1 (release 2024-11-30)

  • setup: change to reusable workflows

  • setup: pin dependencies

Version 1.4.0 (released 2024-11-19)

  • global: remove six usage

  • global: use jws from invenio-base

  • fix: forward compatibility with flask>=3.0

Version 1.3.1 (released 2024-07-17)

  • csrf: improve token validation workflow

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio_rest-4.0.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invenio_rest-4.0.0-py2.py3-none-any.whl (21.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_rest-4.0.0.tar.gz.

File metadata

  • Download URL: invenio_rest-4.0.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for invenio_rest-4.0.0.tar.gz
Algorithm Hash digest
SHA256 1e4814d18b71ed27a788492e8293d0b1de3a16c5e55b5eb45f7ec7e647bfe3b5
MD5 8856a6b5074d001be463d90f638a4931
BLAKE2b-256 f6b09739dcb963381cc39e3969e8b8c79c349701c83649d177d1e1c3ac1bdae1

See more details on using hashes here.

File details

Details for the file invenio_rest-4.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: invenio_rest-4.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for invenio_rest-4.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bde127f4ec65e72d2122f02656c463dd6c0d212e29899eeaee9fca7fae7b0152
MD5 2e04258656d8409469cd37ea5533600f
BLAKE2b-256 0ee6824024ca26e93dcca70e82310a46d8bbd889b2cdf4543e0ca0ac607ac6d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page