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

Use Directus version in host field of extensions manifest #21730

Merged
merged 4 commits into from Mar 6, 2024

Conversation

rijkvanzanten
Copy link
Member

@rijkvanzanten rijkvanzanten commented Mar 6, 2024

Scope

What's changed:

  • Fixed an issue in the extensions SDK that would cause the host manifest field to be the SDK version rather than the Directus version

Potential Risks / Drawbacks

Review Notes / Questions

  • I considered pulling the up to date version from the linked directus package, but that's A) very heavy as that now means the whole of Directus is a dependency, and B) not accurate, as we only really care about the last known breaking change of the extensions system itself 🤔 Having to maintain that constant separately isn't ideal either, but is the best solution I can come up with

Copy link

changeset-bot bot commented Mar 6, 2024

🦋 Changeset detected

Latest commit: dc6b0bf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@directus/extensions-sdk Patch
@directus/api Patch
create-directus-extension Patch
directus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rijkvanzanten
Copy link
Member Author

h/t to @phazonoverload for reporting this

Way too many dependencies for just the latest version
Copy link
Contributor

@ComfortablyCoding ComfortablyCoding left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@ComfortablyCoding ComfortablyCoding self-assigned this Mar 6, 2024
@ComfortablyCoding ComfortablyCoding merged commit f1786f1 into main Mar 6, 2024
4 checks passed
@ComfortablyCoding ComfortablyCoding deleted the extensions-sdk-version branch March 6, 2024 21:51
@github-actions github-actions bot added this to the Next Release milestone Mar 6, 2024
fanmingfei pushed a commit to fanmingfei/directus that referenced this pull request Mar 7, 2024
…#21730)

* Use version from directus package

* Use sdk version where appropriate

* Add changeset

* Don't rely on directus package

Way too many dependencies for just the latest version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants