Skip to content

Releases: Azure/static-web-apps-cli

v0.5.0

02 Jun 02:08
dd88419
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

New

  • reimplement the routes engine (#208) 16990e8
    • more closely matches routing engine in Azure
    • apply config when running dev server #176
  • handle x-forwarded-host/proto headers on logging out (#203) a9dc3f1
  • warn if function app has non-http triggers (#201) d53ec4c

Fixes

  • redirect to https after log out when using --ssl (#195) c31403e

Docs

v0.4.0

05 May 18:03
d8d9f78
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Added

Changed

Fixed

  • avoid blocking URL ending with routes.json (#185) 16c4f35
  • ignore fallback routes if no exclude list 2369932
  • move port validation and waiting logic into proxy server (#182) 4674b70
  • allow users to set custom error pages (#179) 39fbb9c
  • chmod +x bin.js d12f719
  • preserve auth provider and post login url on rewrites (#167) 0934043
  • avoid npm link permission issues (#172) 8798aca
  • cors not working (#171) 69821b8

v0.3.0

06 Apr 20:59
ca735ab
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Added

  • set staticwebapp.config.json location w/ flag (#149) 3070920
  • wait for dev servers to be ready at startup (#148) 5866a93
  • support running external commands on startup (#145) 3c88860
  • support serving web and api over https locally (#140) 56896dd

Changed

Fixed

  • update route rules engine to match specs 2e6a3b9
  • upgrade yaml from 1.10.0 to 1.10.2 (#155) 8a458ef
  • use opts() to get options in commander 7 (#159) cfb658a
  • exit on Ctrl-C (#156) 1bb4a2c
  • force exit on SIGINT/SIGTERM (#151) 41fadea
  • allow editing of user ID in auth screen, small updates (#152) 7b67cf8
  • rename appArtifactLocation to outputLocation d59a7de
  • better dotnet project detection a6e0971
  • set verbosity level before starting 465bd6d
  • remove extra console.log f26ac47

v0.2.1

22 Mar 05:31
210d482
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)