Releases: SINTEF/dlite
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
v0.3.22
What's Changed
- Avoid calling a plugin from a plugin by @jesper-friis in #578
- Added "str" as an alias for "string" by @jesper-friis in #576
- Cleanup plugins by @jesper-friis in #583
- Updated README file in storage plugin example. by @jesper-friis in #577
- Example of how to serialise data models to RDF by @jesper-friis in #581
- Improved error reporting from Python by @jesper-friis in #584
Full Changelog: v0.3.21...v0.3.22
Changelog
v0.3.22 (2023-07-14)
Implemented enhancements:
Fixed bugs:
- save entity to json, uuid not included #278
Closed issues:
- Error messages from Python plugins #580
- Add "str" as alias for "string" in datamodel types #571
- Update README in storage plugin example #570
- [Docs part] 1. Getting started #460
- [Docs part] 1.1.2. Features #457
- [Docs part] 1.2. Installation instructions #456
- [Docs part] 1.2.1. Setup instructions #455
- [Docs part] 1.2.2. Build instructions #454
- [Docs part] 1.3. Tutorial #453
- [Docs part] 2. User guide #452
- [Docs part] 2.2. Data types #450
- [Docs part] 2.3. Mappings #449
- [Docs part] 2.4. Collections #448
- [Docs part] 2.5. Bindings #447
- [Docs part] 2.6. Transactions #446
- [Docs part] 2.8. Environment variables #444
- [Docs part] 2.9. Code generation #443
- [Docs part] 3. API Reference #442
- [Docs part] 4. Contributor's Guide #441
- [Docs part] 4.1. Writing storage plugins #440
- [Docs part] 4.2. Writing mapping plugins #439
- [Docs part] 4.3. Documentation guideline #438
- [Docs part] 4.4. Testing examples in the documentation #437
- [Docs part] 4.5. Tips and tricks #436
- [Docs part] 5. Acknowledgement #435
- Expand on documentation contribution guidelines #432
- Resolve cross-references #417
- Duplicate object descriptions #416
- Generate sphinx rst-files and folders from index.xml #405
- Document the mappings example #403
- Document property mappings #399
- Update installation page #394
- Add page about type system #393
- Document instance mappings #392
- Tutorial #391
- Review existing examples #388
- Clean up README file #387
- Document how to install within a python environment #338
- Test property mappings #301
- Building via CMake using the Ninja Generator fails with multiple rules for dlite.py #144
- Make plugin for Stardog #136
Merged pull requests:
- Improved error reporting from Python #584 (jesper-friis)
- Cleanup plugins #583 (jesper-friis)
- Example of how to serialise data models to RDF #581 (jesper-friis)
- Updated PR template #579 (jesper-friis)
- Avoid calling a plugin from a plugin #578 (jesper-friis)
- Updated README file in storage plugin example. #577 (jesper-friis)
- Added "str" as an alias for "string" #576 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.21
What's Changed
- Added DOI badge to readme by @jesper-friis in #539
- Update readme by @jesper-friis in #542
- Added a button to toggle on or off the prompt and output in Python examples by @jesper-friis in #544
- New redis storage plugin by @jesper-friis in #549
- Added two additional tests for dlite-type by @jesper-friis in #545
- Update yaml plugin by @jesper-friis in #505
- Added script that patches virtual environment activate script by @jesper-friis in #550
- MinIO plugin by @jesper-friis in #555
- Fixed memory bugs by @jesper-friis in #560
- Replaced some occurrences of
dims
by @jesper-friis in #561 - cmake with virtualenv by @jesper-friis in #559
- Fixed some typos in the redis plugin by @jesper-friis in #554
- Improved error message from Collection.get_instances() by @jesper-friis in #567
- Convince redis to not hang by @jesper-friis in #562
- Updated requirements with versions by @francescalb in #573
- Improved error reporting by @jesper-friis in #563
- Check BSON encoding/decoding of doubles by @jesper-friis in #557
- Python interface by @jesper-friis in #565
- New template-based plugin for generating files by @jesper-friis in #568
Full Changelog: v0.3.20...v0.3.21
Changelog
v0.3.21 (2023-07-12)
Closed issues:
- Fix issue with failing CI/CD workflows #572
- Inconsistent BSON encoding/decoding of doubles #556
- Set default dlite paths correctly when running from virtual environment #547
- Add plugin for redis #546
- Add LD_LIBRARY_PATH to activate script when installing DLite to a virtual Python environment #540
Merged pull requests:
- Updated requirements with versions #573 (francescalb)
- New template-based plugin for generating files #568 (jesper-friis)
- Improved error message from Collection.get_instances() #567 (jesper-friis)
- Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 #566 (dependabot[bot])
- Python interface #565 (jesper-friis)
- Improved error reporting #563 (jesper-friis)
- Convince redis to not hang #562 (jesper-friis)
- Replaced some occurrences of
dims
#561 (jesper-friis) - Fixed memory bugs #560 (jesper-friis)
- cmake with virtualenv #559 (jesper-friis)
- Check BSON encoding/decoding of doubles #557 (jesper-friis)
- MinIO plugin #555 (jesper-friis)
- Fixed some typos in the redis plugin #554 (jesper-friis)
- Added script that patches virtual environment activate script #550 (jesper-friis)
- New redis storage plugin #549 (jesper-friis)
- Added two additional tests for dlite-type #545 (jesper-friis)
- Added a button to toggle on or off the prompt and output in Python examples #544 (jesper-friis)
- Update readme #542 (jesper-friis)
- Added DOI badge to readme #539 (jesper-friis)
- Update yaml plugin #505 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.20
What's Changed
- Pin psycopg2-binary to v2.9.5 by @CasperWA in #530
- Add support for building Python 3.11 pip package by @lovfall in #521
- Workaround for new version of cmake not defining _VERSION_PATCH by @jesper-friis in #529
- Added --debug flag to dlite-validate by @jesper-friis in #508
- Allow specifying Python version when configuring DLite by @jesper-friis in #536
- Update GH Actions by @CasperWA in #533
- Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 by @dependabot in #538
- 501 pydantic dlite entity function by @jesper-friis in #516
- Fix infer_dimensions() by @jesper-friis in #535
- Update for deprecated features in Python 3.11 and SWIG 4.1 by @jesper-friis in #537
- Quickfix for assertion error in dlite_json_asprint() by @jesper-friis in #541
New Contributors
- @dependabot made their first contribution in #538
Full Changelog: v0.3.19...v0.3.20
Changelog
v0.3.20 (2023-05-26)
Implemented enhancements:
- Have a proper pydantic -> dlite entity function #501
Fixed bugs:
- Syntax error in dlite-codegen? #528
- A
Segmentation fault
occurs when used in OTEAPI #527 - ImportError with pip-installed DLite #519
Closed issues:
- 0.3.19 introduce error in ExecFlowDemo #534
- CI/CD GitHub Actions warnings #532
- Error with _dlite_infer_dimensions method #523
- Build python packages for Python 3.11 #520
Merged pull requests:
- Quickfix for assertion error in dlite_json_asprint() #541 (jesper-friis)
- Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 #538 (dependabot[bot])
- Update for deprecated features in Python 3.11 and SWIG 4.1 #537 (jesper-friis)
- Allow specifying Python version when configuring DLite #536 (jesper-friis)
- Fix infer_dimensions() #535 (jesper-friis)
- Update GH Actions #533 (CasperWA)
- Pin psycopg2-binary to v2.9.5 #530 (CasperWA)
- Workaround for new version of cmake not defining <project>_VERSION_PATCH #529 (jesper-friis)
- Add support for building Python 3.11 pip package #521 (lovfall)
- 501 pydantic dlite entity function #516 (jesper-friis)
- Added --debug flag to dlite-validate #508 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.19
DLite v0.3.19
DLite is a C implementation of the SINTEF Open Framework and Tools (SOFT), which is a set of concepts and tools for using data models (aka Metadata) to efficiently describe and work with scientific data.
The core of DLite is a framework for formalised representation of data described by data models (called Metadata or Entity in DLite). On top of this, DLite has a plugin system for various representations of the data in different formats and storages, as well as bindings to popular languages like Python, mappings to ontological concepts for enhanced semantics and a set of tools.
Documentation: SINTEF.github.io/dlite
Changelog
v0.3.19 (2023-04-18)
Fixed bugs:
- CI tests for example ex4 fails #509
Merged pull requests:
- Revert "Release v3.19" #531 (@CasperWA)
- Run dependent tests in correct order #525 (@jesper-friis)
- Entity service #524 (@jesper-friis)
- Increased the size of types with unspecified size. #522 (@jesper-friis)
- Dedicated test for ref type #514 (@jesper-friis)
- Asjson #513 (@jesper-friis)
- Added "integer" as a valid type name #511 (@jesper-friis)
- Updated ci-tests.yml to use cmake 3.25.2 #510 (@jesper-friis)
- Added overview figure to the top-level README file #507 (@jesper-friis)
- Fix handling of storage plugin query glob pattern. #506 (@jesper-friis)
- Documentation cleanup #504 (@jesper-friis)
- Mongodbatlas dlite #485 (@daniel-sintef)
* This Changelog was automatically generated by github_changelog_generator
v0.3.18
What's Changed
- Cleared Jupyter notebook output by @jesper-friis in #486
- Added documentation of type system. by @jesper-friis in #489
- 474 fix python documentation requirements by @alfredoisg in #490
- commented out private-members from autoapi_options in conf.py.in by @alfredoisg in #492
- Recursive directory creation for unit registry cache by @ajeklund in #496
- Create units_README.md by @ajeklund in #494
- Added properties keyword to metadata call() method by @jesper-friis in #503
Full Changelog: v0.3.17...v0.3.18
Changelog
v0.3.18 (2023-03-20)
Fixed bugs:
- Recursive directory creation for unit registry cache #495
- Sphinx documentation includes private objects #488
- Recursive directory creation for unit registry cache #496 (ajeklund)
Closed issues:
- Add a
properties
argument to the Metadata constructor #502 - README for pint unit registry generator #493
- Fix python documentation requirements #474
Merged pull requests:
- Added properties keyword to metadata __call__() method #503 (jesper-friis)
- Create units_README.md #494 (ajeklund)
- commented out _private-members_ from autoapi_options in conf.py.in #492 (alfredoisg)
- 474 fix python documentation requirements #490 (alfredoisg)
- Added documentation of type system. #489 (jesper-friis)
- Cleared Jupyter notebook output #486 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator
v0.3.17
What's Changed
- Bson representation by @jesper-friis in #383
- Cleaned up the last two memory leaks reported with valgrind when compiled without python by @jesper-friis in #384
- Improve documentation of dlite.Instance.call() by @jesper-friis in #410
- Added C-API documentation to the sphinx documentation project by @quaat in #404
- Removed duplicated declarations by @jesper-friis in #406
- Temporarily disable cancel-in-progess CI docs by @CasperWA in #420
- Update Sphinx config by @CasperWA in #415
- Improve error messages from invalid datamodels by @jesper-friis in #386
- Updated collection documentation by @jesper-friis in #408
- Do not install examples into the /share/dlite/ directory by @jesper-friis in #422
- Created table of contents for the documentation. by @ajeklund in #411
- Ensure that UUIDs are NUL-terminated by @jesper-friis in #427
- Guideline for how to contribute documentation by @jesper-friis in #402
- Made install rule for FORTRAN modules when FORTRAN bindings are built by @lovfall in #414
- Updated doc/tools.md by @jesper-friis in #425
- Fix issues in example 4 by @lovfall in #431
- Made close() optional in Python storage plugins by @jesper-friis in #464
- Bugfix: proper failure if storage iterator cannot be created. by @jesper-friis in #469
- Updated concepts.md by @jesper-friis in #407
- Consolidated all documentation into the docs folder by @quaat in #471
- Added documentation and example for how to write a Python storage plugin by @jesper-friis in #465
- Updated readme from OpenModel mappings demo by @jesper-friis in #473
- Extend the storage plugin api by @jesper-friis in #472
- Coding guidelines by @jesper-friis in #467
- Added dlite-validate script by @jesper-friis in #461
- Specify explicitly that we use fno to represent mapping functions by @jesper-friis in #481
- More homogen icons for the manual by @jesper-friis in #478
- Add PR template by @alfredoisg in #477
- Moved storage plugins documentation to the user guide by @quaat in #480
- Fixed path to logo by @jesper-friis in #487
- Describe how to add ld library path to virtualenv activate scrip by @alfredoisg in #483
- Tutorial (issue #391) by @alfredoisg and @kriwiik in #482
- Included tools to the pip package by @jesper-friis in #428
New Contributors
- @alfredoisg made their first contribution in #477
- @kriwiik made their first contribution in #477
Full Changelog: v0.3.16...v0.3.17
Changelog
v0.3.17 (2023-02-08)
Implemented enhancements:
- Install Fortran modules when Fortran binding are built #413
- API for accessing plugin documentation #335
- Triplestore backend to OntoRec/OntoKB #331
Fixed bugs:
- Remove Py files under built
mapping-plugins
folder #412 - Ensure that UUIDs are NUL-terminated #427 (jesper-friis)
- [DO NOT MERGE] Reverting the changes that breaks the postgresql tests #424 (jesper-friis)
Closed issues:
- storage plugins documentation #479
- Describe how to add LD_LIBRARY_PATH to virtualenv activate scrip #466
- Optional close() method in Python storage plugins #463
- Consolidate
doc
andpydoc
folders #430 - Include tools in the python package #426
- Guideline for how to contribute documentation #409
- Example 4 is not working properly #401
- Update and clean Sphinx configuration #400
- Describe doc/tools.md #398
- Document how to write Python storage plugins #397
- Update doc/collection.md #396
- Include the C documentation into the sphinx-generated documentation #395
- Create a table of content in doc/ #390
- Merge SOFT5 documentation into DLite #389
- Fix CI/CD issue in PR #375 #376
- Datamodel dimensions #353
- No identification of error in datamodel #352
- Add tests to the triplestore subpackage #341
- Simplify the storage plugin API #80
Merged pull requests:
- Fixed path to logo #487 (jesper-friis)
- 466 describe how to add ld library path to virtualenv activate scrip #483 (alfredoisg)
- 391 tutorial #482 (alfredoisg)
- Specify explicitely that we use fno to represent mapping functions #481 (jesper-friis)
- Moved storage plugins documentation to the user guide #480 (quaat)
- More homogen icons for the manual #478 (jesper-friis)
- Add PR template #477 (alfredoisg)
- Updated readme from OpenModel mappings demo #473 (jesper-friis)
- Extend the storage plugin api #472 (jesper-friis)
- Consolidated all documentation into the docs folder #471 (quaat)
- Bugfix: proper failure if storage iterator cannot be created. #469 (jesper-friis)
- Coding guidelines #467 (jesper-friis)
- Added documentation and example for how to write a Python storage plugin #465 (jesper-friis)
- Made close() optional in Python storage plugins #464 (jesper-friis)
- Added dlite-validate script #461 (jesper-friis)
- Fixed typo #433 (jesper-friis)
- 401 example 4 is not working properly #431 (lovfall)
- Included tools to the pip package #428 (jesper-friis)
- Updated doc/tools.md #425 (jesper-friis)
- Do not install examples into the <prefix>/share/dlite/ directory #422 (jesper-friis)
- Temporarily disable cancel-in-progess CI docs #420 (CasperWA)
- Update Sphinx config #415 (CasperWA)
- Made install rule for FORTRAN modules when FORTRAN bindings are built #414 (lovfall)
- Created table of contents for the documentation. #411 (ajeklund)
- Improve documentation of dlite.Instance.__call__() #410 ([jesper-friis](https://github.co...
v0.3.16
What's Changed
- Adding transactions by @jesper-friis in #260
- Added info about installing as dev in linux with dedicated py env. by @francescalb in #339
- Generate python api documentation by @quaat in #367
- Updated README by removing optional when dependency is needed fo build. by @francescalb in #345
- a bit more explicit that paths need to be manually set by @daniel-sintef in #347
- Improved error codes by @daniel-sintef in #348
- Fixed doxygen warnings by @jesper-friis in #359
- Added support for HDF5 v1.10+ by @jesper-friis in #357
- Fixed gcc warnings by @jesper-friis in #355
- Update CD - Docs workflow by @CasperWA in #370
- Ignore lines with the STRINGIFY() macro, which cppcheck suddenly started to compain about by @jesper-friis in #373
- Pint unit registry from ontologies by @ajeklund in #342
- Mapping function from collection by @jesper-friis in #375
- Added
metaid
argument to Collection.get_instances() by @jesper-friis in #374 - Give instances a default uri by @jesper-friis in #378
- Adding tips and tricks by @jesper-friis in #371
- Do not build documentation by default by @jesper-friis in #381
New Contributors
- @daniel-sintef made their first contribution in #347
Full Changelog: v0.3.15...v0.3.16
Changelog
v0.3.16 (2022-12-20)
Implemented enhancements:
- Support newer versions of HDF5 #356
- Fix new warnings from gcc 12.2.1 #354
- Populate unit DB from ontologies #320
Fixed bugs:
- Fix doxygen warning #358
Closed issues:
- Give instances a default uri #377
- Fix new cppcheck issue #372
- Generate Python API Documentation #366
- PR339 was merged and too early #344
- Triplestore SPARQL queries #336
Merged pull requests:
- Do not build documentation by default #381 (jesper-friis)
- Alternative to hack #379 #380 (jesper-friis)
- Give instances a default uri #378 (jesper-friis)
- Mapping function from collection #375 (jesper-friis)
- Added
metaid
argument to Collection.get_instances() #374 (jesper-friis) - Ignore lines with the STRINGIFY() macro, which cppcheck suddenly started to compain about #373 (jesper-friis)
- Adding tips and tricks #371 (jesper-friis)
- Update CD - Docs workflow #370 (CasperWA)
- 366 generate python api documentation #367 (quaat)
- Build against python3.7 #365 (jesper-friis)
- Updated badges on readme file #361 (jesper-friis)
- Fixed doxygen warnings #359 (jesper-friis)
- Added support for HDF5 v1.10+ #357 (jesper-friis)
- Fixed gcc warnings #355 (jesper-friis)
- Improved error codes #351 (daniel-sintef)
- Added clear description of expected return value from the Triplestore.query() method #349 (jesper-friis)
- Improved error codes #348 (daniel-sintef)
- a bit more explicit that paths need to be manually set #347 (daniel-sintef)
- Updated README by removing optional when dependency is needed fo build. #345 (francescalb)
- WIP: Pint unit registry from ontologies #342 (ajeklund)
- Qudt prefix #340 (jesper-friis)
- Added info about installing as dev in linux with dedicated py env. #339 (francescalb)
- Added OntoPy triplestore backend #329 (jesper-friis)
- Adding transactions #260 (jesper-friis)
* This Changelog was automatically generated by github_changelog_generator