Skip to content

Commit

Permalink
chore(release): 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Dec 7, 2020
2 parents 585166b + 69156c4 commit 99a3413
Show file tree
Hide file tree
Showing 53 changed files with 878 additions and 695 deletions.
36 changes: 36 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,42 @@
"contributions": [
"bug"
]
},
{
"login": "ThomasSteinbach",
"name": "Thomas Steinbach",
"avatar_url": "https://avatars0.githubusercontent.com/u/1683246?v=4",
"profile": "https://github.com/ThomasSteinbach",
"contributions": [
"bug"
]
},
{
"login": "Ophirr33",
"name": "Ty Coghlan",
"avatar_url": "https://avatars2.githubusercontent.com/u/15920577?v=4",
"profile": "https://ty.coghlan.dev/",
"contributions": [
"bug"
]
},
{
"login": "slotnick",
"name": "Dave Slotnick",
"avatar_url": "https://avatars3.githubusercontent.com/u/918175?v=4",
"profile": "https://github.com/slotnick",
"contributions": [
"bug"
]
},
{
"login": "majasb",
"name": "Maja S Bratseth",
"avatar_url": "https://avatars2.githubusercontent.com/u/142510?v=4",
"profile": "https://github.com/majasb",
"contributions": [
"bug"
]
}
],
"repoType": "github",
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
# Set up all of our standard runtimes
- name: Set up .NET 3.1
- name: Set up .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '5.0.x'
- name: Set up Java 8
uses: actions/setup-java@v1
with:
Expand Down Expand Up @@ -109,10 +109,10 @@ jobs:
runs-on: ubuntu-latest
steps:
# Set up all of our standard runtimes
- name: Set up .NET 3.1
- name: Set up .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '5.0.x'
- name: Set up Java 8
uses: actions/setup-java@v1
with:
Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
- name: Set up .NET 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '5.0.x'
- name: Set up Java 8
uses: actions/setup-java@v1
with:
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.16.0](https://github.com/aws/jsii/compare/v1.15.0...v1.16.0) (2020-12-07)


### Bug Fixes

* **java:** exception is logged when Java VM is shutting down ([#2305](https://github.com/aws/jsii/issues/2305)) ([8e1e7bd](https://github.com/aws/jsii/commit/8e1e7bd2a038dc0e3eb6f0b3f9c616da4caa464d)), closes [#2303](https://github.com/aws/jsii/issues/2303)
* **runtime:** excessive latency introduced by sleep ([#2298](https://github.com/aws/jsii/issues/2298)) ([1a94b85](https://github.com/aws/jsii/commit/1a94b859dbde4e002b4b3c04dfedf3ba97804962)), closes [#2284](https://github.com/aws/jsii/issues/2284)

## [1.15.0](https://github.com/aws/jsii/compare/v1.14.1...v1.15.0) (2020-11-25)


Expand Down
193 changes: 99 additions & 94 deletions README.md

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions docs/typescript-restrictions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,53 +20,53 @@ element (which will cause a compilation failure if `--fail-on-warnings` is set).
The list of reserved words (which are not also reserved in **TypeScript**),
derived from [`jsii/lib/reserved-words.ts`] is:

**C#** | **Java** | **Python**
---------------|----------------|---------------
`abstract` | `abstract` | `False`
`base` | `assert` | `None`
`bool` | `boolean` | `True`
`byte` | `byte` | `and`
`char` | `char` | `assert`
`checked` | `double` | `def`
`decimal` | `final` | `del`
`delegate` | `float` | `elif`
`double` | `goto` | `except`
`event` | `int` | `from`
`explicit` | `long` | `global`
`extern` | `native` | `is`
`fixed` | `short` | `lambda`
`float` | `strictfp` | `nonlocal`
`foreach` | `synchronized` | `not`
`goto` | `throws` | `or`
`implicit` | `transient` | `pass`
`int` | `volatile` | `raise`
`internal` | |
`is` | |
`lock` | |
`long` | |
`namespace` | |
`object` | |
`operator` | |
`out` | |
`override` | |
`params` | |
`readonly` | |
`ref` | |
`sbyte` | |
`sealed` | |
`short` | |
`sizeof` | |
`stackalloc` | |
`string` | |
`struct` | |
`uint` | |
`ulong` | |
`unchecked` | |
`unsafe` | |
`ushort` | |
`using` | |
`virtual` | |
`volatile` | |
**C#** | **Java** | **Python** | **Go**
---------------|----------------|--------------|-------------
`abstract` | `abstract` | `False` | `break`
`base` | `assert` | `None` | `case`
`bool` | `boolean` | `True` | `chan`
`byte` | `byte` | `and` | `const`
`char` | `char` | `assert` | `continue`
`checked` | `double` | `def` | `default`
`decimal` | `final` | `del` | `defer`
`delegate` | `float` | `elif` | `else`
`double` | `goto` | `except` | `fallthrough`
`event` | `int` | `from` | `for`
`explicit` | `long` | `global` | `func`
`extern` | `native` | `is` | `go`
`fixed` | `short` | `lambda` | `goto`
`float` | `strictfp` | `nonlocal` | `if`
`foreach` | `synchronized` | `not` | `import`
`goto` | `throws` | `or` | `interface`
`implicit` | `transient` | `pass` | `map`
`int` | `volatile` | `raise` | `package`
`internal` | | | `range`
`is` | | | `return`
`lock` | | | `select`
`long` | | | `struct`
`namespace` | | | `switch`
`object` | | | `type`
`operator` | | | `var`
`out` | | |
`override` | | |
`params` | | |
`readonly` | | |
`ref` | | |
`sbyte` | | |
`sealed` | | |
`short` | | |
`sizeof` | | |
`stackalloc` | | |
`string` | | |
`struct` | | |
`uint` | | |
`ulong` | | |
`unchecked` | | |
`unsafe` | | |
`ushort` | | |
`using` | | |
`virtual` | | |
`volatile` | | |

Code generators from `jsii-pacmak` will try to work around those reserved words
when they are encountered, but may resort to using names that could clash with
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": "1.15.0"
"version": "1.16.0"
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
},
"devDependencies": {
"@jest/types": "^26.6.2",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"all-contributors-cli": "^6.19.0",
"eslint": "^7.14.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^6.15.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-prettier": "^3.2.0",
"jest-circus": "^26.6.3",
"jest-config": "^26.6.3",
"jest-expect-message": "^1.0.2",
"lerna": "^3.22.1",
"prettier": "^2.2.0",
"prettier": "^2.2.1",
"standard-version": "^9.0.0",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"ts-node": "^9.1.0",
"typescript": "~3.9.7"
},
"repository": {
Expand Down
9 changes: 4 additions & 5 deletions packages/@jsii/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
<ItemGroup>
<!-- Central configuration of dependency versions for all DotNet packages -->

<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
<PackageReference Update="Microsoft.Extensions.DependencyInjection" Version="5.0.0" />
<PackageReference Update="Microsoft.Extensions.Logging" Version="5.0.0" />
<PackageReference Update="Microsoft.Extensions.Logging.Console" Version="5.0.0" />

<PackageReference Update="Microsoft.CodeAnalysis.Analyzers" Version="3.3.1" />
<PackageReference Update="Microsoft.CodeQuality.Analyzers" Version="3.3.1" />
<PackageReference Update="Microsoft.NetCore.Analyzers" Version="3.3.1" />
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
<PackageReference Update="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" />
<PackageReference Update="Microsoft.CodeQuality.Analyzers" Version="3.3.2" />

<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.8.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Update="NSubstitute" Version="4.2.2" />
<PackageReference Update="xunit" Version="2.4.1" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.3" />
Expand Down
2 changes: 1 addition & 1 deletion packages/@jsii/dotnet-runtime-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@jsii/dotnet-runtime": "^0.0.0",
"@types/node": "^10.17.46",
"@types/node": "^10.17.48",
"jsii-calc": "^0.0.0",
"jsii-pacmak": "^0.0.0",
"typescript": "~3.9.7"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

<IsPackable>false</IsPackable>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

Expand Down
4 changes: 2 additions & 2 deletions packages/@jsii/dotnet-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
},
"devDependencies": {
"@jsii/runtime": "^0.0.0",
"@types/node": "^10.17.46",
"@types/node": "^10.17.48",
"@types/semver": "^7.3.4",
"jsii-build-tools": "^0.0.0",
"semver": "^7.3.2",
"semver": "^7.3.4",
"typescript": "~3.9.7"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<IsPackable>false</IsPackable>
<AssemblyName>Amazon.JSII.Analyzers.UnitTests</AssemblyName>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageIcon>icon.png</PackageIcon>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeQuality.Analyzers" PrivateAssets="all" />
<PackageReference Include="Microsoft.NetCore.Analyzers" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<None Update="tools\*.ps1" CopyToOutputDirectory="Always" Pack="true" PackagePath="tools" />
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="../../../../../logo/png/128x128.png" Pack="true" PackagePath="icon.png" />
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
<Title>[DEPRECATED] .NET JsonModel for JSII</Title>
<PackageIcon>icon.png</PackageIcon>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NetCore.Analyzers" PrivateAssets="all" />
<ProjectReference Include="..\Amazon.JSII.Runtime\Amazon.JSII.Runtime.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<AssemblyName>Amazon.JSII.Runtime.UnitTests</AssemblyName>
<IsPackable>false</IsPackable>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<Title>.NET Runtime for JSII</Title>
<PackageIcon>icon.png</PackageIcon>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
Expand All @@ -15,7 +18,6 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
<PackageReference Include="Microsoft.NetCore.Analyzers" PrivateAssets="all" />
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions packages/@jsii/go-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
},
"devDependencies": {
"@types/fs-extra": "^8.1.1",
"@types/node": "^10.17.46",
"@types/node": "^10.17.48",
"codemaker": "^0.0.0",
"fs-extra": "^9.0.1",
"jsii-calc": "^0.0.0",
"jsii-pacmak": "^0.0.0",
"ts-node": "^9.0.0",
"ts-node": "^9.1.0",
"typescript": "~3.9.7"
}
}
Loading

0 comments on commit 99a3413

Please sign in to comment.