Releases: Azure/static-web-apps-cli
Releases · Azure/static-web-apps-cli
v0.5.0
v0.4.0
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
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
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
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