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

refactor: drop youtube tag #5064

Merged
merged 3 commits into from
Sep 20, 2022

Conversation

yoshinorin
Copy link
Member

@yoshinorin yoshinorin commented Sep 17, 2022

What does it do?

Breaking Changes

IMHO, an application should not depends on a specific service as possible. Actually, I never use embedded youtube on my blog. These tags should provide as a plugin and should not include any core module.

If we drop this, we have to announce and create a new plugin for current users.

Screenshots

N/A

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@github-actions
Copy link

How to test

git clone -b refactor/drop-youtube-tag https://github.com/yoshinorin/hexo.git
cd hexo
npm install
npm test

@coveralls
Copy link

coveralls commented Sep 17, 2022

Coverage Status

Coverage decreased (-0.007%) to 98.319% when pulling 05900cd on yoshinorin:refactor/drop-youtube-tag into 976c897 on hexojs:master.

@SukkaW
Copy link
Member

SukkaW commented Sep 17, 2022

Maybe we could implement those as a separate plugin, like hexo-tag-embed, so that anyone upgrading to Hexo 7 can still render the same result with their existing posts.

@renbaoshuo renbaoshuo added this to the 7.0.0 milestone Sep 18, 2022
@yoshinorin yoshinorin merged commit d8a4b2b into hexojs:master Sep 20, 2022
@yoshinorin yoshinorin deleted the refactor/drop-youtube-tag branch September 20, 2022 14:33
@stevenjoezhang stevenjoezhang mentioned this pull request Nov 24, 2022
2 tasks
@yoshinorin
Copy link
Member Author

refs: #5113 (comment)

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

Successfully merging this pull request may close these issues.

4 participants