Releases: SINTEF/dlite
v0.5.2
What's Changed
- Release binary package for python 3.12 by @jesper-friis in #777
- Rename dims to shape throughout dlite by @alfredoisg in #774
Full Changelog: v0.5.1...v0.5.2
Changelog
v0.5.2 (2024-02-14)
Closed issues:
- Rename dims to shape throughout dlite #192
Merged pull requests:
- Release binary package for python 3.12 #777 (jesper-friis)
- Rename dims to shape throughout dlite #774 (alfredoisg)
* This Changelog was automatically generated by github_changelog_generator
v0.5.1
What's Changed
Main change is unit support when accessing and assigning instance properties.
Other changes:
- Removed some errors in html generation using doxygen by @jesper-friis in #727
- Modify the mongodb storage by @terence-coudert in #772
- Unit support when accessing and assigning properties by @jesper-friis in #744
- Revert github download/upload artifacts actions back to v3 by @jesper-friis in #776
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
The relations in a collection now has a fourth field, the datatype in case the object is a literal. This makes it possible to use a collection as a triplestore without loss of information. The version is bumped to v0.5 since this creates a not fully backward compatible change in the C code.
Other changes include:
- Bump actions by @dependabot
- Fix potential crash rdf plugin by @jesper-friis in #759
- Update doc requirements by @jesper-friis in #775
- Fix loading collection with instance_from_dict() by @jesper-friis in #749
- Move test entities and input and output files to sub-directories by @jesper-friis in #731
- Add datatype to collection by @jesper-friis in #755
- [Auto-generated] Update dependencies by @TEAM4-0 in #725
Full Changelog: v0.4.6...v0.5.0
Changelog
v0.5.0 (2024-01-24)
Closed issues:
- Cannot load collection with instance_from_dict() #750
- Add datatype to collection #741
- Move all entities used for tests in the entities folder #689
Merged pull requests:
- Update doc requirements #775 (jesper-friis)
- Bump actions/cache from 3 to 4 #771 (dependabot[bot])
- Update sphinx-copybutton requirement from ~=0.5.1 to ~=0.5.2 #766 (dependabot[bot])
- Bump SINTEF/ci-cd from 2.7.1 to 2.7.2 #764 (dependabot[bot])
- Update sphinx-toggleprompt requirement from ~=0.4.0 to ~=0.5.2 #763 (dependabot[bot])
- Fix invalid db.xml file can crash rdf plugin #759 (jesper-friis)
- Add datatype to collection #755 (jesper-friis)
- Bump actions/deploy-pages from 3 to 4 #752 (dependabot[bot])
- Bump actions/upload-pages-artifact from 2 to 3 #751 (dependabot[bot])
- Fix loading collection with instance_from_dict() #749 (jesper-friis)
- Bump actions/upload-artifact from 3 to 4 #747 (dependabot[bot])
- Bump actions/download-artifact from 3 to 4 #746 (dependabot[bot])
- Bump SINTEF/ci-cd from 2.6.0 to 2.7.1 #740 (dependabot[bot])
- Bump actions/setup-python from 4 to 5 #737 (dependabot[bot])
- Bump actions/deploy-pages from 2 to 3 #735 (dependabot[bot])
- Bump actions/configure-pages from 3 to 4 #734 (dependabot[bot])
- Move test entities and input and output files to sub-directories #731 (jesper-friis)
- [Auto-generated] Update dependencies #725 (TEAM4-0)
- Update sphinx-design requirement from ~=0.3.0 to ~=0.5.0 #724 (dependabot[bot])
- Update sphinxcontrib-plantuml requirement from ~=0.24 to ~=0.27 #723 (dependabot[bot])
- Update sphinx-book-theme requirement from ~=0.3.3 to ~=1.0.1 #722 (dependabot[bot])
- Update sphinx requirement from <5,>=4.5.0 to >=4.5.0,<8 #721 (dependabot[bot])
* This Changelog was automatically generated by github_changelog_generator
v0.4.6
What's Changed
- Fix typo in CMakeLists.txt when installing dlite-validate by @jesper-friis in #703
- Do not free the librdf world if called from atexit handler. by @jesper-friis in #700
- Changed assertment for invalid json to error by @jesper-friis in #698
- Updated setup.py to read requirements from requirements.txt by @jesper-friis in #697
- Updated gitignore files by @jesper-friis in #695
- Update nbclient requirement from <0.9,>=0.2 to >=0.2,<0.10 by @dependabot in #707
- Automatic detect virtualenv by @jesper-friis in #696
- Added uninstall cmake target by @jesper-friis in #694
- Avoid adding new states to session while freeing all states. by @jesper-friis in #713
- Cleaned up checking whether we are in an atexit handler by @jesper-friis in #718
- Patching virtualenv activate.sh for multiple Python versions by @jesper-friis in #664
- Updated setting default CMAKE_INSTALL_PREFIX such that it is only set once by @jesper-friis in #715
- Created a human readable error message for missing units. by @jesper-friis in #708
- Improved error codes by @jesper-friis in #719
- Added refcounting to storages by @jesper-friis in #716
- Make json serialisation of collections more readable by @jesper-friis in #726
- Applied general fixes from PR 667 by @jesper-friis in #720
- Updated README file for python storage plugins by @jesper-friis in #733
- Fix "make uninstall" by @jesper-friis in #728
- Apply last changes from PR #667 by @jesper-friis in #736
- Added tests for both new and old instance formats by @jesper-friis in #730
- Added high-quality random number generators by @jesper-friis in #745
- Added dockerfile for building with Ubuntu and minimal requirements by @jesper-friis in #729
- Added image plugin by @jesper-friis in #732
- Print DLite errors in color by default by @jesper-friis in #748
- Try to test for Python 3.12 on Windows by @jesper-friis in #742
- Added support for Python 3.12 via manylinux_x_y by @jesper-friis in #739
- Improve compiling on Ubuntu by @jesper-friis in #753
- Avoid duplication of error messages by @jesper-friis in #758
- Fix issues when compiling without Python by @jesper-friis in #761
- Updated error documentation by @jesper-friis in #760
Full Changelog: v0.4.5...v0.4.6
Changelog
v0.4.6 (2024-01-18)
Closed issues:
- Avoid duplication of error messages #757
- make uninstall does not remove dlite-validate #714
- Tests are not skipped when building with minimal requirements #711
- Install blas on musl linux docker image #705
- Add more context to error messages #704
- test for old entities #702
- requirements in setup.py and requirements.txt #693
- Invalid entity (json file) can crash DLite #691
- Update the storages readme with all available plugins in native dlite #690
- Copy image storage plugin from TEM example to default plugins #685
Merged pull requests:
- Fix issues when compiling without Python #761 (jesper-friis)
- Updated error documentation #760 (jesper-friis)
- Avoid duplication of error messages #758 (jesper-friis)
- Improve compiling on Ubuntu #753 (jesper-friis)
- Print DLite errors in color by default #748 (jesper-friis)
- Added high-quality random number generators #745 (jesper-friis)
- Try to test for Python 3.12 on Windows #742 (jesper-friis)
- Added support for Python 3.12 via manylinux_x_y #739 (jesper-friis)
- Apply last changes from PR #667 #736 (jesper-friis)
- Updated README file for python storage plugins #733 (jesper-friis)
- Added image plugin #732 (jesper-friis)
- Added tests for both new and old instance formats #730 (jesper-friis)
- Added dockerfile for building with Ubuntu and minimal requirements #729 (jesper-friis)
- Fix "make uninstall" #728 (jesper-friis)
- Make json serialisation of collections more readable #726 (jesper-friis)
- Applied general fixes from PR 667 #720 (jesper-friis)
- Improved error codes #719 (jesper-friis)
- Cleaned up checking whether we are in an atexit handler #718 (jesper-friis)
- Added refcounting to storages #716 (jesper-friis)
- Updated setting default CMAKE_INSTALL_PREFIX such that it is only set once #715 (jesper-friis)
- Avoid adding new states to session while freeing all states. #713 (jesper-friis)
- Bump SINTEF/ci-cd from 2.5.3 to 2.6.0 #709 (dependabot[bot])
- Created a human readable error message for missing units. #708 (jesper-friis)
- Update nbclient requirement from <0.9,>=0.2 to >=0.2,<0.10 #707 (dependabot[bot])
- Fix typo in CMakeLists.txt when installing dlite-validate #703 (jesper-friis)
- Update sphinxcontrib-plantuml requirement from ~=0.26 to ~=0.27 #701 (dependabot[bot])
- Do not free the librdf world if called from atexit handler. #700 (jesper-friis)
- Colourful errors #699 (jesper-friis)
- Changed assertment for invalid json to error #698 (jesper-friis)
- Updated setup.py to read requirements from requirements.txt #697 (jesper-friis)
- Automatic detect virtualenv #696 (jesper-friis)
- Updated gitignore files #695 (jesper-friis)
- Added uninstall cmake target #694 (jesper-friis)
- Bump SINTEF/ci-cd from 2.5.2 to 2.5.3 #679 (dependabot[bot])
- Patching virtualenv activate.sh for multiple Python versions #664 (jesper-friis)
- Bump psycopg2-binary from 2.9.8 to 2.9.9 #663 (dependabot[bot])
- Bump SINTEF/ci-cd from 2.5.1 to 2.5.2 #662 ([de...
v0.4.5
What's Changed
- Removed dependency on oldest-supported-numpy by @jesper-friis in #692
Full Changelog: v0.4.4...v0.4.5
Changelog
v0.4.5 (2023-11-03)
Merged pull requests:
- Removed dependency on oldest-supported-numpy #692 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.4.4
What's Changed
- Make dlite.Instance.copy() return the correct type by @jesper-friis in #682
- Added option
single
to Instance.asdict() allowing to saving in multi-entity format by @jesper-friis in #653 - Minor documentation clarifications by @jesper-friis in #675
- Fix inferring dimensionality of ref-type array properties by @jesper-friis in #677
- Build dlite docker containers for python 3.12 by @jesper-friis in #681
- Avoid running TEM demo as a test if dependencies are not fulfilled by @jesper-friis in #684
- Added test utilities by @jesper-friis in #687
- Fixed segfault caused by misspelled shape by @jesper-friis in #688
Full Changelog: v0.4.3...v0.4.4
Changelog
v0.4.4 (2023-11-01)
Closed issues:
- Misspelling of shape in the datamodel may cause DLite to crash #686
- Add tests for utility function get_referred_instances() #673
- saving instance asdict cannot be read afterwards #651
Merged pull requests:
- Fixed segfault caused by misspelled shape #688 (jesper-friis)
- Added test utilities #687 (jesper-friis)
- Avoid running TEM demo as a test if dependencies are not fulfilled #684 (jesper-friis)
- Make dlite.Instance.copy() return the correct type #682 (jesper-friis)
- Build dlite docker containers for python 3.12 #681 (jesper-friis)
- Fix inferring dimensionality of ref-type array properties #677 (jesper-friis)
- Minor documentation clearifications #675 (jesper-friis)
- Added option
single
to Instance.asdict() allowing to saving in multi-entity format #653 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.4.3
What's Changed
- Added utility function get_referred_instances() by @jesper-friis in #672
- Fixed issue with creating metadata by @jesper-friis in #640
- Improved handling of special cases by @jesper-friis in #671
- Cleaned up mappings by @jesper-friis in #639
- Ensure that only metadata is callable by @jesper-friis in #676
- Added extra requirements for property mappings by @jesper-friis in #648
- Catch missed errors during instance initiation by @jesper-friis in #665
- Updated requirements in TEM-demo such that it should work out of the box by @jesper-friis in #657
- Cleaned up mappings by @jesper-friis in #678
Full Changelog: v0.4.2...v0.4.3
Changelog
v0.4.3 (2023-10-28)
Fixed bugs:
- All CI tests fail during building HTML documentation with Sphinx #666
- DLite without
full
not working #629
Closed issues:
Merged pull requests:
- Cleaned up mappings #678 (jesper-friis)
- Ensure that only metadata is callable #676 (jesper-friis)
- Added utility function get_referred_instances() #672 (jesper-friis)
- Improved handling of special cases #671 (jesper-friis)
- Catch missed errors during instance initiation #665 (jesper-friis)
- Updated requirements in TEM-demo such that it should work out of the box #657 (jesper-friis)
- Added extra requirements for property mappings #648 (jesper-friis)
- Fixed issue with creating metadata #640 (jesper-friis)
- Cleaned up mappings #639 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.4.2
What's Changed
- 666 sphinx failure by @jesper-friis in #670
- Removed psycopg2-binary from requirement_full.txt by @jesper-friis in #668
Full Changelog: v0.4.1...v0.4.2
Changelog
v0.4.2 (2023-10-12)
Fixed bugs:
- Seg fault for v0.4 #660
Merged pull requests:
- 666 sphinx failure #670 (jesper-friis)
- Removed psycopg2-binary from requirement_full.txt #668 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.4.1
What's Changed
- Clean up CI workflows for auto-updating dependencies by @CasperWA in #616
- Don't use
setup.py XXX
by @CasperWA in #614 - Bump actions/setup-python from 3 to 4 by @dependabot in #551
- Made it easy to silence specific DLite error messages both in C and Python by @jesper-friis in #641
- Iterate over storage plugins by @jesper-friis in #643
- Support quoted relations in collection by @jesper-friis in #633
- Tem example by @jesper-friis in #612
- Added new test for issue #543 by @jesper-friis in #649
Full Changelog: v0.4.0...v0.4.1
Changelog
v0.4.1 (2023-09-29)
Fixed bugs:
- DLite without
full
not working #629
Closed issues:
- Superfluous file in .github #615
- Fix failing dependabot PRs #604
- Replace running setup.py #558
- Update mappings in DLite to use tripper #499
Merged pull requests:
- Added new test for issue #543 #649 (jesper-friis)
- Iterate over storage plugins #643 (jesper-friis)
- Made it easy to silence specific DLite error messages both in C and Python #641 (jesper-friis)
- Support quoted relations in collection #633 (jesper-friis)
- Clean up CI workflows for auto-updating dependencies #616 (CasperWA)
- Don't use
setup.py XXX
#614 (CasperWA) - Tem example #612 (jesper-friis)
- Bump actions/setup-python from 3 to 4 #551 (dependabot[bot])
* This Changelog was automatically generated by github_changelog_generator
v0.4.0
Major change in DLite v0.4.0
Minimal installation
Running pip install dlite-python
now does a minimal installation with NumPy as the only dependency.
To retain the former behaviour of get all optional dependencies needed by the different plugins, install DLite with
pip install dlite-python[full]
Improved error
Errors at C-level now raises corrosponding subclasses of DLiteError.
It is not possible to see traceback from errors occuring within Python storage plugins by setting the DLITE_PYDEBUG environment variable.
Merged pull requests
- 580 error messages from python plugins by @jesper-friis in #585
- Fix segfault when calling Instance.to_bytes() for drivers not supporting memsave by @jesper-friis in #588
- Code cleanup by @jesper-friis in #591
- Fix gcc warning by @jesper-friis in #596
- Cleaned up docstrings in the YAML storage plugin by @jesper-friis in #590
- Updated formatting of entities by @jesper-friis in #586
- Added support for Pydantic 2.x by @jesper-friis in #592
- Added --package option to patch-activate.sh script by @jesper-friis in #598
- Test http plugin by @jesper-friis in #593
- Install cmake with pip by @jesper-friis in #608
- Fix iterate over storage plugin names by @jesper-friis in #607
- Run python files through black by @jesper-friis in #610
- Make figures show up correctly in README on PyPI by @jesper-friis in #611
- Better error messages from within plugins by @jesper-friis in #613
- Reduce requirements by @jesper-friis in #594
Full Changelog: v0.3.22...v0.4.0
Changelog
v0.4.0 (2023-08-24)
Fixed bugs:
Closed issues:
- Remove test_python_bindings #605
- Install Python package under lib64/ on systems supporting that #597
- Instance.to_bytes() segfaults if driver is not supported #587
- Support for pydantic 2.0 #574
- storages/python/python-storage-plugins/http.py needs requests #569
- Clean up requirements #517
- Shorten build time for musl linux #362
Merged pull requests:
- Better error messages from within plugins #613 (jesper-friis)
- Make figures show up correctly in README on PyPI #611 (jesper-friis)
- Run python files through black #610 (jesper-friis)
- Install cmake with pip #608 (jesper-friis)
- Fix iterate over storage plugin names #607 (jesper-friis)
- Added --package option to patch-activate.sh script #598 (jesper-friis)
- Fix gcc warning #596 (jesper-friis)
- Reduce requirements #594 (jesper-friis)
- Test http plugin #593 (jesper-friis)
- Added support for Pydantic 2.x #592 (jesper-friis)
- Code cleanup #591 (jesper-friis)
- Cleaned up docstrings in the YAML storage plugin #590 (jesper-friis)
- Python errors #589 (jesper-friis)
- Fix segfault when calling Instance.to_bytes() for drivers not supporting memsave #588 (jesper-friis)
- Updated formatting of entities #586 (jesper-friis)
- 580 error messages from python plugins #585 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator