From b8a1268349e345c4d0d3a3a87936501df15ef47b Mon Sep 17 00:00:00 2001 From: Vy Hong Date: Mon, 13 Jan 2025 21:22:09 +0000 Subject: [PATCH] Release 4.12.1 (#64) * Update CHANGELOG * Bump version to 4.12.1 * Fix a bug in SettingsManager where we reset settings after load --- CHANGELOG.md | 5 ++++- ir/_version.py | 2 +- ir/manifest.json | 2 +- ir/settings.py | 3 ++- pyproject.toml | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7c3ead..790a721 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,12 @@ 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.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [4.12.1] - 2025-01-13 ### Fixed +- Fix LinkedIn import issue where some images don't have a src attribute (#56). +- Major refactoring of the import process (#43). +- (Try to) fix an issue with epub import on Windows where tempfile returns a relative temp path (#37). ## [4.12.0] - 2024-12-30 diff --git a/ir/_version.py b/ir/_version.py index ade1e2b..3311182 100644 --- a/ir/_version.py +++ b/ir/_version.py @@ -1 +1 @@ -__version__ = "4.12.0" +__version__ = "4.12.1" diff --git a/ir/manifest.json b/ir/manifest.json index 12e4269..693024e 100644 --- a/ir/manifest.json +++ b/ir/manifest.json @@ -1,4 +1,4 @@ { "package": "999215520", - "name": "Incremental Reading v4.12.0" + "name": "Incremental Reading v4.12.1" } diff --git a/ir/settings.py b/ir/settings.py index ea42970..81a8d97 100644 --- a/ir/settings.py +++ b/ir/settings.py @@ -91,9 +91,10 @@ class SettingsManager: } def __init__(self): + self.settings = None + addHook("unloadProfile", self._unload) self.load() - self.settings = None def __setitem__(self, key, value): if self.settings[key] != value and key not in self.settings["modified"]: diff --git a/pyproject.toml b/pyproject.toml index f4844bf..b2a4619 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] package-mode = false name = "incremental-reading-anki" -version = "4.12.0" +version = "4.12.1" description = "Incremental Reading for Anki" authors = [ "Tiago Barroso",