Releases: HydrologicEngineeringCenter/cwms-python
Releases · HydrologicEngineeringCenter/cwms-python
v1.0.8
v1.0.7: Add Additional Args for Store Multiple TS Function (#276)
* Ensure we expose the multi thread option and enable store_multi_ts to handle needed params * Update the multi ts tests to include the new kwargs * Patch bump * Set multithread default to true
v1.0.3: Add ALL Methods for Users Endpoints (#268)
* Create users store/update user methods and expose them
* Create mock and CDA tests
* Create notebook example for users methods
* Remove user mock test
* Add other methods to users and make it more clear what the .get method is doing
* Allow the tests to pull our API keys and have the defaults from the users.sql baked in
* - Update test to include other methods
- q0hectest key works for normal data, but user-management
endpoints require CWMS User Admins; l2hectest is a better
default for these tests
* web perms container was not running because DB Healthcheck did not have a host/port
* Ensure files save as a specific end of line per the editor config
* If editor does not support saving with a specific eol, make sure it commits with that eol
* Ensure apikey does not bleed out into any stdouts
* Didn't mean to merge other branch in!
* Comment the roles so the coverage is more clear
* Add additional error types and make sure a message can be passed
* Capture the various error codes and wrap with a friendlier user message
* Give q0hectest admin over LRL, SPK, and MVP for users tests
* add a utility method for user error management
* Allow options for admin vs nonadmin api key env imports
* Add a test for friendly roles and a test to ensure roles being set, confirm admin role
* Fix typing error on user profile response
* Add a one-off user for a forbidden lookup test
* Remove debug statement with api key present
* Remove the other printout of the API key
* Fix new line in the docker compose
* Update docker-compose.yml
* Update 403 test key to non-admin user
* Patch bump
---------
Co-authored-by: Eric Novotny <eric.v.novotny@usace.army.mil>
v1.0.1: Http Error Hint Additions + Blob Test Fixes (#246)
* Add 401 and ensure status code and hint are always returned for errors * Patch bump * Forgot to install black precommit locally on this system * Make 401 clear and give response text * Correct for empty response/ 400s * Handle excel response process * Ensure correct mime_type is sent even if OS does not have it in guess_types * Correct issue for tests with static json response in hint in favor of getattr
v1.0.0
What's Changed
- Adding physical_locations_CDA_test.py by @tlelv in #159
- Fixed tests by @tlelv in #161
- Update physical_locations_CDA_test.py by @tlelv in #163
- Made changes by @tlelv in #165
- Update physical_locations_CDA_test.py by @tlelv in #168
- Adding physical_locations_CDA_test.py by @tlelv in #162
- Add location and timeseries group example by @msweier in #160
- Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #173
- Update timeseries_CDA_test.py by @tlelv in #175
- Update timeseries_CDA_test.py by @tlelv in #178
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #176
- Add code to perform value ratings by @perrymanmd in #177
- Update timeseries_CDA_test.py by @tlelv in #180
- Update timeseries_CDA_test.py by @tlelv in #181
- Update timeseries_CDA_test.py by @tlelv in #182
- Update timeseries_CDA_test.py by @tlelv in #183
- Update timeseries_CDA_test.py by @tlelv in #184
- Update timeseries_CDA_test.py by @tlelv in #185
- Update timeseries_CDA_test.py by @tlelv in #188
- Update timeseries_CDA_test.py by @tlelv in #189
- Add timeseries CDA testing by @tlelv in #179
- 190 add issues templates by @krowvin in #191
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #200
- Add missing param/kwarg to store_location by @krowvin in #218
- Multithread timeseries Take 2 by @msweier in #219
- Add delete/patch endpoints for blob by @krowvin in #220
- 226 failed to run cwms python on 39 by @krowvin in #227
- fix message from post by @Enovotny in #225
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #229
- 140 cda url requires trailing slash or it fails by @krowvin in #233
- fix typo in location_group_df_to_json by @msweier in #232
- 224 create blob integration tests by @krowvin in #228
- levels tests by @Enovotny in #234
- add test for excel files by @Enovotny in #235
- Update pyproject.toml by @Enovotny in #236
Full Changelog: v0.8.0...v1.0.0
v0.8.0
What's Changed
- Bump sigstore/gh-action-sigstore-python from 3.0.0 to 3.0.1 by @dependabot[bot] in #155
- Add Water Supply Pump Accounting Endpoints by @krowvin in #154
- Measurements improvements by @msweier in #151
- GitHub action testing by @oskarhurst in #157
- update release 0.8.0 by @Enovotny in #158
New Contributors
- @oskarhurst made their first contribution in #157
Full Changelog: v0.7.1...v0.8.0
v0.7.1
v0.7.0
What's Changed
- Add "include_extents" optional parameter to get_timeseires_catalog by @perrymanmd in #142
- fix to duplicate locations by @Enovotny in #144
- update timeseries group parameters by @Enovotny in #145
- Add cascade_delete option to delete_location() by @perrymanmd in #147
- Fix BLOB store/get, Update API.py GET by @krowvin in #137
- measurement endpoints by @Enovotny in #149
- improve multi_timeseries call by @Enovotny in #150
- Timeout/threading improvement by @Enovotny in #152
New Contributors
- @perrymanmd made their first contribution in #142
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- update df to json function to not edit passed in dataframe by @Enovotny in #103
- remove numpy dependency by @Enovotny in #104
- timeseries write missing/screening example by @msweier in #106
- Added gate changes support with associated tests by @zack-rma in #92
- Ratings fixes by @Enovotny in #113
- Added time series profile support with associated tests by @zack-rma in #93
- Adding Critscript and Timeseries functions by @tlelv in #118
- updates to get crit script to work and reorganization by @Enovotny in #120
- Add shef_critfile_import by @tlelv in #122
- Bump abatilo/actions-poetry from 3 to 4 by @dependabot in #121
- Add developer docs section to readme by @krowvin in #126
- Add Endpoint for Turbine Changes and Tests by @krowvin in #127
- update for rating ini file import script by @Enovotny in #129
- Change api_version for all turbines endpoints to v1 per the swagger doc by @krowvin in #130
- Turbine Changes Require List POST by @krowvin in #131
- Timeseris location group cda updates by @Enovotny in #133
- update location group by @Enovotny in #135
- add link to pypi by @Enovotny in #136
New Contributors
- @msweier made their first contribution in #106
- @zack-rma made their first contribution in #92
- @krowvin made their first contribution in #126
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- fix typo in Readme by @ktarbet in #80
- changes to examples for data workshop by @Enovotny in #85
- changes for data workshop by @Enovotny in #86
- Update for airflow by @Enovotny in #88
- add outlet management support to cwms-python by @adamkorynta in #66
- add reservoir project management support to cwms-python by @adamkorynta in #67
- Bump setuptools from 69.5.1 to 70.0.0 by @dependabot in #97
- Bump urllib3 from 2.2.1 to 2.2.2 by @dependabot in #99
- Bump requests from 2.31.0 to 2.32.2 by @dependabot in #100
- Bump certifi from 2024.2.2 to 2024.7.4 by @dependabot in #101
- 91 create a multi timeseries call by @Enovotny in #98
- new release 0.5.0 by @Enovotny in #102
Full Changelog: v0.4.4.2...v0.5.0