Skip to content

Conversation

@christophermaier
Copy link
Collaborator

Previously, bundles could include both Slack and HipChat templates. With
the new templating engine, we now only need one template (the specific
chat provider implementations will be responsible for rendering the
template in a manner appropriate to the chat platform).

Now, templates look like this:

...
"templates": {
  "template1": {"body": "template1 body"},
  "template2": {"body": "template2 body"},
  ...
}
...

Note now that template names are also constrained to the regex
[A-Za-z0-9_]+.

This sets the current bundle definition version to 4, and officially
removes support for version 2 bundles. Version 3 is now officially
deprecated.

Previously, bundles could include both Slack and HipChat templates. With
the new templating engine, we now only need one template (the specific
chat provider implementations will be responsible for rendering the
template in a manner appropriate to the chat platform).

Now, templates look like this:

```
...
"templates": {
  "template1": {"body": "template1 body"},
  "template2": {"body": "template2 body"},
  ...
}
...

```

Note now that template names are also constrained to the regex
`[A-Za-z0-9_]+`.

This sets the current bundle definition version to 4, and officially
removes support for version 2 bundles. Version 3 is now officially
deprecated.
@christophermaier christophermaier force-pushed the cm/new-template-config-version branch from 98a2f5a to da2b478 Compare September 6, 2016 18:10
@christophermaier christophermaier deleted the cm/new-template-config-version branch September 8, 2016 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants