v0.3.0
[0.3.0] - 2018-02-16
Added
-
[Datasets] A Dataset
xml_tree
may be set with an ElementTree. [#235] -
[Resources] Updated SSOT to latest content as of 2017-11-14. [#237]
-
[Resources] Remove SSOT organisation test files that are not valid XML. [IATI/IATI-Schemas#376, #242]
-
[Resources] Add
get_ruleset_paths()
andget_codelist_mapping_paths()
to improve consistency of resources module. [#260] -
[Resources] Add Schemas, Codelists and Rulesets for v2.03. [#272]
-
[Schemas] Test that multiple Rulesets can be added to a Schema. [#254]
-
[Utility] Non-resource files may be loaded using utility functions. [#235]
-
[Validation]
full_validation()
now checks whether a Dataset is IATI XML. [#239] -
[Validation] Test that SSOT organisation test files are valid IATI XML. [#242]
Changed
-
[Codelists]
complete
attribute included in equality comparison and hash calculations. [#247] -
[Codelists] Codes must have a value to instantiate. [#247]
-
[Codelists] A number of Codelists have changed from Embedded to Non-Embedded. [IATI/IATI-Codelists-NonEmbedded#220, #272]
-
[Defaults] When a specific version is not requested, it will now assume v2.03 rather than v2.02. [#272]
-
[Resources] Move
load_as_x
functions toiati.utilities
. [#235] -
[Resources] Rename version-specific resource folders to reduce ambiguity. [#217]
-
[Resources] Rename various resource functions to improve clarity. [#259]
-
[Rulesets]
validate_ruleset()
changed from public to private function. [#246] -
[Rulesets]
case
attribute on a Rule changed from public to private. [#252] -
[Rulesets]
context
attribute on a Rule changed to read-only property. [#253] -
[Validation]
_check_is_iati_xml()
will raise aTypeError
when given a non-dataset. This replaces an undocumentedAttributeError
. [#239]
Removed
-
[Documentation] Stop tracking auto-generated docs templates. [#236]
-
[Rulesets]
ruleset
attribute removed from Rulesets. [#246] -
[Tests]
iati.tests.resources.get_test_ruleset_path()
removed due to no calls to function. [#256]
Fixed
-
[Codelists] Fixed impossible XPath in Codelist Mapping File. [IATI/IATI-Codelists#119, #229]
-
[Codelists] Sort Codes in a Codelist before hashing so that Codelists with the same Codes always have the same hash. [#247]
-
[Defaults] Test and document
ValueError
s that can be raised by functions iniati.default
. [#241] -
[Rulesets]
name
attribute on a Rule changed to read-only property. [#251] -
[Rulesets] Equal Rulesets are now deemed to be equal. [#249]
-
[Validation] Prevent
XPathEvalError
s occurring when given a Codelist Mapping XPath that identifies something other than an attribute. [#229] -
[Validation] Datasets with an
xml:lang
attribute no longer raise aKeyError
upon performing Codelist validation against a Schema populated with the Language Codelist. [#226] -
[Tools] Updated dependencies to latest version as of 2018-01-25 and fixed newly identified linting issue. [#269]