beginner-corp / begin-data

A durable and fast key/value store for Begin built on top of DynamoDB
79 stars 8 forks source link

Bump @architect/sandbox from 4.5.2 to 5.0.2 #107

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps @architect/sandbox from 4.5.2 to 5.0.2.

Changelog

Sourced from @​architect/sandbox's changelog.

[5.0.2] 2022-02-22

Fixed

  • Fixed live reload behavior in Firefox where Firefox would reload the wrong path, preventing links from being accessed

[5.0.0] 2022-01-12

Added

  • Architect 10 plugin API support! Specifically:
    • Added Sandbox watcher API
    • Added custom runtime support
    • Added env setter plugin support
  • Added live reload support!
    • Add @sandbox livereload true to your preferences to enable
    • Your browser will automatically refresh any time a get or any HTTP handler changes, or when any file in src/shared, src/views, or public changes
  • Added ability to disable Sandbox watcher with watcher (boolean) in API option
  • Added port configuration via prefs.arc
    • The precedence order is now prefs.arc > port API option or --port CLI flag > environment variables
    • Also added ARC_HTTP_PORT env var for configuring the HTTP port (in addition to PORT)
  • Added automatic port selection for internal service port configuration
    • (Probably) never again will your multiple simultaneous Sandbox instances conflict with each other!
    • HTTP port selection still defaults to 3333 and will halt Sandbox from starting if it conflicts (since it's presumably what you're expecting to see in your browser)
    • Any manually specified port conflicts will also halt Sandbox from starting
  • Added Architect + userland env vars to startup scripts

Changed

  • Breaking change: Architect no longer relies on or makes use of the NODE_ENV or ARC_CLOUDFORMATION env vars
    • Older versions of Node.js Architect libraries such as @architect/functions made use of these env vars, so it is wise to upgrade them at this time
    • Also be sure to consult the Architect upgrade guide
  • Breaking change: passing env vars in with the module's env option no longer merges those env vars with any found in .env or prefs.arc
    • The new env var precedence is env option > .env > prefs.arc
  • Breaking change: removed support for legacy .arc-env env files
    • Architect deprecated writing to .arc-env in late 2020; Sandbox will no longer read and use it for local environment variables
    • If you are still using a .arc-env file, please consider prefs.arc or .env for your local env vars
  • Breaking change: removed ARC_SANDBOX_ENABLE_CORS env var option
    • Architect has supported options requests since version 8; that is the preferred approach to handling CORS
  • Breaking change: bare CLI arguments related to logging (e.g. sandbox quiet) as aliases to flags are now discarded, please use CLI flags (e.g. sandbox --quiet, or sandbox --debug)
  • Breaking change: deprecate ARC_SANDBOX_PATH_TO_STATIC in favor of ARC_STATIC_BUCKET for use with @architect/asap
  • Internal change: switched to chokidar from node-watch for file watching
  • Internal change: made Inventory responsible for handling .env env vars
  • Internal change: made Inventory responsible for figuring out nodejs14.x handler module systems and file names
  • Internal change: stopped populating default arc-sessions + data tables; this was a quirky holdover behavior from early Architect that differed Sandbox from live AWS behavior
  • Prefer ARC_SESSION_TABLE_NAME to SESSION_TABLE_NAME env var for Architect's built-in sessions management
    • All non-namespaced names will continue to be supported until at least Architect 11; we suggest changing them over to the namespaced equivalents as soon as is convenient

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #108.