Releases: tighten/jigsaw
Releases · tighten/jigsaw
v1.3.10
v1.3.9
- Bump Parsedown version to
1.8.0@beta
and ParsedownExtra version to0.8.0@beta
, to take advantage of several markdown-related fixes that have been merged but not tagged - (PR #330) Extends ParsedownExtra with a custom fix to an issue (#318, #329) where HTML markup in a markdown file would not get parsed correctly if the markup contained multiple nodes on a single line
v1.3.8
v1.3.0
- Added support for Starter Templates using the
jigsaw init
command, along with Tighten-designed templates for a blog and a documentation site. See the documentation for details. - A whole slew of performance- and memory-related improvements (PR #260), which should be particularly valuable to very large Jigsaw sites. Caching has been added by using the
-c
flag when runningjigsaw build
- Improvements to the console display during the build process. Progress bars can be displayed using the verbose flag
-v
on thejigsaw build
command, and output can be silenced entirely with the-q
flag. - Update Laravel Mix and Webpack to 4.0 versions, and updated the
tasks/build.js
to improve handling of thenpm run watch
command - Removed Laravel Elixir support for new sites, and removed the
jigsaw use
command; theelixir
helper remains for backwards compatibility. - Improved handling of international and special characters in path slugs (PR #277, thanks @bhulsman !)
- Added a confirmation warning when building a site to a custom destination (PR #279, great work @mattisbones !)
v1.2.8
Fixes to IterableObject
from PR #241:
- Objects that extend
IterableObject
, such asPageVariable
, were incorrectly getting converted to a standardIterableObject
when added withmakeIterable
, causing those objects to lose their extended functionality. - When adding an object using
set
and dot notation, the final item was converted into anIterableObject
, but not any of new intermediate items.
v1.2.7
More updates to the default asset/Webpack/Mix configuration:
- Included a default
mix-manifest.json
sojigsaw build
will work out of the box, without requiring an initialnpm run dev
- Updated the default installation to include
source/_assets
andsource/assets/build
, along with a samplesource/assets/build/css
,source/assets/build/js
, andsource/assets/images
directories. - Set the
processCssUrls
option tofalse
, to prevent Sass compilation from modifying URLs found in styles
v1.2.6
Event listener improvements (from #239):
Enhances the behavior of the setConfig()
method in the beforeBuild
event listener, allowing:
- setting a deeply-nested config value using dot notation, e.g.:
bootstrap.php
$events->beforeBuild(function (Jigsaw $jigsaw) {
$jigsaw->setConfig('deeply.nested.item', 'value')
});
- adding a collection item during
beforeBuild
, which can be used as an alternative to Remote Collections as a way to dynamically create collection items, e.g.:
bootstrap.php
$events->beforeBuild(function (Jigsaw $jigsaw) {
$jigsaw->setConfig('collections.posts', [
'extends' => '_layouts.master',
'items' => [
[
'content' => 'Content for post #1',
'filename' => 'post_1',
],
],
]);
});
Note that when creating a collection item using this method, the collection must have been defined in config.php
:
config.php
return [
'collections' => [
'posts' => [],
],
]