Closed greenkeeper[bot] closed 6 years ago
After pinning to 3.6.0 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
Your tests are still failing with this version. Compare the changes π¨
The new version differs by 4 commits.
afd7966
Update dist for release
a0a2463
Merge pull request #276 from canjs/nprecursiondocs
c3ad484
Break up the code examples in the named partials docs
dcb92a9
Closes #275 - document the pitfal of recursive partials combined with the default expression behavior of looking up the context chain.
See the full diff
Your tests are still failing with this version. Compare the changes π¨
Added *self
as a partial that refers to the whole template renderer.
var renderer = stache(`
<span>{{name}}</span>
{{#./child}}
<div>
{{>*self}}
</div>
{{/child}}
`);
The new version differs by 26 commits.
3b8d173
Update dist for release
72d6694
Merge pull request #294 from canjs/214-fix-call-tag-mismatch
fdb7879
Merge pull request #298 from canjs/greenkeeper/can-util-3.10.6
300d0fa
Change "brackets" to "magic tags" where we were not talking about Bracket expressions
b699cff
Merge pull request #291 from canjs/159-self-referential-templates
8d372a1
chore(package): update can-util to version 3.10.6
f2a4762
Fix incorrect tag mistmatch warnings for Call expressions with dots in method lookup (#214)
edd65fe
Merge branch 'master' of https://github.com/canjs/can-stache into 159-self-referential-templates
8ba7f11
Updated docs to use dot slash on key expression
6c3597e
Removed example test
ede0ff4
Changes to docs
dc21cd1
Added *self to inline partials
655d0c3
Merge pull request #280 from canjs/256-newline-smushed-to-tag-name
e3923d0
Merge branch 'master' into 256-newline-smushed-to-tag-name
4765765
Merge pull request #281 from canjs/203-prioritize-hash-in-expr
There are 26 commits in total.
See the full diff
Your tests are still failing with this version. Compare the changes π¨
Added *self
as a partial that refers to the whole template renderer.
var renderer = stache(`
<span>{{name}}</span>
{{#./child}}
<div>
{{>*self}}
</div>
{{/child}}
`);
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
Your tests are passing again with this version. Explicitly upgrade to this version π
This release changes the behavior of <can-import>
tags in a subtle way:
<can-import></can-import>
with nothing in between the same as <can-import/>
and it therefore seems more HTMLy).This release also adds support for the <can-dynamic-import>
tag, which always imports dynamically whether or not it is self-closing or has content.
For more on dynamic imports, see https://canjs.com/doc/can-view-import.html after CanJS 3.11 is released
The new version differs by 10 commits.
59844f3
Update dist for release
cbdd6d8
Merge pull request #309 from canjs/support-dynamic-import-tag
d7e0915
Add support for can-dynamic-import tag and static can-import when tag is not self-closing but does not have content
fc0f292
Merge pull request #299 from canjs/274-with-keys
4fa0c19
renaming underscore prefixed names in example for clarity
afef862
Doc updates for hash expression support in #with helper
34767d1
Fix #with helper so it always renders fn block
f05b709
Add support for hash keys in with expression (#274)
d85d8cd
Merge branch 'master' into 274-with-keys
2faab01
Added test for with and multiple keys
See the full diff
Your tests are passing again with this version. Explicitly upgrade to this version π
The {{#with}} helper adds a new scope context (becoming the current this
) and renders the subsection it contains. Prior to 3.8.0, the semantics for {{#with}} involved choosing an object on the scope to become this new context.
{{#with scopeObject}}
<span>{{./propertyOnScopeObject}}</span>
{{/with}}
With 3.8.0, you now have the option to construct your own context object using hash expressions.
{{#with key=scopeLookup key2=anotherLookup}}
<span>{{./key}}: {{key2}}</span>
{{/with}}
In addition, the behavior of {{#with}} with a context object was incorrect with respect to the documented behavior. Prior to 3.8.0, the subsection inside {{#with}}...{{/with}}
would not render if passed a falsy object (the same behavior as creating a section with {{#}}). This was not the intended or documented behavior and has been fixed. Now the subsection always renders.
Note: this feature and behavior fix were added in version 3.7.3, which has now been deprecated in favor of this minor release due to the documented new feature.
The new version differs by 14 commits.
3eb013b
Update dist for release
b2de39a
Merge pull request #307 from canjs/302-improve-warning-tests
936c6c0
Use full module for can-test-helpers instead of individual lib
59844f3
Update dist for release
cbdd6d8
Merge pull request #309 from canjs/support-dynamic-import-tag
d7e0915
Add support for can-dynamic-import tag and static can-import when tag is not self-closing but does not have content
dec9202
Refactored dev warning tests to use can-test-helpers
fc0f292
Merge pull request #299 from canjs/274-with-keys
4fa0c19
renaming underscore prefixed names in example for clarity
afef862
Doc updates for hash expression support in #with helper
34767d1
Fix #with helper so it always renders fn block
f05b709
Add support for hash keys in with expression (#274)
d85d8cd
Merge branch 'master' into 274-with-keys
2faab01
Added test for with and multiple keys
See the full diff
Your tests are still failing with this version. Compare the changes π¨
You can now use a hash expression for creating variables localized to an {{#each}}
loop.
You can use this when using {{#each}}
to iterate over arrays to access the index
and value
for each item in the array:
{{#each todos todo=value num=index}}
<li>Todo {{num}}: {{todo.name}}</li>
{{/each}}
You can also use this to access the key
and value
for each item when iterating over an object:
{{#each person propValue=value prop=key}}" +
<span>{{prop}}: {{propValue}}</span>
{{/each}}
This also deprecates the {{#each EXPRESSION as KEY}}
syntax.
The new version differs by 22 commits.
675fa5c
Update dist for release
c8fd06a
not creating lockfile
2a8fc87
Merge pull request #320 from canjs/300-each-hash-expressions
5d0c479
Warning message now better explains how to use hash expression when using as
signature.
508523b
Merge pull request #319 from canjs/landscaper/define-cycles-github
8854894
Add handling for iterable objects
09239da
Update each helper to use hash expressions
04a6b9f
landscaper: Add a cycle detection script to test process
3eb013b
Update dist for release
b2de39a
Merge pull request #307 from canjs/302-improve-warning-tests
936c6c0
Use full module for can-test-helpers instead of individual lib
59844f3
Update dist for release
cbdd6d8
Merge pull request #309 from canjs/support-dynamic-import-tag
d7e0915
Add support for can-dynamic-import tag and static can-import when tag is not self-closing but does not have content
dec9202
Refactored dev warning tests to use can-test-helpers
There are 22 commits in total.
See the full diff
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
This release adds warnings for things that will be removed in can-stache 5.0.
In the following example two new warnings will be displayed.
const data = new DefineMap({
name: 'Justin',
age: 33,
children: [{
name: 'Ramiya',
age: 2,
excitement() {
return '!!';
}
}, {
name: 'TBD',
excitement() {
return '!!';
}
}]
});
<ul>
{{#each children}}
<li>{{name}} is {{age}}{{excitement}}</li>
{{/each}}
</ul>
A warning will be displayed because {{age}}
is being read from the parent scope implicitly since the second child does not have an age
:
A warning will also be displayed because excitement
is a function, but is being called automatically by stache:
Your tests are still failing with this version. Compare the changes π¨
The new version differs by 11 commits.
b6ec488
Update dist for release
b6903ff
Merge pull request #337 from canjs/double-read-with-warning
e4f74fb
Fixing issue with scope value being read multiple times due to warning
f12beea
Merge pull request #334 from canjs/imaustink-patch-1
92e29a2
Update switch.md
b1b8f29
Merge pull request #333 from canjs/imaustink-patch-1
b547f30
Fix closing unless tag in docs
97d3cfe
Merge pull request #331 from canjs/fix-undefined-dev
d1b80fc
Merge branch 'master' into fix-undefined-dev
17ed45e
make warning test dev-only
ca91015
Add a reference to can-log/dev to mustache-core; write a dev log test
See the full diff
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
can-view-scope@3.4.0 added a new scope
keyword to access the templateContext and deprecated *foo
and {{>*self}}
. This release officially deprecates these in the docs and adds documentation for the scope
keyword.
The new version differs by 5 commits.
fa287b0
Update dist for release
de8a247
Merge pull request #346 from canjs/add-scope-deprecate-self
deb7446
deprecating *variable and *self and documenting scope (templateContext)
8ca5ff5
Merge pull request #340 from canjs/45-filename
30bc347
accept filename for intermediate_and_imports (fixes canjs/steal-stache#45)
See the full diff
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
This deprecates the %special
keywords and moves them into a new scope
keyword:
%index
-> scope.index
%key
-> scope.key
%element
-> scope.element
%event
-> scope.event
%viewModel
-> scope.viewModel
%arguments
-> scope.arguments
This also adds two new keywords:
scope.filename
scope.lineNumber
The new version differs by 23 commits.
63a0d05
Update dist for release
a4cdb9f
Merge pull request #352 from canjs/special-template-context
705f229
deprecating %index/@index in favor of scope.index when using #items
b259553
Merge pull request #303 from canjs/migrate-to-can-globals
eb6a287
Merge remote-tracking branch 'origin/master' into special-template-context
e35c883
Landscaper: Remove deprecated can-util methods and replace with can-globals
0826043
Merge pull request #350 from canjs/325-make-each-work-with-plain-objects
9b574b8
Separate handling of plain object and arrays
d8b32d7
Combine object and array each handling
43614c8
Merge pull request #351 from canjs/landscaper/update-parent
ee63cab
Update docs with new @parent & @collection
50ace69
Fixed issue breaking hash expressions with plain objects
318422a
cleaning up warning filename/linenumber
f39c4df
small doc fix
1d9653a
Move remaining %special values to scope in the docs and deprecated %special
There are 23 commits in total.
See the full diff
Your tests are still failing with this version. Compare the changes π¨
This adds a {[scope.root}}
that you can use to access the data passed to a stache renderer function. This allows you to avoid scope walking with recursive partials:
const data = new DefineMap({
name: "Earthworm Jim",
child: {
name: "Grey Worm",
child: {
name: "MyDoom"
}
},
exclaim: '!!!'
});
const view = stache("AppTemplate", `
{{<personAndChildren}}
<span>{{name}} {{scope.root.exclaim}}</span>
{{#./child}}
<div>
{{>personAndChildren this}}
</div>
{{/./child}}
{{/personAndChildren}}
{{>personAndChildren this}}
`);
The new version differs by 5 commits.
52f45ef
Update dist for release
19dfb0d
Merge pull request #353 from canjs/scope-root
d5154dc
adding root scope to scope.root keyword
cc4cdae
alphabetizing scope keys
8d1f818
removing filename metadata since it is set in {{scope.filename}} now
See the full diff
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
Your tests are still failing with this version. Compare the changes π¨
Instead of
can-stache: Do not use `{{#each people as person}}`, instead use `{{#each people person=value}}`
this warning will now show
filename.stache:1: the `as` keyword is deprecated. Use {{#each people person=value}} instead of {{#each people as person}}.
Your tests are still failing with this version. Compare the changes π¨
The new version differs by 8 commits.
eef09b6
Update dist for release
9c69a70
Merge pull request #373 from canjs/372-set-line-number-on-scope-at-end
2aa5bf7
Set lineNumber on close and attrEnd and add tests for it all
a080448
Set lineNumber on the scope before passing it to viewCallbacks.tagHandler
a39e4b3
Merge pull request #362 from canjs/fix-erroneous-closing-tag-with-bracket
d510fb0
Make the new tests devOnly
7a288ec
Close bracket notation with the root, and don't warn when missing closing tag for warning
6215f46
Fixed a bug causing erroneous warnings when expression uses brackets
See the full diff
Your tests are still failing with this version. Compare the changes π¨
The new version differs by 6 commits.
2252d8e
Update dist for release
868cadb
Merge pull request #367 from canjs/add-live-helper
32fcc44
Merge remote-tracking branch 'origin/master' into add-live-helper
822424f
deprecating registerSimpleHelper in favor of addHelper
b47da8a
Making #each(list) use can-view-live.list
4a90bde
simplifying cases in "each" helper
See the full diff
Version 3.6.1 of can-stache just got published.
This version is covered by your current version range and after updating it in your project the build failed.
can-stache is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them. I recommend you give this issue a very high priority. Iβm sure you can resolve this :muscle:
Status Details
- β **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/donejs/done-component/builds/267367545?utm_source=github_status&utm_medium=notification)Release Notes
Warning when using on:, :to, :from, :bind and not importing can-stache-bindings#273
Commits
The new version differs by 6 commits.
a1543bb
Update dist for release
87f7489
Merge pull request #277 from canjs/warn_when_using_new_binding_syntax_wihtout_stache_binding
94d610a
warn users when using colon binding syntaxe without importing can-stache-bindings
9ada6bc
Merge pull request #269 from canjs/dev-rel-12-update-generated-readmes
e2d203d
Merge branch 'master' into dev-rel-12-update-generated-readmes
651a4fa
Remove generated API docs from the README
See the full diff
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: