Skip to content

Commit

Permalink
chore(release): 1.60.0 (#3582)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jun 8, 2022
2 parents eb02c92 + 65e7f9f commit ebcefe6
Show file tree
Hide file tree
Showing 145 changed files with 6,284 additions and 3,047 deletions.
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,15 @@
"contributions": [
"bug"
]
},
{
"login": "skuenzli",
"name": "Stephen Kuenzli",
"avatar_url": "https://avatars.githubusercontent.com/u/869201?v=4",
"profile": "https://github.com/skuenzli",
"contributions": [
"doc"
]
}
],
"repoType": "github",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['12', '14', '16', '18']
node: ['14', '16', '18']
env:
# Node version whose images will be aliased without the -nodeXX segment
DEFAULT_NODE_MAJOR_VERSION: 14
Expand Down
28 changes: 12 additions & 16 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,24 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
cache: 'pip'
cache-dependency-path: 'gh-pages/requirements-dev.txt'
python-version: '3.8'
- name: Check out
uses: actions/checkout@v3
- name: Locate Caches
id: cache-locations
run: |-
echo "::set-output name=pip-cache::$(python3 -m pip cache dir)"
- name: Cache
uses: actions/cache@v3
with:
path: ${{ steps.cache-locations.outputs.pip-cache }}
key: ${{ runner.os }}-${{ hashFiles('**/requirements-dev.txt') }}
restore-keys: ${{ runner.os }}-
- name: Install Dependencies
run: |-
pip install -r requirements-dev.txt
python3 -m venv ${{ runner.temp }}/venv
source ${{ runner.temp }}/venv/bin/activate
python3 -m pip install -r requirements-dev.txt
working-directory: gh-pages
- name: Build DocSite
run: |-
mkdir -p ${{ runner.temp }}/site
source ${{ runner.temp }}/venv/bin/activate
mkdocs build \
--strict \
--site-dir ${{ runner.temp }}/site
Expand All @@ -52,7 +47,7 @@ jobs:
publish:
name: Publish
needs: build
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -73,8 +68,9 @@ jobs:
git config user.email "[email protected]"
- name: Prepare Commit
run: |-
rsync --delete --exclude=.git --exclude=dev --recursive ${{ runner.temp }}/site/ ./
touch .nojekyll
rsync --archive --checksum --delete --inplace --recursive --verbose \
--exclude=.git --exclude=.nojekyll --exclude=dev \
${{ runner.temp }}/site/ ./
git add .
git diff --cached --exit-code >/dev/null || (
git commit -am 'docs: publish from ${{ github.sha }}'
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
DOTNET_NOLOGO: true
NODE_OPTIONS: --max-old-space-size=4096

# This workflows currently has the following jobs:
# - build : Builds the source tree as-is
Expand Down Expand Up @@ -40,11 +41,11 @@ jobs:
with:
java-version: '8'
distribution: 'zulu'
- name: Set up Node 12
- name: Set up Node 14
uses: actions/setup-node@v3
with:
cache: yarn
node-version: '12'
node-version: '14'
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
Expand All @@ -69,10 +70,10 @@ jobs:
!~/.m2/repository/software/amazon/jsii/
~/.nuget/packages
!~/.nuget/packages/amazon.jsii.*
key: ${{ runner.os }}-node@12[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }}
key: ${{ runner.os }}-node@14[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }}
restore-keys: |-
${{ runner.os }}-node@12[email protected]
${{ runner.os }}-node@12-
${{ runner.os }}-node@14[email protected]
${{ runner.os }}-node@14-
${{ runner.os }}-
# Prepare dependencies and build
- name: Install Dependencies
Expand Down Expand Up @@ -134,11 +135,11 @@ jobs:
with:
java-version: '8'
distribution: 'zulu'
- name: Set up Node 12
- name: Set up Node 14
uses: actions/setup-node@v3
with:
cache: yarn
node-version: '12'
node-version: '14'
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
Expand All @@ -163,10 +164,10 @@ jobs:
!~/.m2/repository/software/amazon/jsii/
~/.nuget/packages
!~/.nuget/packages/amazon.jsii.*
key: ${{ runner.os }}-node@12[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }}
key: ${{ runner.os }}-node@14[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }}
restore-keys: |-
${{ runner.os }}-node@12[email protected]
${{ runner.os }}-node@12-
${{ runner.os }}-node@14[email protected]
${{ runner.os }}-node@14-
${{ runner.os }}-
# Prepare dependencies and build
- name: Install Dependencies
Expand Down Expand Up @@ -216,67 +217,66 @@ jobs:
go: ['1.16']
java: ['8']
node:
- '12' # EOL 2022-04-30
- '14' # EOL 2023-04-30
- '16' # EOL 2024-04-30
- '17' # EOL 2022-06-01
- '18' # EOL 2025-04-30
os: [ubuntu-latest]
python: ['3.7']
# Add specific combinations to be tested against "node 12" (to restrict cardinality)
# Add specific combinations to be tested against "node 14" (to restrict cardinality)
include:
# Test using Windows
- os: windows-latest
dotnet: '3.1.x'
go: '1.16'
java: '8'
node: '12'
node: '14'
python: '3.7'
# Test using macOS
- os: macos-latest
dotnet: '3.1.x'
go: '1.16'
java: '8'
node: '12'
node: '14'
python: '3.7'
# Test alternate .NETs
- java: '8'
dotnet: '5.0.x'
go: '1.16'
node: '12'
node: '14'
os: ubuntu-latest
python: '3.7'
- java: '8'
dotnet: '6.0.x'
go: '1.16'
node: '12'
node: '14'
os: ubuntu-latest
python: '3.7'
# Test alternate Javas
- java: '11'
dotnet: '3.1.x'
go: '1.16'
node: '12'
node: '14'
os: ubuntu-latest
python: '3.7'
# Test alternate Pythons
- python: '3.8'
dotnet: '3.1.x'
go: '1.16'
java: '8'
node: '12'
node: '14'
os: ubuntu-latest
- python: '3.9'
dotnet: '3.1.x'
go: '1.16'
java: '8'
node: '12'
node: '14'
os: ubuntu-latest
- python: '3.10'
dotnet: '3.1.x'
go: '1.16'
java: '8'
node: '12'
node: '14'
os: ubuntu-latest

runs-on: ${{ matrix.os }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/yarn-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-node@v3
with:
cache: yarn
node-version: 12
node-version: 14

- name: Install Tools
run: |-
Expand Down Expand Up @@ -70,13 +70,13 @@ jobs:
# We special-case typescript because it's not semantically versionned, and major.minor is the API contract
run: |-
# Upgrade devDependencies at repository root
ncu --upgrade --target=minor --filter=@types/node,ts-jest,@jest/types,jest-config,jest-circus
ncu --upgrade --target=minor --filter=@types/node,@jest/types,jest-config,jest-circus
ncu --upgrade --target=patch --filter=typescript
ncu --upgrade --target=latest --reject=@types/node,typescript,ts-jest,@jest/types,jest-config,jest-circus
ncu --upgrade --target=latest --reject=@types/node,typescript,@jest/types,jest-config,jest-circus
# Upgrade all production dependencies (and other always major-pinned dependencies)
lerna exec --parallel ncu -- --upgrade --target=minor \
--filter='ts-jest,${{ steps.production-dependencies.outputs.list }}' \
--filter='${{ steps.production-dependencies.outputs.list }}' \
--reject='typescript,${{ steps.monorepo-packages.outputs.list }}'
# Upgrade all minor-pinned dependencies
Expand All @@ -85,7 +85,7 @@ jobs:
# Upgrade all other dependencies (devDependencies) to the latest
lerna exec --parallel ncu -- --upgrade --target=latest \
--reject='@types/node,typescript,ts-jest,${{ steps.production-dependencies.outputs.list }},${{ steps.monorepo-packages.outputs.list }}'
--reject='@types/node,typescript,${{ steps.production-dependencies.outputs.list }},${{ steps.monorepo-packages.outputs.list }}'
# This will ensure the current lockfile is up-to-date with the dependency specifications (necessary for "yarn update" to run)
- name: Run "yarn install"
Expand Down
4 changes: 0 additions & 4 deletions .mergify/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ queue_rules:
- status-success~=^Test \(macos-.*$
- status-success~=^Test \(windows-.*$
# One test for each supported nodejs version
- status-success~=^Test \(.* node 12 .*$
- status-success~=^Test \(.* node 14 .*$
- status-success~=^Test \(.* node 16 .*$
- status-success~=^Test \(.* node 17 .*$
Expand Down Expand Up @@ -59,7 +58,6 @@ pull_request_rules:
- status-success~=^Test \(macos-.*$
- status-success~=^Test \(windows-.*$
# One test for each supported nodejs version
- status-success~=^Test \(.* node 12 .*$
- status-success~=^Test \(.* node 14 .*$
- status-success~=^Test \(.* node 16 .*$
- status-success~=^Test \(.* node 17 .*$
Expand Down Expand Up @@ -110,7 +108,6 @@ pull_request_rules:
- status-success~=^Test \(macos-.*$
- status-success~=^Test \(windows-.*$
# One test for each supported nodejs version
- status-success~=^Test \(.* node 12 .*$
- status-success~=^Test \(.* node 14 .*$
- status-success~=^Test \(.* node 16 .*$
- status-success~=^Test \(.* node 17 .*$
Expand Down Expand Up @@ -161,7 +158,6 @@ pull_request_rules:
- status-success~=^Test \(macos-.*$
- status-success~=^Test \(windows-.*$
# One test for each supported nodejs version
- status-success~=^Test \(.* node 12 .*$
- status-success~=^Test \(.* node 14 .*$
- status-success~=^Test \(.* node 16 .*$
- status-success~=^Test \(.* node 17 .*$
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

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.60.0](https://github.com/aws/jsii/compare/v1.59.0...v1.60.0) (2022-06-08)


### ⚠ BREAKING CHANGES

* Beginning with this release, jsii packages no longer
support node 12. Users should migrate to a supported node release (14.x,
16.x, or 18.x).

### Features

* **jsii:** make source map behavior fully configurable ([#3558](https://github.com/aws/jsii/issues/3558)) ([06d9a39](https://github.com/aws/jsii/commit/06d9a39cec8254ebab76a81026ab0e64a2f05462)), closes [#3521](https://github.com/aws/jsii/issues/3521)


### Bug Fixes

* **@jsii/spec:** speed up assembly validation by 20x for large libraries ([#3565](https://github.com/aws/jsii/issues/3565)) ([c40f26c](https://github.com/aws/jsii/commit/c40f26cdc7bef7835fbddbae983783a495be2d0e))
* **java:** rendering of `[@see](https://github.com/see)` hyperlink leads to errors ([#3554](https://github.com/aws/jsii/issues/3554)) ([9fd3c71](https://github.com/aws/jsii/commit/9fd3c71c4edc4d7c03c05930b47fe34fe364bd29))
* **jsii:** `assert` not allowed as interface member ([#3553](https://github.com/aws/jsii/issues/3553)) ([f3fec0c](https://github.com/aws/jsii/commit/f3fec0c10dd72ae734047d2d8e242f8fb4e98812))


* drop support for Node 12 ([#3547](https://github.com/aws/jsii/issues/3547)) ([06a7889](https://github.com/aws/jsii/commit/06a7889514cb0939f5b8224f8961e6d578ea3986))

## [1.59.0](https://github.com/aws/jsii/compare/v1.58.0...v1.59.0) (2022-05-16)


Expand Down
Loading

0 comments on commit ebcefe6

Please sign in to comment.