Skip to content

Commit 3d31d4f

Browse files
committed
[CHANGELOG] Add version 1.4.3 release notes
1 parent 2143c8b commit 3d31d4f

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

CHANGELOG.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,49 @@ until the next release.
55

66
# Latest changes in master
77

8-
...
8+
# Version 1.4.3
9+
10+
## Introduction of odML templates support and update in odML terminology handling
11+
12+
Support for importing and working with odML templates is added:
13+
- the core library now features the `TemplateHandler` class to handle import and usage of odML templates.
14+
- the default URL to fetch templates from has been set to `https://templates.g-node.org`.
15+
- all terminology URLs are updated to the new terminology deployment at `https://terminology.g-node.org`.
16+
17+
## Additional console script: 'odmlview'
18+
19+
Currently most web browsers no longer support viewing local files that include further local files like stylesheets; check [here](https://developer.mozilla.org/en-US/docs/Archive/Misc_top_level/Same-origin_policy_for_file:_URIs) for additional details. The console script `odmlview` provides a local webserver that is able to properly serve odML XML files from a local directory and render them correctly, if the appropriate stylesheets are present in the same directory.
20+
21+
```
22+
'odmlview' sets up a minimal webserver to view odml files saved in the
23+
XML format via the webbrowser. After it is started, the webserver will
24+
open a new tab in the default webbrowser and display the content of
25+
the directory the server was started from. odML files can then be
26+
viewed from there.
27+
To properly render XML, an odML file may contain the element
28+
'<?xml-stylesheet type="text/xsl" href="odmlDocument.xsl"?>' where the
29+
'odmlDocument.xsl' stylesheet should reside in the same directory as the
30+
odML file to be rendered. By using the '--fetch' flag the latest version
31+
of this stylesheet will be downloaded from `templates.g-node.org` to
32+
the current directory when starting up the service.
33+
```
34+
35+
## 'pyyaml' dependency update
36+
The `pyyaml` dependency has been changed to the non-breaking beta version 4.2b4. See issue #291 for details.
37+
38+
## Minor changes, updates and fixes
39+
- odML entity IDs are automatically added when converting from odML version 1 to odMl version 1.1 for `Document`, `Section` and `Property` elements. If an ID already exists, it stays the same, if it is compatible with the Python UUID types. Otherwise (also if empty) a new ID is created for the odML entity.
40+
- `Property` can now be set as `int` with value `0`. See issue #314 for details.
41+
- appending and extending of `Property` values of dtypes `person`, `url` and `text` is now possible. See issue #318 for details.
42+
- the default `RDFWriter` format is set to `turtle`. See issue #214 for details.
43+
- the `RDFWriter` now checks for a given file extension within the RDF document name if accidentally given there. See issue #213 for details.
44+
- the `RDFWriter` now throws a `ValueError` if an unsupported RDF format is given. See issue #215 for details.
45+
- the `XMLReader` now properly handles entity creation failures when started with option `ignore_errors=True`. See issue #276 for details.
46+
- the `pprint` method has been added to `Document` to print while document section. See issue #319 for details.
47+
- the README file has been changed from `rst` to the `md` format.
48+
- the current tutorial has been updated to include latest changes.
49+
- the automated builds have been updated to include Python versions 3.7 and 3.8; version 3.4 has been removed since it is no longer supported on travis.
50+
951

1052
# Version 1.4.2
1153

0 commit comments

Comments
 (0)