Skip to content

Commit a980228

Browse files
committed
release: prepare for version 2.6.0
1 parent 242b401 commit a980228

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
## v2.6.0 (2025-12-04)
4+
5+
### Enhancements
6+
7+
- Bump the minimum Python version from 3.9 to 3.10.
8+
9+
This is in alignment with the [status of Python versions](https://devguide.python.org/versions/).
10+
11+
- ONC class can get the token by checking an environment variable called `ONC_TOKEN`.
12+
([#67](https://github.com/OceanNetworksCanada/api-python-client/pull/67)).
13+
14+
This means users can use `onc = ONC()` if `ONC_TOKEN` is set correctly (probably in a .env file)
15+
16+
- Added a new method called `getDataAvailability`, which matches the new OpenAPI end point
17+
[`/dataAvailability/dataproducts`](https://data.oceannetworks.ca/OpenAPI#get-/dataAvailability/dataproducts).
18+
([#70](https://github.com/OceanNetworksCanada/api-python-client/pull/70)).
19+
20+
- Change the default value of `showWarning` to be `True`.
21+
22+
### Fixes
23+
24+
- Fix 0 file size in the print message when calling `orderDataProduct`
25+
([#64](https://github.com/OceanNetworksCanada/api-python-client/pull/64)).
26+
27+
### Contributors
28+
29+
- [Kan Fu](https://github.com/kan-fu)
30+
331
## v2.5.1 (2025-07-12)
432

533
### Enhancements

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
project = "onc"
1010
copyright = "2025, ONC Data Team"
1111
author = "ONC Data Team"
12-
release = "2.5.1"
12+
release = "2.6.0"
1313

1414
# -- General configuration ---------------------------------------------------
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "onc"
7-
version = "2.5.1"
7+
version = "2.6.0"
88
description = "Oceans 3.0 API Python Client Library"
99
readme = "README.md"
1010
authors = [

0 commit comments

Comments
 (0)