API v1.0
Breaking changes for API v1.0
Here is a list of breaking changes that happened during the API v1.0 period when differing versions of Terminaux introduced breaking changes.
From 1.0.x to 1.1.x
Between the 1.0.x and 1.1.x version range, we've made the following breaking changes:
Moved FigletTools
FigletTools
In preparation for the figlet font selector, we've decided to move this class from the Terminaux.Writer.FancyWriters.Tools
namespace to a more appropriate place, which is Terminaux.Figlet
.
From 1.1.x to 1.4.x
Between the 1.1.x and 1.4.x version range, we've made the following breaking changes:
Added the signing key (a.k.a. strong name)
Nitrocid KS launched without any signing key. Originally, it was planned to come signed by us, but it didn't work. However, we used the strong naming tool to give Nitrocid KS a unique identity to avoid dependency hell.
Enhanced console wrapper
When Terminaux shipped its first version, it had a console wrapper that was exclusive to the console reader. We've decided to make this wrapper broader, causing Terminaux to ddepend on this wrapper to call the Console functions, hence increasing its flexibility.
From 1.4.x to 1.6.x
Between the 1.4.x and 1.6.x version range, we've made the following breaking changes:
Moved the legacy Figgle writers
Since Figletize was made to improve the Figgle library as a fork, we've decided to move all Figgle-based figlet writers to Terminaux's separate library for Figgle-related writers and tools.
From 1.6.x to 1.8.x
Between the 1.6.x and 1.8.x version range, we've made the following breaking changes:
Conflicting write overloads reduced
Ever since Terminaux was released to the public, the Color
class had an implicit operator which would take either an integer, a string, or a ConsoleColors
value and create a new Color
class based on these values. This caused us to have to fix every function call that contain strings as their first parameters, since they were mistaken for creating a new color, causing graphical artifacts.
We've recommended mod developers who suffer from this ambiguity issue append a vars:
prefix in its appropriate place and write new object[] { args }
, but this is a big overhead.
So, we've decided to rename function names that take colors to these variants:
Write()
: for plain writing in default colorsWriteColor()
: for writing with custom foreground colorsWriteColorBack()
: for writing with custom foreground and background colors
From 1.8.x to 1.10.x
Between the 1.8.x and 1.10.x version range, we've made the following breaking changes:
Replaced Color255
with deserialized colors data
Color255
with deserialized colors dataColor255
used to host a single variable containing the 256 console colors and their information in a single object class. However, the way it was implemented was more complicated and uses the JSON LINQ feature, which is complex.
As a result, we've decided to reduce complexity by removing the ColorDataJson
variable from the class, ultimately resulting in the removal of this entire class.