Releases: unosquare/swan
Releases · unosquare/swan
Maintenance minor update
Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.5 to 2.9.6 Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.5 to 2.9.6. - [Release notes](https://github.com/dotnet/roslyn-analyzers/releases) - [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md) - [Commits](https://github.com/dotnet/roslyn-analyzers/compare/v2.9.5...v2.9.6) Signed-off-by: dependabot-preview[bot] <[email protected]>
Port to C# 8
Update to Null reference types
Add new TextLogger and JSON fixes
- Fix issue with JSON and Enum values #202
- Fix issue with JSON Number #205
- Add new
TextLogger
abstract class for text-based logger asDebugLogger
andFileLogger
. - Add static property
Instance
toConsoleLogger
andDebugLogger
- Upgrade to latest Code Pages nuget (this dependency will be removed in the future version).
Fixed issues with Terminal and FileLogger
Add Strong-name Assembly
v2.2.2 - Fixed array property copy between objects (CopyPropertyTo
)
Change Terminal Border to Unicode
Change characters used for Terminal Border to Unicode.
Fixed issues with JSON Serializer/Deserializer
BREAKING CHANGES
- JSON Deserializer will try to use no-empty constructor if the class to deserialize doesn't have a default constructor. The previous behavior was returning
null
. - JSON Serializer will serialize
Enum
as integer instead of the previous complex type with_value
property. - The
Terminal.IsDebuggerAttached
property was moved toDebugLogger
.
Changes to ConsoleLogger
BREAKING CHANGES
- Add new logger target
DebugLogger
- Remove Debug writer from
Terminal
- Register the
ConsoleLogger
just whenTerminal.ConsoleIsPresent
is true - Register the
DebugLogger
just whenTerminal.DebugIsAttached
is true
Major version 2.0.0
SWAN 2.0 is a general clean-up of classes and target frameworks that nobody is really using.
- New namespace is just
Swan
, and more specific namespaces names are used. - New assemblies names are
Swan.Lite.dll
andSwan.dll
- LDAP Client was moved to an independent project.
- SNMP Client was removed.
- Terminal was refactored: extension methods were removed, and the logging was moved to a new ConsoleLogger.
- A new logging subsystem from Logger class.
- SWAN Lite only targets to .NET Standard 2.0.
- Integrate some classes from the new EmbedIO v3 (thanks to @rdeago).
- Rename
Runtime
class toSwanRuntime
- General clean-up.
Update JSON Formatter to support camel Case
Update JSON Formatter to support camel Case