- Breaking change: dropped node 16, 18 support
- Added Node.js 20.x to test matrix
- Breaking change: removed Node.js 14.x support
- Updated dependencies
- Fixed issue where certain JSON / YAML arrays could be unnecessarily nested; fixes #1436, thanks @sbernardello!
- Fixed Arc output from JSON / YAML
- Improved JSON / YAML parsing tests
- Fixed missing quotes in compiler output of string literals to
.arc+yamlformats
- Breaking change: removed
tomlsupport - Stop publishing to the GitHub Package registry
- Updated PragmaNotFound error description
- Updated dependencies
- Fix esoteric issue where a newline with nothing but trailing spaces following a map may blow up
- Updated dependencies
- Trailing newlines are no longer aggregated into
mapsandvectorsin the AST
- Breaking change:
parse.parsernow returns an AST object - Moved JSON schemas to the Arc syntaxes repo
parse.parseraccepts lexeme tokens and returns an AST object (with comments preserved)parse.compileraccepts an AST and returns one ofarc,json, oryaml(tomlsupport planned)
- Windows style newline
\r\nwas not being accounted for and could result in buggy reads .arcmap objects will throw if a key is undefined
- 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 and Node.js 12.x
- Updated dependencies
- Updated vendored dependencies (
js-yaml,toml)
- Added i18n support for non-ascii string chars
- Fixed missing tilde from supported string chars
- Added support for new verbose format in
arc.json+arc.yaml
- Breaking change: remove filesystem methods (
read,readArc) deprecated, with that role now taken over by Inventory - Disabled JSON schema validation, to be moved to Inventory
- Add support for
@proxypragma for passing through requests via@httpto an external site - Add support for
@httpcatchall syntax (e.g.get /api/*) - Add support for
@httpanymethod syntax (e.g.any /path) - Add support for
@httphead+optionsmethods
- Added support for reading and validating Architect function config files (
config.arc,.arc-config,arc-config.[json|yaml|yml|toml]) withreadArcConfig()
- Fixed missing support for the following
@awssettings:layer(alternativelylayers),memory,policy(alternativelypolicies), andtimeout
- Adds support for
@aws apigateway http[v1|v2]|rest
- Adds support for
@static prune true|false
- Adds support for
@static fingerprint externaland@static prefix whatever-folder
- Fixed schema to accept objects as items in the
@staticpragma, thanks @filmaj!
- Fixes issues where values (usually environment variables in
.arc-env) that start with a leading digit may be miscategorized and return aNaN
- Added user-friendly errors for common schema validation issues
- If schema validation errors are present,
readArc()errors now returns a string, and not an array of errors - Updated dependencies
- Resolved schema validation errors for
@static staging / production
- Parser now returns a default Architect project if one is not found in the root of the working directory
- Updated dependencies
- Adds rollup for creating node and browser builds (run
npm run buildif you want those)
@awspragma no longer required byschema.json
- Resolved issue preventing some pragmas from not serializing correctly; fixes #33
- Removed lockfile
- Adds
schema.jsonand JSON schema validation - Adds
arc.tomlsupport - Adds
readmethod - Adds
/examplesand/doc
- Complete lexer / parser rewrite