Dojson

Latest version: v1.4.0

Safety actively analyzes 621363 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.4.0

------------------------------------

- Changes subfield codes to be case-insensitive by always forcing subfield
codes to be lowercase.

1.3.2

------------------------------------

- Removes experimental warning from MARC21 Undo feature.

1.3.1

------------------------------------

Bug fixes
~~~~~~~~~

- Removes duplicate fields in MARC 21 JSON Schemas (closes 189).

1.3.0

------------------------------------

New features
~~~~~~~~~~~~

- Adds the possibility to skip individual items when using the
`for_each_value` decorator by raising the `IgnoreElement` exception.
- Adds `flatten` decorator that joins iterable results. (147)
- Adds to_marc21 conversion functions.

Improved features
~~~~~~~~~~~~~~~~~

- Updates MARC21 schema and conversion functions to the latest
Library of Congress standard.
- Clarifies in its docstring that `force_list` may returns a tuple,
not a list. (154)
- Adds order to existing marc21 conversion functions.
- Updates authority schema with new fields and corrects some existing
ones.

Bug fixes
~~~~~~~~~

- Addresses issues with STDIN encoding on Python 3.
- Removes `utils.for_each_value decorator` from conversion function
for MARC21 field 044, which is not repeatable. (181)
- Adds `tuples` to recogines types in `reverse_force_list` so it
behaves correctly as an inverse fuction to `force_list`.
- Adds missing default argument to `__deepcopy__` method on
GroupableOrderedDict. (167)
- Implements GroupableOrderedDict.__repr__() so that `eval(repr(god))
== god`. (162)
- Removes invalid check for length of yielded value causing exception
when value is dictionary with one item. (150)
- Removes list definition from `main_entry_uniform_title` as according
to Library of Congress is a non repeatable field.
- Removes invalid subfield from `data/test_7.xml`.

1.2.1

------------------------------------

Improved features
~~~~~~~~~~~~~~~~~

- Improves support for `leader` field conversion to and from
MARC21 and adds JSON Schema for this field. (133)
- Adds conversion support for `leader` field in authority
records, as well as schema support.
- Adds support for dashes in keys. (139)

Bug fixes
~~~~~~~~~

- Fixes bug in string formatting, and pads integer fields with
zeros (as per MARC standard).
- Removes list definition from `main_entry_personal_name` as
according to Library of Congress is a non repeatable field.

1.2.0

------------------------------------

Incompatible changes
~~~~~~~~~~~~~~~~~~~~

- Removes automatic wrapping to `<collection/>` for single record
passed to `dumps_etree`.

Improved features
~~~~~~~~~~~~~~~~~

- Adds new argument to specify namespace prefix in generated MARCXML.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.