This is the changelog for AWS Architect.
- Fix handlers for /route and /route/ so that the index.html is always duplicated.
- Add support for organizational stack set deployment
- Remove invalid regions from organizational deployment [eu-central-2, ap-south-2, eu-south-2, me-central-1, ap-southeast-4]
- Support pnpm lock files
- Support the new version of openapi-factory 5.4.
- Duplicate all .html files as cleaned files.
file.html
=>file
andfile/
, all three will work - Fix validateTemplate so that it actually uses S3 when available.
- Add support for new status
CONFIGURATION_COMPLETE
- Add missing
tags
properties to all interfaces.
- Add support to
deleteWebsiteVersion(version)
- Fix
The function must be in an Active state. The current state for function arn:aws:lambda:Function:514 is Pending
. - Automatically delete existing ROLLBACK_COMPLETE stacks.
- Add Ipv6 records to the cloudformation templates.
- Support APIGW version 2
- Add stackset support for AWS to cross regions
- Skip stack deployment if template body already matches stack
- Automatically delete the stage lambda alias and version when deleting a stage by passing in the lambda function name as the second parameter to
awsArchitect.removeStagePromise
. - Add support for all mime-types for S3 uploads
- Allow setting upload zip file directly to support creating lambda layers
- Add
publishZipArchive
to publish layers and other zip files directly to S3, using the package name and version automatically. - New option in
publishLambdaArtifactPromise
to allow turning off running npm or yarn for package deploymentautoHandleCompileOfSourceDirectory = false
. - Now uploads to the S3 directory file that matches any directory that contains an index.html for automatic redirects to the index.html.
- Deploy CF templates to S3 deployment bucket before deploying to CF to increase allow size of templates to 450KB.
- Allow cache control to be the full string, not just an number
- Dynamically inject
http
andapi
subpath into Location urls. cacheControlRegexMap
supports array to keep order of regex mappingsdeployTemplate
StackConfigurationoptions
now acceptsautomaticallyProtectStack
which defaults to betrue
, to protect stacks. This will only protect stacks which are successfully created.
- Remove hosting index html, recommendation is to use nodemon and serve for that.
- Removed deprecated methods
- Now supports calling schedule and event triggers locally via the REST api.
- Nodejs8.10 by default
- Auto increment port starting at 8080 or specified up to 10 ports before falling back to a random port.
- Use
-
s in stage names instead of_
so that more CIs can match their environments stages correctly. - Added default override for S3 content type uploads.
- Allow deploying
.files
using thebucketManager
- Dynamically inject
http
andapi
subpath into url hrefs. - Remove autocreation of api gateway when attempting to find it. The expectation is that "searching for the API" happens always after the CF stack creation.
awsArchitect.run
now returns theserver
which contains the only methodstop
allowing manual shutdown.
- Provide lower case names for methods.
- Add deprecation warning to removal methods in 6.0.
- Index.html is uploaded last.
- Add in dynamic resolving of ACM certs by domain name.
- Upgrade to OpenAPI-factory 3.0, see openapi factory for breaking changes. This means that the authorizer now takes
event
and the authorization token must be manually extracted. - Support authorizer resolution in express
server.run
- Allow providing a custom logger to run function.
- Include cloud formation deployment for standard resources.
- Added example cloud formation template to template service.
- New
RemoveStage
in AWS Architect. - Add Support for
yarn.lock
files by assumingyarn
should be executed.
- Add
+AwsArchitect.prototype.publishLambdaArtifactPromise
to perform the action to deploy a microservice zip package to S3. - Allow specifying S3 artifacts cache-control times as overrides.
- Removed passing the bucket as configuration into
publishWebsite
. Bucket is required as part ofcontentOptions
. - Prevent overwriting the bucket configuration using the
options
parameter inpublishWebsite
.
- Default to region set in aws config, rather than us-east-1.
- Allow sending binary Buffer bodies via local server to match API Gateway functionality.
- Upgrade default nodejs version to 6.10.
- Upgrade jwt resolution to include by default RS256.
- Remove CORS headers from local server.
- Automatically create the service role to execute the lambda functions.
- Automatically create the s3 bucket with the website policy if it doesn't exist.
- Moved website bucket configuration to contentOptions.
- Added
AwsArchitect.promoteToStage(source, stage)
function which will copy a bucket directory.
- Upgrade to handle ANY on aws resources.
- Allow running just a website on port 8080, without any extra api files.
- Add support for creating dynamoDB Tables.
- Separate policy examples into their own documents.
- Allow specifying specific port to run on.
- Deploy content directory to s3.
- All configuration is now contained in the api files. Generation, run, and testing is completed via index.js. New templates created.
- A single lambda function is created, for the purpose of the whole microservice.
- Introduced configuration options for the api and content (s3).
- Lambdas are not all specified in the file specified by the constructor call. Default is the
src/index.js
file inmake.js
.aws-config.js
will be removed in version 2.0, and all configuration can be specified in the index.js composition root.
- Introduced commandline ruby tool
aws-architect
for configuring a AWS Microservice instance using Cloud Formation and AWS API.