Skip to content

Commit

Permalink
v0.21.2
Browse files Browse the repository at this point in the history
See CHANGELOG
  • Loading branch information
skinny85 authored Jan 22, 2020
2 parents fb1108e + 1cbba1f commit 4370756
Show file tree
Hide file tree
Showing 120 changed files with 1,993 additions and 1,006 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

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


### Bug Fixes

* **java:** maven-surefire-plugin 2.22.2 ([#1165](https://github.com/aws/jsii/issues/1165)) ([2f1f7b9](https://github.com/aws/jsii/commit/2f1f7b91f6405db8f992dc3331a5749b7f5fc9b3))
* depend on python-3.8-supporting version of cattrs ([#1177](https://github.com/aws/jsii/issues/1177)) ([e9b00c8](https://github.com/aws/jsii/commit/e9b00c80c46968aecc2e51dbf822fbe8acecd1cb)), closes [#913](https://github.com/aws/jsii/issues/913)
* **rosetta:** properly escape C# comments as XML ([#1184](https://github.com/aws/jsii/issues/1184)) ([2bdc589](https://github.com/aws/jsii/commit/2bdc589f105a90f394e85f0c9287f69b19c0b536))
* poor error message on scalar deserialization type mismatch ([#1187](https://github.com/aws/jsii/issues/1187)) ([fdf8927](https://github.com/aws/jsii/commit/fdf8927314a6953d4c206a0c69df510ddcc2eaf0))


### Features

* **superchain:** upgrade maven to 3.6.3 ([#1205](https://github.com/aws/jsii/issues/1205)) ([1398bef](https://github.com/aws/jsii/commit/1398bef0eb5359b2cacb3eda3a1255510f0e7e77))





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)


Expand Down
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,16 @@ The pacmak code generator should be implemented under

The [Python](./packages/jsii-pacmak/lib/targets/python.ts) target is a good
example to work from.

## Releasing
### The `jsii/superchain` Docker image

Upon merging new changes to the `master` branch, the `jsii/superchain:nightly`
image will be released by TravisCI after a last validation build.

Upon making a new `jsii` release (when the GitHub release entry - and its
corresponding git tag - is created), the `jsii/superchain:latest` image will
be released by TravisCI after a last validation build.

The latest release information (for both of the Docker image tags) can be seen
on [Docker Hub](https://hub.docker.com/r/jsii/superchain/tags)
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.1"
"version": "0.21.2"
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"test:update": "lerna run test:update --stream"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.19.1",
"eslint-import-resolver-node": "^0.3.2",
"eslint-plugin-import": "^2.20.0",
"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.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





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)

**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.1",
"version": "0.21.2",
"private": true,
"description": ".NET Roslyn Analyzers for Jsii",
"license": "Apache-2.0",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@types/node": "^10.17.13",
"jsii-build-tools": "^0.21.1",
"typescript": "~3.7.4"
"jsii-build-tools": "^0.21.2",
"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.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





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)

**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.1",
"version": "0.21.2",
"private": true,
"description": ".NET json model for jsii spec and api.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/node": "^10.17.13",
"jsii-build-tools": "^0.21.1",
"typescript": "~3.7.4"
"jsii-build-tools": "^0.21.2",
"typescript": "~3.7.5"
}
}
8 changes: 8 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,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [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





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)

**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.1",
"version": "0.21.2",
"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.1",
"@jsii/dotnet-runtime": "^0.21.2",
"@types/node": "^10.17.13",
"jsii-calc": "^0.21.1",
"jsii-pacmak": "^0.21.1",
"typescript": "~3.7.4"
"jsii-calc": "^0.21.2",
"jsii-pacmak": "^0.21.2",
"typescript": "~3.7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
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.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





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)

**Note:** Version bump only for package @jsii/dotnet-runtime
Expand Down
10 changes: 5 additions & 5 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.1",
"version": "0.21.2",
"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.1",
"@jsii/runtime": "^0.21.1",
"@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.1",
"jsii-build-tools": "^0.21.2",
"semver": "^7.1.1",
"typescript": "~3.7.4"
"typescript": "~3.7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Amazon.JSII.JsonModel" Version="$(JsiiVersionRange)" />
</ItemGroup>
Expand Down
8 changes: 8 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,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [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





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)

**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.1",
"version": "0.21.2",
"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.1",
"jsii-calc": "^0.21.1",
"jsii-pacmak": "^0.21.1"
"@jsii/java-runtime": "^0.21.2",
"jsii-calc": "^0.21.2",
"jsii-pacmak": "^0.21.2"
}
}
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.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)


### Bug Fixes

* **java:** maven-surefire-plugin 2.22.2 ([#1165](https://github.com/aws/jsii/issues/1165)) ([2f1f7b9](https://github.com/aws/jsii/commit/2f1f7b91f6405db8f992dc3331a5749b7f5fc9b3))





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)

**Note:** Version bump only for package @jsii/java-runtime
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.1",
"version": "0.21.2",
"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.1",
"@jsii/runtime": "^0.21.2",
"@types/node": "^10.17.13",
"jsii-build-tools": "^0.21.1",
"typescript": "~3.7.4"
"jsii-build-tools": "^0.21.2",
"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 @@ -168,12 +168,12 @@ process.stdout.write(`<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<version>2.22.2</version>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.0</version>
<version>2.22.2</version>
</plugin>
</plugins>
</build>
Expand Down
11 changes: 11 additions & 0 deletions packages/@jsii/kernel/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.21.2](https://github.com/aws/jsii/compare/v0.21.1...v0.21.2) (2020-01-22)


### Bug Fixes

* poor error message on scalar deserialization type mismatch ([#1187](https://github.com/aws/jsii/issues/1187)) ([fdf8927](https://github.com/aws/jsii/commit/fdf8927314a6953d4c206a0c69df510ddcc2eaf0))





## [0.21.1](https://github.com/aws/jsii/compare/v0.21.0...v0.21.1) (2020-01-03)

**Note:** Version bump only for package @jsii/kernel
Expand Down
8 changes: 4 additions & 4 deletions packages/@jsii/kernel/lib/serialization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ export const SERIALIZERS: {[k: string]: Serializer} = {
const primitiveType = optionalValue.type as spec.PrimitiveTypeReference;

if (!isScalar(value)) {
throw new Error(`Expected Scalar, got ${JSON.stringify(value)}`);
throw new Error(`Expected ${spec.describeTypeReference(optionalValue.type)}, got ${JSON.stringify(value)}`);
}
if (typeof value !== primitiveType.primitive) {
throw new Error(`Expected '${primitiveType.primitive}', got ${JSON.stringify(value)} (${typeof value})`);
throw new Error(`Expected a ${spec.describeTypeReference(optionalValue.type)}, got ${JSON.stringify(value)} (${typeof value})`);
}
return value;
},
Expand All @@ -152,10 +152,10 @@ export const SERIALIZERS: {[k: string]: Serializer} = {
const primitiveType = optionalValue.type as spec.PrimitiveTypeReference;

if (!isScalar(value)) {
throw new Error(`Expected Scalar, got ${JSON.stringify(value)}`);
throw new Error(`Expected a ${spec.describeTypeReference(optionalValue.type)}, got ${JSON.stringify(value)}`);
}
if (typeof value !== primitiveType.primitive) {
throw new Error(`Expected '${primitiveType.primitive}', got ${JSON.stringify(value)} (${typeof value})`);
throw new Error(`Expected a ${spec.describeTypeReference(optionalValue.type)}, got ${JSON.stringify(value)} (${typeof value})`);
}

return value;
Expand Down
Loading

0 comments on commit 4370756

Please sign in to comment.