Skip to content

feat: remove json-iterator and pkg/errors dependencies#1987

Merged
ubogdan merged 10 commits into
swaggo:v2from
devhaozi:v2
Mar 2, 2025
Merged

feat: remove json-iterator and pkg/errors dependencies#1987
ubogdan merged 10 commits into
swaggo:v2from
devhaozi:v2

Conversation

@devhaozi

@devhaozi devhaozi commented Mar 1, 2025

Copy link
Copy Markdown

Describe the PR
Remove the deprecated pkg/errors package and the json-iterator package which has not been updated for many years. This reduces several dependencies in swag.

Relation issue
None

Additional context
Add any other context about the problem here.

@devhaozi

devhaozi commented Mar 1, 2025

Copy link
Copy Markdown
Author

Ready for review. cc @ubogdan @sdghchj

@devhaozi

devhaozi commented Mar 2, 2025

Copy link
Copy Markdown
Author

Tests fixed and added workflows for go1.23 and go1.24.

@ubogdan ubogdan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@ubogdan ubogdan merged commit dc297b3 into swaggo:v2 Mar 2, 2025
@devhaozi devhaozi deleted the v2 branch March 2, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants