Skip to main content

Invenio Circulation Module

Project description

https://img.shields.io/travis/inveniosoftware/invenio-circulation.svg https://img.shields.io/coveralls/inveniosoftware/invenio-circulation.svg https://img.shields.io/github/tag/inveniosoftware/invenio-circulation.svg https://img.shields.io/pypi/dm/invenio-circulation.svg https://img.shields.io/github/license/inveniosoftware/invenio-circulation.svg

Invenio module for the circulation of bibliographic items.

This is an experimental developer preview release.

TODO: Please provide feature overview of module

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

Changes

Version v4.0.0 (released 2025-11-24)

  • tests: drop support for testing postgresql13

  • tests: make use of inveniosoftware standard ci workflow

  • index: add extra_data property to loan mapping

  • (breaking) global: make first parameter of loan_state_changed signal the current_object

  • chore: add commit that formats project with black to git-blame-ignore-refs

  • chore: format code with black

Version v3.0.0a1 (released 2023-12-05)

  • breaking change: drop ES6 compatibility

  • installation: upgrade to opensearch

  • installation: upgrade invenio packages

  • installation: move to setup.cfg

  • CI: update test matrix

Version v2.0.0a1 (released 2023-03-07)

  • opensearch: create opensearch v1 and v2 mappings.

Version v1.0.0a36 (released 2022-02-21)

  • Fix invenio_base.api_blueprints in setup.py

Version 1.0.0a35 (released 2021-11-26)

  • Made compatibility changes for werkzeug 2

  • Bumped Sphinx

Version 1.0.0a34 (released 2021-10-26)

  • make “same location” check overridable

Version 1.0.0a33 (released 2021-09-30)

  • transition kwargs : change signature in signal

Version 1.0.0a32 (released 2021-09-30)

  • update dependencies

  • add additional kwargs to transition after method

  • add additional kwargs to after transition signal

Version 1.0.0a31 (released 2021-05-05)

  • fix default transaction date on loan loader

Version 1.0.0a30 (released 2021-01-27)

  • fix default loan state assignment

Version 1.0.0a29 (released 2020-11-26)

  • set transaction date default value in marshamallow loader to fix bug with start date

Version 1.0.0a28 (released 2020-10-09)

  • fixes how the overridden records REST endpoint configuration was retrieved in the loan actions and replace item custom endpoints.

  • removes support for Elasticsearch 5

  • adds support for Python 3.7 and 3.8

Version 1.0.0a27 (released 2020-09-15)

  • fixes the loan record update method not working properly with custom fields

Version 1.0.0a26 (released 2020-07-17)

  • fixes initial_loan, a copy of loan before transition, to be a local variable instead of a Transition object property.

Version 1.0.0a25 (released 2020-06-18)

  • adds config CIRCULATION_LOAN_LOCATIONS_VALIDATION to allow validation of loan locations

Version 1.0.0a24 (released 2020-05-25)

  • fixes the way the default module configuration is defined to allow overriding it from the Invenio app

Version 1.0.0a23 (released 2020-05-22)

  • renames signals parameter from prev_loan to initial_loan

  • adds an extra parameter initial_loan to the default duration functions in checkout policies

Version 1.0.0a22 (released 2020-05-22)

  • adds additional checks when transitioning loans from and to Item at Desk

  • removes example app and updates Invenio modules dependencies

Version 1.0.0a21 (released 2020-01-23)

  • introduces pid_type for item_pid to uniquely identify an Item record

  • changes methods that were expecting item_pid

  • removed unused view circulation/items to retrieve the item from the loan

Version 1.0.0a20 (released 2019-11-01)

  • adds a JSON resolver for the document of the loan

Version 1.0.0a19 (released 2019-09-27)

  • adds a JSON resolver for the patron of the loan

  • fixes deserialization bug on loan REST loader when a date/datetime field is missing

Version 1.0.0a18 (released 2019-09-26)

  • handle date/time record fields as datetime object internally

  • add request_start_date field to loan schema

  • automatic assignement of item on request is now configurable

  • add marshmallow loader for REST endpoint

  • add support to ES7

  • drop support for Python 2

  • bugfixes

Version 1.0.0a17 (released 2019-09-13)

  • add delivery object to the loan schema

  • pin invenio-records-rest version to ensure compatibility with python 3 and marshmallow 3

Version 1.0.0a16 (released 2019-08-09)

  • change loan duration from number of days as int to timedelta

Version 1.0.0a15 (released 2019-08-07)

  • remove ES 2 support

  • change loan_pid to pid schema field

Version 1.0.0a14 (released 2019-06-24)

  • now allows loans to be created solely on document_pid

  • refactored and added more tests for transitions

Version 1.0.0a13 (released 2019-04-24)

  • fixed item reference attachment on checkout

Version 1.0.0a12 (released 2019-04-17)

  • Renamed is_item_available circulation policy to item_can_circulate.

Version 1.0.0a11 (released 2019-03-29)

  • Add sort options to search api

Version 1.0.0a10 (released 2019-03-27)

  • Fix for permissions check

Version 1.0.0a9 (released 2019-03-25)

  • Introduce Circulation Exceptions

Version 1.0.0a8 (released 2019-03-06)

  • Introduce request policy.

  • Pass previous loan and trigger name on the state change signal.

Version 1.0.0a7 (released 2019-02-25)

  • Replace item_pid with loan_pid in $ref Loan schema.

Version 1.0.0a6 (released 2019-02-04)

  • Force user to implement configuration utils functions instead of returning a dummy value.

Version 1.0.0a5 (released 2019-01-28)

  • Add config for defining loan completed state.

Version 1.0.0a4 (released 2019-01-26)

  • Loan replace item endpoint.

Version 1.0.0a3 (released 2019-01-18)

  • Creating item reference only when item pid is attached.

Version 1.0.0a2 (released 2019-01-18)

  • Adding support for creating a reference inside Loan record to an item.

Version 1.0.0a1 (released 2018-12-04)

  • 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_circulation-4.0.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

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

invenio_circulation-4.0.0-py2.py3-none-any.whl (40.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for invenio_circulation-4.0.0.tar.gz
Algorithm Hash digest
SHA256 44d704ed94a1e7bf3991355828afa1b9696dea7d26164c7de545d67ddf3faa1e
MD5 f8fa60a28d5e305593c1262c5f30d768
BLAKE2b-256 5a10bf13c49f8fb8b95ed156a5cfc2553585d1fe96815ac9c20a4438fe0a4981

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for invenio_circulation-4.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 df55a184d2339a51aebe903dc3b0266fbdc41a2684cd9dbfe1b2837315c2e429
MD5 aaec159d79284e5e4feb6e8ba6540216
BLAKE2b-256 b8fb0c53bb4598d3c7e7d9c51fbf8089560c23c02a32a2a5e7be2d33159f7be7

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