Releases: pattern-lab/patternlab-php-core
v2.8.0 The Force Awakens
We're excited to get Pattern Lab development back on track and rolling! Special thanks to @dmolsen for all his hard work getting Pattern Lab to where it is today! This is the first round of work from the new Lead Developer @EvanLovely and Developer @sghoweri that came from our work over the past 5 months of working on forks over at the Drupal Pattern Lab organization. More to come!! 🎉
Changelog
- ADD: Allow Pattern Lab to follow pattern symlinks | @sghoweri
- FIX: Remove extra character from InstallerUtil so dev branch isn't broken - addresses #123 and #87 | @sghoweri, @aleksip and @EvanLovely
- FIX: Updating global data to use
yml
oryaml
which addresses #93 and #96 | @EvanLovely - FIX: Regenerate deleted publicDir / regenerate styleguidekit if index.html missing | @EvanLovelyand @sghoweri
- FIX: Replace possible dots in pattern names with dashes | @aleksip and @evanmwillhite
- FIX: Don't overwrite nameClean if it has already been set | @aleksip
- FIX: Fix long broken lineage functionality when using Twig namespaces (ie. Drupal 8 friendly paths)which closes out #105 | @sghoweri and @aleksip
- CHORE: Merge Pattern Lab dev work @dmolsen helped with back in July of 2016 into master which should address existing issues / PRs relating to broken View All links in the navigation, including #107 and #102 | @dmolsen and @sghoweri
v2.7.0: Pokemon Go
- ADD: support for outputFileSuffixes config options per pattern-lab/the-spec#26
- FIX: handle matching patterns/docs/data where one may have an underscore and the others don't
- FIX: trim Markdown documentation
- FIX: make the server quiet all the time
- FIX: catch an error if Zippy fails to find a deflator. tell users to download outside of PL.
- FIX: remove unused Fetch command
- FIX: remove "missing annotations dir" error message which brought PL to a screeching halt
- FIX: cleaning up some of the old CSS Rule Saver code
- FIX: data.js now has new lines to separate the vars
- FIX: using symfony's "find PHP executable" class to find PHP for use with the process spawner
- FIX: removed patternExtension from exposed config options
v2.6.3: Mr. Fixit
- FIX: pattern and subtype names are no longer automatically capitilized
- FIX: pseudo-patterns now use
array_replace_recursive()
just like the other pattern rules - FIX: handle missing annotations
- FIX: handle missing _patterns
- FIX: process timeout updated. also timeout errors are more descriptive
- FIX: pattern rules & helpers no longer leave out "hidden" files from the store
- FIX: header and footer for pattern and viewall are rendered with the patternloader
- FIX: defaultShowPatternInfo is now set to false
- FIX: reduced static class calls in exporters
- FIX: removed error color from sayings options
- FIX: ignore patternlab-components when checking that publicDir is empty
v2.5.0: Plugin Config and Process Tweaks
This release has some changes to how processes are spawned by Pattern Lab so clean-up is easier. It also addresses managing the plugin configs. Finally, all of the dependencies for Core have been updated.
- ADD:
--with-watch
flag to--server
command so the server and watch can be launched with one command - ADD:
--no-procs
flag to--watch
command to disable processes that may hook into a watch event - ADD:
Console\ProcessSpawner
class to handle spawning processes for better clean-up - ADD:
Console::getPathPHP()
gives the path to PHP. Useful for plugins that spawn processes. - ADD:
Console::getPathConsole()
gives the path tocore/console
. Useful for plugins that spawn processes. - ADD: can add a
sayings
array toconfig.yml
to add your own sayings - ADD:
plugins
is now an always exposed option for the front-end - FIX:
Sayings
is now in its own class - FIX: titles from pattern documentation now overwrites the pattern-derived title
- FIX: removed
gatherMQs()
as that is no longer a core feature - FIX: pseudo-pattern path bug that affected the Data Inheritance plugin
- FIX: file extension matches used in PatternData rules are now exact matches
- FIX: watch uses the PatternData rules to determine which file extensions to watch for in
./source/_patterns/
- FIX: plugin data that is saved to the config properly prompts and overwrites where applicable
- FIX:
--sk
option for the--watch
command will now prompt for location of installed StarterKit. cleaner for core.
v2.4.1: Minor Fix of Output
Just a tweak of the v2.4.0
release to make the output cleaner.
- FIX: removing extraneous debug statement (aka
print 'got here';
)
v2.4.0: Watching and Starting for Workshop
The workshop-focused release:
- ADD:
watcher.start
event that plug-ins can hook into. For example, the Reload plugin that might be handy during a workshop. - ADD:
--suggestions
flag for the--starterkit
command. Gives easy access for installing/reinstalling an edition's suggested StarterKits. Like, say, for a workshop.
v2.3.0: A New Look
This release of core supports changes related to the new look of Pattern Lab released in StyleguideKit Default v3.0.0.
- ADD: support for a
defaultPattern
config option. the viewer will default to the given pattern. can be used to add a welcome page. - ADD: support for
defaultShowPatternInfo
config option. the viewer can expand pattern info by default on "view all" pages. - ADD: pattern subtypes can have their own documentation
- ADD: support for dot notation when using
Config::getOption()
,Config::setOption()
,Data::getOption()
, andData::setOption
- ADD:
Data::replaceState()
allows complete overwrite of the store - FIX: properly setting pattern state
- FIX: properly clean
annotations.js
for import - FIX: added loads of
DIRECTORY_SEPARATOR
- FIX: breadcrumb for the viewer is now an array so designers can choose their own separators
- FIX: most every config driven directory can be overwritten from
config.yml
. This includes things likepatternDir
. - FIX: reverse lineages should show state
v2.2.1: YAML Pseudo-patterns Fixed
This version addressed the following:
- FIX: YAML pseudo-patterns work properly now (thx @EvanLovely)
v2.2.0: Install, Server Fixes and Additions
This version addressed the following:
- ADD: support Composer's
--no-interaction
mode for use with CI tools - ADD:
--quiet
option for built-in server - ADD:
configPath
can now be retrieved withConfig::getOption()
- FIX: pattern documentation without a corresponding pattern no longer throws an error
- FIX: missing
./public/
and./source/
are now re-built with a warning instead of just throwing an error - FIX: the console help properly handles sample examples in the usage field
- FIX: if
$_SERVER['_']
doesn't exist the built-in server will try to findphpBin
option for the path to PHP
v2.1.0: Minor features and fixes
minor fixes