Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update easol-canvas to v3.1 #5

Merged
merged 1 commit into from
Nov 25, 2022
Merged

Update easol-canvas to v3.1 #5

merged 1 commit into from
Nov 25, 2022

Conversation

ianmooney
Copy link
Contributor

@ianmooney ianmooney commented Nov 25, 2022

The latest version of canvas is v3.1.0, which allows the
currency_switcher tag when validating Liquid.

Since #3, we are
now specifying the exact version of the easol-canvas gem.
This means there will be some extra steps when there is a an update
the the canvas gem. Each time there is an update, we'll need to do
the following:

  1. Bump the easol-canvas gem version.
  2. Update easolhq/canvas-linter-action to use the new gem version.
  3. Update the theme's .github/workflows/lint.yml to use the new
    version of canvas-linter-action.

This might be cumbersome and also means that existing themes that don't
update their canvas-linter-action version won't benefit from the latest
validation checks.

This commit proposes we make the gem version more generic and only
require this linter action to to be updated when there major version
changes on the gem.

@ianmooney ianmooney force-pushed the ian/update-canvas-version branch 2 times, most recently from 8dff8d4 to 7ad4b9f Compare November 25, 2022 12:42
The latest version of canvas is v3.1.0, which allows the
currency_switcher tag when validating Liquid.

Since #3, we are
now specifying the exact version of the `easol-canvas` gem.
This means there will be some extra steps when there is a an update
the the canvas gem. Each time there is an update, we'll need to do
the following:

1. Bump the `easol-canvas` gem version.
2. Update `easolhq/canvas-linter-action` to use the new gem version.
3. Update the theme's `.github/workflows/lint.yml` to use the new
   version of canvas-linter-action.

This might be cumbersome and also means that existing themes that don't
update their canvas-linter-action version won't benefit from the latest
validation checks.

This commit proposes we make the gem version more generic and only
require this linter action to to be updated when there major version
changes on the gem.
@ianmooney ianmooney force-pushed the ian/update-canvas-version branch from 7ad4b9f to 8a07702 Compare November 25, 2022 12:46
@eballantine
Copy link

@ianmooney not 3.1?

@ianmooney ianmooney changed the title Update easol-canvas to v3.1.0 Update easol-canvas to v3.1 Nov 25, 2022
Copy link

@eballantine eballantine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ianmooney
Copy link
Contributor Author

Because of the ~> syntax, this will include any gem version from 3.0 and upwards to 4.0, which would include 3.1.0, 3.2.0 and so on.

@ianmooney ianmooney merged commit 6b11498 into main Nov 25, 2022
@ianmooney ianmooney deleted the ian/update-canvas-version branch November 25, 2022 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants