Skip to content

Commit

Permalink
Prepare for release 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pe-st committed Oct 8, 2023
1 parent 322d828 commit a4d22ab
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pip install pytest
pytest
- name: Lint with flake8
run: |
pip install flake8
pip install flake8-import-order
# flake8-import-order not needed anymore, pylint does this now
flake8 .
- name: Lint with pylint
run: |
Expand Down
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
This changelog is inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## 4.2.0 - 2023-10-08

- fixed: Use [garth](https://github.com/matin/garth) for OAuth to fix #95
[Did not find the display name in the profile page](https://github.com/pe-st/garmin-connect-export/issues/95)
([Pull Request #96](https://github.com/pe-st/garmin-connect-export/pull/96) by @SimonBaars with @geraudloup and @app4g)
- added: date filter flags `--start_date` and `--end_date`
([Pull Request #73](https://github.com/pe-st/garmin-connect-export/pull/73) by @bxsx)


## 4.1.0 - 2023-07-22

- changed: updated the list of parent activities (`PARENT_TYPE_ID`) to the new set Garmin is now using
Expand All @@ -16,16 +25,16 @@ This changelog is inspired by [Keep a Changelog](https://keepachangelog.com/en/1
- removed: Python 2 leftovers
([Pull Request #73](https://github.com/pe-st/garmin-connect-export/pull/73) by @bxsx)
- added: configurations for flake8, pylint and black (including the needed improvements of the code for them)
- changed: Github Actions now execute also flake8, pylint and black tasks
- changed: GitHub Actions now execute also flake8, pylint and black tasks


## 3.3.0 - 2021-12-26

- added: support for time spent in HR zones (feature request)
([Issue #68](https://github.com/pe-st/garmin-connect-export/issues/68)
- fixed: adapt display name parsing because of change Garmin Connect behaviour
- fixed: adapt display name parsing because of changed Garmin Connect behaviour
([Pull Request #69](https://github.com/pe-st/garmin-connect-export/pull/69) by @hannesweisbach)
- added: Github Action to execute the tests automatically
- added: GitHub Action to execute the tests automatically


## 3.2.1 - 2021-08-15
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ For the history of this fork see the [CHANGELOG](CHANGELOG.md)

Contributions are welcome, see [CONTRIBUTING.md](CONTRIBUTING.md)

Contributors as of 2021-12 (Hope I didn't forget anyone,
Contributors as of 2023-10 (Hope I didn't forget anyone,
see also [Contributors](https://github.com/pe-st/garmin-connect-export/graphs/contributors)):

- Kyle Krafka @kjkjava
Expand All @@ -195,17 +195,21 @@ see also [Contributors](https://github.com/pe-st/garmin-connect-export/graphs/co
- Chris McCarty @cmccarty
- Julien Rebetez @julienr
- Peter Steiner @pe-st
- @lindback
- @ulf-lindback
- @TheKiteRunning
- Jens Diemer @jedie
- Christian Moelders @chmoelders
- Christian Schulzendorff @chs8691
- Josef K @jkall
- Thomas Th @telemaxx
- Bart Skowron @bxsx
- @reto
- Reto Conconi @retoborm
- Cristian @cristian5th
- @hannesweisbach
- @SimonBaars
- @geraudloup
- @app4g
- Simon Ågren @agrensimon

## License

Expand Down
4 changes: 2 additions & 2 deletions gcexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
COOKIE_JAR = http.cookiejar.CookieJar()
OPENER = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(COOKIE_JAR), urllib.request.HTTPSHandler(debuglevel=0))

SCRIPT_VERSION = '4.1.0'
SCRIPT_VERSION = '4.2.0'

# This version here should correspond to what is written in CONTRIBUTING.md#python-3x-versions
MINIMUM_PYTHON_VERSION = (3, 8)
Expand Down Expand Up @@ -971,7 +971,7 @@ def fetch_activity_chunk(args, num_to_download, total_downloaded):
search_params['startDate'] = args.start_date
if args.end_date != "":
search_params['endDate'] = args.end_date

# Query Garmin Connect
print('Querying list of activities ', total_downloaded + 1, '..', total_downloaded + num_to_download, '...', sep='', end='')
logging.info('Activity list URL %s', URL_GC_LIST + urlencode(search_params))
Expand Down

0 comments on commit a4d22ab

Please sign in to comment.