This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
0.19.0
This release contains only a minor breaking change (less strict CSS linting)
that you can adjust in a few seconds.
π A cool new "feature" is a brand new base theme for new projects.
This base theme is not only prettier than before but it's also a good starting
point with multiples interesting examples to leverage Phenomic features!
π₯ (Minor) Breaking change
- π₯ Removed:
stylelint-config-standard
has been removed from our recommended
stylelint config in favor of a minimal number of rules to prevent errors only.
This change has been made to make Phenomic more easier to play with.
If you want the previous config, just extendstylelint-config-standard
directly.
(@MoOx)
π¨ Minor change
- π¨ Changed:
phenomic/lib/Link
has been relocated.
To prevent issue in the future, it is now accessible with
import { Link } from "phenomic"
.
The old reference still works but will show you a warning and will be removed
in the future.
(@MoOx)
π Bugfixes
- π Fixed: Non ASCII characters in filenames break the static build.
Filesystem filename (de)conversion (url decoding) was not correctly made before accessing data during the static build.
(#878 - @MoOx) - π Fixed: Add missing homepage field in package.json which fix
process.env.PHENOMIC_HOMEPAGE
(@MoOx)
β¨ New features
- β¨ Added:
Link
can now be used for unknow links (internal or external).
Currentreact-router
Link
implementation just crash if you use an
external link. Phenomic now wrap this by providing a unique API.
This is especially handy if you generate links from unknown data
(eg: markdow front-matter value that can point to internal or external pages)
(@MoOx) - β¨ Added: full support for Yarn.
Phenomic is now fully tested using Yarn (via Travis-CI) as well as npm
(via Circle-CI) on Unix system.
Windows support is only ensured with npm (Appveyor).
(#872 - @dflynn15 & @MoOx) - β¨ Added: new
clientScripts
option to disable all JavaScript code π.
This allows you to turn Phenomic into a standard static website generator
(#874 - @MoOx) - β¨ Added: support for
Glamor
andAphrodite
out of the box.
You can look at the dedicated documentation for this for more information
(#864 - @MoOx) - β¨ Added: message when you start the development server with JavaScript disabled
(@MoOx)
Base theme
- π Changed: base theme has been completely redesigned.
Now includes more components and examples of how you can leverage Phenomic.
(@MoOx) - β¨ Added: hot loading for PostCSS config in base theme.
A discussion is now open to push this solution inpostcss-loader
but until it is, you can use this solution to get hot loading for your PostCSS
config. Very handy for development.
(@MoOx)