Skip to content

Releases: bump-sh/github-action

Publish “no structural changes” comments on diff with content change

25 Jun 15:31
690c811
Compare
Choose a tag to compare

🆕 Publish a GitHub Pull Request comment on documentation content change (with no structural changes)

  • 🗨️🔗 When Bump.sh diff action is configured in your repository workflow file, we will now publish a comment if your API document file has changes without structural changes. We used to publish a comment only on structural changes, but we now also publish a comment on content-only change too (which includes a preview link to that updated document).

The release also includes some dependencies upgrades.

Have fun documenting APIs ✨

Change of GitHub Action name to reflect usage

23 May 11:29
Compare
Choose a tag to compare
docs: rename the GH action on marketplace

This commit modifes the Action metadata to have a more meaningful name
on the GitHub marketplace (currently when searching for “API
documentation” on the marketplace doesn't show the Bump.sh action..)

Add preview documentation link in pull request comment

01 Mar 11:27
060fc2a
Compare
Choose a tag to compare

This release includes two main improvements

🆕 Add preview documentation links in pull request comment

  • 🗨️🔗 When GitHub comments on pull requests are enabled to shared the diff of an API document change, the comment now includes a link to preview the documentation with the latest changes. 🔗 Perfect to check the documentation before merging your changes!

🆕 Deploy an entire directory of multiple API documents to a Bump.sh Hub

  • 📂🚀 You can now deploy an entire directory of API documents to a Bump.sh hub. This was added in the CLI but was not yet possible with the GitHub action. For now the default filename-pattern is used ({slug}-api.[json|yaml] so your API documents following this filename pattern will be deployed to your target hub)

    To do so, you will need to use the hub: input parameter of the GitHub action, and change the file: input parameter to target a directory. Don't forget to remove an existing doc: input parameter 🙂.

Have fun documenting APIs ✨

Fix release to make sure AsyncAPI 2.6.0 works

03 Oct 15:07
a8ae5ef
Compare
Choose a tag to compare

This is a bugfix release which contains a fix to be able to send AsyncAPI 2.6.0 definition files. There was a bug in the JS dependency tree from the bump-cli package which led to inconsistent node packages.

With this release the bug is gone! 😌

Have fun with AsyncAPI ✨

New `fail_on_breaking` input parameter & partial-support for AsyncAPI 2.6

04 May 10:48
c35e66a
Compare
Choose a tag to compare

🆕 New fail_on_breaking input parameter useful for the diff command

Check our blog post announcement about our api diff feature if you've never tried it

  • The diff command can be used with a new input parameter fail_on_breaking in order for the workflow to fail if the diff contains a breaking change. This is especially useful in a CI environment when diff is computed for each pull request.

    jobs:
      api-diff:
        name: Check API diff on Bump
        runs-on: ubuntu-latest
        steps:
        - name: Checkout
          uses: actions/checkout@v3
        - name: Comment pull request with API diff
          uses: bump-sh/github-action@v1
          with:
            doc: <BUMP_DOC_ID>
            token: ${{secrets.BUMP_TOKEN}}
            file: doc/api-documentation.yml
            command: diff
            # -------------
            # NEW PARAMETER
            # -------------
            fail_on_breaking: true
            # -------------
          env:
            GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

🆙 Upgrade dependency (mainly bump-cli)

  • AsyncAPI released their 2.6 version in February 2023. Check out their blog post announcement: https://www.asyncapi.com/blog/release-notes-2.6.0
    With this new release of the Bump GitHub Action we partially support the latest changes of the AsyncAPI spec.

Have fun designing APIs ✨

Bug fix & partial-support for AsyncAPI 2.5

15 Mar 15:53
4fee4fc
Compare
Choose a tag to compare

🆙 Upgrade dependency (mainly bump-cli)

  • AsyncAPI released their 2.5 version at the end of 2022. Check out their blog post announcement: https://www.asyncapi.com/blog/release-notes-2.5.0
    With this new release of the Bump GitHub Action we partially support the latest changes of the AsyncAPI spec.

🐛 Allow empty public_url from Diff response

  • Diff responses from bump.sh don't especially have a public URL anymore. The GH action needs to support an inexistant URL.

Have fun designing APIs ✨

Upgrade node to v16

12 Oct 13:31
e09c389
Compare
Choose a tag to compare

🆙 Node v16

This is a tiny release to make sure the Bump GitHub action runs on top of node v16 and avoids displaying some warnings to our users.

Thanks @calexander3 for the feedback 💙

Multiple documentation diff management

06 Oct 14:28
6629a7a
Compare
Choose a tag to compare

🆕 diff command can now be called for different Api documentations on the same repository

Check our blog post announcement about our api diff feature if you've never tried it

  • The diff command can now be used for as many existing Bump documentation as you wish, on the same repository. This means that if you have a git repository containing multiple Api specification file, each one attached to a dedicated documentation on Bump, you can define as many diff jobs in your workflow GitHub Action file as you wish. The important point is to provide the doc: input (with the doc slug or id) to each github action invocation. cf #310

🐛 Cleanup

  • Fix a warning message that was present in each action run due to missing inputs. Cf #300

🆙 Upgrades

  • There were a few libraries upgrades since last release thanks to @dependabot.

Have fun designing APIs!

Branching deployments & partial-support for AsyncAPI 2.4

23 May 14:40
7ee65a1
Compare
Choose a tag to compare

🆙 Upgrade dependency (mainly bump-cli) to support new Bump branching deployments

Two main changes in this release

  • You can now specify a new input parameter branch during deployments done with this GitHub action. This is particularly useful when you want to keep multiple history available of your API documentation. For more information you can check the CLI release note.

  • AsyncAPI recently released their 2.4 version last month. Check out their blog post announcement: https://www.asyncapi.com/blog/release-notes-2.4.0
    With this new release of the Bump GitHub Action we partially support the latest changes of the AsyncAPI spec.

Have fun designing APIs ✨

Support for AsyncAPI 2.3

03 Feb 17:06
7a2fe1f
Compare
Choose a tag to compare

🆙 Upgrade dependency (mainly bump-cli) to support AsyncAPI 2.3

Have fun designing APIs ✨