diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 0000000000..1d982efdd2 --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,22 @@ +{{ range .Versions }} + +## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) + +{{ range .CommitGroups -}} +### {{ .Title }} + +{{ range .Commits -}} +* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }})) +{{ end }} +{{ end -}} + +{{- if .NoteGroups -}} +{{ range .NoteGroups -}} +### {{ .Title }} + +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} \ No newline at end of file diff --git a/.chglog/config.yml b/.chglog/config.yml new file mode 100755 index 0000000000..acc0c3350b --- /dev/null +++ b/.chglog/config.yml @@ -0,0 +1,31 @@ +style: github +template: CHANGELOG.tpl.md +info: + title: CHANGELOG + repository_url: https://github.com/garden-io/garden +options: + commits: + filters: + Type: + - feat + - fix + - perf + - refactor + sort_by: Scope + commit_groups: + group_by: Type + sort_by: Title + title_maps: + feat: Features + fix: Bug Fixes + perf: Performance Improvements + refactor: Code Refactoring + header: + pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" + pattern_maps: + - Type + - Scope + - Subject + notes: + keywords: + - BREAKING CHANGE \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index eba5b432ca..7f8e319dfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,252 +1,134 @@ - -# [0.7.0](https://github.com/garden-io/garden/compare/v0.3.0...v0.7.0) (2018-09-17) + +## [v0.7.0](https://github.com/garden-io/garden/compare/v0.6.0...v0.7.0) (2018-09-17) ### Bug Fixes -* **call-command:** print correct protocol ([d973058](https://github.com/garden-io/garden/commit/d973058)) -* **cli:** allow empty path when calling services via `garden call` ([b5d4972](https://github.com/garden-io/garden/commit/b5d4972)) -* **cli:** show ANSI banner image instead of png in dev command ([bb3898f](https://github.com/garden-io/garden/commit/bb3898f)) -* **cli:** task results errors weren't handled properly ([b22b580](https://github.com/garden-io/garden/commit/b22b580)) -* **config:** remove name field from service endpoint spec ([9f6f9f0](https://github.com/garden-io/garden/commit/9f6f9f0)) -* **examples:** unused import in go-service ([25509cf](https://github.com/garden-io/garden/commit/25509cf)) +* windows install script ([0c2a2f0](https://github.com/garden-io/garden/commit/0c2a2f0)) * **examples-projects:** fix integration test ([1d85a9d](https://github.com/garden-io/garden/commit/1d85a9d)) * **gulpfile:** ensure tmp dir exists when updating brew tap ([3f2ace8](https://github.com/garden-io/garden/commit/3f2ace8)) -* **k8s:** build status was incorrectly reported for helm modules ([195eee4](https://github.com/garden-io/garden/commit/195eee4)) -* **k8s:** don't deploy system services when running minikube ([215cabd](https://github.com/garden-io/garden/commit/215cabd)) * **k8s:** name releases based on their namespace ([5fe26e9](https://github.com/garden-io/garden/commit/5fe26e9)) -* **k8s:** wait for Tiller pod to be ready when initializing ([a5cd8eb](https://github.com/garden-io/garden/commit/a5cd8eb)), closes [#228](https://github.com/garden-io/garden/issues/228) -* **logger:** ensure ansi chars in section don't break format ([323b6e9](https://github.com/garden-io/garden/commit/323b6e9)) -* fix ignore package import ([00721c3](https://github.com/garden-io/garden/commit/00721c3)) -* **multi-repo:** ensure external source gets updated if repo url changes ([881c3c7](https://github.com/garden-io/garden/commit/881c3c7)) * **openfaas:** better cross-platform support ([d1c59d4](https://github.com/garden-io/garden/commit/d1c59d4)) -* **openfaas:** external endpoints had incorrect path ([64de898](https://github.com/garden-io/garden/commit/64de898)) * **publish script:** ensure changelog is properly generated ([e2f1d8e](https://github.com/garden-io/garden/commit/e2f1d8e)) * **publish-script:** set remote in git push command ([26356bf](https://github.com/garden-io/garden/commit/26356bf)) -* **tests:** ensure test project is clean between tests ([b7f6664](https://github.com/garden-io/garden/commit/b7f6664)) -* **versioning:** `resolveVersion` should not call `getTreeVersion` ([91ae14f](https://github.com/garden-io/garden/commit/91ae14f)) -* **versioning:** version string should include dirty timestamp ([61d29d0](https://github.com/garden-io/garden/commit/61d29d0)) -* add axios as dependency (was dev dependency) ([4ccdfd8](https://github.com/garden-io/garden/commit/4ccdfd8)) -* catch and log task errors as they happen ([46eef92](https://github.com/garden-io/garden/commit/46eef92)) -* fix publish script ([7d84751](https://github.com/garden-io/garden/commit/7d84751)) -* init file writers in Garden class ([d982b66](https://github.com/garden-io/garden/commit/d982b66)) -* windows install script ([0c2a2f0](https://github.com/garden-io/garden/commit/0c2a2f0)) - ### Code Refactoring -* **config:** make module name mandatory ([aa83d7f](https://github.com/garden-io/garden/commit/aa83d7f)) * rename endpoints to ingresses ([dde932f](https://github.com/garden-io/garden/commit/dde932f)) - +* tighten plugin context API considerably ([af2af06](https://github.com/garden-io/garden/commit/af2af06)) +* **logger:** clean up code + enable empty log entries ([a83117a](https://github.com/garden-io/garden/commit/a83117a)) ### Features -* add 'delete service' command ([2b067c6](https://github.com/garden-io/garden/commit/2b067c6)) -* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc)) -* add multi-repo support ([740e858](https://github.com/garden-io/garden/commit/740e858)) -* add OpenFaaS plugin (experimental) ([39ff701](https://github.com/garden-io/garden/commit/39ff701)) -* add Windows support (experimental) ([9e9c218](https://github.com/garden-io/garden/commit/9e9c218)) -* allow configs from subdirectories ([bb464c3](https://github.com/garden-io/garden/commit/bb464c3)) -* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b)) -* **k8s:** support custom hostnames and TLS certs ([1c004f7](https://github.com/garden-io/garden/commit/1c004f7)) -* **multi-repos:** allow file URLs ([c072dd9](https://github.com/garden-io/garden/commit/c072dd9)) -* windows installer ([70c44ab](https://github.com/garden-io/garden/commit/70c44ab)) * windows installer cont'd (to be squashed) ([5ff7af5](https://github.com/garden-io/garden/commit/5ff7af5)) +* windows installer ([70c44ab](https://github.com/garden-io/garden/commit/70c44ab)) +### BREAKING CHANGE -### BREAKING CHANGES -* **k8s:** Users may need to delete and re-init their projects when using the +Users may need to delete and re-init their projects when using the Kubernetes plugins after installing this update, because Helm may get confused by the changes. -* Any `garden.yml` file that includes an `endpoints` key will need to -be updated. Sorry. But this should be much clearer for users. -* **config:** Endpoint names will have to be removed from module configs. -* **config:** Module name no longer defaults to directory name but must be explicitly -set in the module's garden.yml file. Any existing garden.yml module files -without a name key must therefore be updated to expclitily provide the -module name. + +## [v0.6.0](https://github.com/garden-io/garden/compare/v0.5.1...v0.6.0) (2018-09-17) - -# [0.6.0](https://github.com/garden-io/garden/compare/v0.5.0...v0.6.0) (2018-09-10) +### Bug Fixes +* **publish-script:** set remote in git push command ([aa03557](https://github.com/garden-io/garden/commit/aa03557)) + + + +## [v0.5.1](https://github.com/garden-io/garden/compare/v0.5.0...v0.5.1) (2018-09-13) ### Bug Fixes +* fix ignore package import ([00721c3](https://github.com/garden-io/garden/commit/00721c3)) +* catch and log task errors as they happen ([46eef92](https://github.com/garden-io/garden/commit/46eef92)) +* fix publish script ([7d84751](https://github.com/garden-io/garden/commit/7d84751)) * **call-command:** print correct protocol ([d973058](https://github.com/garden-io/garden/commit/d973058)) -* **cli:** allow empty path when calling services via `garden call` ([b5d4972](https://github.com/garden-io/garden/commit/b5d4972)) -* **cli:** show ANSI banner image instead of png in dev command ([bb3898f](https://github.com/garden-io/garden/commit/bb3898f)) -* **cli:** task results errors weren't handled properly ([b22b580](https://github.com/garden-io/garden/commit/b22b580)) * **config:** remove name field from service endpoint spec ([9f6f9f0](https://github.com/garden-io/garden/commit/9f6f9f0)) * **examples:** unused import in go-service ([25509cf](https://github.com/garden-io/garden/commit/25509cf)) -* **k8s:** build status was incorrectly reported for helm modules ([195eee4](https://github.com/garden-io/garden/commit/195eee4)) -* **k8s:** don't deploy system services when running minikube ([215cabd](https://github.com/garden-io/garden/commit/215cabd)) -* **k8s:** wait for Tiller pod to be ready when initializing ([a5cd8eb](https://github.com/garden-io/garden/commit/a5cd8eb)), closes [#228](https://github.com/garden-io/garden/issues/228) -* **logger:** ensure ansi chars in section don't break format ([323b6e9](https://github.com/garden-io/garden/commit/323b6e9)) -* **multi-repo:** ensure external source gets updated if repo url changes ([881c3c7](https://github.com/garden-io/garden/commit/881c3c7)) +* **examples-projects:** fix integration test ([1d85a9d](https://github.com/garden-io/garden/commit/1d85a9d)) * **openfaas:** external endpoints had incorrect path ([64de898](https://github.com/garden-io/garden/commit/64de898)) -* **publish-script:** set remote in git push command ([aa03557](https://github.com/garden-io/garden/commit/aa03557)) -* add axios as dependency (was dev dependency) ([4ccdfd8](https://github.com/garden-io/garden/commit/4ccdfd8)) -* catch and log task errors as they happen ([46eef92](https://github.com/garden-io/garden/commit/46eef92)) -* fix ignore package import ([00721c3](https://github.com/garden-io/garden/commit/00721c3)) -* fix publish script ([7d84751](https://github.com/garden-io/garden/commit/7d84751)) -* init file writers in Garden class ([d982b66](https://github.com/garden-io/garden/commit/d982b66)) -* **tests:** ensure test project is clean between tests ([b7f6664](https://github.com/garden-io/garden/commit/b7f6664)) -* **versioning:** `resolveVersion` should not call `getTreeVersion` ([91ae14f](https://github.com/garden-io/garden/commit/91ae14f)) -* **versioning:** version string should include dirty timestamp ([61d29d0](https://github.com/garden-io/garden/commit/61d29d0)) - ### Code Refactoring -* **config:** make module name mandatory ([aa83d7f](https://github.com/garden-io/garden/commit/aa83d7f)) - - -### Features - -* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b)) -* add 'delete service' command ([2b067c6](https://github.com/garden-io/garden/commit/2b067c6)) -* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc)) -* add multi-repo support ([740e858](https://github.com/garden-io/garden/commit/740e858)) -* add OpenFaaS plugin (experimental) ([39ff701](https://github.com/garden-io/garden/commit/39ff701)) -* add Windows support (experimental) ([9e9c218](https://github.com/garden-io/garden/commit/9e9c218)) -* **k8s:** support custom hostnames and TLS certs ([1c004f7](https://github.com/garden-io/garden/commit/1c004f7)) -* **multi-repos:** allow file URLs ([c072dd9](https://github.com/garden-io/garden/commit/c072dd9)) -* allow configs from subdirectories ([bb464c3](https://github.com/garden-io/garden/commit/bb464c3)) - - -### BREAKING CHANGES +* rename endpoints to ingresses ([dde932f](https://github.com/garden-io/garden/commit/dde932f)) +* tighten plugin context API considerably ([af2af06](https://github.com/garden-io/garden/commit/af2af06)) +* get rid of native OpenSSL dependency ([64e962a](https://github.com/garden-io/garden/commit/64e962a)) +* **logger:** clean up code + enable empty log entries ([a83117a](https://github.com/garden-io/garden/commit/a83117a)) -* **config:** Endpoint names will have to be removed from module configs. -* **config:** Module name no longer defaults to directory name but must be explicitly -set in the module's garden.yml file. Any existing garden.yml module files -without a name key must therefore be updated to expclitily provide the -module name. +### BREAKING CHANGE +Endpoint names will have to be removed from module configs. - -# [0.5.0](https://github.com/garden-io/garden/compare/v0.4.0...v0.5.0) (2018-09-05) + +## [v0.5.0](https://github.com/garden-io/garden/compare/v0.4.0...v0.5.0) (2018-09-05) ### Bug Fixes -* **cli:** allow empty path when calling services via `garden call` ([b5d4972](https://github.com/garden-io/garden/commit/b5d4972)) -* **cli:** show ANSI banner image instead of png in dev command ([bb3898f](https://github.com/garden-io/garden/commit/bb3898f)) -* **cli:** task results errors weren't handled properly ([b22b580](https://github.com/garden-io/garden/commit/b22b580)) -* **k8s:** build status was incorrectly reported for helm modules ([195eee4](https://github.com/garden-io/garden/commit/195eee4)) +* init file writers in Garden class ([d982b66](https://github.com/garden-io/garden/commit/d982b66)) +* add axios as dependency (was dev dependency) ([4ccdfd8](https://github.com/garden-io/garden/commit/4ccdfd8)) * **k8s:** don't deploy system services when running minikube ([215cabd](https://github.com/garden-io/garden/commit/215cabd)) -* **k8s:** wait for Tiller pod to be ready when initializing ([a5cd8eb](https://github.com/garden-io/garden/commit/a5cd8eb)), closes [#228](https://github.com/garden-io/garden/issues/228) +* **k8s:** wait for Tiller pod to be ready when initializing ([a5cd8eb](https://github.com/garden-io/garden/commit/a5cd8eb)) * **logger:** ensure ansi chars in section don't break format ([323b6e9](https://github.com/garden-io/garden/commit/323b6e9)) * **multi-repo:** ensure external source gets updated if repo url changes ([881c3c7](https://github.com/garden-io/garden/commit/881c3c7)) * **tests:** ensure test project is clean between tests ([b7f6664](https://github.com/garden-io/garden/commit/b7f6664)) -* add axios as dependency (was dev dependency) ([4ccdfd8](https://github.com/garden-io/garden/commit/4ccdfd8)) -* init file writers in Garden class ([d982b66](https://github.com/garden-io/garden/commit/d982b66)) - ### Code Refactoring -* **config:** make module name mandatory ([aa83d7f](https://github.com/garden-io/garden/commit/aa83d7f)) - +* move project config scan to separate function ([db8e8ed](https://github.com/garden-io/garden/commit/db8e8ed)) +* remove stale module name check ([2f3a94f](https://github.com/garden-io/garden/commit/2f3a94f)) +* configs are now fully resolved ahead of time in one pass ([a5e5526](https://github.com/garden-io/garden/commit/a5e5526)) +* **ctx:** allow specifying plugin name when calling plugin actions ([dec8e35](https://github.com/garden-io/garden/commit/dec8e35)) ### Features -* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b)) +* allow configs from subdirectories ([bb464c3](https://github.com/garden-io/garden/commit/bb464c3)) * add 'delete service' command ([2b067c6](https://github.com/garden-io/garden/commit/2b067c6)) -* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc)) -* add multi-repo support ([740e858](https://github.com/garden-io/garden/commit/740e858)) -* add OpenFaaS plugin (experimental) ([39ff701](https://github.com/garden-io/garden/commit/39ff701)) -* add Windows support (experimental) ([9e9c218](https://github.com/garden-io/garden/commit/9e9c218)) * **k8s:** support custom hostnames and TLS certs ([1c004f7](https://github.com/garden-io/garden/commit/1c004f7)) * **multi-repos:** allow file URLs ([c072dd9](https://github.com/garden-io/garden/commit/c072dd9)) -* allow configs from subdirectories ([bb464c3](https://github.com/garden-io/garden/commit/bb464c3)) - - -### BREAKING CHANGES - -* **config:** Module name no longer defaults to directory name but must be explicitly -set in the module's garden.yml file. Any existing garden.yml module files -without a name key must therefore be updated to expclitily provide the -module name. - - - -# [0.4.0](https://github.com/garden-io/garden/compare/v0.3.1...v0.4.0) (2018-08-14) + +## [v0.4.0](https://github.com/garden-io/garden/compare/v0.3.1...v0.4.0) (2018-08-14) ### Bug Fixes -* **cli:** allow empty path when calling services via `garden call` ([b5d4972](https://github.com/garden-io/garden/commit/b5d4972)) -* **cli:** show ANSI banner image instead of png in dev command ([bb3898f](https://github.com/garden-io/garden/commit/bb3898f)) +* fix linux-specific shellscript errors and integ test ([#229](https://github.com/garden-io/garden/issues/229)) ([1dc936e](https://github.com/garden-io/garden/commit/1dc936e)) * **cli:** task results errors weren't handled properly ([b22b580](https://github.com/garden-io/garden/commit/b22b580)) -* **k8s:** build status was incorrectly reported for helm modules ([195eee4](https://github.com/garden-io/garden/commit/195eee4)) - - -### Code Refactoring - -* **config:** make module name mandatory ([aa83d7f](https://github.com/garden-io/garden/commit/aa83d7f)) - - -### Features - -* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc)) -* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b)) -* add multi-repo support ([740e858](https://github.com/garden-io/garden/commit/740e858)) -* add OpenFaaS plugin (experimental) ([39ff701](https://github.com/garden-io/garden/commit/39ff701)) -* add Windows support (experimental) ([9e9c218](https://github.com/garden-io/garden/commit/9e9c218)) - - -### BREAKING CHANGES - -* **config:** Module name no longer defaults to directory name but must be explicitly -set in the module's garden.yml file. Any existing garden.yml module files -without a name key must therefore be updated to expclitily provide the -module name. - - - - -## [0.3.1](https://github.com/garden-io/garden/compare/v0.3.0...v0.3.1) (2018-08-14) - - -### Bug Fixes - * **cli:** allow empty path when calling services via `garden call` ([b5d4972](https://github.com/garden-io/garden/commit/b5d4972)) * **cli:** show ANSI banner image instead of png in dev command ([bb3898f](https://github.com/garden-io/garden/commit/bb3898f)) -* **cli:** task results errors weren't handled properly ([b22b580](https://github.com/garden-io/garden/commit/b22b580)) * **k8s:** build status was incorrectly reported for helm modules ([195eee4](https://github.com/garden-io/garden/commit/195eee4)) -* **versioning:** `resolveVersion` should not call `getTreeVersion` ([91ae14f](https://github.com/garden-io/garden/commit/91ae14f)) -* **versioning:** version string should include dirty timestamp ([61d29d0](https://github.com/garden-io/garden/commit/61d29d0)) - ### Code Refactoring * **config:** make module name mandatory ([aa83d7f](https://github.com/garden-io/garden/commit/aa83d7f)) - +* **k8s:** make deployment and status checks much more robust ([97f7bf6](https://github.com/garden-io/garden/commit/97f7bf6)) ### Features -* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc)) -* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b)) * add multi-repo support ([740e858](https://github.com/garden-io/garden/commit/740e858)) * add OpenFaaS plugin (experimental) ([39ff701](https://github.com/garden-io/garden/commit/39ff701)) +* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc)) * add Windows support (experimental) ([9e9c218](https://github.com/garden-io/garden/commit/9e9c218)) +* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b)) +### BREAKING CHANGE -### BREAKING CHANGES -* **config:** Module name no longer defaults to directory name but must be explicitly +Module name no longer defaults to directory name but must be explicitly set in the module's garden.yml file. Any existing garden.yml module files without a name key must therefore be updated to expclitily provide the module name. - - -## [0.3.1](https://github.com/garden-io/garden/compare/v0.3.0...v0.3.1) (2018-07-16) - + +## [v0.3.1](https://github.com/garden-io/garden/compare/v0.3.0...v0.3.1) (2018-07-16) ### Bug Fixes @@ -254,108 +136,109 @@ module name. * **versioning:** version string should include dirty timestamp ([61d29d0](https://github.com/garden-io/garden/commit/61d29d0)) - - -# [0.3.0](https://github.com/garden-io/garden/compare/v0.2.0...v0.3.0) (2018-07-10) - + +## [v0.3.0](https://github.com/garden-io/garden/compare/v0.2.0...v0.3.0) (2018-07-10) ### Bug Fixes -* ensure namespace is removed before returning when deleting env ([f381d33](https://github.com/garden-io/garden/commit/f381d33)) * fixed more issues with cross-repo versioning ([2b0d93e](https://github.com/garden-io/garden/commit/2b0d93e)) * set identifier max length to match k8s service name limit ([ad0a54f](https://github.com/garden-io/garden/commit/ad0a54f)) +* ensure namespace is removed before returning when deleting env ([f381d33](https://github.com/garden-io/garden/commit/f381d33)) * **create-commands:** rename function type to google-cloud-function ([49c4c93](https://github.com/garden-io/garden/commit/49c4c93)) * **create-module-command:** type option should be an enum ([a8316d1](https://github.com/garden-io/garden/commit/a8316d1)) * **file-writer:** only create file if content to write ([562daa8](https://github.com/garden-io/garden/commit/562daa8)) - +* **release:** publish script should exit on error ([075537f](https://github.com/garden-io/garden/commit/075537f)) ### Code Refactoring -* **k8s:** change metadata namespace name ([6f73299](https://github.com/garden-io/garden/commit/6f73299)) * build command is now an array, for consistency ([0bf020a](https://github.com/garden-io/garden/commit/0bf020a)) - +* always load container and npm-package plugins ([4bf5d18](https://github.com/garden-io/garden/commit/4bf5d18)) +* remove dependency on watchman ([fec104a](https://github.com/garden-io/garden/commit/fec104a)) +* **k8s:** ensure namespaces are created when needed ([67946eb](https://github.com/garden-io/garden/commit/67946eb)) +* **k8s:** change metadata namespace name ([6f73299](https://github.com/garden-io/garden/commit/6f73299)) ### Features -* **cli:** enable custom hints in help message ([37c3159](https://github.com/garden-io/garden/commit/37c3159)) * add create project/module commands ([b611b35](https://github.com/garden-io/garden/commit/b611b35)) * allow numeric log levels ([e2a7b6f](https://github.com/garden-io/garden/commit/e2a7b6f)) +* **cli:** enable custom hints in help message ([37c3159](https://github.com/garden-io/garden/commit/37c3159)) * **config:** add `${local.platform}` template key ([1c6d492](https://github.com/garden-io/garden/commit/1c6d492)) * **container:** add `env` key to specify env vars for containers ([9fa0cb8](https://github.com/garden-io/garden/commit/9fa0cb8)) * **generic:** add env var support to generic module type ([a5096ee](https://github.com/garden-io/garden/commit/a5096ee)) -* **k8s:** add repo parameter to helm module type ([5d3af14](https://github.com/garden-io/garden/commit/5d3af14)) * **k8s:** allow specifying default username in k8s provider config ([1e42cfb](https://github.com/garden-io/garden/commit/1e42cfb)) - +* **k8s:** add repo parameter to helm module type ([5d3af14](https://github.com/garden-io/garden/commit/5d3af14)) ### Performance Improvements * generic plugin now keeps track of last built version ([ab3714b](https://github.com/garden-io/garden/commit/ab3714b)) +### BREAKING CHANGE -### BREAKING CHANGES -* Any existing garden.yml files with the `build.command` key set need +Any existing garden.yml files with the `build.command` key set need to be updated to provide an array of strings as a command, as opposed to a simple string. -* **k8s:** Existing metadata namespaces will have to be manually cleaned up. + +Existing metadata namespaces will have to be manually cleaned up. We suggest resetting local k8s clusters after upgrading. -* **container:** The `tests[].variables` config key has been removed from the + +The `tests[].variables` config key has been removed from the `garden.yml` configuration file schema. + +## [v0.2.0](https://github.com/garden-io/garden/compare/v0.2.0-0...v0.2.0) (2018-06-27) - -# [0.2.0](https://github.com/garden-io/garden/compare/v0.1.2...v0.2.0) (2018-06-27) + +## [v0.2.0-0](https://github.com/garden-io/garden/compare/v0.1.2...v0.2.0-0) (2018-06-27) ### Bug Fixes -* add missing lodash dependency (!) ([2abb90c](https://github.com/garden-io/garden/commit/2abb90c)) -* broken `npm run dev` after package.json changes ([8bd6217](https://github.com/garden-io/garden/commit/8bd6217)) -* **core:** potential race-condition when parsing modules ([944e150](https://github.com/garden-io/garden/commit/944e150)) -* don't run dist script on every npm install ([c73f5e1](https://github.com/garden-io/garden/commit/c73f5e1)) -* error in `Module.getVersion()` ([6491678](https://github.com/garden-io/garden/commit/6491678)) * malformed output from `ctx.getStatus()` ([#134](https://github.com/garden-io/garden/issues/134)) ([d222721](https://github.com/garden-io/garden/commit/d222721)) -* **k8s:** incorrect use of execa ([cecbaa3](https://github.com/garden-io/garden/commit/cecbaa3)) +* pin npm version in CircleCI ([206d946](https://github.com/garden-io/garden/commit/206d946)) +* error in `Module.getVersion()` ([6491678](https://github.com/garden-io/garden/commit/6491678)) +* broken `npm run dev` after package.json changes ([8bd6217](https://github.com/garden-io/garden/commit/8bd6217)) * module versions are now handled properly across multiple repos ([c647cf9](https://github.com/garden-io/garden/commit/c647cf9)) +* test result versions now correctly account for test dependencies ([8b8a6bd](https://github.com/garden-io/garden/commit/8b8a6bd)) +* add missing lodash dependency (!) ([2abb90c](https://github.com/garden-io/garden/commit/2abb90c)) +* don't run dist script on every npm install ([c73f5e1](https://github.com/garden-io/garden/commit/c73f5e1)) * **ci:** only do clean install from package-lock ([3c44191](https://github.com/garden-io/garden/commit/3c44191)) -* **cli:** add missing shebang line in garden binary ([632925d](https://github.com/garden-io/garden/commit/632925d)) * **cli:** delete environment command wasn't linked to parent ([e0789f1](https://github.com/garden-io/garden/commit/e0789f1)) -* **cli:** enforce single character option aliases ([a49e799](https://github.com/garden-io/garden/commit/a49e799)) * **cli:** set error code when calling CLI with bad command ([bb24acd](https://github.com/garden-io/garden/commit/bb24acd)) +* **cli:** enforce single character option aliases ([a49e799](https://github.com/garden-io/garden/commit/a49e799)) +* **cli:** add missing shebang line in garden binary ([632925d](https://github.com/garden-io/garden/commit/632925d)) * **container:** build issue where Dockerfile is copied or generated ([c0186d9](https://github.com/garden-io/garden/commit/c0186d9)) +* **core:** potential race-condition when parsing modules ([944e150](https://github.com/garden-io/garden/commit/944e150)) * **ctx:** better error.log output from `processModules()` ([b0eb86e](https://github.com/garden-io/garden/commit/b0eb86e)) * **integ:** fix init env command in integ test script ([f644ec2](https://github.com/garden-io/garden/commit/f644ec2)) * **k8s:** better error message when kubectl fails ([41f1482](https://github.com/garden-io/garden/commit/41f1482)) +* **k8s:** incorrect use of execa ([cecbaa3](https://github.com/garden-io/garden/commit/cecbaa3)) * **k8s:** patch bugs in kubernetes client ([e45f72a](https://github.com/garden-io/garden/commit/e45f72a)) * **logger:** remove unnecessary call to stopLoop ([db84561](https://github.com/garden-io/garden/commit/db84561)) -* pin npm version in CircleCI ([206d946](https://github.com/garden-io/garden/commit/206d946)) -* test result versions now correctly account for test dependencies ([8b8a6bd](https://github.com/garden-io/garden/commit/8b8a6bd)) * **vsc:** handle weird stat behavior by wrapping it ([df11647](https://github.com/garden-io/garden/commit/df11647)) - ### Code Refactoring * consistently use verb before noun in CLI ([e88e55e](https://github.com/garden-io/garden/commit/e88e55e)) +* switch to official kubernetes client library ([8ccd9a1](https://github.com/garden-io/garden/commit/8ccd9a1)) * rename project.global to project.environmentDefaults ([#131](https://github.com/garden-io/garden/issues/131)) ([3ebe1dc](https://github.com/garden-io/garden/commit/3ebe1dc)) - ### Features +* generate homebrew formula on publish ([72c4b4d](https://github.com/garden-io/garden/commit/72c4b4d)) * **build:** Handle config changes in auto-reload. ([9d9295f](https://github.com/garden-io/garden/commit/9d9295f)) * **k8s:** add helm module type ([122e6dd](https://github.com/garden-io/garden/commit/122e6dd)) -* generate homebrew formula on publish ([72c4b4d](https://github.com/garden-io/garden/commit/72c4b4d)) - ### Performance Improvements -* got rid of all synchronous subprocess and filesystem calls ([9b62424](https://github.com/garden-io/garden/commit/9b62424)) * implemented caching of module version ([e451f7a](https://github.com/garden-io/garden/commit/e451f7a)) +* got rid of all synchronous subprocess and filesystem calls ([9b62424](https://github.com/garden-io/garden/commit/9b62424)) +### BREAKING CHANGE -### BREAKING CHANGES -* The following CLI commands have now been renamed, and any scripts +The following CLI commands have now been renamed, and any scripts using them need to be updated accordingly: `config delete` -> `delete config` `config get` -> `get config` @@ -363,128 +246,141 @@ using them need to be updated accordingly: `environment configure` -> `init environment` `environment destroy` -> `delete environment` `status` -> `get status` -* Existing garden.yml files will need to be updated if they use the + +Existing garden.yml files will need to be updated if they use the project.global key. + +## [v0.1.2](https://github.com/garden-io/garden/compare/v0.1.1-0...v0.1.2) (2018-06-02) - -## [0.1.2](https://github.com/garden-io/garden/compare/v0.1.0...v0.1.2) (2018-06-02) + +## [v0.1.1-0](https://github.com/garden-io/garden/compare/v0.1.0...v0.1.1-0) (2018-06-02) ### Bug Fixes -* **utils:** gulp dev dependencies and update util/index ([9e65f02](https://github.com/garden-io/garden/commit/9e65f02)) * add missing prepublish step ([a1dbde9](https://github.com/garden-io/garden/commit/a1dbde9)) * incorrect bin link in package.json ([237ce85](https://github.com/garden-io/garden/commit/237ce85)) +* **utils:** gulp dev dependencies and update util/index ([9e65f02](https://github.com/garden-io/garden/commit/9e65f02)) - - -# [0.1.0](https://github.com/garden-io/garden/compare/0766b56...v0.1.0) (2018-05-31) - + +## v0.1.0 (2018-05-31) ### Bug Fixes +* allow empty output from test runs ([67a2d95](https://github.com/garden-io/garden/commit/67a2d95)) +* syntax error in .release-it.json ([010a138](https://github.com/garden-io/garden/commit/010a138)) +* allow commands to specify logger type ([893f9e2](https://github.com/garden-io/garden/commit/893f9e2)) +* add missing license header ([f6e11d9](https://github.com/garden-io/garden/commit/f6e11d9)) * [#107](https://github.com/garden-io/garden/issues/107) & [#108](https://github.com/garden-io/garden/issues/108) - incl. deps in auto-reload. ([d1aaf5e](https://github.com/garden-io/garden/commit/d1aaf5e)) +* ensure module build paths have trailing slash (for rsync) ([1c555d1](https://github.com/garden-io/garden/commit/1c555d1)) +* fix default log level on header and finish methods ([1eb143d](https://github.com/garden-io/garden/commit/1eb143d)) * [#85](https://github.com/garden-io/garden/issues/85) closing gulp watch didn't close tsc process ([4b3a7c4](https://github.com/garden-io/garden/commit/4b3a7c4)) -* add better error logging for kubectl and rsync ([212304a](https://github.com/garden-io/garden/commit/212304a)) -* add missing copyright-header dependency on CircleCI ([ceca5c4](https://github.com/garden-io/garden/commit/ceca5c4)) -* add missing dependencies for copyright-header on OSX ([d4d639f](https://github.com/garden-io/garden/commit/d4d639f)) -* add missing license header ([f6e11d9](https://github.com/garden-io/garden/commit/f6e11d9)) -* added missing "Done!" message at end of build command ([a05f2c5](https://github.com/garden-io/garden/commit/a05f2c5)) -* Added OperationQueue to TaskGraph. ([ae79785](https://github.com/garden-io/garden/commit/ae79785)) -* allow commands to specify logger type ([893f9e2](https://github.com/garden-io/garden/commit/893f9e2)) -* allow empty output from test runs ([67a2d95](https://github.com/garden-io/garden/commit/67a2d95)) -* allow unkown keys in baseModuleSchema ([78303de](https://github.com/garden-io/garden/commit/78303de)) -* bad timestamp values could crash log command ([4383d75](https://github.com/garden-io/garden/commit/4383d75)) +* partial CircleCI status on PRs ([7d0a3ef](https://github.com/garden-io/garden/commit/7d0a3ef)) +* regression after splitting up GardenContext ([bbb6db5](https://github.com/garden-io/garden/commit/bbb6db5)) +* issue where module scanning would hang with empty projects ([ec47c72](https://github.com/garden-io/garden/commit/ec47c72)) +* bug in CLI when handling errors ([f7ae4dd](https://github.com/garden-io/garden/commit/f7ae4dd)) * better and more consistent error handling in CLI commands ([36ba7b7](https://github.com/garden-io/garden/commit/36ba7b7)) +* service outputs were not propagated to runtime context ([0151593](https://github.com/garden-io/garden/commit/0151593)) +* bad timestamp values could crash log command ([4383d75](https://github.com/garden-io/garden/commit/4383d75)) +* propagate force flag to deployService action ([6ccc9d0](https://github.com/garden-io/garden/commit/6ccc9d0)) +* wrong function name in local-gcf-container ([7a7d5af](https://github.com/garden-io/garden/commit/7a7d5af)) +* error handling in hello-container ([f778fe9](https://github.com/garden-io/garden/commit/f778fe9)) +* issue with gulp watch and static files ([dc9cd9f](https://github.com/garden-io/garden/commit/dc9cd9f)) +* use built-in ingress controller and dashboard for minikube ([879bce2](https://github.com/garden-io/garden/commit/879bce2)) +* deploy command would deploy all services from each processed module ([673630c](https://github.com/garden-io/garden/commit/673630c)) +* Cancel dependants on task error. ([6831608](https://github.com/garden-io/garden/commit/6831608)) +* temporarily disabling minikube tests in CI (issues with CircleCI) ([5e1b4bc](https://github.com/garden-io/garden/commit/5e1b4bc)) * better error output when gulp add-version-files fails ([0fc4ee4](https://github.com/garden-io/garden/commit/0fc4ee4)) -* better handling of streams not from logger ([42fa17e](https://github.com/garden-io/garden/commit/42fa17e)) -* better kubectl errors ([76fabd6](https://github.com/garden-io/garden/commit/76fabd6)) -* better logger types ([56596fb](https://github.com/garden-io/garden/commit/56596fb)) -* better output rendering for JSON responses in call command ([1aecfe0](https://github.com/garden-io/garden/commit/1aecfe0)) -* bug in CLI when handling errors ([f7ae4dd](https://github.com/garden-io/garden/commit/f7ae4dd)) -* build staging no longer copies symlinks ([0fc60bd](https://github.com/garden-io/garden/commit/0fc60bd)) * Cache results to skip superfluous tasks. ([0632e36](https://github.com/garden-io/garden/commit/0632e36)) -* Cancel dependants on task error. ([6831608](https://github.com/garden-io/garden/commit/6831608)) -* changed how paths are handled when copying build dependencies ([d6506da](https://github.com/garden-io/garden/commit/d6506da)) -* Correction to FS watcher subscription logic. ([5969914](https://github.com/garden-io/garden/commit/5969914)) -* deploy command would deploy all services from each processed module ([673630c](https://github.com/garden-io/garden/commit/673630c)) -* disable ts-node cache in tests to avoid inconsistencies ([21f2d44](https://github.com/garden-io/garden/commit/21f2d44)) -* ensure module build paths have trailing slash (for rsync) ([1c555d1](https://github.com/garden-io/garden/commit/1c555d1)) -* error handling in hello-container ([f778fe9](https://github.com/garden-io/garden/commit/f778fe9)) -* fix default log level on header and finish methods ([1eb143d](https://github.com/garden-io/garden/commit/1eb143d)) * fix destroy env command after kubernetes-client upgrade ([200fd01](https://github.com/garden-io/garden/commit/200fd01)) -* issue where build dependencies couldn't be copied ([d3a44cd](https://github.com/garden-io/garden/commit/d3a44cd)) -* issue where module scanning would hang with empty projects ([ec47c72](https://github.com/garden-io/garden/commit/ec47c72)) -* issue with gulp watch and static files ([dc9cd9f](https://github.com/garden-io/garden/commit/dc9cd9f)) -* issues with kubernetes-client after upgrade ([f4096a2](https://github.com/garden-io/garden/commit/f4096a2)) +* print json/yaml output after cli returns parse results ([eeadf16](https://github.com/garden-io/garden/commit/eeadf16)) +* disable ts-node cache in tests to avoid inconsistencies ([21f2d44](https://github.com/garden-io/garden/commit/21f2d44)) +* version is now correctly set for plugin modules ([#84](https://github.com/garden-io/garden/issues/84)) ([d9c3757](https://github.com/garden-io/garden/commit/d9c3757)) +* remove .vscode directories in multi-container example ([ccd426d](https://github.com/garden-io/garden/commit/ccd426d)) +* add missing copyright-header dependency on CircleCI ([ceca5c4](https://github.com/garden-io/garden/commit/ceca5c4)) +* add missing dependencies for copyright-header on OSX ([d4d639f](https://github.com/garden-io/garden/commit/d4d639f)) * k8s plugin now respects configured context ([a395b79](https://github.com/garden-io/garden/commit/a395b79)) -* linting errors ([e839e8e](https://github.com/garden-io/garden/commit/e839e8e)) +* testModule handlers now receive runtime context ([6ea60b0](https://github.com/garden-io/garden/commit/6ea60b0)) +* better output rendering for JSON responses in call command ([1aecfe0](https://github.com/garden-io/garden/commit/1aecfe0)) +* better handling of streams not from logger ([42fa17e](https://github.com/garden-io/garden/commit/42fa17e)) * linting errors in tests ([185eb69](https://github.com/garden-io/garden/commit/185eb69)) +* better kubectl errors ([76fabd6](https://github.com/garden-io/garden/commit/76fabd6)) * minor logging fixes ([bde56fa](https://github.com/garden-io/garden/commit/bde56fa)) -* package.json & .snyk to reduce vulnerabilities ([0766b56](https://github.com/garden-io/garden/commit/0766b56)) -* partial CircleCI status on PRs ([7d0a3ef](https://github.com/garden-io/garden/commit/7d0a3ef)) -* print json/yaml output after cli returns parse results ([eeadf16](https://github.com/garden-io/garden/commit/eeadf16)) -* propagate force flag to deployService action ([6ccc9d0](https://github.com/garden-io/garden/commit/6ccc9d0)) -* re-implemented local GCF plugin to fix issues ([3f2ee33](https://github.com/garden-io/garden/commit/3f2ee33)) -* regression after splitting up GardenContext ([bbb6db5](https://github.com/garden-io/garden/commit/bbb6db5)) -* remove .vscode directories in multi-container example ([ccd426d](https://github.com/garden-io/garden/commit/ccd426d)) -* service outputs were not propagated to runtime context ([0151593](https://github.com/garden-io/garden/commit/0151593)) -* syntax error in .release-it.json ([010a138](https://github.com/garden-io/garden/commit/010a138)) -* temporarily disabling minikube tests in CI (issues with CircleCI) ([5e1b4bc](https://github.com/garden-io/garden/commit/5e1b4bc)) +* Correction to FS watcher subscription logic. ([5969914](https://github.com/garden-io/garden/commit/5969914)) * test name was not included in test result keys ([3dac186](https://github.com/garden-io/garden/commit/3dac186)) -* testModule handlers now receive runtime context ([6ea60b0](https://github.com/garden-io/garden/commit/6ea60b0)) -* use built-in ingress controller and dashboard for minikube ([879bce2](https://github.com/garden-io/garden/commit/879bce2)) -* version is now correctly set for plugin modules ([#84](https://github.com/garden-io/garden/issues/84)) ([d9c3757](https://github.com/garden-io/garden/commit/d9c3757)) -* wrong function name in local-gcf-container ([7a7d5af](https://github.com/garden-io/garden/commit/7a7d5af)) +* Added OperationQueue to TaskGraph. ([ae79785](https://github.com/garden-io/garden/commit/ae79785)) +* linting errors ([e839e8e](https://github.com/garden-io/garden/commit/e839e8e)) +* re-implemented local GCF plugin to fix issues ([3f2ee33](https://github.com/garden-io/garden/commit/3f2ee33)) +* add better error logging for kubectl and rsync ([212304a](https://github.com/garden-io/garden/commit/212304a)) +* issue where build dependencies couldn't be copied ([d3a44cd](https://github.com/garden-io/garden/commit/d3a44cd)) +* changed how paths are handled when copying build dependencies ([d6506da](https://github.com/garden-io/garden/commit/d6506da)) +* allow unkown keys in baseModuleSchema ([78303de](https://github.com/garden-io/garden/commit/78303de)) +* added missing "Done!" message at end of build command ([a05f2c5](https://github.com/garden-io/garden/commit/a05f2c5)) +* build staging no longer copies symlinks ([0fc60bd](https://github.com/garden-io/garden/commit/0fc60bd)) +* issues with kubernetes-client after upgrade ([f4096a2](https://github.com/garden-io/garden/commit/f4096a2)) +* better logger types ([56596fb](https://github.com/garden-io/garden/commit/56596fb)) +* package.json & .snyk to reduce vulnerabilities ([0766b56](https://github.com/garden-io/garden/commit/0766b56)) * **cli:** duplicate command checks now accounts for subcommands ([b9e22f5](https://github.com/garden-io/garden/commit/b9e22f5)) * **cli:** map all Errors to GardenErrors and log accordingly ([02b05b3](https://github.com/garden-io/garden/commit/02b05b3)) * **hello-world:** npm package is now included in function build ([2795653](https://github.com/garden-io/garden/commit/2795653)) * **hello-world-example:** add missing Dockerfile directives ([4acc4cc](https://github.com/garden-io/garden/commit/4acc4cc)) -* **logger:** fix basic-terminal-writer superflous newline ([bfc0fcf](https://github.com/garden-io/garden/commit/bfc0fcf)) * **logger:** more performant update function ([4d8c89e](https://github.com/garden-io/garden/commit/4d8c89e)) - +* **logger:** fix basic-terminal-writer superflous newline ([bfc0fcf](https://github.com/garden-io/garden/commit/bfc0fcf)) ### Code Refactoring +* move invalid flags check to command setup function ([ee89b74](https://github.com/garden-io/garden/commit/ee89b74)) +* split up writers into separate modules ([e528b35](https://github.com/garden-io/garden/commit/e528b35)) +* add processServices alongside processModules helper ([4871022](https://github.com/garden-io/garden/commit/4871022)) +* major hardening of internal plugin APIs ([242d0aa](https://github.com/garden-io/garden/commit/242d0aa)) +* changed YAML spec to use lists instead of maps in most places ([f1d2548](https://github.com/garden-io/garden/commit/f1d2548)) +* remove unusued watchModules command ([920eacc](https://github.com/garden-io/garden/commit/920eacc)) +* merge autoreload command into dev command ([3c78c36](https://github.com/garden-io/garden/commit/3c78c36)) +* remove skipAutoReload option ([f96fc5f](https://github.com/garden-io/garden/commit/f96fc5f)) +* replaced build and test scripts with gulpfile ([05e3c73](https://github.com/garden-io/garden/commit/05e3c73)) +* changed build dependency copy specs config format ([608f963](https://github.com/garden-io/garden/commit/608f963)) +* k8s garden-system now deployed via sub-Garden ([4a79c45](https://github.com/garden-io/garden/commit/4a79c45)) +* move some logic from commands to plugin context ([b7173be](https://github.com/garden-io/garden/commit/b7173be)) * major overhaul to plugin architecture ([3b97e08](https://github.com/garden-io/garden/commit/3b97e08)) - +* split GardenContext into Garden and PluginContext ([04b5417](https://github.com/garden-io/garden/commit/04b5417)) +* rename GardenContext to Garden ([64bce4f](https://github.com/garden-io/garden/commit/64bce4f)) +* split Kubernetes plugin into more modules ([e6d84e1](https://github.com/garden-io/garden/commit/e6d84e1)) ### Features -* add --watch flag to deploy command ([7b11d58](https://github.com/garden-io/garden/commit/7b11d58)) -* add filter and find methods to logger ([814733b](https://github.com/garden-io/garden/commit/814733b)) +* created local-kubernetes plugin and added config options ([1fcf88d](https://github.com/garden-io/garden/commit/1fcf88d)) +* add truncatePrevious option to file-writer ([a64fbb0](https://github.com/garden-io/garden/commit/a64fbb0)) * add force flag to env config command ([d5ba05b](https://github.com/garden-io/garden/commit/d5ba05b)) +* template variables can now access provider name and config ([51e2f33](https://github.com/garden-io/garden/commit/51e2f33)) +* support and documentation for Minikube ([b2c632c](https://github.com/garden-io/garden/commit/b2c632c)) +* Detect circular dependencies. ([4a35276](https://github.com/garden-io/garden/commit/4a35276)) +* add scan command to output info about modules in project ([075e6c2](https://github.com/garden-io/garden/commit/075e6c2)) +* add support for .gardenignore file ([7ba24b7](https://github.com/garden-io/garden/commit/7ba24b7)) * add global --output flag for CLI ([7f25653](https://github.com/garden-io/garden/commit/7f25653)) +* add run commands for ad-hoc runs of modules, services and tests ([3aca6ac](https://github.com/garden-io/garden/commit/3aca6ac)) +* pass parent to nested log entries ([41cddf0](https://github.com/garden-io/garden/commit/41cddf0)) +* add filter and find methods to logger ([814733b](https://github.com/garden-io/garden/commit/814733b)) * add login and logout commands ([00548e2](https://github.com/garden-io/garden/commit/00548e2)) * add loglevel as cli option and remove silent/verbose options ([985c160](https://github.com/garden-io/garden/commit/985c160)) -* add run commands for ad-hoc runs of modules, services and tests ([3aca6ac](https://github.com/garden-io/garden/commit/3aca6ac)) -* add scan command to output info about modules in project ([075e6c2](https://github.com/garden-io/garden/commit/075e6c2)) -* add support for .gardenignore file ([7ba24b7](https://github.com/garden-io/garden/commit/7ba24b7)) -* add truncatePrevious option to file-writer ([a64fbb0](https://github.com/garden-io/garden/commit/a64fbb0)) * add watch flag to test and build commands ([dd0a4fe](https://github.com/garden-io/garden/commit/dd0a4fe)) -* added buildContext param to buildModule handlers ([141abe9](https://github.com/garden-io/garden/commit/141abe9)) +* add --watch flag to deploy command ([7b11d58](https://github.com/garden-io/garden/commit/7b11d58)) * auto-rebuilding modules & FS watching ([8191aa8](https://github.com/garden-io/garden/commit/8191aa8)) -* created local-kubernetes plugin and added config options ([1fcf88d](https://github.com/garden-io/garden/commit/1fcf88d)) -* Detect circular dependencies. ([4a35276](https://github.com/garden-io/garden/commit/4a35276)) -* pass parent to nested log entries ([41cddf0](https://github.com/garden-io/garden/commit/41cddf0)) -* **cli:** validate option flags ([8c249bd](https://github.com/garden-io/garden/commit/8c249bd)) +* added buildContext param to buildModule handlers ([141abe9](https://github.com/garden-io/garden/commit/141abe9)) * plugins can now add modules to a project ([26f38c7](https://github.com/garden-io/garden/commit/26f38c7)) -* support and documentation for Minikube ([b2c632c](https://github.com/garden-io/garden/commit/b2c632c)) -* template variables can now access provider name and config ([51e2f33](https://github.com/garden-io/garden/commit/51e2f33)) * user no longer needs to run `env config` command ([8cb6512](https://github.com/garden-io/garden/commit/8cb6512)) - +* **cli:** validate option flags ([8c249bd](https://github.com/garden-io/garden/commit/8c249bd)) ### Performance Improvements * made tests run quite a bit faster ([1aa69fd](https://github.com/garden-io/garden/commit/1aa69fd)) +### BREAKING CHANGE -### BREAKING CHANGES -* This includes some changes to the project schema and how it is resolved, +This includes some changes to the project schema and how it is resolved, as well as how the main `Garden` class is instantiated. The `Garden` class is now called with an environment name, which is then fixed for the session. The env configuration is resolved by merging the specific @@ -493,5 +389,3 @@ new `global` key in the project config. The schema for the `providers` key also different - its keys should now match plugin names, and contain configuration for those plugins. - - diff --git a/bin/bootstrap-osx b/bin/bootstrap-osx index 0f91b7b30d..fd36e7d825 100755 --- a/bin/bootstrap-osx +++ b/bin/bootstrap-osx @@ -1,7 +1,7 @@ #!/usr/bin/env bash # install/update homebrew dependencies -BREW_DEPS="cmake git kubectl kubernetes-helm stern rsync icu4c pkg-config faas-cli" +BREW_DEPS="cmake git kubectl kubernetes-helm stern rsync icu4c pkg-config faas-cli git-chglog" brew update brew install ${BREW_DEPS} diff --git a/bin/publish b/bin/publish index 58f5dd3cf8..b93e46bac2 100755 --- a/bin/publish +++ b/bin/publish @@ -7,20 +7,19 @@ cd ${garden_root} ./bin/prepare-publish lerna version --no-push -git reset HEAD~1 -# Note: conventional-changelog reads the current version from package.json and finds previous versions -# by searching for the string "tag:" within commit messages. It should therefore run after the -# version is updated in package.json but before the change is commited and tagged. +version=v$(node -p "require('./lerna.json').version") -./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md --commit-path . -s --pkg ./garden-service +# Add the changelog to the release commit created by lerna +git fetch --tags +git reset HEAD~1 +git-chglog -o=CHANGELOG.md v0.1.0..${version} git add . -version=$(node -p "require('./lerna.json').version") git commit -m "chore(release): release ${version}" # We need to re-create the tag created by lerna since adding the changelog changes the commit hash -git tag -d v${version} -git tag -a v${version} -m "v${version}" +git tag -d ${version} +git tag -a ${version} -m "${version}" git push --tags --no-verify git push origin HEAD --no-verify diff --git a/package.json b/package.json index a22aba0e6d..59b032fd9b 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,6 @@ "@types/execa": "^0.9.0", "@types/node": "^10.7.0", "axios": "^0.18.0", - "conventional-changelog": "^2.0.1", - "conventional-changelog-cli": "^2.0.1", "gulp": "^4.0.0", "gulp-cached": "^1.1.1", "gulp-license-check": "^1.2.1",