Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

11ty version compatibility checking #22

Merged
merged 3 commits into from
Feb 23, 2022
Merged

Conversation

johnhunter
Copy link
Collaborator

This PR adds an 11ty version compatibility check. It allows our plugin to assert what versions of 11ty it is compatible with.

I've set it to fail with the next major release. This will give users a warning about what failed when they upgrade 11ty. On a new major version we will check compatibility, add tests, and increment the supported version.

I've set the minimum supported version very low - its basically a guess but we can change that if anyone reports an issue with a really old 11ty version.

Also refactored the DEBUG_STRING to use the package name.

@gregives change requests welcome, otherwise I'll merge in a few days.

@johnhunter johnhunter self-assigned this Feb 19, 2022
@johnhunter
Copy link
Collaborator Author

We're good to merge this ✅

@johnhunter johnhunter merged commit f2fec7d into master Feb 23, 2022
@johnhunter johnhunter deleted the compatibility-checking branch February 23, 2022 18:12
@gregives
Copy link
Owner

gregives commented Mar 4, 2022

Hey @johnhunter sorry I was on holiday so didn't get a chance to review this pull request, it looks great though!

@gregives
Copy link
Owner

gregives commented Mar 4, 2022

Released in v0.3.1

@johnhunter
Copy link
Collaborator Author

Hey, no problem. Thanks for the release 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants