Skip to content

Use new colored API - #173

Merged
petercorke merged 2 commits into
rai-opensource:masterfrom
shermansiu:feat/use_new_colored_api
Sep 15, 2026
Merged

petercorke merged 2 commits into
rai-opensource:masterfrom
shermansiu:feat/use_new_colored_api

Conversation

@shermansiu

@shermansiu shermansiu commented Oct 11, 2025

Copy link
Copy Markdown
Contributor

fg, bg, and attr were renamed to fore, back, and style in colored 1.5.0 and onwards. Although these functions were added back in colored 2.1.1 for backwards-compatibility, the docstring indicates that they will be deprecated in the future.

@petercorke
petercorke force-pushed the feat/use_new_colored_api branch from f31f2b9 to b5ce917 Compare August 16, 2026 06:49
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@petercorke petercorke left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Useful change to future proof this package against flagged changes in colored package.

@petercorke
petercorke requested a review from taughz as a code owner September 15, 2026 14:28
@petercorke
petercorke merged commit 292d6ba into rai-opensource:master Sep 15, 2026
13 checks passed
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