Skip to content

Releases: tighten/jigsaw

v1.3.10

10 Jun 14:05
Compare
Choose a tag to compare
  • Improve multi-language support by allowing non-ASCII characters in filenames (Issue #344 / PR #346)
  • Fix tests for dotfiles, and correctly preserve dotfiles at root level (PR #347)

v1.3.9

10 Mar 15:58
Compare
Choose a tag to compare
  • Bump Parsedown version to 1.8.0@beta and ParsedownExtra version to 0.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

26 Feb 18:49
Compare
Choose a tag to compare
  • Updates Illuminate dependencies to 5.8

v1.3.0

21 Dec 21:26
Compare
Choose a tag to compare
  • 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 running jigsaw build
  • Improvements to the console display during the build process. Progress bars can be displayed using the verbose flag -v on the jigsaw 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 the npm run watch command
  • Removed Laravel Elixir support for new sites, and removed the jigsaw use command; the elixir 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

02 Aug 14:27
Compare
Choose a tag to compare

Fixes to IterableObject from PR #241:

  • Objects that extend IterableObject, such as PageVariable, were incorrectly getting converted to a standard IterableObject when added with makeIterable, causing those objects to lose their extended functionality.
  • When adding an object using set and dot notation, the final item was converted into an IterableObject, but not any of new intermediate items.

v1.2.7

31 Jul 13:06
Compare
Choose a tag to compare

More updates to the default asset/Webpack/Mix configuration:

  • Included a default mix-manifest.json so jigsaw build will work out of the box, without requiring an initial npm run dev
  • Updated the default installation to include source/_assets and source/assets/build, along with a sample source/assets/build/css, source/assets/build/js, and source/assets/images directories.
  • Set the processCssUrls option to false, to prevent Sass compilation from modifying URLs found in styles

v1.2.6

31 Jul 13:01
Compare
Choose a tag to compare

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' => [],
    ],
]

v1.2.5

31 Jul 13:00
Compare
Choose a tag to compare
  • Updated the default webpack.mix.js configuration to set the source asset path to source/assets/build
  • Updated the default master.blade.php template to use the Mix directive {{ mix('css/main.css', 'assets/build') }} for styles

v1.2.4

31 Jul 12:57
Compare
Choose a tag to compare

Fixed two issues related to remote collections (PR #238):

  • Allows items closure to return a collection or an array
  • Sets the default webpack config to exclude any _tmp directories created for a remote collection, to prevent an endless recompile loop when using npm run watch

v1.2.3

31 Jul 12:55
Compare
Choose a tag to compare
  • Dropped the non-compiled /source/css/main.css file that was installed by default