Skip to content

Commit

Permalink
release: v0.7.0
Browse files Browse the repository at this point in the history
Co-Authored-by: Pascal Repond <[email protected]>
  • Loading branch information
PascalRepond authored and rerowep committed Jun 12, 2024
1 parent b873242 commit 0c1be35
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v0.7.0](https://github.com/rero/rero-ebooks/tree/v0.7.0) (2024-06-12)

[Full Changelog](https://github.com/rero/rero-ebooks/compare/v0.6.2...v0.7.0)

**Fixes:**
* dependencies: fix security issues [\#78](https://github.com/rero/rero-ebooks/pull/78) (by @rerowep)
* bump dependencies, use black for tests, add 008 field [\#83](https://github.com/rero/rero-ebooks/pull/83) (by @rerowep)

## [v0.6.2](https://github.com/rero/rero-ebooks/tree/v0.6.2) (2023-11-27)

[Full Changelog](https://github.com/rero/rero-ebooks/compare/v0.6.1...v0.6.2)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rero-ebooks"
version = "0.6.2"
version = "0.7.0"
description = "Ebooks repository for RERO."
authors = ["RERO <[email protected]>"]
license = "GNU Affero General Public License v3.0"
Expand Down
4 changes: 2 additions & 2 deletions rero_ebooks/dojson/json/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def is_fiction(self, key, value):
Fiction is set in Marc21 008 33.
"""
if value:
self["fixed_length_data_elements"] = GENERIC_008
self["fixed_length_data_elements"][33] = 1
fixed_data = f'{GENERIC_008[:33]}1{GENERIC_008[34:]}'
self["fixed_length_data_elements"] = fixed_data


@cantook_json.over("language_code", "languages|translated_from")
Expand Down
2 changes: 1 addition & 1 deletion rero_ebooks/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

from __future__ import absolute_import, print_function

__version__ = "0.6.2"
__version__ = "0.7.0"

0 comments on commit 0c1be35

Please sign in to comment.