Replace outdated unmaintained dependencies with modern alternatives#22
Merged
Merged
Conversation
Co-authored-by: ChronosMasterOfAllTime <28963807+ChronosMasterOfAllTime@users.noreply.github.com>
Co-authored-by: ChronosMasterOfAllTime <28963807+ChronosMasterOfAllTime@users.noreply.github.com>
Co-authored-by: ChronosMasterOfAllTime <28963807+ChronosMasterOfAllTime@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update outdated core dependencies for security
Replace outdated unmaintained dependencies with modern alternatives
Oct 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR addresses security and maintenance concerns by replacing two core dependencies that are no longer maintained with actively supported alternatives.
Changes
1. Markdown Rendering: blackfriday → goldmark
Replaced:
github.com/russross/blackfriday/v2v2.1.0 (unmaintained since 2020)With:
github.com/yuin/goldmarkv1.7.13 (actively maintained)The goldmark library is configured with GitHub-flavored markdown extensions to maintain full compatibility with existing functionality:
alignattributes for backward compatibility2. Email Sending: go-gomail → wneessen/go-mail
Replaced:
github.com/go-gomail/gomail(unmaintained since 2016)With:
github.com/wneessen/go-mailv0.7.2 (actively maintained)Updated the examples to use the modern go-mail API while preserving all existing functionality including sender formatting, multi-part messages (text/plain and text/html), and SMTP authentication.
Benefits
Testing
Migration Impact
For library users: No changes required. This is a drop-in replacement with full backward compatibility.
For users referencing the examples: If you've based your email sending code on the examples, you'll need to update your imports and use the new go-mail API. See
examples/main.gofor the updated implementation.Fixes #[issue_number]
Original prompt
Fixes #21
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.