Pattern Lab Node Core 2.4.0
Pattern Lab Node v2.4.0
This release primarily focused on a rewrite of ui_builder.js complete with unit test coverage and better support for markdown documentation. While I didn't get pattern type documentation in, this lays the groundwork for it.
This release also features a new postinstall hook to load any starterkit after npm install
. It should make getting started even easier. I plan to improve this further, but for now it's a good start.
- This grunt release will support it
- This gulp release will support it
CHANGELOG
- ADD: Implement npm postinstall script that loads installed starterkit right away | @bmuenzenmeyer
- ADD: Hide underscored directories from the navigation altogether | @e2tha-e
- CHG: Rewrote
ui_builder.js
for more unit-testable, more maintainable structure. | @bmuenzenmeyer- Implement SubType Documentation
- Known Issues: Subtype View all is not at the end of the menu
- Please report any issues you see with Pattern Lab frontend after upgrading.
- FIX: Pattern markdown files with no description text render raw text into description field | @bmuenzenmeyer - includes
js-yaml
dependency for more robust annotation and frontmatter yaml parsing. Paves the way for full yaml support soon! - FIX: Cachebuster not outputting on view-all pages | @bmuenzenmeyer, reported by @brianjhanson
- FIX: Error Parsing link.patterns inside
.json
| @bmuenzenmeyer - CHG: Rename
findPartial
togetPartial
| @e2tha-e - ADD: Added an underscore unit test | @geoffp
- ADD: Missing user-editable header / footer error handling | @geoffp
- FIX: Remove dead code and correct upgrade instructions | @bmuenzenmeyer, reported by @josketres
UPGRADE INSTRUCTIONS
Follow the standard upgrade instructions to migrate from 1.X to 2.X, which now requires an edition.
EDITIONS
It's now suggested to use an edition with Pattern Lab Node. Editions package up core, shared frontend assets, and a means to communicate with the API.
- Edition Node Gulp
- Edition Node Grunt - less tested
UNIT TESTS/ASSERTIONS
8 unit tests/assertions were added this release for a total of 264 which was net with some deletions - plus more for engines that are not included yet.
ROADMAP
Keep an eye on the milestones for a clearer understanding of where the project is going in the next few releases.
Brian and Geoff