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

Feature: revamp and rebrand JCDP to JColor #49

Merged
merged 35 commits into from
Jul 5, 2020
Merged

Feature: revamp and rebrand JCDP to JColor #49

merged 35 commits into from
Jul 5, 2020

Conversation

dialex
Copy link
Owner

@dialex dialex commented Jul 5, 2020

⚠️ This is a MASSIVE breaking change! ⚠️

I'm renaming JCDP to JColor:

  • The main problem this library solves is formatting strings (coloring text or a background). So this name is more explicit.
  • There are better Java alternatives for logging, so there's no point on competing with that. Support for Printer and ColoredPrinter was dropped with this version.
  • My simple and intuitive formatting API gives me a competitive advantage compared to JAnsi. So I focused in that area and now you can format strings inline colorize(string) and print them with good old System.out.print.
  • As part of this refactor, I also added support for 8-bit and TrueColor colors, something JAnsi doesn't offer.

I think this refactor follows the open-source "do one thing, and do it well" philosophy, which will make it easier and lighter to use. Anyway, you can keep using the old JCDP v4 if the printers' functionality is important to you. But keep in mind I won't maintain that branch any longer.

Closes #30
Closes #33
Closes #28
Closes #27

dialex added 30 commits June 21, 2020 19:54
@dialex dialex changed the title Feat/jcolor Feature: revamp and rebrand JCDP to JColor Jul 5, 2020
@dialex dialex merged commit e6822d1 into master Jul 5, 2020
@dialex dialex deleted the feat/jcolor branch July 5, 2020 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant