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

Migrate plugin/plugin.go to use github.com/mattermost/mattermost/server/public #500

Open
kaakaa opened this issue Sep 10, 2023 · 1 comment

Comments

@kaakaa
Copy link
Contributor

kaakaa commented Sep 10, 2023

Mattermost introduced new created go module that is for developer to use mattermost-server's public API and discretely versioned from the mattermost-server. This ticket is about migrating plugin/plugin.go to use that package.

This issue is a successor of #350.


refs: Mattermost self-hosted changelog

Introduced the public submodule, housing the familiar model and plugin packages, but now discretely versioned from the server. It is no longer necessary to go get a particular commit hash, as Go programs and plugins can now opt-in to importing github.com/mattermost/mattermost-server/server/public and managing versions idiomatically. While this submodule has not yet shipped a v1 and will introduce breaking changes before stabilizing the API, it remains both forwards and backwards compatible with the Mattermost server itself.

refs: [MM-53695] Make use of github.com/mattermost/mattermost/server/public by hanzei · Pull Request #185 · mattermost/mattermost-plugin-starter-template

@kaakaa
Copy link
Contributor Author

kaakaa commented Feb 14, 2024

refs mattermost/mattermost-plugin-github#725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant