Merge pull request #329 from stencilproject/release/0.15.1

Release 0.15.1
This commit is contained in:
David Jennes
2022-07-31 23:07:25 +02:00
committed by GitHub
5 changed files with 11 additions and 27 deletions

View File

@@ -1,16 +1,4 @@
## Master ## 0.15.1
### Breaking
_None_
### Enhancements
_None_
### Deprecations
_None_
### Bug Fixes ### Bug Fixes
@@ -18,10 +6,6 @@ _None_
[David Jennes](https://github.com/djbe) [David Jennes](https://github.com/djbe)
[#328](https://github.com/stencilproject/Stencil/pull/328) [#328](https://github.com/stencilproject/Stencil/pull/328)
### Internal Changes
_None_
## 0.15.0 ## 0.15.0
### Breaking ### Breaking

View File

@@ -1,6 +1,6 @@
{ {
"name": "Stencil", "name": "Stencil",
"version": "0.15.0", "version": "0.15.1",
"summary": "Stencil is a simple and powerful template language for Swift.", "summary": "Stencil is a simple and powerful template language for Swift.",
"homepage": "https://stencil.fuller.li", "homepage": "https://stencil.fuller.li",
"license": { "license": {
@@ -13,7 +13,7 @@
"social_media_url": "https://twitter.com/kylefuller", "social_media_url": "https://twitter.com/kylefuller",
"source": { "source": {
"git": "https://github.com/stencilproject/Stencil.git", "git": "https://github.com/stencilproject/Stencil.git",
"tag": "0.15.0" "tag": "0.15.1"
}, },
"source_files": [ "source_files": [
"Sources/Stencil/*.swift" "Sources/Stencil/*.swift"

View File

@@ -58,9 +58,9 @@ author = 'Kyle Fuller'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = '0.15.0' version = '0.15.1'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '0.15.0' release = '0.15.1'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@@ -14,7 +14,7 @@ dependencies inside ``Package.swift``.
let package = Package( let package = Package(
name: "MyApplication", name: "MyApplication",
dependencies: [ dependencies: [
.package(url: "https://github.com/stencilproject/Stencil.git", from: "0.15.0"), .package(url: "https://github.com/stencilproject/Stencil.git", from: "0.15.1"),
] ]
) )
@@ -26,7 +26,7 @@ If you're using CocoaPods, you can add Stencil to your ``Podfile`` and then run
.. code-block:: ruby .. code-block:: ruby
pod 'Stencil', '~> 0.15.0' pod 'Stencil', '~> 0.15.1'
Carthage Carthage
-------- --------
@@ -37,7 +37,7 @@ Carthage
.. code-block:: text .. code-block:: text
github "stencilproject/Stencil" ~> 0.15.0 github "stencilproject/Stencil" ~> 0.15.1
2) Checkout your dependencies, generate the Stencil Xcode project, and then use Carthage to build Stencil: 2) Checkout your dependencies, generate the Stencil Xcode project, and then use Carthage to build Stencil:

View File

@@ -113,12 +113,10 @@ To comment out part of your template, you can use the following syntax:
{# My comment is completely hidden #} {# My comment is completely hidden #}
.. _template-inheritance:
Whitespace Control Whitespace Control
------------------ ------------------
Stencil supports the same syntax as Jinja for whitespace control, see [their docs for more information](https://jinja.palletsprojects.com/en/3.1.x/templates/#whitespace-control). Stencil supports the same syntax as Jinja for whitespace control, see `their docs for more information <https://jinja.palletsprojects.com/en/3.1.x/templates/#whitespace-control>`_.
Essentially, Stencil will **not** trim whitespace by default. However you can: Essentially, Stencil will **not** trim whitespace by default. However you can:
@@ -126,6 +124,8 @@ Essentially, Stencil will **not** trim whitespace by default. However you can:
- You can disable this per-block using the `+` control character. For example `{{+ if … }}` to preserve whitespace before. - You can disable this per-block using the `+` control character. For example `{{+ if … }}` to preserve whitespace before.
- You can force trimming per-block by using the `-` control character. For example `{{ if … -}}` to trim whitespace after. - You can force trimming per-block by using the `-` control character. For example `{{ if … -}}` to trim whitespace after.
.. _template-inheritance:
Template inheritance Template inheritance
-------------------- --------------------