Compare commits

...
5 Commits
Author SHA1 Message Date
hyugogirubato b234a46e00 Release v3.3.4 2024-07-18 22:31:53 +02:00
hyugogirubato e6d77739e1 Merge remote-tracking branch 'origin/main' 2024-07-18 22:28:42 +02:00
hyugogirubato 0421d99c44 Fix invalid utc format 2024-07-18 22:28:26 +02:00
hyugogirubato 17084154a4 Remove invalid dict key 2024-07-18 22:27:03 +02:00
hyugogirubato cba561c2ec Update CHANGELOG.md 2024-07-18 22:20:31 +02:00
3 changed files with 11 additions and 3 deletions
+9
View File
@@ -4,12 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.3.4] - 2024-07-18
### Fixed
- Remove invalid dict key.
- Fix invalid utc format.
## [3.3.3] - 2024-07-18
### Added
- Reference links for XML schema.
- New information fields in the XML.
- Support PDF files via `cbzplayer` command.
### Changed
@@ -147,6 +155,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Initial release.
[3.3.4]: https://github.com/hyugogirubato/cbz/releases/tag/v3.3.4
[3.3.3]: https://github.com/hyugogirubato/cbz/releases/tag/v3.3.3
[3.3.2]: https://github.com/hyugogirubato/cbz/releases/tag/v3.3.2
[3.3.1]: https://github.com/hyugogirubato/cbz/releases/tag/v3.3.1
+1 -2
View File
@@ -202,7 +202,6 @@ class ComicInfo(ComicModel):
fields=COMIC_FIELDS)
comic_pages = []
comic_info['Pages'] = []
for i, page in enumerate(self.pages):
page_info = __info(
items={k: v for k, v in page.__dict__.items() if not k.startswith('_')},
@@ -211,7 +210,7 @@ class ComicInfo(ComicModel):
comic_pages.append(dict(sorted(page_info.items())))
# https://github.com/anansi-project/rfcs/issues/3#issuecomment-671631676
utcnow = datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S.%f')[:-3] + ''
utcnow = datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S.%f')[:-3] + 'Z'
comic_info.update({
'@xmlns:xsd': 'http://www.w3.org/2001/XMLSchema',
'@xmlns:xsi': 'http://www.w3.org/2001/XMLSchema-instance',
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "cbz"
version = "3.3.3"
version = "3.3.4"
description = "CBZ simplifies creating, managing, and viewing comic book files in CBZ format, offering seamless packaging, metadata handling, and built-in viewing capabilities"
license = "MIT"
authors = ["hyugogirubato <65763543+hyugogirubato@users.noreply.github.com>"]