Skip to content

Feature: revamp and rebrand JCDP to JColor#49

Merged
dialex merged 35 commits intomasterfrom
feat/jcolor
Jul 5, 2020
Merged

Feature: revamp and rebrand JCDP to JColor#49
dialex merged 35 commits intomasterfrom
feat/jcolor

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