Skip to content

Commit 9eaf240

Browse files
committed
Release 1.7-beta1
1 parent a71fa02 commit 9eaf240

File tree

4 files changed

+102
-53
lines changed

4 files changed

+102
-53
lines changed

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,94 @@
11
# novelWriter Changelog
22

3+
## Version 1.7 Beta 1 [2022-05-17]
4+
5+
### Release Notes
6+
7+
This is a beta release of the next release version, and is intended for testing purposes. Please be
8+
careful when using this version on live writing projects, and make sure you take frequent backups.
9+
10+
Please check the changelog for an overview of changes. The full release notes will be added to the
11+
final release.
12+
13+
### Detailed Changelog
14+
15+
**Features**
16+
17+
* A simple tool to add Lorem Ipsum placeholder text has been added to the Insert menu. PR #1028.
18+
* Status and Importance flags can now be reorganised in Project Settings. Issue #1035. PR #1040.
19+
* It is now possible to create multiple Root Folders of the same kind. This makes it possible to
20+
add multiple Novel root folders in a project, for instance. Issue #967. PR #1031.
21+
* All documents can now be dragged and dropped anywhere in the project tree. The document layout
22+
may be converted in the process. PR #1031.
23+
* Documents in the project tree can now have other documents as child documents. Issue #1002.
24+
PR #1047.
25+
* Folders in the project tree that are not empty, can now be moved to trash. PR #1048.
26+
* Empty folders are deleted on request, and not moved to trash. Issue #1052. PR #1055.
27+
28+
**User Interface**
29+
30+
* The tabs under the project tree and to the right of the main window have been replaced with a
31+
toolbar on the left hand side. The toolbar has a set of buttons to change view between Project,
32+
Novel and Outline. The three buttons that were available under the project tree have been moved
33+
to the bottom of the new toolbar. Issue #1056. PR #1057.
34+
* When a document changes from a project document to a note, and back again, the Status flag
35+
setting is preserved. Previously, the Importance setting would overwrite it during the
36+
conversion. PR #1030.
37+
* Item labels, Status labels, and other labels on the GUI are now run through a "simplify" function
38+
before being accepted. This functions strips out all whitespaces and consecutive whitespaces and
39+
replace them with single plain whitespaces. This is a safer format to store in XML, and also
40+
makes sure there aren't invisible characters floating around in the labels. PR #1038.
41+
* Due to the changes to how drag and drop works, there are no longer any restrictions on folders
42+
and documents. Only root folders remain restricted in terms of moving. Root folders can only be
43+
reordered with the Move Up and Move Down commands. PR #1047.
44+
* The label for the highlighting of redundant spaces in the Preferences dialog has been updated to
45+
better reflect what it does. Issue #1043. PR #1046.
46+
* The New Project Wizard will now try to check if the path selected for the new project can
47+
actually be used before letting the user proceed to the next page. Issue #1058. PR #1062.
48+
49+
**Internationalisation**
50+
51+
* Dutch translations have been added by Martijn van der Kleijn (@mvdkleijn). PR #1027.
52+
53+
**Functionality**
54+
55+
* Documents that are missing in the project index when a project is opened are automatically
56+
re-indexed. This also handles cases where the cached index is missing. PR #1039.
57+
58+
**Installation and Packaging**
59+
60+
* Python 3.6 is no longer supported. PR #1004.
61+
* Ubuntu 18.04 packages will no longer be released, due to dropping Python 3.6. Issue #1005.
62+
PR #1014.
63+
64+
**Project File Format**
65+
66+
* The item nodes in the content section of the main project XML file have been compacted. It now
67+
consists of a main item node and meta and a name node. All settings have been made attributes of
68+
one of these three nodes, except the item label which is the text value of the name node. The
69+
file format version has been bumped to 1.4. Issue #995. PR #993.
70+
* Both Importance and Status flag values are now saved to the project file. This means if a
71+
document changes layout, the value is no longer lost. PR #1030.
72+
73+
**Code Improvements**
74+
75+
* The linting settings have been updated to select between mutually exclusive options in
76+
pycodestyle. PR #1014.
77+
* The Tokenizer class has been converted to an abstract base class. PR #1026.
78+
* The class handling Status and Importance flags has been completely rewritten. The flags are now
79+
handled using a unique random key as reference rather than relying on the text of the label
80+
itself. This makes it a lot easier to rename them as there is no need to update project items.
81+
PR #1034.
82+
* Many of the decisions regarding where items are allowed to belong has been delegated to the
83+
NWItem class that holds the item. Some is also handled by the NWTree class that holds the project
84+
tree. A new maintenance function in the NWTree class will also ensure that the meta data of an
85+
item is correct and up to date. This is especially important after an item has been moved, but is
86+
also checked when items are initially loaded. PRs #1031 and #1054.
87+
* Item handles are now generated using the standard library random number generator. The new
88+
handles have the same format as the old algorithm, so they are compatible. PR #1044.
89+
90+
----
91+
392
## Version 1.6.2 [2022-03-20]
493

594
### Release Notes

novelwriter/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
__author__ = "Veronica Berglyd Olsen"
6161
__maintainer__ = "Veronica Berglyd Olsen"
6262
__email__ = "[email protected]"
63-
__version__ = "1.7-alpha0"
64-
__hexversion__ = "0x010700a0"
65-
__date__ = "2022-02-20"
63+
__version__ = "1.7-beta1"
64+
__hexversion__ = "0x010700b1"
65+
__date__ = "2022-05-17"
6666
__status__ = "Stable"
6767
__domain__ = "novelwriter.io"
6868
__url__ = "https://novelwriter.io"

novelwriter/assets/text/release_notes.htm

Lines changed: 7 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,16 @@
22
<html>
33
<body>
44

5-
<h2>Release Notes for 1.6</h2>
6-
<p><i>Released on 20 February 2022</i></p>
5+
<h2>Release Notes for 1.7 Beta 1</h2>
6+
<p><i>Released on 17 May 2022</i></p>
77

8-
<p>This release does not introduce any major new features, but is instead a collection of minor
9-
improvements and tweaks based on user requests. There are also a number of changes under the hood
10-
to improve the structure and performance of novelWriter.</p>
11-
<p><u>Some key improvements to the user interface are:</u></p>
12-
<p>&#10003; The max text width setting in Preferences now also applies to the document viewer, and
13-
the setting itself on the Preference dialog has been simplified a bit.</p>
14-
<p>&#10003; When text is selected in the document editor, the number of words selected is displayed
15-
in the editor's footer area.</p>
16-
<p>&#10003; The search tool in the document editor now shows the number of results in the
17-
document.</p>
18-
<p>&#10003; The Enter and Ctrl+O keyboard shortcuts should now work the same way in all tree
19-
views.</p>
20-
<p>&#10003; It is now possible to set a blank section title format on the Build Novel Project tool
21-
and get empty paragraphs in the output. Previously, a blank format would just remove the section
22-
break entirely. This change allows the user to define hard and soft scene breaks using level three
23-
and four headings. The scene and section titles can be hidden completely with two new switches
24-
added to the user interface.</p>
25-
<p><u>Other feature changes include:</u></p>
26-
<p>&#10003; The project index is now automatically rebuilt in the event it is empty or incomplete
27-
when the project is opened.</p>
28-
<p>&#10003; The user can now add their own syntax and GUI theme files in the app folder in their
29-
user area on the host operating system. Where the custom files must be added is described in the
30-
documentation.</p>
31-
<p>&#10003; A Windows installer is yet again provided for novelWriter. If you have novelWriter
32-
installed using another method, make sure you uninstall it properly first as the two methods are
33-
not compatible.</p>
34-
<p>&#10003; Release versions for Ubuntu 21.04 have been dropped, and added for the upcoming Ubuntu
35-
22.04.</p>
36-
<p>&#10003; Most translations have been updated. A Dutch translation is in the works.</p>
8+
<p>This is a beta release of the next release version, and is intended for testing purposes. Please
9+
be careful when using this version on live writing projects, and make sure you take frequent
10+
backups.</p>
11+
<p>Please check the changelog for an overview of changes. The full release notes will be added to
12+
the final release.</p>
3713

3814
<p><i>See also the <a href="https://github.com/vkbo/novelWriter/releases">Releases</a> page.</i></p>
3915

40-
<h2>Patch Notes</h2>
41-
42-
<h3>Patch 1.6.1 &ndash; 16 March 2022</h3>
43-
44-
<p>This is a bugfix and patch release that fixes two recursion/loop issues. One would potentially
45-
cause a crash if the window was resized rapidly, and one would cause a hang with certain search
46-
parameters in the editor's search box. The Latin American Spanish translation has also been
47-
updated.</p>
48-
49-
<h3>Patch 1.6.2 &ndash; 20 March 2022</h3>
50-
51-
<p>This is a bugfix release that fixes a couple of minor issues. Projects containing one or more
52-
empty documents would trigger a rebuild of the index each time the project was opened. This has now
53-
been fixed. Another fix resolves an error message being written to the console logging output when
54-
a new document was created. Both errors were harmless.</p>
55-
5616
</body>
5717
</html>

sample/nwProject.nwx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<novelWriterXML appVersion="1.7-alpha0" hexVersion="0x010700a0" fileVersion="1.4" timeStamp="2022-05-17 17:51:14">
2+
<novelWriterXML appVersion="1.7-beta1" hexVersion="0x010700b1" fileVersion="1.4" timeStamp="2022-05-17 18:36:56">
33
<project>
44
<name>Sample Project</name>
55
<title>Sample Project</title>
66
<author>Jane Smith</author>
77
<author>Jay Doh</author>
8-
<saveCount>1328</saveCount>
8+
<saveCount>1329</saveCount>
99
<autoCount>220</autoCount>
10-
<editTime>67092</editTime>
10+
<editTime>67104</editTime>
1111
</project>
1212
<settings>
1313
<doBackup>False</doBackup>

0 commit comments

Comments
 (0)