Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

2.0.0 RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@admturner admturner released this 11 Sep 18:41
· 722 commits to stable since this release

Notable changes

Enhancements

  • 🎨 Fix #157 update front-page layout for block editor. (fe5da9c)
  • Refactor search menu with updated script and styles, including improved accessibility by modifying tabindex when links are hidden. (d31eb0a, ff53bf3, 1eb7803, a974b39)
  • Align button styles with in-progress WSU Design System. (d023614)
  • Add header.php to override parent theme version. (a0aecb9)
  • Add source directories for global (src/global) and library (src/lib) scripts and styles. (a95d77c, 0d85255)
  • Library source files for scripts and styles for external or plugin modifications.
  • 🎨 Update styles to support core block changes in WordPress v5.4.0. (53479e7, 5832f02, 84f75fa, 568129f, 5da07ca, 2a632ec)
  • Modify the Gravity Forms filters to more easily include more form adjustments. (c4a829f)
  • 🍱 Move all component, template part, and global markup, scripts, and styles into dedicated individual directories located at src/components/{{component-name}}/, src/templates/{{template-name}}/ and src/global/.

Bug Fixes

  • Fix #163 prevent search menu flash on page load. (aef8827, 245ddc7)
  • Fix #167 theme styles leaking into editor UI. (1b71860)
  • Fix #164 TablePress class misreferenced. (3e5bced)
  • Mitigate some small-screen core columns block layout issues. (8d5d50d)
  • Revert site header background color to white. (0b1ce2b)
  • Fix #79 hide lazy load placeholder images on no-js. (faed62b)
  • 🌐 Add ARIA labeling to generic landmark regions such as nav and article elements. (cbb5c1c)
  • Fix NPM Package Lint config to allow GPL 3.0 license in npm license. (bd01a56)
  • 🌐 Fix #132 heading order in search menu. (33bc285)
  • Fix site header aria label. (27db595)
  • 🌐 Fix #83 Add level 1 heading on homepage. (5ad298f)
  • πŸ› Fix #127 include footer in builder template. (1f4aad8)

Deprecations

  • Remove unused meta boxes from page edit screen. (4a5b7eb)
  • Remove "post list" and "last updated" shortcodes in favor of using a plugin. (d47d4cd, 55d6240)
  • πŸ’₯ Remove all custom blocks to a separate plugin. (9a8e517)
  • πŸ”₯ Remove Javascript variant for legacy browsers. Use only one integrated index file and tune later as needed. (e8215de)
  • βž– Remove the url-search-params npm dependency. (2590294)
  • Remove search-filter JavaScript tool in preference for HRS Search Filter block. (a24e48f, 78fe58e)
  • Remove MS SQL Server connector class and all related template tags and shortcodes. (0336af6)
  • βž– Remove uneeded dev dependencies following build tool update.
    • url-search-params-polyfill isn't needed since we're not offering this support anymore.
    • @babel/core, @babel/plugin-syntax-dynamic-import, @babel/polyfill, @babel/preset-env, babel-eslint, and eslint-loader are all taken over by WordPress packages.
    • autoprefixer
    • mkdirp
    • node-sass
    • svgo
    • Svgo config file.
    • webpack-merge

Code Quality

  • πŸ‘· Fix #145 refactor Travis CI config. (6673ce2)
  • ♻️ Refactor binder element class logic to better align with WP coding standards. (306f51d)
  • πŸ”₯ Remove unneeded template part files. (7405a3a)
  • Renamed HRS Theme namespace. (9d89a62, dda2434)
  • 🌐 Update text domain for new theme namespace. (a36a3b0, e404364)
  • βž• Add stylelint-a11y npm stylelint plugin and configure. (a96e194, 5120208)
  • 🚚 Update environment structure to be more component based.
    • Move shortcodes to src/components directory. (288cccb)
    • Move post date and terms lists to src/components. (b3ebdd6)
      • Move search menu script into the src/components directory and modify for export support. (ea65d91, b513b52)
      • Move template parts into respective src/templates directories. (e24ed08, 282bbd2, 4d252ac, 8834964, c9e98a6)
      • Move pagination to src/components. (5e7cc55)
      • Distribute functions.php and setup methods into more specific files. (da340dd)
    • Move lazy loading script into the src/lib directory and modify for export support. (e154010)
      • Move the lazy loading class into the lib directory. (2080425)
      • Move custom queries into the inc directory. (75d0567)
    • Modify the JS entry point, now src/index.js to handle all frontend imports and add src/editor.js to handle all backend imports. (442d44f, 4eb46b0)
      • Add style entry points for templates source directory. (741de2e)
  • Break down scripts and styles into frontend and backend and organize them by component and template. (b0b9eb3)
  • πŸ”§ Add config file for the npm-package-json-lint linter, for postcss-cli, and for wp-prettier. (26dca82, 4a70723, 7e46e0e)
  • βž• Add wp-prettier npm dev dependency aliased to prettier. (98734a2)
  • πŸ”§ Update linter configs to use WordPress preset recommendations. (09bb5f6, a38d3f9, 6c5d034)
  • πŸ”§ Simplify .gitignore rules. (2c1f44d)
  • Use pre-optimized images instead of optimizing on every build and use Webpack to copy from source to build. (847675c)
  • πŸ”§ Update editorconfig with newer WP-aligned rules. (236ccff)
  • πŸ‘· Update Travis rules to monitor the 2.x branch and only test PHP 7.0+. (132359b, 6a16c27)
  • Add the npm-package-json-lint npm dev package with the @wordpress/npm-package-json-lint-config package to handle code quality of package.json file.
  • Use the WordPress stylelint-config-wordpress linting rules.
  • Directly include the dealerdirect/phpcodesniffer-composer-installer Composer dev dependency for PHPCS.
  • Add the phpcompatibility/php-compatibility and sirbrillig/phpcs-variable-analysis Composer packages for additional PHPCS quality checking.

Documentation

  • Replace screenshot for new front page layout. (3dc5e9a)
  • Improve changelog organization with type categories. (82117b7)
  • Add the Prettier badge. (e00da29)
  • πŸ“ Update documentation. (1afaa73)

Build Tooling

  • ⬆️ Update Composer dependencies and fix composer.json spacing. (7d0a988)
  • ⬆️ Update npm package lint dependency and config. (3869ce8)
  • ⬆️ Update JavaScript build tools; ESLint, Prettier, WordPress ESLint Plugin. (2444736)
  • ⬆️ Update Webpack and related dependencies. (9779eb9)
  • ⬆️ Update CSS build tools, Stylelint, Stylelint config, and PostCSS CLI. (1b3f923)
  • ⬆️ Update Copy Webpack Plugin to v6+ and fix copy patterns syntax for v6.0 changes. (3cc637c)
  • Switch from Sass to CSS using the postcss-present-env plugin to allow things like variables and nesting. (209dc79)
  • Add the postcss-import and postcss-preset-env npm PostCSS plugins.
  • πŸ’₯ Revamp Webpack config to use one set of rules geared to the WP block environment, to process frontend and backend scripts separately, and to handle copying componenent assets from entry to output directory. (5fb2313)
    • βž• @wordpress/dependency-extraction-webpack-plugin
      • βž• copy-webpack-plugin
      • βž• resolve-bin
      • βž• source-map-loader
      • βž• thread-loader
      • βž• webpack-bundle-analyzer

Project Management

  • Replace the theme screenshot. (3dc5e9a)
  • Update CHANGELOG and README headers and badges. (c2d1ced)
  • Switch to GPLv3+ license in place of GPLv2+. (245ae12, c2d1ced)
  • Rename primary branch from master to stable. See the Internet Engineering Task Force (IEFT), Terminology, Power and Oppressive Language.
  • Revamp composer.json and package.json with better metadata and build processes focused on PostCSS and Webpack. (c292a6e, 2692f07)
  • Add the roave/security-advisories Composer package to monitor Composer package security.