Skip to content

Releases: pattern-lab/patternlab-php-core

v2.8.0 The Force Awakens

09 Oct 18:31
Compare
Choose a tag to compare

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

v2.7.0: Pokemon Go

22 Jul 23:38
Compare
Choose a tag to compare
  • 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

13 Jul 05:05
Compare
Choose a tag to compare
  • 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

02 Jul 23:50
Compare
Choose a tag to compare

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 to core/console. Useful for plugins that spawn processes.
  • ADD: can add a sayings array to config.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

21 Jun 19:22
Compare
Choose a tag to compare

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

21 Jun 19:20
Compare
Choose a tag to compare

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

21 Jun 19:15
Compare
Choose a tag to compare

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(), and Data::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 like patternDir.
  • FIX: reverse lineages should show state

v2.2.1: YAML Pseudo-patterns Fixed

02 Jun 02:42
Compare
Choose a tag to compare

This version addressed the following:

  • FIX: YAML pseudo-patterns work properly now (thx @EvanLovely)

v2.2.0: Install, Server Fixes and Additions

26 May 18:46
Compare
Choose a tag to compare

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 with Config::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 find phpBin option for the path to PHP

v2.1.0: Minor features and fixes

26 May 18:50
Compare
Choose a tag to compare