Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS SDK V3 #80

Merged
merged 21 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
dist
dist
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
],
"guard-for-in": "error"
}
}
}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
uses: actions/checkout@v4

- name: Install and test
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
serverless: [ serverless-current, serverless-legacy ]
node-version: [ 14.x, 16.x, 18.x ]
node-version: [ 14.x, 16.x, 18.x, 20.x ]
steps:
- name: Checkout repository
uses: actions/checkout@master
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: '[ "${{ matrix.serverless }}" == "serverless-legacy" ] && npm install serverless@latest-2 || true'
- run: npm run lint
- run: npm test
58 changes: 50 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,119 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [5.0.0] - 2023-12-15

### Changed

- Moved from AWS SDK V1 to AWS SDK V3
- Speed up VPC config setup by caching

## [4.1.0] - 2023-03-09

### Changed
- Outdated packages updated
- Minimum node version updated to 14

- Outdated packages updated
- Minimum node version updated to 14

## [4.0.2] - 2022-04-11

### Changed
- Add integration with serverless 3 logging
- Change Github workflows to run tests both with sls 2 and 3

- Add integration with serverless 3 logging
- Change Github workflows to run tests both with sls 2 and 3

## [4.0.1] - 2022-04-08

### Changed
- Fixed audit issues. Added dependabot config

- Fixed audit issues. Added dependabot config

## [4.0.0] - 2022-04-08

### Changed
- Added compability with serverless 3

- Added compability with serverless 3

## [3.1.2] - 2021-09-01

### Changed
- Fixed y18n vulnerability

- Fixed y18n vulnerability

## [3.1.1] - 2021-09-01

### Changed

- Added serverless schema validation. Thank you @ROSeaboyer ([53](https://github.com/amplify-education/serverless-vpc-discovery/pull/53))

## [3.1.0] - 2021-09-01

### Changed

- Dropped support of node versions < 12
- Replaced Travis pipeline items with GitHub workflow

## [3.0.0] - 2020-12-24

### Added
- Support for getting subnets and security groups by any tag key/value

- Support for getting subnets and security groups by any tag key/value

### Changed

- ***Important!*** The `subnetNames` and `securityGroupNames` options have been deprecated and will be removed in the next major release. The new options are `subnets` and `securityGroups`.
- ***Important!*** Drop `vpc` option support. The new option is `vpcDiscovery`.

## [2.3.0] - 2020-12-11

### Changed

- Allow usage of wildcards in subnet and security group names. Thank you @RLRabinowitz ([#41](https://github.com/amplify-education/serverless-vpc-discovery/pull/41))

## [2.2.1] - 2020-12-02

### Changed

- Fixed travis build

## [2.2.0] - 2020-12-02

### Changed

- Set `custom.vpcDiscovery` optional.
- Update travis config for github release tagging

## [2.1.0] - 2020-11-17

### Changed

- ***Important!*** The `vpc` option has been deprecated but it still will work for a while. The new option is `vpcDiscovery`.
- The VPC config applies to each function instead of the provider option.
- Fixed logic for checking missing subnets and security groups.

### Added

- A possibility to specify custom config for each function by specifying `function.vpcDiscovery` config
- Added `warning` and `info` messages

## [2.0.0] - 2020-11-13

### Changed

- The code rewritten to TypeScript. Added improvements. Updated travis config, lint and test scripts.

## [1.0.13] - 2018-10-10

### Added

- Added our own configuration for AWS SDK's built in retry mechanism, increasing it from 3 retries to 20 so that this plugin is more easily used in an automated environment.

## [1.0.12] - 2018-08-01

### Added

- This CHANGELOG file to make it easier for future updates to be documented. Sadly, will not be going back to document changes made for previous versions.
Loading