This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
v1.0.0-beta.6
Pre-release
Pre-release
Erratum
Check out beta.7 which includes bugfixes related to this release.
🚨 Breaking change
- Upgrade from babel 6 to babel 7 (+fixup).
⚠️ If you were using phenomic without any custom babel config, this update should be transparent for you. - Reason users: you will night to replace
*.js
by*.bs.js
for some files Eg:
import { createContainer } from "@phenomic/preset-react-app/lib/es6/src/phenomicPresetReactApp.js";
to
import { createContainer } from "@phenomic/preset-react-app/lib/es6/src/phenomicPresetReactApp.bs.js";
😋 Fixes
- plugin-bundler-webpack: Fix: Add apollo support (defined as external dependency to avoid SSR issues with in memory cache)
- plugin-renderer-react: Fix: provide same props for getInitialProps during SSR and CSR (pathname+params).
We previously send too many props during SSR togetInitialProps()
, different
from CSR) - plugin-renderer-react: fix issue with "class" prop generated from markdown in BodyRenderer
👍 Improvements
- core: Failing URLs during static pre-rendering do not crash the entire build anymore
- core: Better error reporting about errors like
window is not defined
during static build with a tip on how to fix it - core: CLI output is now more sweet.
Here is a before/after.
- core: avoid deprecated Buffer warning
- plugin-bundler-webpack: Hide annoying warning
Critical dependency: the request of a dependency is an expression
- plugin-bunder-webpack: errors/warnings are now rendered using native webpack output
- plugin-bundler-webpack: development mode is now showing "minimal" output by default
- plugin-bundler-webpack: cache is now enabled for babel-loader
- plugin-bundler-webpack: allow config to be exported as es6 (export default)
🥳 Internal
- Refactoring of webpack bundler plugin in order to prepare future SSR rendering enabled in dev mode
- Reason code (generated as javascript) used in the core codebase (experimental)
- Multiple other minors improvements...