Skip to content

Commit

Permalink
Up version
Browse files Browse the repository at this point in the history
  • Loading branch information
fakefeik committed Feb 21, 2019
1 parent 8aac6a3 commit 108fdc7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v1.2 - 2019.02.21
- Add GlobalNullable generation option: if `true`, type `Nullable<T>` from global namespace will be used
- Fixed invalid Nullable<T> generation
- Use `Array<null | T>` instead of `Nullable<T>[]` if GlobalNullable option is set to `false`

## v1.1 - 2019.02.18
- TypeScript files generated with '.ts' extension
- Generation options: EnumGenerationMode: FixedStringsAndDictionary | TypeScriptEnum, EnableOptionalProperties, EnableExplicitNullability
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ export type SomeType = {

When **disabled** produces all types as-is.

### UseGlobalNullable

This option is **disabled** by default. When **enabled**, global `Nullable<T>` is used instead of union `null | T`

## Known bugs

See [this issue](https://github.com/skbkontur/TypeScript.ContractGenerator/issues/1)
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.1",
"version": "1.2",
"assemblyVersion": {
"precision": "build"
},
Expand Down

0 comments on commit 108fdc7

Please sign in to comment.