Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down