Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2f7b4d4
chore: merge release/v0.21.2 to master
skinny85 Jan 22, 2020
43ab74e
chore(deps-dev): bump @types/jest from 24.9.0 to 24.9.1 (#1216)
dependabot-preview[bot] Jan 25, 2020
2652043
chore(deps): bump inquirer from 7.0.3 to 7.0.4 (#1217)
dependabot-preview[bot] Jan 25, 2020
bbc2302
fix(java): invalid collections returned with non-class elements (#1197)
RomainMuller Jan 27, 2020
6b1de54
chore: add test loading current assembly (#1220)
RomainMuller Jan 27, 2020
704b3ef
chore(deps-dev): bump @typescript-eslint/parser from 2.17.0 to 2.18.0…
dependabot-preview[bot] Jan 28, 2020
74f4c0c
chore(deps-dev): bump @types/yargs from 15.0.1 to 15.0.2 (#1224)
dependabot-preview[bot] Jan 28, 2020
38899d3
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#1222)
dependabot-preview[bot] Jan 28, 2020
30c7d5b
chore(deps): bump tar from 5.0.5 to 6.0.0 (#1226)
dependabot-preview[bot] Jan 28, 2020
1a2cb24
chore(deps-dev): bump @types/semver from 6.2.0 to 7.1.0 (#1225)
dependabot-preview[bot] Jan 28, 2020
931e2a5
chore(deps-dev): bump @types/jest from 24.9.1 to 25.1.0 (#1223)
dependabot-preview[bot] Jan 28, 2020
4cf26b9
chore(deps-dev): bump @types/node from 10.17.13 to 10.17.14 (#1227)
dependabot-preview[bot] Jan 29, 2020
4d1fbc4
chore(deps): bump tar from 6.0.0 to 6.0.1 (#1228)
dependabot-preview[bot] Jan 29, 2020
25b5e6f
chore(deps): bump log4js from 6.1.0 to 6.1.1 (#1229)
dependabot-preview[bot] Jan 30, 2020
1509ac2
chore(deps-dev): bump @types/jest from 25.1.0 to 25.1.1 (#1230)
dependabot-preview[bot] Jan 30, 2020
0f58037
chore(deps): bump semver from 7.1.1 to 7.1.2 (#1231)
dependabot-preview[bot] Jan 31, 2020
4d69db6
chore(deps-dev): bump @types/yargs from 15.0.2 to 15.0.3 (#1232)
dependabot-preview[bot] Feb 1, 2020
323f62a
chore(deps-dev): bump eslint-plugin-import from 2.20.0 to 2.20.1 (#1233)
dependabot-preview[bot] Feb 3, 2020
6f2ab03
feat(java): annotate nullability (#1234)
RomainMuller Feb 3, 2020
6dbb81a
chore: annotate Docker image with author info (#1211)
RomainMuller Feb 3, 2020
71f67ef
chore(deps-dev): bump @typescript-eslint/parser from 2.18.0 to 2.19.0…
dependabot-preview[bot] Feb 4, 2020
d04dcc9
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#1236)
dependabot-preview[bot] Feb 4, 2020
a804221
chore(deps): bump Microsoft.NET.Test.Sdk (#1237)
dependabot-preview[bot] Feb 5, 2020
b97ed2d
chore(deps): bump Microsoft.NET.Test.Sdk (#1238)
dependabot-preview[bot] Feb 5, 2020
8cb6d7e
chore(deps): bump Microsoft.NET.Test.Sdk (#1239)
dependabot-preview[bot] Feb 5, 2020
fac82aa
release: v0.22.0
skinny85 Feb 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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