Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Releases: MoOx/phenomic

v1.0.0-alpha.3

10 Jun 09:34
Compare
Choose a tag to compare
v1.0.0-alpha.3 Pre-release
Pre-release

Changes

  • change(@phenomic/core): merge getMiddlewares and defineDevMiddleware as addDevServerMiddlewares
    (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

18 Apr 06:07
Compare
Choose a tag to compare
  • Fixed: hot reload for markdown files on Windows
    (#1005 - @micnigh)

0.21.0

01 Apr 06:39
Compare
Choose a tag to compare

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

30 Mar 04:44
Compare
Choose a tag to compare
  • 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
    our stylelint preset because this rule is not reliable (and deprecated).
    This is not a breaking change.
    (#960 - @MoOx)


0.20.3

28 Jan 22:22
Compare
Choose a tag to compare
  • 🐛 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.
    screen shot 2017-01-28 at 22 33 01
    (#819 - @MoOx)

  • ✨ Added: webpack 2.2 full compatibility
    (#928 - @MoOx)


⚠️ Note that 2 dependencies to handle 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

16 Jan 14:20
Compare
Choose a tag to compare
  • 🐛 Fixed: some issues related to the cache option by upgrading hard-source-webpack-plugin
    (@MoOx)

0.20.1

19 Dec 15:29
Compare
Choose a tag to compare
  • 🐛 Fixed: Aphrodite styles in HTML are not throwing a syntax error
    (#923 - @xuopled)
  • 🐛 Fixed: first install with yarn does not fail anymore
    (#911 - @raygesualdo)

0.20.0

16 Dec 10:03
Compare
Choose a tag to compare

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 via react-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 on import 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

25 Nov 08:06
Compare
Choose a tag to compare
  • 🐛 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)

0.19.4

24 Nov 07:09
Compare
Choose a tag to compare
  • 🐛 Fixed: click on anchors are now scrolling has expected
    (#665 - @MoOx)