Metadata-Version: 2.1
Name: invenio-records-rest
Version: 1.9.0
Summary: REST API for invenio-records.
Home-page: https://github.com/inveniosoftware/invenio-records-rest
Author: CERN
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio api
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Development Status :: 5 - Production/Stable
Requires-Dist: bleach (>=2.1.3)
Requires-Dist: ftfy (>=4.4.3)
Requires-Dist: invenio-base (>=1.2.5)
Requires-Dist: invenio-pidstore (>=1.2.1)
Requires-Dist: invenio-records (>=1.6.0)
Requires-Dist: invenio-rest (>=1.2.4)
Requires-Dist: invenio-indexer (>=1.2.0)
Requires-Dist: invenio-i18n (>=1.3.0)
Provides-Extra: all
Requires-Dist: citeproc-py (>=0.6.0) ; extra == 'all'
Requires-Dist: citeproc-py-styles (>=0.1.3) ; extra == 'all'
Requires-Dist: datacite (>=1.0.1) ; extra == 'all'
Requires-Dist: Sphinx (>=4.2.0) ; extra == 'all'
Requires-Dist: dcxml (>=0.1.2) ; extra == 'all'
Requires-Dist: pyld (<2,>=1.0.5) ; extra == 'all'
Requires-Dist: Flask-Login (>=0.3.2) ; extra == 'all'
Requires-Dist: invenio-config (>=1.0.2) ; extra == 'all'
Requires-Dist: invenio-db[all] (>=1.0.9) ; extra == 'all'
Requires-Dist: pytest-invenio (>=1.4.0) ; extra == 'all'
Provides-Extra: citeproc
Requires-Dist: citeproc-py (>=0.6.0) ; extra == 'citeproc'
Requires-Dist: citeproc-py-styles (>=0.1.3) ; extra == 'citeproc'
Provides-Extra: datacite
Requires-Dist: datacite (>=1.0.1) ; extra == 'datacite'
Provides-Extra: docs
Requires-Dist: Sphinx (>=4.2.0) ; extra == 'docs'
Provides-Extra: dublincore
Requires-Dist: dcxml (>=0.1.2) ; extra == 'dublincore'
Provides-Extra: elasticsearch5
Requires-Dist: invenio-search[elasticsearch5] (>=1.4.2) ; extra == 'elasticsearch5'
Provides-Extra: elasticsearch6
Requires-Dist: invenio-search[elasticsearch6] (>=1.4.2) ; extra == 'elasticsearch6'
Provides-Extra: elasticsearch7
Requires-Dist: invenio-search[elasticsearch7] (>=1.4.2) ; extra == 'elasticsearch7'
Provides-Extra: jsonld
Requires-Dist: pyld (<2,>=1.0.5) ; extra == 'jsonld'
Provides-Extra: tests
Requires-Dist: Flask-Login (>=0.3.2) ; extra == 'tests'
Requires-Dist: invenio-config (>=1.0.2) ; extra == 'tests'
Requires-Dist: invenio-db[all] (>=1.0.9) ; extra == 'tests'
Requires-Dist: pytest-invenio (>=1.4.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-Records-REST
======================

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

.. image:: https://github.com/inveniosoftware/invenio-records-rest/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-records-rest/actions?query=workflow%3ACI

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

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

REST API for Invenio-Records.

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



..
    This file is part of Invenio.
    Copyright (C) 2015-2019 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.

Changes
=======

Version 1.9.0 (2021-11-29)

- Fixes `MarshmallowErrors.get_body` due to Werkzeug 2.0.x changes
- Upgrade invenio packages
- Upgrade cite-proc

Version 1.8.0 (2020-12-09)

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

- Unpins the ftfy library.

Version 1.7.2 (2020-08-28)

- Fixes an issue with record PID resolution error handling.
- URL PID converter is now "lazier" and initializes its internal resolver via a
  property.
- Fixes classifiers to reflect Python verisons

Version 1.7.1 (released 2020-05-07)

- Sphinx set to ``<3`` because of errors related to application context
- Stop using example app

Version 1.7.0 (released 2020-03-13)

- Removes support for python 2.7
- Centralises management of Flask dependency by invenio-base

Version 1.6.4 (released 2019-12-11)

- Fixes loaders error payload to add support for nested fields

Version 1.6.3 (released 2019-11-19)

- Upgrades `six` package minimal version

Version 1.6.2 (released 2019-10-02)

- Changes PID field in Marshmallow Schema to String instead of Integer.

Version 1.6.1 (released 2019-09-23)

- Fixes wrong `size` url arg upper limit
- Upgrades `invenio-rest` dependency

Version 1.6.0 (released 2019-09-11)

- Adds support to serialization using Marshmallow with versions 2 and 3
- Enables to choose response search serializer via url argument

Version 1.5.0 (released 2019-08-02)

- Adds improved support for infinite scroll
- Adds ES7 support
- Adds CSV serializer
- Adds ``record`` to marshmallow context
- Uses html allowed tags and attributes for bleach from config

Version 1.4.2 (released 2019-05-07)

- Marshmallow JSON schema: add getter method to customize and retrieve the PID
  field name per schema.

Version 1.4.1 (released 2019-04-02)

- Added ``RECORDS_REST_DEFAULT_RESULTS_SIZE`` variable to change the default
  ``size`` of the search results. The default value remains ``10``.

Version 1.4.0 (released 2019-02-22)

- Removed unused resolver parameter from views classes.
- Improved documentation of record_class in URL patterns.

Version 1.3.0 (released 2018-12-14)

- Enhance Elasticsearch error handling.
- Refactor Marshmallow schemas to allow PID injection.

Version 1.2.2 (released 2018-11-16)

- Changes ``str`` to ``text_type`` on filter dsl.

Version 1.2.1 (released 2018-09-17)

- Adds source filtering support for ES 5.

Version 1.2.0 (released 2018-08-24)

- Adds PersistentIdentifier field to handle record PIDs.
- Adds Nested class to improve reporting of validation errors.

Version 1.1.2 (released 2018-06-26)

- Rename authentication of GET operation over
  RecordsListResource from 'read_list' to 'list'.

Version 1.1.1 (released 2018-06-25)

- Adds authentication to GET operation over
  RecordsListResource.
- Bumps invenio-db version (min v1.0.2).

Version 1.1.0 (released 2018-05-26)

- Moves RecordSchemaJSONV1 marshmallow schema from
  invenio_records_rest.serializers.schemas to
  invenio_records_rest.schemas.
- Fixes missing API documentation.
- Adds blueprint factory (requires Invenio-Base v1.0.1+).
- Adds marshmallow loaders, fields and schemas.

Version 1.0.1 (released 2018-03-27)

- Fixes unicode query handling
- Fixes Datacite v4.1 serialization

Version 1.0.0 (released 2018-03-23)

- Initial public release.


