Contributors to this version: Gabriel Rondeau-Genesse (@RondeauG), Juliette Lavoie (@juliettelavoie), Trevor James Smith (@Zeitsperre).
New features and enhancements
- Improve
xs.ensembles.build_partition_data
. (PR/504).
Breaking changes
xs.utils.publish_release_notes
andxs.utils.show_versions
have been moved toxs.testing
. (PR/492).- The previously-deprecated
xs.reduce
module has been removed. Refer toxs.ensembles.make_criteria
andxs.ensembles.reduce_ensemble
for replacement functionality. (PR/517).
Bug fixes
- Added a missing library (
openpyxl
) to the requirements. (PR/492). - Fixed a bug in
xs.io.subset_maxsize
where the function would drop the last year. (PR/492). - Fixed a bug in
xs.io.clean_incomplete
where the.zmetadata
file was not removed. (PR/492). - Fixed a bug in the saving of datasets where encoding was sometimes not applied, resulting for example in rechunking not being respected. (PR/492).
- Fixed multiple bugs in
xs.io.save_to_zarr
withmode='a'
. (PR/492). - Fixed a few minor bugs in
xs.io.save_to_table
. (PR/492).
Internal changes
- Added a new parameter
latest
toxs.testing.publish_release_notes
to only print the latest release notes. (PR/492). - The estimation method in
xs.io.estimate_chunks
has been improved. (PR/492). - A new parameter
incomplete
has been added toxs.io.clean_incomplete
to remove incomplete variables. (PR/492). - Continued work on adding tests. (PR/492).
- Modified a CI build to test against the oldest supported version of
xclim
. (PR/505). - Updated the cookiecutter template version: (PR/507)
- Added
vulture
to pre-commit hooks (finding dead code blocks). - Added
zizmor
to the pre-commit hooks (security analysis for CI workflows). - Secured token usages on all workflows (using
zizmor
). - Simplified logic in
bump-version.yml
. - Synchronized a few dependencies.
- Added
- Fixed a few socket blocks and configuration issues in the CI workflows. (PR/512).
- Added Open Source Security Foundation Best Practices badge, Zenodo DOI badge, FOSSA license compliance badge to the README. (PR/514).
- Several deprecated usages within the code base have been addressed. The number of warnings emitted from the test suite have been significantly reduced. (GH/515, PR/516).