Skip to content

Releases: Azure/static-web-apps-cli

v0.2.1

22 Mar 05:31
210d482

Choose a tag to compare

v0.2.1 Pre-release
Pre-release

Change log

  • fix: check empty config in validateUserConfig()
  • fix: avoid infinite loop when logging obejcts
  • fix: use logger instead of console.warn()
  • fix: --build app/api only if not using dev server
  • fix: set appLocation/apiLocation if dev server
  • chore: update concurrently to v6
  • fix: update help description
  • fix: pass options to sub-command
  • chore: move CLI flags under swa start --help
  • fix: add role anonymous when user logged in
  • chore: introduce new log levels
  • fix: print unique output to indicate SWA CLI is up
  • chore: improve information logged to the console.
  • refactor: use existing isStaticDevServer variable
  • fix: skip user config if binding to a dev server
  • fix: use --verbose to enable debug info
  • fix: change how the rules are applied
  • chore: sync package-lock version
  • fix: allow post_logout_redirect_uri to be used

v0.2.0

15 Mar 08:09
4d2fbb7

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

Change log

  • chore: update Azure SDK workflow to release and publish
  • chore: prep for 0.2.0 release
  • fix: allow redirection after logout
  • fix: bypass sockjs requests
  • fix: invalid routes to /.auth/** should return 404
  • fix: auto generate swa userId
  • fix: handle the case when statusCode is a string
  • fix: disable concurrently restartTries
  • fix: add authenticated role by default in auth UI
  • fix: simple refactoring
  • fix: add authenticated role when user is logged in
  • fix: handle special case /* in routes.json
  • fix: improve rewrite/redirect rule logic
  • fix: use rimraf to delete dist folder during build
  • fix: remove console.log calls
  • fix: close connection after HTTP redirection
  • fix: improve static content server
  • fix: check if proxy port is used before start
  • fix: show full URL only when using dev server
  • fix: move static app middleware to proxy
  • fix: move auth middleware to proxy
  • fix: make sure to restore mocked fs after test
  • chore: sync package-lock.json
  • chore: use es imports for fs
  • fix: check for undefined and null config
  • chore: add test for valid CLI host and port
  • fix: null mimeTypes
  • chore: fix broken tests after merge
  • feat: add support for navigationFallback
  • chore: reorganize routes engine rules
  • feat: add responseOverrides, globalHeaders, mimeTypes
  • fix: perform auth check even if cookies aren't set
  • fix: handle query params when matching user config
  • chore: add unit tests for the routes engine
  • fix: update tests for Windows
  • fix: avoid ERR_TOO_MANY_REDIRECTS
  • fix: improve swa config find algorithm
  • chore: add jest-extended
  • chore: rename public/index.html to public/auth.html
  • feat: handle user custom configuration
  • chore: isPortAvailable > isAcceptingTcpConnections (#100)
  • fix: remove npx to start func command (#99)
  • fix: update CLI bin file permissions (#98)
  • chore: add a devcontainer (#97)
  • build: add npm prepare script (#95)
  • chore: update package-lock.json
  • fix: using concurrently programmatically (#71)
  • docs: Update README (#93)
  • fix: the API proxy crashing when user is logged in (#87)
  • docs: move the architecture section down
  • chore: bump version after release

v0.1.0

17 Feb 08:05
5046de7

Choose a tag to compare

v0.1.0 Pre-release
Pre-release

Features

  • add a start command (#41)
  • add new local auth UX (#54)

Fixes

  • change default proxy port from 80 to 4280 (#49)
  • proxify websocket requests (#62)
  • reduce npm package size
  • allow the cli to be installed as a local dep
  • check if port before running http-server (#81)
  • startup issues and WebSocket forwarding (#78)

v0.0.1-alpha.7

07 Apr 08:21

Choose a tag to compare

v0.0.1-alpha.7 Pre-release
Pre-release

0.0.1-alpha.7 (2020-12-04)

Bug Fixes

Features

v0.0.1-alpha.6

07 Apr 08:21

Choose a tag to compare

v0.0.1-alpha.6 Pre-release
Pre-release

0.0.1-alpha.6 (2020-09-15)

Features

  • allow using app dev server (2b8b4f8)

v0.0.1-alpha.5

07 Apr 08:21

Choose a tag to compare

v0.0.1-alpha.5 Pre-release
Pre-release

0.0.1-alpha.5 (2020-09-15)

Bug Fixes

  • add support for SPA mode (aka. historyMode) (856a62f)

v0.0.1-alpha.4

07 Apr 08:21

Choose a tag to compare

v0.0.1-alpha.4 Pre-release
Pre-release

0.0.1-alpha.4 (2020-09-15)

Bug Fixes

  • better runtime detection (67b081c)

v0.0.1-alpha.3

07 Apr 08:20

Choose a tag to compare

v0.0.1-alpha.3 Pre-release
Pre-release

0.0.1-alpha.3 (2020-09-15)

Bug Fixes

  • create JWT token from current logged in user (446cbb6)
  • detect Node.js runtime (bcda33c)
  • run npm audit fix (acde150)
  • set correct app_location for static sites (ce4521d)
  • use post_login_redirect_uri after login (64cf74c)

Features

  • store used provider n cookies (73da4f9)
  • support other auth providers (use fake impl only) (416f91f)
  • core: route checks (#11) (f9c6c18)

v0.0.1-alpha.2

07 Apr 08:20

Choose a tag to compare

v0.0.1-alpha.2 Pre-release
Pre-release

0.0.1-alpha.2 (2020-08-04)

v0.0.1-alpha.1

07 Apr 08:19

Choose a tag to compare

v0.0.1-alpha.1 Pre-release
Pre-release

0.0.1-alpha.1 (2020-08-04)

Bug Fixes

  • api: build API if exists (ecc9438)
  • app: add fallback routes (8654174)
  • proxy: serve 404 (fb09bc6)
  • build api using api_build_command (5c42f8d)
  • skip API if api config is not available (39c6dc1), closes #1
  • use the correct app_artifact_location (532be71)

Features

  • core: add dashboard UI (0831999)
  • add dashboard UI (01500e0)
  • use azure-functions-core-tools@v3 (a48f921), closes #2