You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+72Lines changed: 72 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,77 @@ All notable changes to this project will be documented in this file.
4
4
This project adheres to [Semantic Versioning](http://semver.org/).
5
5
And as you can see, we [keep a CHANGELOG](http://keepachangelog.com/).
6
6
7
+
## [2.6.0] - 2017-04-19
8
+
### Added
9
+
- WordPress 4.7 to build matrix. #198
10
+
- PHPUnit test suite bootstrap from WordPoints. #193
11
+
- Points type factory for use in the PHPUnit tests. #200
12
+
- Git `pre-commit` hook which automatically checks all staged files for codesniff issues. #20
13
+
- Support for the `@requires WordPoints version` and `@WordPoints-version <version>` annotations for the PHPUnit tests, to require a particular WordPoints version for a test.
14
+
- Support for the `@WordPoints-requires <callback>` annotation for the PHPUnit tests, to specify a boolean callback that must return a true result for the test to run.
15
+
- Minification of CSS, JS, and images to the default Grunt config. #208
16
+
-`Generic.Files.OneClassPerFile` and `Generic.Files.OneInterfacePerFile` to PHPCS ruleset.
17
+
- Restricted PHPUnit assertions PHPCS sniff, which flags the use of non-strict assertions.
18
+
- PHPCS ruleset for the dev-lib itself, which is also now checked via our Travis build.
19
+
- Support for running the uninstall tests for a module to only uninstall the module, but not WordPoints, by setting `WORDPOINTS_ONLY_UNINSTALL_MODULE=1`. #192
20
+
- Add these tests to the default Travis build.
21
+
-`set-up` command to install dependencies and hook up the pre-commit hook when a user checks out a project using the dev-lib.
22
+
- Also hooks up the pre-commit hook for the dev-lib as well.
23
+
24
+
### Changed
25
+
- String sniffer to ignore all `.lock` files. #199
26
+
- XMLLint check to only run if any `.xml` files exist. #201
27
+
- The autoloader checker to automatically detect dependencies of an autoloader.
28
+
- If for a module, the classes may be dependent on WordPoints core's main autoloader. #207
29
+
- This in turn means that for modules we can no longer run the check on the codesniff pass on Travis CI, because WordPoints is not installed yet at that point.
30
+
- The `CODESNIFF_PHP_AUTOLOADER_DEPENDENCIES` can be used to specify the default dependencies for a project.
31
+
- WordPoints core's points component's classmaps are automatically assigned as dependencies for module classmaps within a `/points/` directory.
32
+
- PHPCS ruleset to exclude the PHP syntax sniff. This is unnecessary since we already do syntax checks.
33
+
- PHPCS ruleset to not run the i18n sniff on the tests.
34
+
- Code coverage results to be submitted to codecov.io instead of Coveralls. #109
35
+
- Env bootstrap to allow `$WP_DEVELOP_DIR` to be preset.
36
+
- Env bootstrap to automatically set the WordPoints tests directory based on the develop directory.
37
+
- Autoloader validator to automatically load the `WP_Widget` class in case any classes extend it.
38
+
- Grunt config to automatically detect the module namespace as the prefix for the classes in the autoloader classmaps.
39
+
- Updated default browserify version to 5.0.0.
40
+
- Grunt to detect the first open port for livereload when running watch.
41
+
- Travis bootstrap to update composer when running on PHP 5.2.
42
+
-`makepot` command to automatically create the `languages` directory if needed.
43
+
- PHPCS ruleset to disable class filename checks via `WordPress.Files.FileName`.
44
+
- PHPCS ruleset to disable errors about associative arrays not being multiline from `WordPress.Arrays.ArrayDeclarationSpacing.AssociativeKeyFound`.
45
+
- PHPCS ruleset to use the new method of restricting functions and variables.
46
+
- PHPCS ruleset to use the new WordPress filename sniff instead of the Generic one.
47
+
-`codesniff-phpcs` command to stop silencing warnings from PHPCS, so that they are shown in addition to errors.
48
+
- Travis build to test our PHPCS sniffs.
49
+
- Missing Echo PHPCS sniff, adding `$this->single_row_columns()` to the ignored list.
50
+
- L10n validator config, adding ignore rules for the points logs widget.
51
+
- PHPCS version used, updating it to 2.8.1
52
+
- Module tests scaffold to replace the example with the module namespace.
53
+
- Travis bootstrap to automatically use PHPUnit 5.7 when running on PHP 7 and PHP nightly.
54
+
- PHPCS ruleset to allow `system()` calls in tests.
55
+
- WPCS version to 607db751e90e6d32f96fcb15c4aec8609d059d57.
56
+
- Travis bootstrap to not run against WordPoints stable and WordPress 4.6 on PHP 7.1.
57
+
- Travis bootstrap to recognize that `master` is now the stable WordPoints branch, and `develop` is the development branch.
58
+
- Travis bootstrap to use `develop` to denote WordPress trunk, for consistency.
59
+
- PHPUnit bootstrap to automatically set up autoloading for a module's PHPUnit helper classes.
60
+
- PHPCS Missing Echo sniff to ignore functions with names containing `display`.
61
+
- L10n validator config to add `WordPoints_Modules::get_data()` to the ignores.
62
+
- L10n validator confit to add `'.min'` to the default ignored strings.
63
+
-`init` command to automatically detect the module namespace and set it as the class prefix for the autoloader generator, instead of just basing this of the directory name of the module.
64
+
65
+
### Deprecated
66
+
-`WordPoints_Dev_Lib_PHPUnit_Class_Autoloader` in favor of `WordPoints_PHPUnit_Class_Autoloader`. #193
67
+
-`WordPoints_Dev_Lib_PHPUnit_TestCase_Module_Uninstall` in favor of `WordPoints_PHPUnit_TestCase_Module_Uninstall`. #193
68
+
69
+
### Removed
70
+
- Support for specifying autoloader dependencies in the Grunt config file. #207
71
+
72
+
### Fixed
73
+
- The autoloader checker not checking a classmap file in the `src/classes` directory. #206
74
+
- Grunt not detecting autoloader errors if they were written to `stdout` instead of `stderr`.
75
+
- Fatal error from the makepot class due to the `$max_header_lines` property being private in the parent class.
76
+
- PHPCS sniff not correctly flagging `wp_remote_*()` functions and recommending `wp_safe_remote_*()` instead.
77
+
7
78
## [2.5.0] - 2016-12-09
8
79
### Added
9
80
- Default config file for Grunt, with a watch task to build the autoload classmaps. (#162)
@@ -257,6 +328,7 @@ automatically installed if there is a config file for it. #23
0 commit comments