Phenomic v1.0.0-beta.6 Release Notes
Release Date: 2018-12-08 // over 5 years ago-
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
- 0๏ธโฃ plugin-bundler-webpack: development mode is now showing "minimal" output by default
- ๐ plugin-bundler-webpack: cache is now enabled for babel-loader
- 0๏ธโฃ 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...
- โฌ๏ธ Upgrade from babel 6 to babel 7 (+fixup).