From dd82c935e5a6edb2afc9a6c4f96155854e2c07b9 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:34:44 +0100 Subject: [PATCH] Set new revision number --- novelwriter/core/projectxml.py | 3 ++- sample/nwProject.nwx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/novelwriter/core/projectxml.py b/novelwriter/core/projectxml.py index 029a9f6c..c99c8abf 100644 --- a/novelwriter/core/projectxml.py +++ b/novelwriter/core/projectxml.py @@ -46,7 +46,7 @@ if TYPE_CHECKING: # pragma: no cover logger = logging.getLogger(__name__) FILE_VERSION = "1.5" # The current project file format version -FILE_REVISION = "2" # The current project file format revision +FILE_REVISION = "3" # The current project file format revision HEX_VERSION = 0x0105 NUM_VERSION = { @@ -108,6 +108,7 @@ class ProjectXMLReader: Rev 1: Drops the titleFormat node from settings. 2.1 Beta 1. Rev 2: Drops the title node from project and adds the TEMPLATE class for items. 2.3 Beta 1. + Rev 3: Added TEMPLATE class. 2.3. """ def __init__(self, path: str | Path) -> None: diff --git a/sample/nwProject.nwx b/sample/nwProject.nwx index d17412a9..b3ec17a3 100644 --- a/sample/nwProject.nwx +++ b/sample/nwProject.nwx @@ -1,6 +1,6 @@ - - + + Sample Project Jane Smith