Skip to content

Commit b45f2f6

Browse files
authored
2 parents 2c027f5 + 9b12bd0 commit b45f2f6

File tree

66 files changed

+4479
-2397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+4479
-2397
lines changed

.all-contributorsrc

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,8 @@
12721272
"avatar_url": "https://avatars.githubusercontent.com/u/66279577?v=4",
12731273
"profile": "https://github.com/comcalvi",
12741274
"contributions": [
1275-
"code"
1275+
"code",
1276+
"review"
12761277
]
12771278
},
12781279
{
@@ -1428,6 +1429,43 @@
14281429
"contributions": [
14291430
"bug"
14301431
]
1432+
},
1433+
{
1434+
"login": "DanielMSchmidt",
1435+
"name": "Daniel Schmidt",
1436+
"avatar_url": "https://avatars.githubusercontent.com/u/1337046?v=4",
1437+
"profile": "http://danielmschmidt.de/",
1438+
"contributions": [
1439+
"bug",
1440+
"code"
1441+
]
1442+
},
1443+
{
1444+
"login": "kaizencc",
1445+
"name": "Kaizen Conroy",
1446+
"avatar_url": "https://avatars.githubusercontent.com/u/36202692?v=4",
1447+
"profile": "https://github.com/kaizencc",
1448+
"contributions": [
1449+
"code"
1450+
]
1451+
},
1452+
{
1453+
"login": "Naumel",
1454+
"name": "Naumel",
1455+
"avatar_url": "https://avatars.githubusercontent.com/u/104374999?v=4",
1456+
"profile": "https://github.com/Naumel",
1457+
"contributions": [
1458+
"review"
1459+
]
1460+
},
1461+
{
1462+
"login": "cn-cit",
1463+
"name": "cn-cit",
1464+
"avatar_url": "https://avatars.githubusercontent.com/u/27255477?v=4",
1465+
"profile": "https://github.com/cn-cit",
1466+
"contributions": [
1467+
"bug"
1468+
]
14311469
}
14321470
],
14331471
"repoType": "github",

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
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.
44

5+
## [1.68.0](https://github.com/aws/jsii/compare/v1.67.0...v1.68.0) (2022-09-22)
6+
7+
8+
### Features
9+
10+
* **kernel:** distinguish framework errors from userland errors in Java ([#3747](https://github.com/aws/jsii/issues/3747)) ([a4d39c6](https://github.com/aws/jsii/commit/a4d39c6fb619cd4d7c9103ec70a731ab6fb23374))
11+
12+
13+
### Bug Fixes
14+
15+
* **jsii:** unable to return Promise<void> ([#3752](https://github.com/aws/jsii/issues/3752)) ([852b3dc](https://github.com/aws/jsii/commit/852b3dc5da113546bc090d99f9250104f526f5af)), closes [#51](https://github.com/aws/jsii/issues/51)
16+
* **pacmak:** .NET bindings fail to compile with error CS8120 ([#3760](https://github.com/aws/jsii/issues/3760)) ([783ec7f](https://github.com/aws/jsii/commit/783ec7f1d40619677f34318ee247244b682cd92d)), closes [#3759](https://github.com/aws/jsii/issues/3759)
17+
* **runtime:** type not found ([#3763](https://github.com/aws/jsii/issues/3763)) ([c7dfad3](https://github.com/aws/jsii/commit/c7dfad3ec905a5ee795be1d313d9c078ab3b4234)), closes [#3742](https://github.com/aws/jsii/issues/3742)
18+
519
## [1.67.0](https://github.com/aws/jsii/compare/v1.66.0...v1.67.0) (2022-09-02)
620

721

README.md

Lines changed: 195 additions & 187 deletions
Large diffs are not rendered by default.

gh-pages/content/specification/6-compliance-report.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This section details the current state of each language binding with respect to our standard compliance suite.
66

77

8-
| number | test | java (98.33%) | golang (79.17%) | Dotnet | Python |
8+
| number | test | java (98.35%) | golang (79.34%) | Dotnet | Python |
99
| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------- | ------ | ------ |
1010
| 1 | asyncOverrides_overrideCallsSuper | 🟢 | [🔴](https://github.com/aws/jsii/issues/2670) |||
1111
| 2 | [arrayReturnedByMethodCanBeRead]("Array created in the kernel can be queried for its elements") | 🟢 | 🟢 |||
@@ -127,3 +127,4 @@ This section details the current state of each language binding with respect to
127127
| 118 | [callbackParameterIsInterface]("Validates pure interfaces can be passed to callbacks") || 🟢 |||
128128
| 119 | [classCanBeUsedWhenNotExpressedlyLoaded]("Validates that types not explicitly loaded by the user can safely be returned by JS code") | 🟢 | 🟢 |||
129129
| 120 | [downcasting]("Ensures unsafe-cast features work as expected") || 🟢 |||
130+
| 121 | [strippedDeprecatedMemberCanBeReceived]("Ensures --strip-deprecated does not cause odd runtime errors") | 🟢 | 🟢 |||

gh-pages/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mkdocs~=1.3.1
22
mkdocs-awesome-pages-plugin~=2.8.0
3-
mkdocs-material~=8.4.2
3+
mkdocs-material~=8.5.2
44
mkdocs-git-revision-date-plugin~=0.3.2

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"rejectCycles": true
1111
}
1212
},
13-
"version": "1.67.0"
13+
"version": "1.68.0"
1414
}

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
},
1717
"devDependencies": {
1818
"@jest/types": "^28.1.3",
19-
"@types/jest": "^28.1.8",
20-
"@types/node": "^14.18.26",
21-
"@typescript-eslint/eslint-plugin": "^5.34.0",
22-
"@typescript-eslint/parser": "^5.34.0",
23-
"all-contributors-cli": "^6.20.0",
24-
"eslint": "^8.22.0",
19+
"@types/jest": "^29.0.3",
20+
"@types/node": "^14.18.29",
21+
"@typescript-eslint/eslint-plugin": "^5.38.0",
22+
"@typescript-eslint/parser": "^5.38.0",
23+
"all-contributors-cli": "^6.20.4",
24+
"eslint": "^8.23.1",
2525
"eslint-config-prettier": "^8.5.0",
2626
"eslint-import-resolver-node": "^0.3.6",
27-
"eslint-import-resolver-typescript": "^3.5.0",
27+
"eslint-import-resolver-typescript": "^3.5.1",
2828
"eslint-plugin-import": "^2.26.0",
2929
"eslint-plugin-prettier": "^4.2.1",
30-
"jest": "^28.1.3",
30+
"jest": "^29.0.3",
3131
"jest-circus": "^28.1.3",
3232
"jest-config": "^28.1.3",
33-
"jest-expect-message": "^1.0.2",
34-
"lerna": "^5.4.3",
33+
"jest-expect-message": "^1.1.2",
34+
"lerna": "^5.5.2",
3535
"prettier": "^2.7.1",
3636
"standard-version": "^9.5.0",
3737
"ts-node": "^10.9.1",

packages/@jsii/Directory.Build.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<PackageReference Update="Microsoft.Extensions.Logging" Version="5.0.0" />
77
<PackageReference Update="Microsoft.Extensions.Logging.Console" Version="5.0.0" />
88

9-
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.2.0" />
9+
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.3.0" />
1010
<PackageReference Update="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3" />
1111
<PackageReference Update="Microsoft.CodeQuality.Analyzers" Version="3.3.2" />
1212

13-
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.3.0" />
13+
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.3.1" />
1414
<PackageReference Update="NSubstitute" Version="4.4.0" />
1515
<PackageReference Update="xunit" Version="2.4.2" />
1616
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.5" />

packages/@jsii/benchmarks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"dependencies": {
88
"fs-extra": "^10.1.0",
99
"jsii": "^0.0.0",
10-
"npm": "^8.18.0",
10+
"npm": "^8.19.2",
1111
"tar": "^6.1.11",
1212
"typescript": "~3.9.10",
1313
"yargs": "^16.2.0"
1414
},
1515
"devDependencies": {
16-
"@types/glob": "^7.2.0",
16+
"@types/glob": "^8.0.0",
1717
"glob": "^8.0.3"
1818
},
1919
"scripts": {

packages/@jsii/dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests/ComplianceTests.cs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using CompositeOperation = Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation;
88
using Amazon.JSII.Tests.CalculatorNamespace.LibNamespace;
99
using Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace;
10+
using Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.DeprecationRemoval;
1011
using Newtonsoft.Json.Linq;
1112
using Xunit;
1213
using Xunit.Abstractions;
@@ -1534,9 +1535,15 @@ public void ClassCanBeUsedWhenNotExpressedlyLoaded()
15341535
}
15351536

15361537
private sealed class Cdk16625Impl: Cdk16625 {
1537-
protected override double Unwrap(IRandomNumberGenerator rng) {
1538-
return rng.Next();
1539-
}
1538+
protected override double Unwrap(IRandomNumberGenerator rng) {
1539+
return rng.Next();
15401540
}
1541+
}
1542+
1543+
[Fact(DisplayName = Prefix + nameof(StrippedDeprecatedMemberCanBeReceived))]
1544+
public void StrippedDeprecatedMemberCanBeReceived()
1545+
{
1546+
Assert.NotNull(InterfaceFactory.Create());
1547+
}
15411548
}
15421549
}

0 commit comments

Comments
 (0)