Skip to content

Release 1.0.0 RC2

Compare
Choose a tag to compare
@MaceWindu MaceWindu released this 13 Feb 12:59
· 19 commits to release since this release
71d0249

Release notes

Initial release of microsoft/sourcemap-toolkit fork with netstandard2.0 support.

List of changes

Modern frameworks support

  • target framework changed from net45 to netstandard2.0
  • Newtonsoft.Json dependency replaced with System.Text.Json
  • AjaxMin ES5 JavaScript parser dependency replaced with esprima.net parser with modern JavaScript support
  • RhinoMocks test dependency replaced with Moq
  • SourceLink support added

Refactoring

  • codebase was migrated C# 9 with nullable reference types annotiations
  • solution projects migrated to CSP format from legacy
  • SourcemapToolkit.SourcemapParser and SourcemapToolkit.CallstackDeminifier projects were merged into single SourcemapTools project/assembly (same done for test projects)
  • SourcemapToolkit.CallstackTestApp test app project was removed as it wasn't used directly in testing process
  • enabled checked build
  • fork is rebranded to SourceMapTools (namespaces in code left intact)
  • strong name sign key changed

API changes

  • modified sourcemap/script source provider interfaces to require Stream instead of StreamReader
  • modified some DTOs to have more strict instantiation through constructor to simplify nullable reference types analysis
  • some classes/methods now are static as they don't have state (e.g. SourceMapGenerator, SourceMapParser classes)
  • renamed SourcePosition properties to shorter Line/Column form