- Updated dependencies
Upgraded to new explicit plugin resolution with aws-lite!
Begin Data just got a lot faster. Gone are the days of 500-1000ms cold starts due to instantiating the AWS SDK – Begin Data v5 is now between 2-5x faster, and uses 2-4x less memory, courtesy of aws-lite!
- Added support for Sandbox dynamic port selection
- Added best-effort attempt to find Sandbox ports via internal SSM
- Deep require
aws-sdk
deps for a potentially large cold start perf boost - Breaking change: Begin Data no longer relies on or makes direct use of
NODE_ENV
or other legacy Architect env vars.@begin/data
v4+ now requires Architect v10 / Sandbox v5 or later. - Improved table lookup performance
- Fixed issue so that if present
ARC_ENV
takes precedence overNODE_ENV
for stage.
- Fixed issue where Begin Data may not work in unit tests with Sandbox >= 4.1
- Enforce minimum of Node 12
- Updated dependencies
- Breaking change: Begin Data no longer supports Node.js 10 (now EOL, and no longer available to create / update in AWS Lambda)
- Potentially breaking change: Begin Data now requires
@architect/sandbox
4.0 or greater for local use - Removed Arc v5 deprecation warnings
- Linted some stuff, tidied up project files
- Updated dependencies
- Removed unnecessary dependency
- Added lookup for Begin Data table in Architect Sandbox via new internal service discovery endpoint
- Fixed local file path issue for loading Architect project manifests that aren't
.arc
(e.g.app.arc
,arc.yaml
, etc.)
- Fixed missing dependency
- Increase soft row size limit to 200KB
- Added some nice performance improvements related to connection reuse in live AWS
incr
anddecr
now set the default property value to be incremented or decremented to zero
get
will no longer return rows for tables with same leading characters (see beginner-corp/begin-community#20)
- Refactored private helper modules into
src/helpers
- Moved from
hashids
to@begin/hashids
to keep the package weight down - Removed
package-lock.json
good explainer as to why/when and further rationale here
- Fixed module instantiation issues in testing scenarios
- Added support for dynamic local database port configuration in Sandbox (
ARC_TABLES_PORT
)
- Fixed issue with Begin Data not working correctly locally if you don't have an
~/.aws/credentials
file; fixes @begin-issues#15, thanks @wesbos!
- Fixes table lookup compatibility with Architect 6 projects running locally in Sandbox
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.