This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
Releases: MoOx/phenomic
Releases · MoOx/phenomic
v1.0.0-alpha.3
Changes
- change(
@phenomic/core
): mergegetMiddlewares
anddefineDevMiddleware
asaddDevServerMiddlewares
(4322731 - @MoOx) - change(
@phenomic/plugin-bundler-webpack
): now require a consistent bundleName (from config, default to "phenomic.main")
(c8678c0 - @MoOx) @phenomic/core
is now a peer dependency of all packages
(f86f253 - @MoOx)
Fixes
- fix(
@phenomic/plugin-bundler-webpack
): set webpack & webpack-dev-middleware as deps
(#1049 - @MoOx) - fix(
@phenomic/plugin-collector-files
): normalize path for windows
(#1046 - @shaunmarx) - fix(
@phenomic/plugin-public-assets
): make "public" folder optional
(4322731 - @MoOx) - fix(
@phenomic/core
): make "content" folder optional
(e892781 - @MoOx) - fix(
@phenomic/core
): don't log start & do cleanup when build script is interpreted (should happen when used)
(d361185 - @MoOx)
New features
- feat(
@phenomic/core
): add an logger utility to normalize plugin logs ouput
(import logger from '@phenomic/core/lib/logger'; const log = logger("plugin name"); log.info("stuff");
)
(f908a58 - @MoOx) - feat(
@phenomic/plugin-renderer-react
): BodyRenderer component now accept a "components" map
(d3500ae - @MoOx)
0.21.1
0.21.0
tl;dr: drop webpack 1 support and some minor update to the base theme.
Details
- Removed: webpack 1 support. Config has been updated to only match webpack 2.
(#991/e58e9d5 - @MoOx) - Fixed: avoid loaderUtils.parseQuery() warning
(#991/658a704 - @MoOx)
Base theme
- Removed: webpack 1 support. Config has been updated to only match webpack 2.
(#991/2f997c3 - @MoOx) - Removed: json-loader is not required with webpack 2
(#991/1f7428b - @MoOx) - Fixed: webpack 2 / extract-text-webpack-plugin warnings
(#991/a516ac2 - @MoOx) - Fixed: avoid loaderUtils.parseQuery() warning with webpack 2
(#991/27d55bb - @MoOx) - Changed: Client side Polyfill now include es6 features for IE 11 compat.
(#963 - @MoOx) - Changed: minor change to react version in package.json
(#991/69156db - @MoOx) - Updated(base theme): css-loader, postcss-loader & file-loader to latest versions
(#991/cd074ca - @MoOx) - Changed(base theme): use babel-preset-env instead of babel-preset-latest (which is deprecated now)
(#991/8766ee8 - @MoOx)
0.20.4
- Fixed: better support of
react-router
routes that don't have slashes
(#941 - @MoOx) - Added: better support of
react-router
routes (IndexRoute
and trailing slashes)
(#941 - @MoOx) - Removed:
declaration-block-no-ignored-properties
has been removed from
ourstylelint
preset because this rule is not reliable (and deprecated).
This is not a breaking change.
(#960 - @MoOx)
0.20.3
- 🐛 Fixed: stack trace are not truncated anymore
(#819 - @MoOx) - ✨ Added: when an error saying "xxx is not defined" during static build,
a message is printed to give tell people how to handle this problem as it's
most of the related to a missing browser API.
(#819 - @MoOx) - ✨ Added: webpack 2.2 full compatibility
(#928 - @MoOx)
cache
and offline
options have been
updated.
If using both and are facing
an issue
during the static build, you should probably disable cache
option until a
fix is provided.
Base theme
- ✨ Added: Base theme: Add Facebook (Open Graph) and Twitter card image support
based on the hero image
(#934 - @VagishVela)
0.20.2
0.20.1
0.20.0
No major breaking changes.
Just be careful if you are injecting scripts using react-helmet
.
- 🐛 Fixed: move
react-helmet
injected scripts in the head to prevent duplicate loading of JS files
(#904 - @timothycoy)
Previously, scripts injected viareact-helmet
where injected before the end of the</body>
tag. But it can produce unexpected behavior since on the client side,react-helmet
injects those in the<head>
, which can make some scripts doing twice their job (and that's probably not what you want). - 🍭 Added: sitemap webpack plugin
(#907 - @xuopled)
You can now rely onimport PhenomicLoaderSitemapWebpackPlugin from "phenomic/lib/loader-sitemap-webpack-plugin"
to generate a Sitemap.
See https://phenomic.io/docs/usage/sitemap/ for more information.
0.19.5
- 🐛 Fixed: scroll to top should not happen for fresh page, with or without hash
(#665 - @MoOx) - 🐛 Fixed: internal links to other pages with hash now works as expected
(no full page load)
(@MoOx) - 🐛 Fixed: click on link with hash to another page now scroll correctly when page is completely rendered with all data
(#665 - @MoOx)