Changelog¶
v0.7.0.dev6 (2024-11-25)¶
Patch update - avoid Pydantic v2.10¶
This version of Pydantic currently breaks a lot of functionality around the Url
models/classes.
Currently, we avoid v2.10.0 and v2.10.1. This means the v2.10.2 (when released) should open a dependabot PR and it can be tested.
Note, it should be tested from OTEAPI Services, because this is where it failed most recently.
Fixed bugs:
v0.7.0.dev5 (2024-11-25)¶
Fix pydantic
import issues¶
Minor patch release to fix imports from pydantic.networks
for the latest Pydantic version (2.10).
Fixed bugs:
v0.7.0.dev4 (2024-11-20)¶
Support Python 3.13¶
Add support for Python 3.13 in both the package metadata, but also through testing and minor code fixes.
Miscellaneous¶
Add MatCHMaker to the Acknowledgement section of the README.
Update Python dependencies and GitHub Actions.
Implemented enhancements:
- Support Python 3.13 #538
Merged pull requests:
- Support Python 3.13 #539 (CasperWA)
- Update acknowledgements #534 (Treesarj)
- Update acknowledgements #532 (Treesarj)
v0.7.0.dev3 (2024-09-09)¶
Extend customization for http(s)
download strategy¶
The http
/https
download strategy now supports several strategy-specific configurations for customizing the HTTP request.
DX updates¶
The CI/CD system has been overhauled, removing usage of the permanent dependencies branch and instead using dependabot's groups
feature.
Furthermore, Trusted Publishers for PyPI has been implemented.
Implemented enhancements:
- Support headers and more for download strategy #524
Fixed bugs:
- pre-commit config should be updated to state
master
instead ofmain
#469
Closed issues:
- Use Trusted Publishers from PyPI #526
Merged pull requests:
- Use Trusted Publishers for PyPI #527 (CasperWA)
- Extend inputs for http/https download strategy #525 (CasperWA)
- Update dev tools and CI/CD workflows #497 (CasperWA)
v0.7.0.dev2 (2024-07-05)¶
Closed issues:
- Update use of
importlib.metadata.entry_points
#395
Merged pull requests:
- Expect
EntryPoints
fromimportlib.metadata
#496 (CasperWA) - [pre-commit.ci] pre-commit autoupdate #468 (pre-commit-ci[bot])
v0.7.0.dev1 (2024-03-08)¶
Merged pull requests:
v0.7.0.dev0 (2024-02-29)¶
Merged pull requests:
v0.6.1 (2023-11-14)¶
Implemented enhancements:
- Implement split development #346
Fixed bugs:
- Extend branch name for "normal" CI - Check dependencies job #371
- PRs for updating dependencies not opened #365
- Wrong key name used in CI workflow #363
- Update package name format check #361
Merged pull requests:
- Add branch name extension for CI workflow #376 (CasperWA)
- Use
branch_name_extension
and auto-merge dependency PRs #369 (CasperWA) - Fix workflow ignore rules key name #364 (CasperWA)
- Implement PEP 508 regex for package_name #362 (CasperWA)
v0.6.0 (2023-10-12)¶
Implemented enhancements:
- Upgrade to support only Pydantic v2 #339
Closed issues:
- Update dependency automation to include pydantic v1 support branch #349
- Update README in both branches to highlight the development/pydantic split #348
- Update release CD workflow to support releasing from
release/pydantic-v1-support
branch #347
Merged pull requests:
- Update README to include info about pydantic v1 vs v2 #353 (CasperWA)
- Update CI/CD workflows for updating dependencies #351 (CasperWA)
- Upgrade to pydantic v2 #330 (CasperWA)
v0.5.2 (2023-09-29)¶
Fixed bugs:
- Integrated support for pydantic v1 and v2 is wrong #341
Merged pull requests:
v0.5.1 (2023-09-22)¶
Implemented enhancements:
Fixed bugs:
- Update
full_docs_dirs
input for CI/CD #322
Closed issues:
- Revert update of codecov-action from v4 to v3 #328
- Make the code-base compatible with pydantic version 2 and above #308
- Document that oteapi-core must be installed editable in order to test with pytest #62
Merged pull requests:
- Sort dependencies #337 (CasperWA)
- Support pydantic v1 & v2 #336 (CasperWA)
- Extend codecov uploads with strategies-specific flag #335 (CasperWA)
- Use flit instead of setuptools #334 (CasperWA)
- Use ruff instead of pylint #332 (CasperWA)
- Add strategies folders to CI/CD workflows docs update #323 (CasperWA)
v0.5.0 (2023-09-12)¶
Fixed bugs:
- datacache: the hash is not updated if the value is a string #298
Closed issues:
- Ensure all strategy models are fully expressed #312
- Importing oteapi.strategies.parse.image fails for Python 3.9 #269
Merged pull requests:
- Added support for relative file paths #318 (jesper-friis)
- Fully document strategies #313 (CasperWA)
- Update .pre-commit-config.yaml #307 (Treesarj)
- Introduce ParserConfig Model #306 (daniel-sintef)
v0.4.5 (2023-08-11)¶
Merged pull requests:
- update key in datacachewhen value is added as string #299 (francescalb)
- Added DOI badge to readme #273 (jesper-friis)
v0.4.4 (2023-05-24)¶
Closed issues:
- psycopg2/PostgreSQL datasource strategy #191
Merged pull requests:
- 191 psycopg2postgresql datasource strategy #196 (daniel-sintef)
v0.4.3 (2023-05-23)¶
Merged pull requests:
v0.4.2 (2023-05-12)¶
Implemented enhancements:
- Update SINTEF/ci-cd #265
Fixed bugs:
- Pin to using urllib3 v1.x #261
Closed issues:
- Rename the pipeline get() method to execute() #250
- Clean up requirements #248
- Activate auto-merging for CI workflow to update dependencies #247
Merged pull requests:
v0.4.1 (2023-03-10)¶
Merged pull requests:
v0.4.0 (2023-02-07)¶
Fixed bugs:
- pylint compliance #229
Closed issues:
- Use get in transformation datamodels and celery_remote #232
Merged pull requests:
- Updated the interfaces and implementation of the transformation strat… #233 (quaat)
- Move pylint config file to pyproject.toml #230 (CasperWA)
v0.3.0 (2023-01-24)¶
Implemented enhancements:
- Add json-encoders for SecretStr/SecretByte #218
- Use SINTEF/ci-cd callable workflows and pre-commit hooks #205
Fixed bugs:
- Update configuration files for MkDocs #203
Closed issues:
- Reenable documentation CI/CD disabled in PR #200 #201
- Error in description of MappingConfig.prefixes #197
- Update pylint options #193
Merged pull requests:
- Enh/secrets json encoders #222 (MBueschelberger)
- add optional secret to functionconfig and resourceconfig #212 (MBueschelberger)
- Updated documentation of prefixes in MappingConfig #209 (jesper-friis)
- Use SINTEF/ci-cd #206 (CasperWA)
- Revert removing
--strict
and fix docs build #204 (CasperWA) - removed --strict option #202 (daniel-sintef)
- added a small clarification to the docs #198 (daniel-sintef)
- Use recursive option for pylint-tests CI #194 (CasperWA)
v0.2.1 (2022-07-20)¶
Fixed bugs:
filter/crop
not loading properly #170
Merged pull requests:
v0.2.0 (2022-07-11)¶
Implemented enhancements:
- Implement the CSV parse strategy #159
Fixed bugs:
- Problems accessing configurations' fields #113
Closed issues:
- Add VIPCOAT and OpenModel to acknowledgements on all repositories. #133
Merged pull requests:
v0.1.6 (2022-04-20)¶
Fixed bugs:
- Setting attributes in
AttrDict
should be handled by pydantic #143
Closed issues:
- Add checklist for reviewers to all repositories. #137
Merged pull requests:
- Modify excel parse #148 (daniel-sintef)
- Fix deleting entries in AttrDict #144 (CasperWA)
- Added PR template with checklist for reviewers. #139 (francescalb)
v0.1.5 (2022-03-23)¶
Implemented enhancements:
Closed issues:
- Fix badge links in README #122
Merged pull requests:
- Update README.md #134 (quaat)
- triplestore class which does add, delete/update and get mappings/triples #128 (Treesarj)
- Add links to badges in README #126 (CasperWA)
- Fix pydantic model type and default values #125 (CasperWA)
v0.1.4 (2022-03-11)¶
Implemented enhancements:
- Support passing a dictionary as config to
create_strategy()
#123
Merged pull requests:
v0.1.3 (2022-03-10)¶
Implemented enhancements:
- Move pytest fixtures into
oteapi
package #121 - Add
pop()
(and possiblypopitem()
) toAttrDict
#118 - Allow to bind values added to the data cache to an object, such that they automatically will be remove when the object goes out of scope #114
- Add some badges to the README #91
Fixed bugs:
- The image strategy puts binary data in the session #107
Merged pull requests:
- Implement and test
pop()
andpopitem()
for AttrDict #119 (CasperWA) - Allow to bind the lifetime of datacache values to the lifetime of the session #115 (jesper-friis)
- Added mapping strategy #112 (jesper-friis)
- Corrected the sql_query_filter. #110 (jesper-friis)
- Store image data in datacache instead of session #108 (jesper-friis)
- Update README #106 (CasperWA)
v0.1.2 (2022-03-03)¶
Implemented enhancements:
- Go through ignored dev tools comments #76
Fixed bugs:
- Issue with
AttrDict.update()
forAttrDict
subclasses #101 - GH GraphQL type issue in auto-merge workflow #96
Merged pull requests:
- Update "ignore" statements #103 (CasperWA)
- Add test for AttrDict.update() method #102 (CasperWA)
- Use
ID!
type instead ofString!
#97 (CasperWA)
v0.1.1 (2022-02-24)¶
Implemented enhancements:
- Avoid registerring the incomplete
text/csv
parse strategy #95 - Use special
*Config
classes where necessary #93
Closed issues:
- Clean up the handling of paths in the file download strategy #84
Merged pull requests:
v0.1.0 (2022-02-22)¶
Implemented enhancements:
Fixed bugs:
- Entrypoint does not seem to be updated during rebuild #86
- Use proper file scheme URLs in tests #74
- xlsx parse strategy fails parsing file on Windows #23
Closed issues:
- Use standard library functions instead of homemade code for handling file:// URIs #88
- Remove image/eps as supported image format #68
Merged pull requests:
- EntryPoint duplicity #87 (CasperWA)
- Added support for dumping numpy arrays to the datacache #83 (jesper-friis)
- Pydantic dataclasses #81 (CasperWA)
- Made datacache accepting AttrDict configuration #70 (jesper-friis)
v0.0.6 (2022-02-14)¶
Implemented enhancements:
- New Function strategy #19
Fixed bugs:
- ResourceConfig.configuration should be a dict #65
- Configuration bug #34
- Change mediaType for json to application/json #24
Closed issues:
- AttrDict cannot be **unpacked #69
- Add tests of configuration object subscripting functionality #61
- Tests require installation #50
- Rename image_jpeg.py #48
- Write unit tests #11
Merged pull requests:
- Sg/session update model #78 (sygout)
- New Function strategy #73 (CasperWA)
- Made ResourceConfig.configuration a dict #67 (jesper-friis)
- Add some dictionary functionality to configuration models #53 (TorgeirUstad)
- All new tests #35 (TorgeirUstad)
v0.0.5 (2022-02-04)¶
Implemented enhancements:
- Consider removing the
create_*_strategy()
functions #57 - Lazy strategy loading #21
- Extend and "safeguard" plugin loading through entry points #10
Fixed bugs:
- Out-of-scope CVE from NumPy makes safety cry #54
- pyproject.toml addopts line doesn't work on Windows #51
- Ignore ID 44715 for safety #55 (CasperWA)
Merged pull requests:
v0.0.4 (2022-01-26)¶
Implemented enhancements:
Fixed bugs:
Closed issues:
- Use new TEAM 4.0[bot] email throughout #38
- Make datacache safe to call from within a running asyncio event loop #26
- Setup documentation framework #9
Merged pull requests:
- Add pytest options to pyproject.toml #43 (CasperWA)
- Install the
dev
extra in publish workflow #41 (CasperWA) - Use the updated @TEAM4-0 email address #39 (CasperWA)
- Implement CI/CD for dependabot #33 (CasperWA)
- Remove asyncio from datacache #32 (jesper-friis)
- Setup docs framework and implement creating any strategy function #29 (CasperWA)
v0.0.3 (2022-01-21)¶
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
- Updated cd_release.yml to python 3.9 #28 (kriwiik)
- Add back
pre-commit
#22 (CasperWA) - Fixed README.md References #20 (anasayb)
- Clean up Python API #17 (CasperWA)
v0.0.2 (2022-01-14)¶
Implemented enhancements:
Fixed bugs:
Merged pull requests:
- Cleanup #8 (jesper-friis)
- Renamed oteapi/strategy-interfaces to oteapi/interfaces and updated paths in all Python modules #6 (jesper-friis)
- Update workflows to make CD work #5 (CasperWA)
- Fix location of utility files for GH Actions #3 (CasperWA)
* This Changelog was automatically generated by github_changelog_generator