Releases: JamesIves/fetch-api-data-action
Releases 路 JamesIves/fetch-api-data-action
v2.4.0
What's Changed
- The action is developed against and runs on Node 20.
- Bump nock from 13.2.9 to 13.3.3 by @dependabot in #879
- Bump codecov/codecov-action from 3.1.1 to 3.1.4 by @dependabot in #880
- Bump eslint-config-prettier from 8.5.0 to 9.0.0 by @dependabot in #878
- Bump typescript from 4.9.3 to 4.9.5 by @dependabot in #877
- Bump @typescript-eslint/parser from 5.54.1 to 5.62.0 by @dependabot in #875
- Bump @actions/io from 1.1.2 to 1.1.3 by @dependabot in #872
- Bump cross-fetch from 3.1.5 to 4.0.0 by @dependabot in #874
- Bump eslint-plugin-jest from 27.2.1 to 27.2.3 by @dependabot in #876
- Bump @types/node from 20.5.7 to 20.10.0 by @dependabot in #930
- Bump eslint from 8.48.0 to 8.54.0 by @dependabot in #926
- Bump actions/setup-node from 3 to 4 by @dependabot in #914
- Bump actions/checkout from 3 to 4 by @dependabot in #882
- Bump nock from 13.3.3 to 13.3.8 by @dependabot in #919
Full Changelog: v2.3.0...v2.4.0
v2.3.0
What's Changed
- Resolved an issue with the environment variable generated by the action. It is now named
fetchApiData
as opposed tofetch-api-data
(invalid on Ubuntu). This is not considered a breaking change as this was broken to begin with. This part of the code is not frequently used and thus some iteration was expected here. - Added integration tests to ensure the functionality of the environment variables and step output persists cross versions.
- Added action input that allows you to modify the environment variable name. This is called
variable-name
, and defaults to the standardfetchApiData
name if unset. Details can be found in the project readme. - Properly called setOutput via
@actions/core
so you can now referencefetchApiData
as an output step too should you choose. This was previously documented in theaction.yml
file but not actually called in code. - For working examples of the above you can view the action integration tests here.
Dependencies
- Bump @types/node from 18.8.3 to 18.8.4 by @dependabot in #750
- Bump typescript from 4.8.4 to 4.9.3 by @dependabot in #782
- Bump @typescript-eslint/eslint-plugin from 5.20.0 to 5.43.0 by @dependabot in #780
- Bump @types/node from 18.8.4 to 18.11.10 by @dependabot in #791
- Bump @actions/core from 1.9.1 to 1.10.0 by @dependabot in #738
- Bump @types/mustache from 4.2.1 to 4.2.2 by @dependabot in #787
- Bump eslint-plugin-jest from 27.1.1 to 27.2.1 by @dependabot in #820
- Bump prettier from 2.7.1 to 2.8.4 by @dependabot in #840
- Bump json5 from 2.2.0 to 2.2.3 by @dependabot in #817
- Bump @typescript-eslint/parser from 5.20.0 to 5.54.1 by @dependabot in #858
- Bump eslint from 8.24.0 to 8.48.0 by @dependabot in #868
- Bump @types/node from 18.11.10 to 20.5.7 by @dependabot in #865
- Bump semver from 5.7.1 to 5.7.2 by @dependabot in #864
- Bump tough-cookie from 4.0.0 to 4.1.3 by @dependabot in #863
- Bump word-wrap from 1.2.3 to 1.2.5 by @dependabot in #862
- Bump @typescript-eslint/eslint-plugin from 5.43.0 to 5.62.0 by @dependabot in #866
Full Changelog: v2...v2.3.0
v2.2.4
What's Changed
- The action now fully runs on Node 16. (Thank you @nickmccurdy)
Changelog
- Bump @types/node from 18.0.0 to 18.7.6 by @dependabot in #695
- Bump eslint-plugin-prettier from 4.0.0 to 4.2.1 by @dependabot in #651
- Bump @types/mustache from 4.1.2 to 4.2.1 by @dependabot in #670
- Bump nock from 13.2.4 to 13.2.9 by @dependabot in #671
- Bump @actions/core from 1.9.0 to 1.9.1 by @dependabot in #696
- Use Node 16 by @nickmccurdy in #727
- Bump eslint from 8.18.0 to 8.23.1 by @dependabot in #717
- Bump eslint-plugin-jest from 26.5.3 to 27.0.4 by @dependabot in #718
- Bump codecov/codecov-action from 3.1.0 to 3.1.1 by @dependabot in #724
- Typographical Error by @sojinsamuel in #697
- Bump eslint from 8.23.1 to 8.24.0 by @dependabot in #730
- Bump typescript from 4.7.4 to 4.8.4 by @dependabot in #736
- Bump eslint-plugin-jest from 27.0.4 to 27.1.1 by @dependabot in #745
- Bump @types/node from 18.7.6 to 18.8.3 by @dependabot in #746
New Contributors
- @sojinsamuel made their first contribution in #697
Full Changelog: v2...v2.2.4
v2.2.3
Minor Changes
- Linting scripts have been updated to ensure that everything across the repo gets picked up.
- Numerous dependency updates.
New Contributors
- @nickmccurdy made their first contribution in #642
Sponsors 鉂わ笍
- Special thanks to @github for their generous sponsorship contributions.
Full Changelog: v2...v2.2.3
v2.2.2
Minor Changes
- Resolves some issues presented from an earlier deploy.
- Dependency bumps across the board.
v2.2.1
Minor Changes
- Implemented a
set-output
parameter that lets you toggle off the saving of the data an environment variable.
v2.2.0
Changes
- Implements an encoding option which allows you to adjust the encoding type of the file being saved. Special thanks to @humble-barnacle001 #480
2.1.0
Changes
- Implements a new option called
format
which allows you to modify the format of the data being saved. You can leverage this to save text data if that is responded via the API request.
Minor Changes
- Fixes an issue with the
debug
option as it wasn't properly parsing the response. - Introduces major version tags. You can now point your workflow to JamesIves/fetch-api-data-action@v2` if you'd like to always have the most cutting edge changes outside of using the release branch directly.
- Dependency bumps.
- README updates.
2.0.1
Minor Changes
- Fixes an issue when using the
debug
flag caused by a missing property in theaction.yml
file.
2.0.0
Version 2.0.0 馃帀
It's been long overdue, but version 2.0.0 is here.
Major Changes
- The action now uses lowercase
snake-case
for parameters instead of uppercase with underscoresLIKE_THIS
. You can see an example of this below:
name: Refresh Feed
on: [push]
jobs:
refresh-feed:
runs-on: ubuntu-latest
steps:
- name: Fetch API Data 馃摝
uses: JamesIves/[email protected]
with:
endpoint: https://example.com
configuration: '{ "method": "GET", "headers": {"Authorization": "Bearer ${{ secrets.API_TOKEN }}"} }'
save-name: youtube
- Added a
debug
flag which allows you to log your way through the workflow. With this flag turned on you'll see all API responses the action receives in the terminal. You can find details surrounding this in the README. - Migrated to Node 14 from 12 for development.
Minor Changes
- Tons of dependency and security updates from third party libraries.
- Migrated ESLint/Prettier config.
- Added workflow helpers for quicker releases.
- Improved integration testing.
- Added GitHub Discussions support.
- Added Sponsors section to README.