API v7.0
Breaking changes for API v7.0
Here is a list of breaking changes that happened during the API v7.0 period when differing versions of Terminaux introduced breaking changes.
From 6.0.x to 7.0.x
Between the 6.0.x and 7.0.x version range, we've made the following breaking changes:
Removed all obsolete functions
The above classes, which were marked as deprecated back in Terminaux 6.0, have been removed in this API revision to clean things up as we're getting ready to stabilize the cyclic writers to make them more consistent and usable than before.
You'll have to use cyclic writers if you want to continue using fancy writers. You can consult this page for more info.
Base shell info generic class implemented
When you create your own shell info classes to give your shell some important information, such as commands and other info, you had to override the BaseShell
property so that it returned a new instance of your shell. However, this can be a hassle in certain scenarios.
Starting from Nitrocid KS 0.1.2 and Terminaux 7.0, you'll no longer have to override the BaseShell property because we've implemented a generic version of the above class that takes a type of your shell. For example, if your shell is called OxygenShell
and your shell info class is called OxygenShellInfo
, you can just inherit the generic version of the class so that it becomes BaseShellInfo<OxygenShell>
.
As a result, the following properties are removed from the IShellInfo interface:
When inheriting the non-generic base shell class, your shell info class might hold wrong information about your shell, even if your commands are defined. Therefore, you must migrate to the generic version of the class if you want to retain your shell settings.
Last updated