Skip to content

Releases: TiLied/CSharpToJavaScript

0.0.04

20 Sep 14:22

Choose a tag to compare

!Breaking Change!
This update is mostly for CLI and Blazor WebAssembly.

  • Deleted method "GenerateManyAsync". Use "GenerateOneAsync" method, that accept folder path now.
  • Changed default to "filename" in "GenerateOneAsync". Now default is the name of input cs file with ".js".
  • Added option to disable console colors.
  • Added method "GenerateOneFromString", that accept a cs string and not a path to file. Returns StringBuilder.
  • Fixed a bug where lib crashes without error when passing a file outside a solution.
  • Small fixes.

Full Changelog: 0.0.03...0.0.04

0.0.03

14 Sep 14:53

Choose a tag to compare

!Breaking changes!

  • Passing assembly as an argument, no longer required!
  • Renamed "GenerateAsync" to "GenerateOneAsync".
  • Deleted option "OutPutFileName", now you need to pass as an argument in "GenerateOneAsync", default is still the same: "main.js".
  • Added "GenerateManyAsync".
  • Added few expressions.
  • Further improvement to "this".
  • Colorful output to console.
  • Added static keyword for methods and properties.
  • Other improvements.
  • Fixed bugs.
  • Microsoft.CodeAnalysis.CSharp updated.
  • Updated generated csharp.
  • Updated xml docs.

Full Changelog: 0.0.02...0.0.03

0.0.02

16 Jul 11:50

Choose a tag to compare

Breaking changes!

"GlobalThis" now in "GlobalObject".
Renamed method from "Generate2Async" to "GenerateAsync".

  • Updated generated csharp and xml documents.
  • Added more comments to code,
  • Initial support for built-it types/generics.
  • Many missing tokens.
  • Support for while loop.
  • foreach to for..of.
  • $"{test}" to `${test}`.
  • Bug fixes.

Full Changelog: 0.0.01...0.0.02

0.0.01

06 Jul 14:39

Choose a tag to compare