Skip to content

Commit

Permalink
Merge pull request #327 from stencilproject/release/0.15.0
Browse files Browse the repository at this point in the history
Release 0.15.0
  • Loading branch information
djbe committed Jul 29, 2022
2 parents 078c7a8 + 6bafcff commit 8989f8a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
26 changes: 11 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Master
## 0.15.0

### Breaking

Expand All @@ -8,16 +8,6 @@

### Enhancements

- Made the `tokens` property on a `Template` public.
[Stefanomondino](https://github.com/stefanomondino)
[#292](https://github.com/stencilproject/Stencil/pull/292)
- Made the `Template.render(_:)` method (that accepts a `Context`) public.
[David Jennes](https://github.com/djbe)
[#322](https://github.com/stencilproject/Stencil/pull/322)
- Enable dynamic member lookup using a new `DynamicMemberLookup` protocol. Conform your own types to this protocol to support dynamic member from with contexts.
[Ilya Puchka](https://github.com/ilyapuchka)
[#219](https://github.com/stencilproject/Stencil/issues/219)
[#246](https://github.com/stencilproject/Stencil/pull/246)
- Added support for trimming whitespace around blocks with Jinja2 whitespace control symbols. eg `{%- if value +%}`.
[Miguel Bejar](https://github.com/bejar37)
[Yonas Kolb](https://github.com/yonaskolb)
Expand All @@ -41,14 +31,14 @@
[David Jennes](https://github.com/djbe)
[#164](https://github.com/stencilproject/Stencil/pull/164)
[#325](https://github.com/stencilproject/Stencil/pull/325)
- Enable dynamic member lookup using a new `DynamicMemberLookup` marker protocol. Conform your own types to this protocol to support dynamic member from with contexts.
[Ilya Puchka](https://github.com/ilyapuchka)
[#219](https://github.com/stencilproject/Stencil/issues/219)
[#246](https://github.com/stencilproject/Stencil/pull/246)
- Allow providing lazily evaluated context data, using the `LazyValueWrapper` structure.
[David Jennes](https://github.com/djbe)
[#324](https://github.com/stencilproject/Stencil/pull/324)

### Deprecations

_None_

### Bug Fixes

- Fixed using `{{ block.super }}` inside nodes other than `block`.
Expand All @@ -61,6 +51,12 @@ _None_
- Updated internal maintenance scripts, and switched to GitHub actions.
[David Jennes](https://github.com/djbe)
[#321](https://github.com/stencilproject/Stencil/pull/321)
- Made the `tokens` property on a `Template` public.
[Stefanomondino](https://github.com/stefanomondino)
[#292](https://github.com/stencilproject/Stencil/pull/292)
- Made the `Template.render(_:)` method (that accepts a `Context`) public.
[David Jennes](https://github.com/djbe)
[#322](https://github.com/stencilproject/Stencil/pull/322)

## 0.14.2

Expand Down
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ namespace :files do
/^version = .*/ => %Q(version = '#{version}'),
/^release = .*/ => %Q(release = '#{version}')
)
docs_package = Utils.first_match_in_file('docs/installation.rst', /\.package\(url: .+ from: "(.+)"/, 1)
replace("docs/installation.rst",
/\.package\(url: .+, from: "(.+)"/ => %Q(.package\(url: "https://github.com/stencilproject/Stencil.git", from: "#{version}"),
/pod 'Stencil', '.*'/ => %Q(pod 'Stencil', '~> #{version}'),
/github "stencilproject\/Stencil" ~> .*/ => %Q(github "stencilproject/Stencil" ~> #{version})
)
Expand Down
4 changes: 2 additions & 2 deletions Stencil.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Stencil",
"version": "0.14.2",
"version": "0.15.0",
"summary": "Stencil is a simple and powerful template language for Swift.",
"homepage": "https://stencil.fuller.li",
"license": {
Expand All @@ -13,7 +13,7 @@
"social_media_url": "https://twitter.com/kylefuller",
"source": {
"git": "https://github.com/stencilproject/Stencil.git",
"tag": "0.14.2"
"tag": "0.15.0"
},
"source_files": [
"Sources/Stencil/*.swift"
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
# built documents.
#
# The short X.Y version.
version = '0.14.2'
version = '0.15.0'
# The full version, including alpha/beta/rc tags.
release = '0.14.2'
release = '0.15.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies inside ``Package.swift``.
let package = Package(
name: "MyApplication",
dependencies: [
.package(url: "https://github.com/stencilproject/Stencil.git", from: "0.14.2"),
.package(url: "https://github.com/stencilproject/Stencil.git", from: "0.15.0"),
]
)
Expand All @@ -26,7 +26,7 @@ If you're using CocoaPods, you can add Stencil to your ``Podfile`` and then run

.. code-block:: ruby
pod 'Stencil', '~> 0.14.2'
pod 'Stencil', '~> 0.15.0'
Carthage
--------
Expand All @@ -37,7 +37,7 @@ Carthage

.. code-block:: text
github "stencilproject/Stencil" ~> 0.14.2
github "stencilproject/Stencil" ~> 0.15.0
2) Checkout your dependencies, generate the Stencil Xcode project, and then use Carthage to build Stencil:

Expand Down
2 changes: 2 additions & 0 deletions rakelib/release.rake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ namespace :release do
task :check_versions do
results = []

Utils.table_header('Check', 'Status')

# Check if bundler is installed first, as we'll need it for the cocoapods task (and we prefer to fail early)
`which bundler`
results << Utils.table_result(
Expand Down

0 comments on commit 8989f8a

Please sign in to comment.