Merge pull request #329 from stencilproject/release/0.15.1
Release 0.15.1
This commit is contained in:
18
CHANGELOG.md
18
CHANGELOG.md
@@ -1,16 +1,4 @@
|
||||
## Master
|
||||
|
||||
### Breaking
|
||||
|
||||
_None_
|
||||
|
||||
### Enhancements
|
||||
|
||||
_None_
|
||||
|
||||
### Deprecations
|
||||
|
||||
_None_
|
||||
## 0.15.1
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -18,10 +6,6 @@ _None_
|
||||
[David Jennes](https://github.com/djbe)
|
||||
[#328](https://github.com/stencilproject/Stencil/pull/328)
|
||||
|
||||
### Internal Changes
|
||||
|
||||
_None_
|
||||
|
||||
## 0.15.0
|
||||
|
||||
### Breaking
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Stencil",
|
||||
"version": "0.15.0",
|
||||
"version": "0.15.1",
|
||||
"summary": "Stencil is a simple and powerful template language for Swift.",
|
||||
"homepage": "https://stencil.fuller.li",
|
||||
"license": {
|
||||
@@ -13,7 +13,7 @@
|
||||
"social_media_url": "https://twitter.com/kylefuller",
|
||||
"source": {
|
||||
"git": "https://github.com/stencilproject/Stencil.git",
|
||||
"tag": "0.15.0"
|
||||
"tag": "0.15.1"
|
||||
},
|
||||
"source_files": [
|
||||
"Sources/Stencil/*.swift"
|
||||
|
||||
@@ -58,9 +58,9 @@ author = 'Kyle Fuller'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '0.15.0'
|
||||
version = '0.15.1'
|
||||
# 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
|
||||
# for a list of supported languages.
|
||||
|
||||
@@ -14,7 +14,7 @@ dependencies inside ``Package.swift``.
|
||||
let package = Package(
|
||||
name: "MyApplication",
|
||||
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
|
||||
|
||||
pod 'Stencil', '~> 0.15.0'
|
||||
pod 'Stencil', '~> 0.15.1'
|
||||
|
||||
Carthage
|
||||
--------
|
||||
@@ -37,7 +37,7 @@ Carthage
|
||||
|
||||
.. 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:
|
||||
|
||||
|
||||
@@ -113,12 +113,10 @@ To comment out part of your template, you can use the following syntax:
|
||||
|
||||
{# My comment is completely hidden #}
|
||||
|
||||
.. _template-inheritance:
|
||||
|
||||
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:
|
||||
|
||||
@@ -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 force trimming per-block by using the `-` control character. For example `{{ if … -}}` to trim whitespace after.
|
||||
|
||||
.. _template-inheritance:
|
||||
|
||||
Template inheritance
|
||||
--------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user