Skip to content

v1.6.0

Choose a tag to compare

@Emyrk Emyrk released this 16 Oct 16:31
· 20 commits to main since this release
3f5ec56

!! Breaking Change !!

  • !feat: handle base type any case by @Emyrk in #56

type <Name> any previously did not generate an output. It now does.
This is because any == interface{}, and this type generator intentionally does not generate interfaces. In Golang however, interface{} is equivalent to the any type in typescript. So this change includes empty interfaces in the output.

If your output has additional types that you do not expect, please file an issue. Or exclude the types programatically.

What's Changed

  • feat: ignore non-exported identifiers by @toqueteos in #38
  • feat: add GoParser.ExcludeCustom method by @toqueteos in #39
  • chore: prevent null in heritage extends expressions by @Emyrk in #41
  • feat: introduce MutationFunc type by @toqueteos in #43
  • feat: avoid generating repeated type constraints by @toqueteos in #42
  • feat: add InterfaceToType mutation to convert interfaces to type aliases by @stavros-k in #52
  • !feat: handle base type any case by @Emyrk in #56
  • fix: do not generate a type for interfaces by @Emyrk in #58
  • chore: support attaching arbitrary comments to types by @Emyrk in #57
  • feat: preserve comments from golang -> typescript by @Emyrk in #59

New Contributors

Full Changelog: v1.5.1...v1.6.0