From 50e742fd5510e4e07a33fc75a822d1a551d75fbd Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Thu, 28 Feb 2019 10:58:07 -0800 Subject: [PATCH 1/2] Backward compat note about task config validation --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a47e3d7ef..b29a0610c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ __BACKWARDS INCOMPATIBILITIES:__ to parse IOPS in jobs to allow job authors time to remove iops from their jobs. * core: Allow the != constraint to match against keys that do not exist [[GH-4875](https://github.com/hashicorp/nomad/pull/4875)] + * client: Task config validation is more strict in 0.9. For example unknown + parameters in stanzas under the task config were ignored in previous + versions but in 0.9 will cause a task failure. * client: Task config interpolation requires names to be valid identifiers (`node.region` or `NOMAD_DC`). Interpolating other variables requires a new indexing syntax: `env[".invalid.identifier."]`. [[GH-4843](https://github.com/hashicorp/nomad/issues/4843)] From 7a51e79c23db21b7cb022fcf5fed025bd198572d Mon Sep 17 00:00:00 2001 From: Danielle Tomlinson Date: Mon, 4 Mar 2019 14:00:59 -0800 Subject: [PATCH 2/2] Update CHANGELOG.md Co-Authored-By: schmichael --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b29a0610c..464450f3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ __BACKWARDS INCOMPATIBILITIES:__ * core: Allow the != constraint to match against keys that do not exist [[GH-4875](https://github.com/hashicorp/nomad/pull/4875)] * client: Task config validation is more strict in 0.9. For example unknown parameters in stanzas under the task config were ignored in previous - versions but in 0.9 will cause a task failure. + versions but in 0.9 this will cause a task failure. * client: Task config interpolation requires names to be valid identifiers (`node.region` or `NOMAD_DC`). Interpolating other variables requires a new indexing syntax: `env[".invalid.identifier."]`. [[GH-4843](https://github.com/hashicorp/nomad/issues/4843)]