Skip to content

Releases: Azure/static-web-apps-cli

v1.0.1

24 Jun 07:23
b2628de
Compare
Choose a tag to compare
v1.0.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0 - General Availability 🎉

18 May 20:35
4cffd21
Compare
Choose a tag to compare

Documentation

  • docs: add official SWA CLI docs website (#460) d51b72f
  • docs: add API language runtime version instruction 9c7db82
  • docs: add build step for swa deploy 29a23ef
  • docs: add instruction how to create a SWA instance e7dd681
  • docs: add local auth 81d4e2b
  • docs: update env variables 7731464
  • docs: fix docs deploy 3435404
  • docs: fix npx example 3d5b6c1
  • docs: fix option description 0c93433
  • docs: removes preview mentions 9aa4a5b
  • docs: rename env vars files e142136
  • docs: update announcement bar color a48e037
  • docs: update blazor docs a959c51
  • docs: update CLI options documentation f568df4
  • docs: update command help 88cca56
  • docs: update contributions guidelines f69d850
  • docs: update docs styling + add logo + build hash 140dbaa
  • docs: update swa logo color palette d0d8694

Features

  • feat(start): set a random port if --port is already taken 1810590
  • feat(login): add --clear-credentials a602988
  • feat(deploy): add --dry-run mode 2000ef9
  • feat(login): add custom persistence cache options 34b70d2
  • feat(login): add encryption when persisting tokens (wip) 8694b4d
  • feat(start): add env vars support for dev server options 1227d0a
  • feat(init): add init command 941ef19
  • feat(login): add swa login f205ed6
  • feat(core): add runtime node version check 89e292c
  • feat(deploy): add support for deployment environments a509c89
  • feat(core): add support for dotenv 0147f80
  • feat(build): add swa build command (closes #380) 4c3150b
  • feat(swa): add swa command 615562e
  • feat(deploy): add swa deploy 23d8a5c
  • feat(docs): add swa docs be48e69
  • feat(init): allow overriding config file with CLI flags (closes #419) (#420) e8ab4ae
  • feat(core): implement frameword detection 4c82eab
  • feat(login): add encryption logic e088622
  • feat(core): improve staticwebapp.config.json validation 8a5041c
  • feat(deploy): introduce SWA_CLI_DEPLOY_BINARY_VERSION d792805
  • feat(core): provide complete devcontainer with support for e2e tests (#426) c69726a
  • feat(start): support self-generating ssl certificates (#441) 4fcb87f
  • feat(core): support Azure env variables d1b8b80
  • feat(deploy): support swa deploy c7f6dc8
  • feat(core): validate staticwebapp.config.json 8ef826d
  • feat(cli): add option alias flags f5464db
  • feat(deploy): support printing deployment token bf7e511
  • feat(deploy): support project creation if none found 7a1a3fc
  • feat(detect): add more frameworks and fix some a87ec63
  • feat(init): add proper config generation 8eb93a6
  • feat(login): add support for service principal and env variables 91be123

Fixes

  • fix(core): make positional arguments explicit c01e512
  • fix(core): add missing --output-location flag 185da83
  • fix(core): add missing githubActionWorkflowLocation type f03d1ed
  • fix(core): allow overriding config file with cli flags (closes #419) f06d70c
  • fix(core): avoid blocking tests f726d0b
  • fix(core): check staticwebapp.config.json max filesize c93a125
  • fix(login): check X11 config only on WSL 5636307
  • fix(core): clean outputLocation detection logic 548139d
  • fix(core): cli default context comparison and unwanted warning d210568
  • fix(core): colors and duplicate message in command passthrough c40d6a4
  • fix(core): default paths 538d57a
  • fix(core): default positional argument overriding config options c29ee6d
  • fix(deploy): deploy print-token even if app has provider (#480) f27f68e
  • fix(deploy): deployment paths 6f6e1d0
  • fix(deploy): detect if project has an existing provider c2ed6f3
  • fix(init): detection with some frameworks when run at root path 17b5426
  • fix(core): downgrade deps to avoid breaking changes [cc1c403](cc1c40389c7dc9c6b...
Read more

v0.8.3

22 Mar 03:54
3b44b14
Compare
Choose a tag to compare
v0.8.3 Pre-release
Pre-release

New

  • install Azure Functions Core Tools automatically based on user's platform and OS (closes #353) (#391) 5e98cba
  • include claims in client principal data retrieved via direct-access endpoint (#381) 6a656e9
  • add --open option (closes #357) (#358) 8838002
  • Remove --output-location from swa start 6cbe500

Fixes

  • improve glob expressions matching 971ef47
  • Allow --api-location to bind to external hostnames (#374) c7e76a8
  • upgrade serve-static from 1.14.1 to 1.14.2 (#366) f78abc5
  • upgrade concurrently from 6.3.0 to 6.4.0 (#362) f2ec90a
  • ignore Invalid JSON in staticwebapp.config.json d7f4b66
  • use --app-location to scan for workflow files 5da58d2
  • support query strings on static content da6e132
  • ignore invalid workflow files 8332062
  • support percent-encoded symbols in static files request url (#404) 540b4ff
  • avoid CLI crashes when func crashes d1b83d5
  • passe verbosity level via config file 98fd34b
  • fix issues where --app-location and --output-location couldn't serving content from specified directories c431661
  • catch invalid JSON user claims in UI 774c14c

Docs

v0.8.2

08 Dec 09:09
df47a41
Compare
Choose a tag to compare
v0.8.2 Pre-release
Pre-release

Fixes

  • use sanitizedUrl.search to format search params (#338) d1ca45e

v0.8.1

16 Nov 10:57
012cca7
Compare
Choose a tag to compare
v0.8.1 Pre-release
Pre-release

Fixes

  • Correctly set x-ms-original-url to the full original request URL (#286) (#314) 0ea7146
  • Appended Query params to the URL (#336) bb85935

Docs

  • put the web frameworks in alpha order (#340) d82bbd4

  • move list of ports closer to corresponding step (#321) 0895d8d

v0.8.0

08 Oct 06:46
3f4fef9
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release

New Features

Fixes

v0.7.2

21 Sep 11:05
025f0dd
Compare
Choose a tag to compare
v0.7.2 Pre-release
Pre-release

Fixes

  • wait on API using tcp (#281) 3e59a96
  • redirect property in responseOverride doesn't behave as expected (#284) 4a34a08
  • typo in --devserver-timeout f07d1f5

Features

  • Add option to pass arguments to func start command (#290) eda8e41

Docs

v0.7.1

20 Aug 08:20
Compare
Choose a tag to compare
v0.7.1 Pre-release
Pre-release

0.7.1

Fix

  • remove Azure Functions Core Tools dependency

0.7.0

New Features

  • configure await timeout before connecting to a dev server (#255) e6cbf08
swa start ./app --api ./api --devserver-timeout=60000

Bug Fixes

Documentation

v0.7.0

24 Aug 19:18
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

New

  • Configure await timeout before connecting to a dev server (#255) e6cbf08
swa start ./app --api ./api --devserver-timeout=60000

Bug Fixes

Documentation

v0.6.1

15 Jun 18:41
272f101
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release

New

Fixes

  • always include anonymous & authenticated roles (#238) 31f9839
  • parse query strings when userconfig isnt used (#236) bedc06d
  • handle status codes for /api and /.auth reqs (#235) 09eb722
  • add missing 403 default error page (#233) 2dcf9e5

Docs

  • add port instructions in the issue template (#240) 4e8e6a4
  • Add instruction to check CLI version before filing bug 6b757b4