Releases: coder/guts
Releases · coder/guts
v1.3.0
!! Breaking Change !!
Enum output changed from:
export type EnumString = "bar" | "baz" | "foo" | "qux";
to
export enum EnumString {
EnumBar = "bar",
EnumBaz = "baz",
EnumFoo = "foo",
EnumQux = "qux"
}
To get the previous behavior use the mutation config.EnumAsTypes
.
// use alias types for enums
ts.ApplyMutations(
config.EnumAsTypes,
)
Full Changelog: v1.2.0...v1.3.0
v1.2.0
!! Breaking Change !!
type Example map[string]string
type Example = Record<string,string> | null
To get the previous behavior, where the output is just Record<string,string>
, use the mutation config.NotNullMaps
. This will revert this change for the output.
This was added to be more accurate to the truth, that golang map
types can return a null
json value.
What's Changed
- feat: Added basic tuple support 8032d06
type Numbers [3]int
type Numbers = [ number, number, number ];
Full Changelog: v1.1.0...v1.2.0
v1.1.0
v1.0.1
Initial Release
Stable initial release of guts
. Intended to be used as a library.