Skip to content

Releases: wp-cli/scaffold-command

Version 2.0.5

21 Apr 04:16
86ee481
Compare
Choose a tag to compare
  • Enhancement: Add PHP 7.3 to Travis CI build matrix [#221]
  • Implement CS checking based on the WP_CLI_CS ruleset [#220]
  • PHPCS: fix up the code base [3] - strict comparisons (second try) [#218]
  • Rename _s method to underscores and provide alias for backcompat [#217]
  • Rename scaffold method to get rid of underscore prefix [#216]
  • PHPCS: fix up the code base [5] - multi-line function calls [#215]
  • PHPCS: fix up the code base [4] - assignments in conditions [#214]
  • Prefix variables in global namespace [#213]
  • PHPCS: fix up the code base [3] - strict comparisons [#209]
  • PHPCS: fix up the code base [2] - scope modifiers [#208]
  • PHPCS: fix up the code base [1] - whitespace & inline control structures [#207]
  • QA: don't unnecessarily use array_merge() [#206]
  • QA: don't unnecessarily create variables within a function call [#205]
  • Move PHP 5.4 tests from WP_VERSION latest to 5.1 [#204]
  • Prevent creating unregisterable blocks due to invalid plugin slug [#203]
  • Add dependencies.yml to plugin .distignore [#202]
  • Add DeployHQ .deployignore to ignored files in .distignore [#201]
  • Ignore various JavaScript config files in plugin .distignore [#200]
  • Update links to blocks documentation [#199]

Version 2.0.4

18 Dec 14:15
1c5530e
Compare
Choose a tag to compare
  • Split up the list of expected files to allow for WP 5.0+ changes [#195]

Version 2.0.3

17 Dec 13:36
b97e3e0
Compare
Choose a tag to compare
  • Run docker-php-ext-install with sudo -E in CircleCI [#188]

Version 2.0.2

15 Nov 17:01
a8a025c
Compare
Choose a tag to compare
  • Add textdomain to block strings and update tests accordingly [#187]
  • Use branch for WP_TEST_TAG for RC and beta [#186]
  • Missing text domain in post_type_extended.mustache [#184]
  • Work around Travis CI issue with _s download certificate [#182]
  • Fix typo in Travis config [#180]
  • Add support for Probot move command [#179]
  • Ignore 'node_modules' in PHPCS XML file [#178]
  • Allow for installation as well as install [#177]
  • Fix syntax error in block-php.mustache [#176]
  • Ignore log files [#174]
  • Inc 'menu_position' when scaffolding a post type [#173]
  • Remove Inflector Class [#172]

Version 2.0.1

23 Aug 19:37
2ee679f
Compare
Choose a tag to compare
  • PHPCS template: fix XML error in ruleset [#171]
  • Automatically rerun failed scenarios [#170]

Version 2.0.0

05 Aug 14:29
7975548
Compare
Choose a tag to compare
  • Adapt package for framework v2 [#166]

Version 1.2.0

29 Jul 15:06
a897a54
Compare
Choose a tag to compare
  • Add function_exists() check to block PHP template [#147]
  • Remove 'wp-blocks' from style dependency [#151]
  • Add PHPCompatibility sniffs to scaffolded [#154]
  • Add escaping for block title [#153]
  • Add --woocommerce flag to scaffold _s command [#159]
  • Exclude string from escape warning [#162]
  • Correct 'add_new_item' label [#163]
  • Update PHPCS default rule set [#161]

Version 1.1.3

21 Apr 01:41
659348f
Compare
Choose a tag to compare
  • Fix WPCS in theme-tests generation [#121]
  • Use correct default $WP_TESTS_DIR on MacOS [#131]
  • Switch CircleCI template to CircleCI 2.0 [#115]
  • Fix sed -i option on MacOS [#132]
  • Exclude tests/test-sample.php via the phpunit.xml.dist file [#134]
  • Add PHP 7.2 to CI templates [#135]
  • Fix theme-specific paths in scaffolded blocks [#137]
  • Modify scaffold block to create index.js [#142]

Version 1.1.2

30 Jan 00:34
a7ef51b
Compare
Choose a tag to compare
  • scaffold block:
    • Adds inline documentation based on the Gutenberg Handbook, generates style.css, supports latest supportsHtml API, WordPress Coding Standards fixes [#107].
    • Updates PHP template to latest recommended method [#111].
  • scaffold child-theme:
    • Generates WordPress Coding Standards compliant code [#117].
  • scaffold plugin:
    • Generates WordPress Coding Standards compliant code [#120].
  • scaffold post-type:
    • Generates WordPress Coding Standards compliant code [#110].
  • scaffold taxonomy:
    • Generates WordPress Coding Standards compliant code [#112].
  • scaffold theme-tests:
    • Adds theme_root filter to tests/bootstrap.php to make sure theme's functions.php gets loaded [#116].
  • Updates scaffolded tests to latest and requires wp-cli/wp-cli: ^1.5 [#122].

Version 1.1.1

18 Dec 20:04
24b4dde
Compare
Choose a tag to compare
  • scaffold plugin-tests:
    • Removes Composer vendor directory from Travis CI cache [#99].
  • Documentation, test suite, and repository improvements [#97, #98, #100, #101, #102, #103, #105].