Skip to content

Commit

Permalink
release: v0.22.0
Browse files Browse the repository at this point in the history
see CHNAGELOG
  • Loading branch information
NetaNir authored Feb 6, 2020
2 parents 4370756 + fac82aa commit 14afdde
Show file tree
Hide file tree
Showing 277 changed files with 10,217 additions and 1,147 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.22.0](https://github.com/aws/jsii/compare/v0.21.2...v0.22.0) (2020-02-06)


### Bug Fixes

* **java:** invalid collections returned with non-class elements ([#1197](https://github.com/aws/jsii/issues/1197)) ([bbc2302](https://github.com/aws/jsii/commit/bbc23029746038e34fdd572312cec218344a368a)), closes [#1196](https://github.com/aws/jsii/issues/1196)


### Features

* **java:** annotate nullability ([#1234](https://github.com/aws/jsii/issues/1234)) ([6f2ab03](https://github.com/aws/jsii/commit/6f2ab03dfc4fe5625d97cfacdc980e85b54928a7)), closes [aws/aws-cdk#6026](https://github.com/aws/aws-cdk/issues/6026)





## [0.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"rejectCycles": true
}
},
"version": "0.21.2"
"version": "0.22.0"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"test:update": "lerna run test:update --stream"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-import": "^2.20.1",
"eslint-import-resolver-node": "^0.3.3",
"eslint-import-resolver-typescript": "^2.0.0",
"lerna": "^3.20.2"
Expand Down
8 changes: 8 additions & 0 deletions packages/@jsii/dotnet-analyzers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.22.0](https://github.com/aws/jsii/compare/v0.21.2...v0.22.0) (2020-02-06)

**Note:** Version bump only for package @jsii/dotnet-analyzers





## [0.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)

**Note:** Version bump only for package @jsii/dotnet-analyzers
Expand Down
6 changes: 3 additions & 3 deletions packages/@jsii/dotnet-analyzers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-analyzers",
"version": "0.21.2",
"version": "0.22.0",
"private": true,
"description": ".NET Roslyn Analyzers for Jsii",
"license": "Apache-2.0",
Expand Down Expand Up @@ -37,8 +37,8 @@
"package": "package-dotnet"
},
"devDependencies": {
"@types/node": "^10.17.13",
"jsii-build-tools": "^0.21.2",
"@types/node": "^10.17.14",
"jsii-build-tools": "^0.22.0",
"typescript": "~3.7.5"
}
}
8 changes: 8 additions & 0 deletions packages/@jsii/dotnet-jsonmodel/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.22.0](https://github.com/aws/jsii/compare/v0.21.2...v0.22.0) (2020-02-06)

**Note:** Version bump only for package @jsii/dotnet-jsonmodel





## [0.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)

**Note:** Version bump only for package @jsii/dotnet-jsonmodel
Expand Down
6 changes: 3 additions & 3 deletions packages/@jsii/dotnet-jsonmodel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-jsonmodel",
"version": "0.21.2",
"version": "0.22.0",
"private": true,
"description": ".NET json model for jsii spec and api.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -35,8 +35,8 @@
"package": "package-dotnet"
},
"devDependencies": {
"@types/node": "^10.17.13",
"jsii-build-tools": "^0.21.2",
"@types/node": "^10.17.14",
"jsii-build-tools": "^0.22.0",
"typescript": "~3.7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
Expand Down
11 changes: 11 additions & 0 deletions packages/@jsii/dotnet-runtime-test/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.22.0](https://github.com/aws/jsii/compare/v0.21.2...v0.22.0) (2020-02-06)


### Bug Fixes

* **java:** invalid collections returned with non-class elements ([#1197](https://github.com/aws/jsii/issues/1197)) ([bbc2302](https://github.com/aws/jsii/commit/bbc23029746038e34fdd572312cec218344a368a)), closes [#1196](https://github.com/aws/jsii/issues/1196)





## [0.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)

**Note:** Version bump only for package @jsii/dotnet-runtime-test
Expand Down
10 changes: 5 additions & 5 deletions packages/@jsii/dotnet-runtime-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-runtime-test",
"version": "0.21.2",
"version": "0.22.0",
"private": true,
"description": "Tests for the .NET client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -30,10 +30,10 @@
"test:update": "UPDATE_DIFF=1 npm run test"
},
"devDependencies": {
"@jsii/dotnet-runtime": "^0.21.2",
"@types/node": "^10.17.13",
"jsii-calc": "^0.21.2",
"jsii-pacmak": "^0.21.2",
"@jsii/dotnet-runtime": "^0.22.0",
"@types/node": "^10.17.14",
"jsii-calc": "^0.22.0",
"jsii-pacmak": "^0.22.0",
"typescript": "~3.7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1423,5 +1423,41 @@ protected override string Property
set => _property = $"String<{value}>";
}
}

[Fact(DisplayName = Prefix + nameof(CollectionOfInterfaces_ListOfStructs))]
public void CollectionOfInterfaces_ListOfStructs()
{
foreach (var elt in InterfaceCollections.ListOfStructs())
{
Assert.IsAssignableFrom<IStructA>(elt);
}
}

[Fact(DisplayName = Prefix + nameof(CollectionOfInterfaces_ListOfInterfaces))]
public void CollectionOfInterfaces_ListOfInterfaces()
{
foreach (var elt in InterfaceCollections.ListOfInterfaces())
{
Assert.IsAssignableFrom<IBell>(elt);
}
}

[Fact(DisplayName = Prefix + nameof(CollectionOfInterfaces_MapOfStructs))]
public void CollectionOfInterfaces_MapOfStructs()
{
foreach (var elt in InterfaceCollections.MapOfStructs().Values)
{
Assert.IsAssignableFrom<IStructA>(elt);
}
}

[Fact(DisplayName = Prefix + nameof(CollectionOfInterfaces_MapOfInterfaces))]
public void CollectionOfInterfaces_MapOfInterfaces()
{
foreach (var elt in InterfaceCollections.MapOfInterfaces().Values)
{
Assert.IsAssignableFrom<IBell>(elt);
}
}
}
}
8 changes: 8 additions & 0 deletions packages/@jsii/dotnet-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.22.0](https://github.com/aws/jsii/compare/v0.21.2...v0.22.0) (2020-02-06)

**Note:** Version bump only for package @jsii/dotnet-runtime





## [0.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)

**Note:** Version bump only for package @jsii/dotnet-runtime
Expand Down
14 changes: 7 additions & 7 deletions packages/@jsii/dotnet-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-runtime",
"version": "0.21.2",
"version": "0.22.0",
"private": true,
"description": ".NET client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -37,12 +37,12 @@
"package": "package-dotnet"
},
"devDependencies": {
"@jsii/dotnet-jsonmodel": "^0.21.2",
"@jsii/runtime": "^0.21.2",
"@types/node": "^10.17.13",
"@types/semver": "^6.2.0",
"jsii-build-tools": "^0.21.2",
"semver": "^7.1.1",
"@jsii/dotnet-jsonmodel": "^0.22.0",
"@jsii/runtime": "^0.22.0",
"@types/node": "^10.17.14",
"@types/semver": "^7.1.0",
"jsii-build-tools": "^0.22.0",
"semver": "^7.1.2",
"typescript": "~3.7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="NSubstitute" Version="4.2.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
Expand Down
11 changes: 11 additions & 0 deletions packages/@jsii/java-runtime-test/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.22.0](https://github.com/aws/jsii/compare/v0.21.2...v0.22.0) (2020-02-06)


### Bug Fixes

* **java:** invalid collections returned with non-class elements ([#1197](https://github.com/aws/jsii/issues/1197)) ([bbc2302](https://github.com/aws/jsii/commit/bbc23029746038e34fdd572312cec218344a368a)), closes [#1196](https://github.com/aws/jsii/issues/1196)





## [0.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)

**Note:** Version bump only for package @jsii/java-runtime-test
Expand Down
8 changes: 4 additions & 4 deletions packages/@jsii/java-runtime-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/java-runtime-test",
"version": "0.21.2",
"version": "0.22.0",
"private": true,
"description": "Tests for the Java client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,8 +28,8 @@
"test:update": "UPDATE_DIFF=1 npm run test"
},
"devDependencies": {
"@jsii/java-runtime": "^0.21.2",
"jsii-calc": "^0.21.2",
"jsii-pacmak": "^0.21.2"
"@jsii/java-runtime": "^0.22.0",
"jsii-calc": "^0.22.0",
"jsii-pacmak": "^0.22.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1691,4 +1691,32 @@ protected void setProperty(String value) {

assertEquals("Wrapped<String<Oomf!>>", abstractSuite.workItAll("Oomf!"));
}

@Test
public void collectionOfInterfaces_ListOfStructs() {
for (final Object obj : InterfaceCollections.listOfStructs()) {
assertTrue(obj + " is an instance of " + StructA.class.getCanonicalName(), obj instanceof StructA);
}
}

@Test
public void collectionOfInterfaces_ListOfInterfaces() {
for (final Object obj : InterfaceCollections.listOfInterfaces()) {
assertTrue(obj + " is an instance of " + IBell.class.getCanonicalName(), obj instanceof IBell);
}
}

@Test
public void collectionOfInterfaces_MapOfStructs() {
for (final Object obj : InterfaceCollections.mapOfStructs().values()) {
assertTrue(obj + " is an instance of " + StructA.class.getCanonicalName(), obj instanceof StructA);
}
}

@Test
public void collectionOfInterfaces_MapOfInterfaces() {
for (final Object obj : InterfaceCollections.mapOfInterfaces().values()) {
assertTrue(obj + " is an instance of " + IBell.class.getCanonicalName(), obj instanceof IBell);
}
}
}
11 changes: 11 additions & 0 deletions packages/@jsii/java-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.22.0](https://github.com/aws/jsii/compare/v0.21.2...v0.22.0) (2020-02-06)


### Bug Fixes

* **java:** invalid collections returned with non-class elements ([#1197](https://github.com/aws/jsii/issues/1197)) ([bbc2302](https://github.com/aws/jsii/commit/bbc23029746038e34fdd572312cec218344a368a)), closes [#1196](https://github.com/aws/jsii/issues/1196)





## [0.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)


Expand Down
8 changes: 4 additions & 4 deletions packages/@jsii/java-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/java-runtime",
"version": "0.21.2",
"version": "0.22.0",
"private": true,
"description": "Java client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -31,9 +31,9 @@
"package": "package-java"
},
"devDependencies": {
"@jsii/runtime": "^0.21.2",
"@types/node": "^10.17.13",
"jsii-build-tools": "^0.21.2",
"@jsii/runtime": "^0.22.0",
"@types/node": "^10.17.14",
"jsii-build-tools": "^0.22.0",
"typescript": "~3.7.5"
}
}
4 changes: 2 additions & 2 deletions packages/@jsii/java-runtime/pom.xml.t.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ process.stdout.write(`<?xml version="1.0" encoding="UTF-8"?>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-junit-jupiter -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>\${mockito.version}</version>
<scope>test</scope>
</dependency>
Expand Down
Loading

0 comments on commit 14afdde

Please sign in to comment.