Skip to content

Releases: JamesIves/fetch-api-data-action

v2.4.0

28 Nov 03:18
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.0...v2.4.0

v2.3.0

30 Aug 00:46
Compare
Choose a tag to compare

What's Changed

  • Resolved an issue with the environment variable generated by the action. It is now named fetchApiData as opposed to fetch-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 standard fetchApiData name if unset. Details can be found in the project readme.
  • Properly called setOutput via @actions/core so you can now reference fetchApiData as an output step too should you choose. This was previously documented in the action.yml file but not actually called in code.
  • For working examples of the above you can view the action integration tests here.

Dependencies

Full Changelog: v2...v2.3.0

v2.2.4

13 Oct 03:33
Compare
Choose a tag to compare

What's Changed

  • The action now fully runs on Node 16. (Thank you @nickmccurdy)

Changelog

New Contributors

Full Changelog: v2...v2.2.4

v2.2.3

26 Jun 13:26
Compare
Choose a tag to compare

Minor Changes

  • Linting scripts have been updated to ensure that everything across the repo gets picked up.
  • Numerous dependency updates.

New Contributors

Sponsors 鉂わ笍

github聽聽

Full Changelog: v2...v2.2.3

v2.2.2

06 Mar 22:07
Compare
Choose a tag to compare

Minor Changes

  • Resolves some issues presented from an earlier deploy.
  • Dependency bumps across the board.

v2.2.1

06 Mar 19:33
Compare
Choose a tag to compare

Minor Changes

  • Implemented a set-output parameter that lets you toggle off the saving of the data an environment variable.

v2.2.0

12 Jan 04:25
Compare
Choose a tag to compare

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

10 Jan 14:41
Compare
Choose a tag to compare

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

08 Jan 14:18
Compare
Choose a tag to compare

Minor Changes

  • Fixes an issue when using the debug flag caused by a missing property in the action.yml file.

2.0.0

18 Dec 14:47
13f3c94
Compare
Choose a tag to compare

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 underscores LIKE_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/fetch-api-data-action@2.0.0
        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.