|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## v2.3.5 and before |
| 3 | +## v2.4.0 (2024-05-30) |
| 4 | + |
| 5 | +### Enhancements |
| 6 | + |
| 7 | +- Improved package setup (pyproject.toml, linting and formatter). |
| 8 | + ([#1](https://github.com/OceanNetworksCanada/api-python-client/issues/1)) |
| 9 | +- Added support of Path type for outPath (instance variable in ONC class). |
| 10 | + ([#12](https://github.com/OceanNetworksCanada/api-python-client/issues/12)) |
| 11 | +- Added GitHub Actions for continuous integration. |
| 12 | + ([#19](https://github.com/OceanNetworksCanada/api-python-client/issues/19)) |
| 13 | +- Added Sphinx for generating documentation. |
| 14 | + ([#7](https://github.com/OceanNetworksCanada/api-python-client/issues/7)) |
| 15 | +- Improved exception types raised and caught. |
| 16 | + ([#17](https://github.com/OceanNetworksCanada/api-python-client/issues/17)) |
| 17 | +- Added new public methods (`checkDataProduct`, `cancelDataProduct`, `restartDataProduct`, `getSensorCategoryCodes`) to match backend API update. |
| 18 | + ([#26](https://github.com/OceanNetworksCanada/api-python-client/issues/26)) |
| 19 | +- Renamed some public methods (old names are still available) to make the naming more consistent with the api end points. |
| 20 | + ([#33](https://github.com/OceanNetworksCanada/api-python-client/issues/33)) |
| 21 | + |
| 22 | +| API End Point | Old Name | New Name | |
| 23 | +| --------------------- | ---------------------- | ------------------------- | |
| 24 | +| /locations/tree | getLocationHierarchy | getLocationsTree | |
| 25 | +| /scalardata/location | getDirectByLocation | getScalardataByLocation | |
| 26 | +| /scalardata/device | getDirectByDevice | getScalardataByDevice | |
| 27 | +| /rawdata/location | getDirectRawByLocation | getRawdataByLocation | |
| 28 | +| /rawdata/device | getDirectRawByDevice | getRawdataByDevice | |
| 29 | +| /archivefile/location | getListByLocation | getArchivefileByLocation | |
| 30 | +| /archivefile/device | getListByDevice | getArchivefileByDevice | |
| 31 | +| /archivefile/download | getFile | downloadArchivefile | |
| 32 | +| N/A | getDirectFiles | downloadDirectArchivefile | |
| 33 | + |
| 34 | +- Added helper methods to combine `getXXXByLocation` and `getXXXByDevice` into `getXXX`. |
| 35 | + ([#33](https://github.com/OceanNetworksCanada/api-python-client/issues/33)) |
| 36 | + - Namely, `getScalardata`, `getRawdata` and `getArchivefile`. |
| 37 | + |
| 38 | +### Fixes |
| 39 | + |
| 40 | +- Removed unused modules (onc/ags.py, onc/dap.py, onc/nerc.py, onc/sos.py). |
| 41 | + ([#1](https://github.com/OceanNetworksCanada/api-python-client/issues/1)) |
| 42 | + |
| 43 | +### Tests |
| 44 | + |
| 45 | +- Added support using .env file for storing the token when running tests. |
| 46 | + ([#2](https://github.com/OceanNetworksCanada/api-python-client/issues/2)) |
| 47 | +- Replaced robot framework with pytest. |
| 48 | + ([#10](https://github.com/OceanNetworksCanada/api-python-client/issues/10)) |
| 49 | + |
| 50 | +### Contributors |
| 51 | + |
| 52 | +- [Jacob Stevens-Haas](https://github.com/Jacob-Stevens-Haas) |
| 53 | +- [Kan Fu](https://github.com/kan-fu) |
| 54 | +- [Renfu Li](https://github.com/Renfu-Li) |
| 55 | + |
| 56 | +### Reviewers panel |
| 57 | + |
| 58 | +- [Angela Schlesinger](https://github.com/aschlesin) |
| 59 | +- [Eli Ferguson](https://github.com/eliferguson) |
| 60 | +- [Jacob Stevens-Haas](https://github.com/Jacob-Stevens-Haas) |
| 61 | +- [Spencer Plovie](https://github.com/spencerwplovie) |
| 62 | + |
| 63 | +## v2.3.5 (2019-12-12) and before |
4 | 64 |
|
5 | 65 | ### Contributors |
6 | 66 |
|
7 | | -- Dany Cabrera |
| 67 | +- [Dany Alejandro Cabrera](https://github.com/danyalejandro) |
0 commit comments