Releases: SINTEF/dlite
v0.3.12 Ontology-based mappings
Throughout update of mappings.py
* Added the Step class to represent different mapping routes and easy selection of the best one
* Added cost for different routes for automatic suggestion and sorting of routes
* Handle units correctly
* Added functions for instantiating dlite instances.
* Use the triplestore sub-package - use a Triplestore instance instead of a list of tuples
* Also ensured that functions IRIs does not change between sessions, via the new function_id() help function.
* Made MappingError a subclass of DLiteError as suggested by Francesca.
* Added getprop() method to metadata for easy access to its properties.
* Infer function_repo from triplestore.
* Added instantiate() in favour or the old and now deprecated make_instance()
Changelog
v0.3.12 (2022-08-04)
Closed issues:
- Solve the problem in workflow 3 in the dehydrogenation example #205
Merged pull requests:
- Updated the dehydrogenation example to match changes in the datamodel ontology #285 (jesper-friis)
- Update mappings to use new triplestore #284 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.11
Add changelog for v0.3.10
v0.3.10
What's Changed
- Remove iri by @jesper-friis in #246
- Implemented calculation of sha3 hash from instance content by @jesper-friis in #245
- Fixed some memory leaks by @jesper-friis in #247
- Added support for properties referring to instances (aka. structured collection) by @jesper-friis in #253
- Removed UUID from calculation of hash. by @jesper-friis in #255
- Deploy documentation by @jesper-friis in #256
- Improve documentation by @jesper-friis in #257
- Added link to documentation from top of README file by @jesper-friis in #262
- rdflib storage by @jesper-friis in #265
- Improved error reporting from Python plugins by @jesper-friis in #266
- Changed default JSON serialisation from Python to SOFT7 by @jesper-friis in #258
- Check for stream errors before calling assert by @jesper-friis in #270
- Fixed deprecation warnings by @jesper-friis in #271
- Implemented a triplestore Python sub-package by @jesper-friis in #276
- Cleaned up Python interface to collections and added more tests. by @jesper-friis in #283
- Added some documentation about how to start a postgresql server and enable the tests by @jesper-friis in #280
- Added DOME 4.0 to acknowledgement by @jesper-friis in #287
- Converted C sources to pure ASCII to avoid problems with Visual Studio. by @jesper-friis in #288
- Safe type casting by @jesper-friis in #289
Full Changelog: v0.3.9...v0.3.10
v0.3.9
Wider arch support
DLite now has built wheels (binary installation files) for a wider range, including 32-bit newer Linux distros similar to CentOS 7.
Changelog
v0.3.9 (2022-04-27)
Fixed bugs:
- Release workflow is failing #251
- psycopg2-binary install failing in CI #249
- Fix build wheel image for manylinux2014_i686 #240
Closed issues:
- Ensure that collection labels are unique #223
Merged pull requests:
- Remove pip cache folder #252 (CasperWA)
- Fix
manylinux2010
psycopg2-binary
issue #250 (CasperWA) - Added option
force
to replace an existing instance in a collection. #248 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.8
- Made Collections a proper subclass of Instance in the Python interface
- allows to add collections to collections from Python
- removes the need to convert between collections and instances
- made all instance methods available for collections
- Allowed the use of pathlib.Path for file paths in addition to pure strings in the Python interface
- Bug fixes
Changelog
v0.3.8 (2022-03-21)
Closed issues:
- Python interface - make Collection a true subclass of Instance #242
- Python-plugin to accept Posix paths and not only strings #241
- Only build Docker building images if newer parent image exists #219
Merged pull requests:
- Fix 241 #244 (jesper-friis)
- Fix 242 collection #243 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.7
Changelog
v0.3.7 (2022-03-15)
Fixed bugs:
Closed issues:
- Use the requirements.txt as a hash instead of the github SHA for the cache #238
- Speed up CI build wheel for musllinux #226
Merged pull requests:
- Use hash for
requirements.txt
instead of git SHA #239 (CasperWA) - Remove empty folders for publishing distributions #237 (CasperWA)
- Fix weekly image builds #233 (CasperWA)
- Use cache for numpy in testing wheel #231 (CasperWA)
* This Changelog was automatically generated by github_changelog_generator
v0.3.6
Changelog
v0.3.6 (2022-03-14)
Fixed bugs:
- Deploy build failing on Windows #234
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator
v0.3.5
Changelog
v0.3.5 (2022-03-14)
Closed issues:
- Fix failing deployment of new release on pypi #229
Merged pull requests:
- Fix failing CD for release on PyPI #230 (CasperWA)
- Added Metadata to Python interface #228 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.4
Distributed dlite as dlite-python on pypi.
Changelog
v0.3.4 (2022-03-12)
Implemented enhancements:
- Use the serialize Python package to support several generic serialisation formats #40
Fixed bugs:
Closed issues:
- Fix references in README.md #215
- pip installing from GitHub fails for Python3.9 on Windows #209
- Reading dlite blob data from Python hex-encoded string #186
- Make dlite read and write SOFT7 json serialisation format #185
- Make DLiteStorageBase and DLiteMappingBase available from the python api #182
- Add keyword argument support to SWIG-generated code #176
- Deploy dlite on pypi #173
- Fix
pip install .
from system python on linux #171 - Read collection from file #164
- Ensure a single global state in err.c #163
- Find out why MSVC segfaults when FreeLibrary() is called when a plugin is unloaded #156
- Add python tests suite for reading/writing different storage types and file formats #138
- More semantic naming of plugin_path_delete() and similar functions #128
- Set up automatical deployment #123
- Add generic example showing how mapping to ontologies #83
Merged pull requests:
- Added set_property_from_string() and get_property_as_string() methods to dlite.Instance #227 (jesper-friis)
- Fixed bug in the python API for storage.save() #224 (jesper-friis)
- Build and release DLite-Python #217 (CasperWA)
- Fixed documentation links - doxygen doesn't like hyphens #216 (jesper-friis)
- Added workaround to datamodel, see the comment added to the get() method #214 (jesper-friis)
- Fixed deprecated old cmake CMP0078 policy #213 (jesper-friis)
- Cleanup keyword arguments #212 (jesper-friis)
- Added datamodel + cleaned up some issues #211 (jesper-friis)
- Make workflow3 run in dehydrogenation example. #210 (francescalb)
- Suggested update for PR #203 #208 (jesper-friis)
- Added support for skipping python tests if they exit with return code 44 #207 (jesper-friis)
- Support SOFT7 json serialisation format #206 (jesper-friis)
- Ensure to overwrite existing entity #204 (jesper-friis)
- Python test system for storages #203 (TorgeirUstad)
- Swig keywords #202 (kriwiik)
- The crosscompile CI test takes too long. Changed it to only run nightly #199 (jesper-friis)
- Test dehydrogenation #198 (jesper-friis)
- Fixed issue #146 Building without Python support fails #197 (jesper-friis)
- Added table-of-content to README #196 (jesper-friis)
- Fixed factory (I hope :-) #195 (jesper-friis)
- Fixed the issue that array arguments should not be None #194 (jesper-friis)
- Updated README file #193 (jesper-friis)
- Read blob data from Python #187 (jesper-friis)
- Bson plugin #184 (TorgeirUstad)
- Freeing correct pointer and added a valgrind suppression #183 (jesper-friis)
- Fixed bug in plugin.c causing memory leaks (at best) #181 (jesper-friis)
- Quoted Windows paths in doc/build-with-vs.md to not confuse doxygen #180 (jesper-friis)
- Python bindings to inspect dlites internal storage #177 (pscff)
- WIP Global error state #172 (jesper-friis)
- WIP Dehydrogenation demo #169 (francescalb)
* This Changelog was automatically generated by github_changelog_generator
v0.3.1
Changes:
- got rid of the jansson dependency - the JSON storage plugin is now always available (JSMN is now used for parsing json, while dlite itself implements serialising)
- manage a single global state that is shared with dynamic loaded plugins. This allow the plugins to link dlite statically, reducing library search path issues, especially on Windows
- json files with immutable entities are not modified by default
- fixed issue with loading collections
- fixed issue python interface to dlite search paths
- fixed several other bugs