Releases: htmlburger/wpemerge-theme
Releases · htmlburger/wpemerge-theme
0.17.1
0.17.0
See https://github.com/htmlburger/wpemerge/releases/tag/0.17.0 for more information.
0.16.2
- Added support for Composer 2.
- Disabled media query combining by default. Can be reenabled by uncommenting a single line in postcss.js.
- Removed airbnb-browser-shims as it is overkill for most situations and inflated the bundle size significantly.
- Improved how assets are loaded between different build modes.
- Fixed the presence of Tailwind or similar libraries preventing CSS from being minified.
- Fixed manifest.json having incorrect paths to fonts.
- Fixed SVG files being treated as fonts.
- Fixed editor styles not being loaded in development build mode.
- Fixed an incorrect fallback path for a partial.
- Fixed outdated reference from wpcs.xml to phpcs.xml
0.16.1
- Fixed incorrect return type annotation for
my_app_get_loaded_wpemerge()
. - Bumped version of several Node.js dependencies.
- Fixed
yarn hot
causingApp::core()->assets()->getAssetUrl()
to always return an empty string. - Fixed
yarn start
failing to resolve images references in SCSS.
Manually applying a patch from 0.16.0 to 0.16.1 should pass without any conflicts in most cases:
https://github.com/htmlburger/wpemerge-theme/compare/0.16.0...0.16.1.patch
Make sure to run composer update
and yarn upgrade
after applying the patch.
0.16.0
See https://github.com/htmlburger/wpemerge/releases/tag/0.16.0 for more information.
0.15.1
What's New
- Fixed
yarn release
sometimes creating a faulty zip. yarn release
will now generate an optimized Composer classmap file for improved autoloading performance in production.- Refactored the
yarn release
script for improved readability and maintenance. - Added new
Web
,Admin
andAjax
directories underapp/src/Controllers
.
Upgrading
You can upgrade your 0.15.0 install to 0.15.1 using the attached patch file - 0.15.0-0.15.1.patch
.
To apply it:
- Make sure you do not have any unsaved or uncommited work just to be on the safe side.
- Copy the patch file in your theme root.
- Run
git apply --check 0.15.0-0.15.1.patch
- if no errors appear you are good to go with the next step. - Run
git apply 0.15.0-0.15.1.patch
.
0.15.0
- Added a new
yarn release
command which builds and zips up your theme to be ready for distribution (docs). - Added suport for WordPress 5.2 features such as
wp_body_open
andlogin_headertext
. - Removed
app/framework.php
in favor of separateapp/routes/*.php
and/app/views.php
files. - Added a new
app/helpers/admin.php
file. - Updated WPCS to 2.0.
- Added a version number in composer.json for easy referencing.
- Automatically install and build all assets on install for easier setup process.
- Added
@hook
annotations to files that are loaded during a hook. - Added an
.htaccess
file which blocks direct access to "source" directories. - Implemented common browserslist for Babel and Autoprefixer.
- Added development port option to
config.json
(props @mickaelperrin). - Simplified editor.scss by utilizing SASS map loops.
- Added missing
ABSPATH
check to certain files. - Updated Blade templates for consistency.
- Updated all WP Emerge usage to match latest release.
0.12.0
- Rewrote and simplified base HTML and CSS to adhere to BEM.
- Improved HTML hierarchy and accessibility.
- Added Spectre.css as a CSS framework option during install.
- Added cache busting to assets such as images and fonts referenced in scripts and styles. Please check out the new
Theme\Assets::getAssetUri()
method if you need to reference assets in thedist/
directory server-side. - Reorganized
dist/
files slightly. - Fixed PostCSS processing being run too early.
- Fixed Gutenberg font sizes not being passed correctly in PHP.
- Renamed the internal
start
script as it was not meant for direct use. - Various minor project infrastructure improvements.
0.11.0
- Released a new website: https://wpemerge.com/
- Fixed vendor styles being loaded after custom styles.
- Removed the SVG whitelist filter. A safer solution such as Safe SVG should be used instead.
- Added travis-ci integration.
- Various minor improvements (
wp-block-styles
support, code style etc.).
0.10.2
- [HOTFIX] Added required blank index.php to
theme/alternative/blade/