diff --git a/CHANGELOG.md b/CHANGELOG.md index 56708d8eca5..01a565aa87d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +## [v2.51.0](https://github.com/netlify/cli/compare/v2.50.0...v2.51.0) - 2020-05-12 + +### Merged + +- Fix netlify dev --live [`#897`](https://github.com/netlify/cli/pull/897) +- More redirect and rewrite fixes [`#885`](https://github.com/netlify/cli/pull/885) +- Add .env files support fo `netlify dev:exec` [`#895`](https://github.com/netlify/cli/pull/895) +- Add support for .env.development file [`#894`](https://github.com/netlify/cli/pull/894) +- Watch: Init if not linked [`#845`](https://github.com/netlify/cli/pull/845) +- Update syntax for functions:invoke --payload [`#892`](https://github.com/netlify/cli/pull/892) +- Upgrade strip-ansi-control-characters [`#887`](https://github.com/netlify/cli/pull/887) +- Rules proxy improvements [`#881`](https://github.com/netlify/cli/pull/881) + +### Commits + +- Add empty .env in dummy-site [`19c2a7b`](https://github.com/netlify/cli/commit/19c2a7b27f5e8ec792f98f2d4c99334320a094b9) + ## [v2.50.0](https://github.com/netlify/cli/compare/v2.49.0...v2.50.0) - 2020-05-06 ### Merged diff --git a/docs/commands/dev.md b/docs/commands/dev.md index f6b73ffea9a..8aee42d47cb 100644 --- a/docs/commands/dev.md +++ b/docs/commands/dev.md @@ -55,7 +55,7 @@ netlify dev:exec **Examples** ```bash -$ netlify exec npm run bootstrap +$ netlify dev:exec npm run bootstrap ``` --- diff --git a/docs/commands/functions.md b/docs/commands/functions.md index c0cfb3b5e8b..c931da1509c 100644 --- a/docs/commands/functions.md +++ b/docs/commands/functions.md @@ -107,7 +107,7 @@ $ netlify functions:invoke myfunction $ netlify functions:invoke --name myfunction $ netlify functions:invoke --name myfunction --identity $ netlify functions:invoke --name myfunction --no-identity -$ netlify functions:invoke myfunction --payload '{"foo": 1}' +$ netlify functions:invoke myfunction --payload "{"foo": 1}" $ netlify functions:invoke myfunction --querystring "foo=1 $ netlify functions:invoke myfunction --payload "./pathTo.json" ``` diff --git a/docs/commands/init.md b/docs/commands/init.md index 583fff8e3c9..5ddcd1d32c3 100644 --- a/docs/commands/init.md +++ b/docs/commands/init.md @@ -17,7 +17,6 @@ netlify init **Flags** - `manual` (*boolean*) - Manually configure a git remote for CI -- `watch` (*boolean*) - Make the CLI wait for the first deploy to complete after setting up CI - `force` (*boolean*) - Reinitialize CI hooks if the linked site is already configured to use CI - `gitRemoteName` (*option*) - Name of Git remote to use. e.g. "origin" diff --git a/package-lock.json b/package-lock.json index 3b87e3ac0f3..7321ed3d327 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "netlify-cli", - "version": "2.50.0", + "version": "2.51.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0c6a6def32e..e0ec83b5438 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "netlify-cli", "description": "Netlify command line tool", - "version": "2.50.0", + "version": "2.51.0", "author": "Netlify Inc.", "contributors": [ "Mathias Biilmann (https://twitter.com/biilmann)",