Skip to content

Commit

Permalink
Add CHANGELOG entry for #19
Browse files Browse the repository at this point in the history
  • Loading branch information
AliSoftware committed Feb 18, 2017
1 parent a663a47 commit 93b2f6e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ _None_
to do the equivalent of the `result = someArray.map { item in … }` Swift code.
[David Jennes](https://github.com/djbe)
[#11](https://github.com/SwiftGen/StencilSwiftKit/pull/11)
* Add a "parameters parser" able to transform parameters passed as a set of strings
(`a=1 b.x=2 b.y=3 c=4 c=5`) — typically provided as the command line arguments of a CLI
— into a Dictionary suitable for Stencil contexts.
[David Jennes](https://github.com/djbe)
[#8](https://github.com/SwiftGen/StencilSwiftKit/pull/8)
* Add a `StencilContext.enrich` function to enrich Stencil contexts with `param` and `env` dictionaries.
The `param` dictionary typically contains parameters parsed via the parameters parser above.
The `env` dictionary contains all the environment variables. You can thus access them in
your templates using `env.USER`, `env.LANG`, `env.PRODUCT_MODULE_NAME`, etc.
[#19](https://github.com/SwiftGen/StencilSwiftKit/pull/19)

### Internal Changes

Expand All @@ -30,9 +40,6 @@ _None_
* Refactor stencil node tests to not use templates and output files.
[David Jennes](https://github.com/djbe)
[#17](https://github.com/SwiftGen/StencilSwiftKit/issues/17)
* Add a "parameters parser" able to transform parameters passed as a set of strings (`a=1 b.x=2 b.y=3 c=4 c=5`) — typically provided as the command line arguments of a CLI — into a Dictionary suitable for Stencil contexts.
[David Jennes](https://github.com/djbe)
[#8](https://github.com/SwiftGen/StencilSwiftKit/pull/8)

## Pre-1.0.0

Expand Down

0 comments on commit 93b2f6e

Please sign in to comment.