invenio-app-ils 7.1.0__py2.py3-none-any.whl → 7.1.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,6 @@
7
7
 
8
8
  """invenio-app-ils."""
9
9
 
10
- __version__ = "7.1.0"
10
+ __version__ = "7.1.1"
11
11
 
12
12
  __all__ = ("__version__",)
@@ -11,7 +11,7 @@ import arrow
11
11
  from flask import current_app
12
12
  from invenio_circulation.records.loaders.schemas.json import (
13
13
  DateString,
14
- LoanItemPIDSchemaV1,
14
+ LoanItemPIDSchemaV1, DateTimeString, set_missing_transaction_date,
15
15
  )
16
16
  from marshmallow import ValidationError, fields, post_load, validates
17
17
 
@@ -28,6 +28,8 @@ class LoanCheckoutSchemaV1(LoanBaseSchemaV1):
28
28
  end_date = DateString()
29
29
  force = fields.Bool(load_default=False)
30
30
 
31
+ transaction_date = DateTimeString(missing=set_missing_transaction_date)
32
+
31
33
  @validates("force")
32
34
  def validate_force(self, value, **kwargs):
33
35
  """Validate that only librarian can perform a force checkout."""
@@ -88,5 +88,5 @@ class HistogramParamsSchema(Schema):
88
88
  # default value as the field "metrics" is not required
89
89
  data[key] = json.loads(data.get(key, "[]"))
90
90
  except Exception as e:
91
- raise ValidationError from e
91
+ raise ValidationError("Failed to parse metrics and group_by parameters from JSON") from e
92
92
  return data
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-ils
3
- Version: 7.1.0
3
+ Version: 7.1.1
4
4
  Summary: Invenio Integrated Library System.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-ils
6
6
  Author: CERN
@@ -103,6 +103,10 @@ https://invenioils.docs.cern.ch
103
103
  Changes
104
104
  =======
105
105
 
106
+ Version 7.1.1 (released 2026-02-02)
107
+
108
+ - fix(checkout): explicitly set transaction date on loan checkout
109
+
106
110
  Version 7.1.0 (released 2026-01-22)
107
111
 
108
112
  - stats: add document request stats endpoint and extend document request index
@@ -1,4 +1,4 @@
1
- invenio_app_ils/__init__.py,sha256=HsFoetzDRkXOmOwWa_1sSlb7gE8ZQ-eRwu3tLvLHt9w,285
1
+ invenio_app_ils/__init__.py,sha256=zunWMKlBL2Fbk1lLUKdtdBtw_AKkk6jIFhBS4nKlCG4,285
2
2
  invenio_app_ils/cli.py,sha256=GGXMuXUlO9i8S9fpBXwj5wfPcK8aYe0leSDB3V--7Bs,58609
3
3
  invenio_app_ils/config.py,sha256=R70-ZkUXwWWKcQkt2KiIgZtP2cVt0zMPsIfULEhxZ94,47229
4
4
  invenio_app_ils/errors.py,sha256=HB_iWj-aYxzTzzO6hWb66mUPZdqpWYHgmr2H2t3j3wU,13293
@@ -57,7 +57,7 @@ invenio_app_ils/circulation/loaders/schemas/__init__.py,sha256=l2qiAyJt9QqFyDqfa
57
57
  invenio_app_ils/circulation/loaders/schemas/json/__init__.py,sha256=wsV4twVnMDNWhWYM8Iu_v3y68JVEKPFOKRi5gJ5qT1I,262
58
58
  invenio_app_ils/circulation/loaders/schemas/json/base.py,sha256=lkOTJT6pPbukEjwVXEDaFxA7ruslxO3WyQlNuQpiv-U,1444
59
59
  invenio_app_ils/circulation/loaders/schemas/json/bulk_extend.py,sha256=nDqWF2cwiO2GHwPVO6ivPIya6g2AHQ-pZnQoo9e9fQs,638
60
- invenio_app_ils/circulation/loaders/schemas/json/loan_checkout.py,sha256=w35_QSsN4MteTnWHIf99BRYkzwufXyf80tVbuQsQXmI,2152
60
+ invenio_app_ils/circulation/loaders/schemas/json/loan_checkout.py,sha256=wVCT5663uzipHWzmAXh1Mda71kzvBy4U4POONTywfIs,2275
61
61
  invenio_app_ils/circulation/loaders/schemas/json/loan_request.py,sha256=HPrlHNYnqVh-XRiMo2qgmiSfKx3MlwmktbuxhkK7iRU,5931
62
62
  invenio_app_ils/circulation/loaders/schemas/json/loan_self_checkout.py,sha256=ceYLWal4ZF1h8J6r5cPVQL0VlkiQn5GusxVgtuNWPDA,578
63
63
  invenio_app_ils/circulation/loaders/schemas/json/loan_update_dates.py,sha256=9NtrBJKytly3Acv4wxuqExN0gB9DGnXB8K_27izQkrs,774
@@ -402,7 +402,7 @@ invenio_app_ils/stats/file_download/v7/__init__.py,sha256=T0kcRAoEecatActm6MvVlA
402
402
  invenio_app_ils/stats/file_download/v7/file-download-v1.json,sha256=JOfqa0HYysRL1-OcnrG4Ohhv39eML5qKVXswN7OYfE4,1383
403
403
  invenio_app_ils/stats/histogram/__init__.py,sha256=ZLKckMrKkV9rM_NPi_2xXiCR957rV1GxxEgyz9GkdtI,569
404
404
  invenio_app_ils/stats/histogram/api.py,sha256=RG3WR0fZwLFgjuKOZGtSYuefoGWZoWKmFTbmoephApM,4006
405
- invenio_app_ils/stats/histogram/schemas.py,sha256=LyA0u-EjO6xUnf_eCRqYkZal5l_tIBRk9UwJYZATXWg,3050
405
+ invenio_app_ils/stats/histogram/schemas.py,sha256=GH6JBPPyfnANg29tLCZscIdNUIm7fhQDu_3wE_Odaos,3111
406
406
  invenio_app_ils/stats/histogram/views.py,sha256=zr6DGO0allRF3tB1HwEcQRUvNqX5WdpOoiBFbbA_vLQ,1182
407
407
  invenio_app_ils/stats/histogram/serializers/__init__.py,sha256=WPyi9aRve9QgCy-dZbhBbhJPGEZRZL5BmA9AHXEYluk,567
408
408
  invenio_app_ils/stats/histogram/serializers/response.py,sha256=TmSMQnYrf9ETEfaYNppJbwE158G8oye5heEt5txgiqk,945
@@ -474,10 +474,10 @@ invenio_app_ils/vocabularies/sources/__init__.py,sha256=EMLoLQGiq9_qoZ4lKqO_J0u2
474
474
  invenio_app_ils/vocabularies/sources/base.py,sha256=kmNg85cjrxqc8VErFP2SUtlyo1PnmzOBQgfoSpfTPh4,1418
475
475
  invenio_app_ils/vocabularies/sources/json.py,sha256=KGLTJ4AX8zEDdkpi3v92oHGs-h2dUzHbNPSg99-j8o0,1021
476
476
  invenio_app_ils/vocabularies/sources/opendefinition.py,sha256=9zbRXuTr0i5lVLt596oUhsLQPiJVf9jiM9-C7T6zbXA,2151
477
- invenio_app_ils-7.1.0.dist-info/licenses/AUTHORS.rst,sha256=BaXCGzdHCmiMOl4qtVlh1qrfy2ROMVOQp6ylzy1m0ww,212
478
- invenio_app_ils-7.1.0.dist-info/licenses/LICENSE,sha256=9OdaPOAO1ZOJcRQ8BrGj7QAdaJc8SRSUgBtdom49MrI,1062
479
- invenio_app_ils-7.1.0.dist-info/METADATA,sha256=sK9iE9rvghCwwdBZxRFIeGj8Caye8VIuiwyOk3ObJyQ,19087
480
- invenio_app_ils-7.1.0.dist-info/WHEEL,sha256=Q6xS052dXadQWXcEVKSI037R6NoyqhUlJ5BcYz2iMP4,110
481
- invenio_app_ils-7.1.0.dist-info/entry_points.txt,sha256=XJzPenKn4NOWqckmUFaXh9idhxTMQQbtssxeVW7qH3E,7962
482
- invenio_app_ils-7.1.0.dist-info/top_level.txt,sha256=p-lnzfSHaDER0BHbQvDV6dvUW7_Q0prMDFaqPhBSK50,16
483
- invenio_app_ils-7.1.0.dist-info/RECORD,,
477
+ invenio_app_ils-7.1.1.dist-info/licenses/AUTHORS.rst,sha256=BaXCGzdHCmiMOl4qtVlh1qrfy2ROMVOQp6ylzy1m0ww,212
478
+ invenio_app_ils-7.1.1.dist-info/licenses/LICENSE,sha256=9OdaPOAO1ZOJcRQ8BrGj7QAdaJc8SRSUgBtdom49MrI,1062
479
+ invenio_app_ils-7.1.1.dist-info/METADATA,sha256=_BLunwM73QoEZoDUwu_zofA6NHIxeuohsL1IcQktKh8,19191
480
+ invenio_app_ils-7.1.1.dist-info/WHEEL,sha256=Mk1ST5gDzEO5il5kYREiBnzzM469m5sI8ESPl7TRhJY,110
481
+ invenio_app_ils-7.1.1.dist-info/entry_points.txt,sha256=XJzPenKn4NOWqckmUFaXh9idhxTMQQbtssxeVW7qH3E,7962
482
+ invenio_app_ils-7.1.1.dist-info/top_level.txt,sha256=p-lnzfSHaDER0BHbQvDV6dvUW7_Q0prMDFaqPhBSK50,16
483
+ invenio_app_ils-7.1.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.10.1)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any