diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a1dbc3..b643c96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## v2.5.0 (2025-02-13) + +### Enhancements + +- Added `getArchivefileUrl` and `getArchivefileUrls` to only return the download links of + the requested archive files. + ([#56](https://github.com/OceanNetworksCanada/api-python-client/issues/56)) + + This is useful because users can use them in their favorite download manager. + Check the [Code Example](https://oceannetworkscanada.github.io/api-python-client/Code_Examples/Download_Archived_Files.html#download-archived-files-using-a-download-manager) + for more information. + +- Added warning messages if the response has a "messages" key with a non-empty list value. + ([#58](https://github.com/OceanNetworksCanada/api-python-client/pull/58)) + + This feature can be turned off by using `onc = ONC(token=TOKEN, showWarning=False)`. + +### Fixes + +- Reverted back the incremental downloading files because it might generate invalid files + with partial file size (before it was zero file size). + ([#54](https://github.com/OceanNetworksCanada/api-python-client/issues/54)) + +### Contributors + +- [Kan Fu](https://github.com/kan-fu) + +### Reviewers panel + +- [Angela Schlesinger](https://github.com/aschlesin) +- [Eli Ferguson](https://github.com/eliferguson) +- [Spencer Plovie](https://github.com/spencerwplovie) + ## v2.4.1 (2024-09-24) ### Fixes diff --git a/LICENSE.txt b/LICENSE.txt index 667bb58..4d9b16e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -175,7 +175,7 @@ END OF TERMS AND CONDITIONS - Copyright 2019-2024 Ocean Networks Canada + Copyright 2019-2025 Ocean Networks Canada Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/doc/source/conf.py b/doc/source/conf.py index d3f4dbf..cfe9244 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -7,9 +7,9 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = "onc" -copyright = "2024, ONC Data Team" +copyright = "2025, ONC Data Team" author = "ONC Data Team" -release = "2.4.1" +release = "2.5.0" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/pyproject.toml b/pyproject.toml index d9ce7e3..a11ec7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "onc" -version = "2.4.1" +version = "2.5.0" description = "Oceans 3.0 API Python Client Library" readme = "README.md" authors = [