You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+46-1Lines changed: 46 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,52 @@ until the next release.
5
5
6
6
# Latest changes in master
7
7
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
+
## Console script 'odmlconversion' is renamed
36
+
The console script `odmlconversion` is renamed to `odmlconvert`. For backwards compatibility the script will be available as `odmlconversion` with a deprecation notice.
37
+
38
+
## 'pyyaml' dependency update
39
+
The `pyyaml` dependency has been changed to the non-breaking beta version 4.2b4. See issue #291 for details.
40
+
41
+
## Minor changes, updates and fixes
42
+
- 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.
43
+
-`Property` can now be set as `int` with value `0`. See issue #314 for details.
44
+
- appending and extending of `Property` values of dtypes `person`, `url` and `text` is now possible. See issue #318 for details.
45
+
- the default `RDFWriter` format is set to `turtle`. See issue #214 for details.
46
+
- the `RDFWriter` now checks for a given file extension within the RDF document name if accidentally given there. See issue #213 for details.
47
+
- the `RDFWriter` now throws a `ValueError` if an unsupported RDF format is given. See issue #215 for details.
48
+
- the `XMLReader` now properly handles entity creation failures when started with option `ignore_errors=True`. See issue #276 for details.
49
+
- the `pprint` method has been added to `Document` to print while document section. See issue #319 for details.
50
+
- the README file has been changed from `rst` to the `md` format.
51
+
- the current tutorial has been updated to include latest changes.
52
+
- 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.
0 commit comments