- Updated dependencies
- Updated
package.json
engines.node
property to reflect changes from v5
- Updated dependencies
- Breaking change:
nodejs20.x
andpython3.12
are now the default Node.js and Python Lambda runtimes, respectively - Breaking change: removed support for Node.js 14.x (now EOL, and no longer available to created in AWS Lambda)
- Removed
arm64
template architecture setting, as that is now the default - Added Node.js 20.x to test matrix
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Fixed Python
@ws
default templates and increased Python indentation because Python
- Fixed resource creation in projects with multi-tenant Lambdae; fixes #1432, thanks @andybee!
- Added support for create plugin API, namely:
create.register
,create.handlers
- Updated dependencies
- Respect incoming
cwd
property, instead of relying solely onprocess.cwd()
- Ensure transpiled and compiled handlers aren't (re)created when they haven't been compiled
- Fixed possible issue running create when no Lambdas are present
- Updated dependencies
- Added Node.js 18.x to test matrix
- Updated dependencies
- Fixed
arc create
failures for Lambdas created byset.customLambdas
; fixes #1382, thanks @ buffpojken!
- Added support for creating ESM (or CJS) handlers
- Default to writing ESM handlers
- Only install Architect if project doesn't already have it installed
- Create handler files when the actual file is missing, not just when the folder is absent
- Updated dependencies
- Updated dependencies
- Updated dependencies;
lambda-runtimes
enablesnodejs16.x
- Updated dependencies
- Fixed writing boilerplate files for custom runtimes (currently based on the
baseRuntime
); thanks @johncantrell97! - Fixed incorrect banner version printing when used in a local project
- Fix issue where Create would attempt (and fail) to write static assets when not needed
- For newly provisioned projects,
us-west-2
witharm64
is now the default region + architecture; see: #1304 - Breaking change: removed support for
--static
flag / initializing apublic/index.html
-based app - Default provisioned handler file for Deno is now
mod.ts
(per Deno's guidelines) - Stop publishing to the GitHub Package registry
- Updated dependencies
- Added support for
@tables-streams
, the fully customizable successor to@tables
withstream true
- Includes support for specifying multiple streams attached to a single table, as well as specifying custom source paths
- For more see: https://arc.codes/tables-streams
- Updated dependencies
- Fixed CLI
init
alias creating directories calledinit
- Added ability to specify a project name with
-n
or--name
parameter - Added support for runtime shorhands (e.g.
node
will now pin new created functions to the latest stable AWS Lambda Node.js version) - Added real file paths to boilerplate HTTP functions
- Breaking change: updated CLI API to accept a proper options object
- Breaking change:
-n
flag now optionally specifies a project name, and is not a shorcut for the--no-install
param - Breaking change: removed export of internal
bootstrap
method - Significantly tidied up boilerplate
@http
functions - Create now only write config files (
/path/to/function/config.arc
) if necessary - Removed setting deprecated
INITIALIZED
env var when creating a new project
- When run from
@architect/architect
, Create no longer attempts to install Architect
- Updated dependencies
- Breaking change: removed support for Node.js 10.x (now EOL, and no longer available to created in AWS Lambda) and Node.js 12.x
- Updated dependencies
- Updated dependencies
- Fixed project structure and basic file creation when initializing a fresh new project; fixes #1078
- Added beta support for
@plugins
pragma- This allows plugin authors to create new Lambdas
- Fixed file creation in projects that use Architect within
package.json
- Fixed crash in Windows on invalid regexp, fixes #1052, thanks @kevin4dhd!
- Add support for custom templates in paths outside the project directory (e.g.
~/tmpl/http.js
,../../tmpl/http.js
)
- Fixed potential for empty files to be written to disk during initialization should a template not be found
- Fixed broken
@tables stream
documentation link (which will be added back in later!), thanks @filmaj!
- Added support for custom file paths
- Added support for custom default templates, thanks @Ankcorn!
- Add per-pragma custom templates via the Arc preferences file, example:
# preferences.arc or prefs.arc
@create
templates
http path/to/template/file
- Implemented Inventory (
@architect/inventory
)
- Add support for
@http
catchall syntax (e.g.get /api/*
)
- Fix issue where
app.arc
manifests accidentally may be overwritten by template initializer
- Fix remaining
.arc
file references toapp.arc
- Added explicit
statusCode
parameters to all responses for forward compatibility with API Gateway HTTP APIs
- Default Architect project manifest filename is now
app.arc
(changed from.arc
)- All existing projects are unaffected by this change, and will always support
.arc
- Fixes #805
- All existing projects are unaffected by this change, and will always support
- Internal change: implemented new code standard with
@architect/eslint-config
- Updated dependencies
- Cleaned up boilerplate code
- Updated dependencies
- Added support for running without an existing Architect project manifest
- Added
cache-control
header by default - Updated dependencies
- Updated dependencies
- Default
.arc
file no longer includes a boilerplate for@aws bucket
- Added
--static
flag to init to create a basic static asset app (instead of one with a@http get /
function)- Example:
npm init @architect --static ./myapp
- Example:
- Update default node version to
nodejs12.x
- Updated dependencies
- Fixed issue with incorrectly setting default runtime, which could crash Sandbox
- Updated dependencies
- Fixes broken 'runtime' value during initialization
- Added custom runtime
deno
- Fixes project bootstrapping predicate; thanks @ksjogo!
- Updated dependencies
- Updated dependencies
/public
no longer generated if@static
folder
is defined- Reintroduces backwards compatible
arc init
invocation from@architect/architect
- This repo was seeded by the project initializer in
@architect/utils/init
, with the intention to extend its capabilities
- Standalone project creation via
npm init @architect
(or via CLI by installing this repo globally, which would be kind of a funny thing to do, but hey who knows) - Project creation will also install
@architect/architect
into your new project (if necessary and appropriate) - Added ability to specify project name and install path, e.g.
create ./foo
creates a dir namedfoo
in your current dir, and creates a new Arc project namedfoo
in there
- Updated default function names; resolves #2, thanks @andybee!
- Runtime flag now works:
runtime
,--runtime
, or-r
+node
,js
,python
,py
,ruby
,rb
initializes with Node, Python, or Ruby
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.