adamedx / scriptclass

Class definition extensions for PowerShell's object-based type system
Apache License 2.0
7 stars 1 forks source link

Reboot and refactor: complete module isolation and scriptclass formalization #25

Closed adamedx closed 5 years ago

adamedx commented 5 years ago

This is a complete refactor and re-implementation of the ScriptClass object extensions -- it contains breaking changes. In addition to including a new packaging of code based on PowerShell's implementation of .NET objects through the class keyword, it removes leaked module state it previously depended upon and is thus more reliable. Several commands have been renamed for consistency and clarity, and some public types have changed structure.

Here is an excerpt from the release notes:

The most significant changes are at the implementation layer, where refactoring and simplification should make the code more reliable at runtime, enable better isolation of PowerShell modules built on it from dependencies on implementation of ScriptClass or other modules depending on it, and even improve runtime performance. In general, the codebase is more modular and now aligns to an explicit logical arrangement, making it easier to maintain and modify.

New features

Breaking changes

Fixed defects