Change Log
Please visit the Razzle release page for all historical releases.
v4.2.3
Published on Sun Oct 24 2021.
Patches
- Chore(deps): bump axios from 0.19.2 to 0.21.2: c75c909e582a44553f607440e051792058810cd5
- Follow-up fix for #1704 to remove some warnings - Updated
packages/razzle/package.json
to allowwebpack-dev-server
v4 as a peerDependency - UpdatedcreateConfigAsync.js
to move thehot: true
flag into just the v3 config since it is on by default for v4 removing the following warning:[webpack-dev-server] "hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.
: c87ba641095a90d74ecc175fc7c6782b1385a6f7 - Merge pull request #1735 from heath-freenome/minor-update-to-remove-warnings: 7682f470c7247346b424947f12b2f2a50fedb616
- Additional follow-up fix for #1704 to remove remaining warnings - Added
devServerMajor.js
torazzle-dev-utils
that refactors the detection of thewebpack-dev-server
version in a manner similar towebpackMajor.js
- Updated
webpackHotDevClient.js
to usedevServerMajor.js
to pickup the properly casedcreateSocketUrl
- Hopefully this approach won't break things like the change that was made previously that ended up getting reverted - Updated
createConfigAsync.js
to userazzle-dev-utils/devServerMajor
for thewebpack-dev-server
version as well as: - Restoredhot: true
to the commondevServer
config and instead only explicitly adding theHMR
to the plugins for v3 to avoid the following warning:[webpack-dev-server] "hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.
- Updated
start.js
script to includedevServerMajor.js
so that v4 willstart/stop
the client dev server rather thanlisten/close
used for v3 - Also addedport
into the copieddevServer
config to allowstart()
to work properly: 2a362ae8d5e8d7c898aba5ecfec8ef1f7b00d35c
- Updated
- Hopefully this approach won't break things like the change that was made previously that ended up getting reverted - Updated
- Updated
- Removed extraneous
console.error()
: de1903e518ee18a55566c27bd6366b817d077399
- Removed extraneous
- Fixed the initialization of
createSocketUrl
variable to happen before it is used: 2cd80756a869425745f37270646c7b08dab42dd4
- Fixed the initialization of
- Simplify
verbose: verbose
down toverbose
during object declaration: e03de4858ad81cfcf5479b24b1785f9ee4f8a9af
- Simplify
- Fixed spelling in a comment: 722186a0bc40c4de5d38d276c0dbec4a3b828a09
- Fix another comment: a8592781ad7b30cc31a9df2a19a769dfd054a619
- Fixed another comment: 9754732f7e6edb6e28085cfe49ee0bb536271b60
- Responded to reviewer feedback to use the callback versions of
start()
andstop()
with a generic error handler: 8c9045545491c7af8d79f50336a8b1c098c1f30e
- Responded to reviewer feedback to use the callback versions of
- Merge pull request #1736 from heath-freenome/additional-update-to-fix-warnings: 6cdf8071a520cb5c4439e9e9dfad0a8f76e08138
- Merge pull request #1732 from jaredpalmer/dependabot/npmandyarn/axios-0.21.2: 6e4711164aedc58e11b8fcdef4d7769938e79cee
v4.2.2
Published on Sun Oct 17 2021.
Patches
- Revert “fix(razzle-dev-utils): fix createSocketUrl module path“: abbf6af11dd884af575405a896409497540a9722
v4.2.1
Published on Sat Oct 16 2021.
Patches
- Fix(razzle-dev-utils): fix createSocketUrl module path: a56bb34b715f5bde48acb21a9c2f08d52c9096f3
v4.2.0
Published on Fri Oct 15 2021.
Minor Changes
- Merge pull request #1717 from budiadiono/patch-1: e81216befb317f26dcc303ed755cbe06a72f94bd
- Fix (razzle #1704) by adding support for webpack-dev-server v4 - Updated
package.meta.json
andpackages/razzle-dev-utils/package.json
to allow for v3 and v4 ofwebpack-dev-server
- Updated
defaultOptions.js
to add a new default option:enableDevServerV4: false
- Updated
createConfigAsync.js
to build the correctdevServer
config for v3 or v4 based on theenableDevServerV4
option - Added a newwith-webpack-dev-server-v4
example: c3625eb1e19886187bcfc673d5beb30f512092e3
- Updated
- Updated
- Responded to reviewer feedback to directly access the version of
webpack-dev-server
from itspackage.json
- Updated
with-webpack-dev-server-v4
theREADME.md
andrazzle.config.js
files to throw an error if not using version 4: 48356b2f63164b18bf95d18d7b1c8b8edd098f47
- Updated
- Responded to reviewer feedback to directly access the version of
- Removed extraneous blank line added in previous commit: db1e7982b906bc31d8b6e57f31279481f51263c8
- Responded to more reviewer feedback by moving the new
require()
up to the top and collecting common options andObject.assign()
ing the v3 and v3 specific ones: 58040702ccad4ee88b85a0929328293e2082d5d4
- Responded to more reviewer feedback by moving the new
- Responded to feedback by moving the
devServerMajorVersion
up to the top of the file: 51b7c29f2852cda753d4c398a2e7716aa60af83c
- Responded to feedback by moving the
Patches
- Fix: StaticRouterContext should be imported from “react-router“: cfe825c4814e5a9dd3ff8149578afe2f813a33a3
- Chore: added “cache“ folder to .gitignore: 5b7da106b90e0a5f3bfe0a1f6b524e5ee0553949
v4.1.0
Published on Sun Sep 05 2021.
Minor Changes
- Fix(create-razzle-app): git ignore generated cache directory: 326ff51e880b29d78cb2af9d60286c065aae211e
- Example(with-fastify): added
with-fastify
example and implementation: 5ba7e96940ecc9191109ac5d39445796c87914d3 - Feat(build-script): add development build feature: 497159d76715e4b1b1c0a4e4082ef6bd4cb12980
- Feat(razzle): add support for dev build: b6b63d6ec0f23f2ff0b9d70e16a80ea00ab77aca
- Test(razzle): add test for development build: 46e47b1609e0bf818c33c251417600f6cf2f5684
Patches
- Fix(example): With-typescript example uses StaticRouterContext: 66143e8205d587a534489c4131b3ac2f5e4ca11d
- Docs(example) improve with-development-build's README: b35b7ced666ab9352077962c82b12bcd87e939ee
- Fix(razzle): fix optimizaton cofig in dev buil: 05c95d7812f9cb91e180777a6e14c411e9be9b55
- Fix(example): .eslintrc.js: 8bb9b036a3aae1b3069203213165752197f29600
v4.0.6
Published on Mon Aug 09 2021.
Patches
- Fix(deps) allow for bump mini-css-extract-plugin to version smaller than 1.0.0 to provide webpack5 support: 750cc9f206c8eeb3e0c2500b22b8df7a60ef7a40
- Fix(deps): fix mini-css-extract-version-in-scss-and-less-plugins: 65c2ba27ecaf35e56839201170c152bcfb4f73f6
- Docs: fix aws deployment docs to include required import of path: e349755c77095ffb0f51eed1dbdd011c877fc622
v4.0.5
Published on Thu Jun 24 2021.
- Examples: fix postcss deps: 221bad65967f3aab1a6e1342a6f254459b451981
- Examples: add esbuild-loader example: e059f974aec202793f18ae3b8fa9bf48ea2c51ea
- Chore: fix 'Welcome to Razzles' typo: 7c11b3fc29a995bb7b700d2afb97bae153644209
- Merge pull request #1597 from rclmenezes/add-esbuild-loader-example: 19fb83954f9aeede49e265740b3fbf964539450c
- Chore: run update-examples: 2f3cd24aa00e64609dfecc5d2949c121aab6b1d6
- Update typos in getting-started: 5691721e2f4609b45a5e04cd3c8e0693293e4de8
- Merge pull request #1599 from meeoh/patch-1: 855dc46f54a972722af322e2811c7b21040108b3
- Feat(razzle): add option to disableWebpackbar: 6e7631378221b9d6d34997ff3fbc5a3fb6e0d388
- Fix(razzle): disableWebpackbar logic: b8dfb330b1266d21cefe61f5ca2ea59a9202df97
- Merge pull request #1600 from ceopaludetto/feat/add-disablewebpackbar-option: 3dd0d54f617f7174c77ea9347812693c2b033290
- Docs: add transpilation of external modules: d45ae7d61cf2c29b6b34c580646069986de36c58
- Docs: better indentation: 24d99a6b607f2a633a09a58173a9c99e04a5c0ce
- Docs: inform on create-razzle-app npx cache: 834796ec555f2022683629ec8af90f3f7c964d34
- Fix(razzle): Ignore .env.local when running tests: 0c47ba10eb0b96cfc14df5de054c88132faa76ed
- Merge pull request #1612 from squiddy/skip-local-environment-for-tests: 559fe2c8a81b3a5449c65a2f65147fd9c048b8b7
- Use correct url for common issues: 0f9fdd76f261d7bd218bb10721ba113d482a53c2
- Docs: Fix error in preset readme regarding installation: 1344f8277c1f5e28e2f70f68b1f1d6545e1e94b4
- Merge pull request #1615 from squiddy/patch-1: 92ef4c2667e2f8123085ca3893d42dd18b9a96a5
- Merge pull request #1614 from mtxr/patch-1: eafcd1453a97b3b3978c49230177cabb6df6f3d8
- Feat(razzle): Make package.json optional: f1fdf1c207f3d252e6fd2e80b6afab3e69044aa3
- Examples: Add monorepo without workspaces: 3c6a24fe22e762c9f8258add1cb0959370498b78
- Merge pull request #1617 from squiddy/make-packagejson-optional: bae26bfd509570bb05f3059bcc220ed86434d00e
- Fix(razzle): Undefined error in getPublicUrl: 26cd24c179820fbc4b2ff67c657babd84c72a349
- Merge pull request #1618 from squiddy/fix-error-in-package-json-check: 705b5b4b1a796821e6f9f66ffa48408606011c23
- Fix(razzle): Exit start command on unhandled rejections: 29e354986bddb9316d743a002951a9ce93d1196f
- Feat(razzle): Align unhandled rejection output across all entrypoints: ac03265c6226f2aacb1a5bdb1704a2bd9e76ec62
- Docs(razzle-plugin-scss): Fix incorrect default values: d3c7fa201ef25dd5fa99e52aab882cbb846cadfc
- Merge pull request #1621 from squiddy/plugin-scss-fix-docs: 446a412f821a6dc449530b7a0205ed14b34f4ad8
- Merge pull request #1620 from squiddy/report-config-errors-for-start: 4b5dcda73f476332024e594e9b98fb37e6491146
- Docs: transpilation of external modules: d726709a5b3a47d81998bbd66ce473594f448b21
- Fix(deps): don't lock packages to patch versions: 180e58e74db71b3afd4e9385fca27b6daa7dbf83
- Fix(razzle): update manifest plugin: 2d743ecdefbcf44e96cc78c86e68afcb56ab3a12
- Examples(with-loadable-components): fix webpack5 issue: 85f69841902969b8c9ab186c04e602a14bd99fd6
- Update README.md: 11a17bdf4f7468978d36836523b42557fbe22ad0
- Merge pull request #1629 from divyenduz/patch-1: a471f3c54ed164c963ffbc63bd2a6d61fa7940ab
- Fix: add require.resolve instead of string for graphql-tag/loader for razzle-plugin-graphql: cef7a7736fc2b1dd7a708b57cfd83308c01649b4
- Merge pull request #1631 from Aeonrush/fix-razzle-plugin-graphql-with-monorepo: 7499531221950d86575973751ce7b3235c8b6cca
- Update customization.md: eca777bc04b8d0445477a681ee111b84a7dc1032
- Fix(examples): use a valid version: eb8c086a1efdd946a57bcc3c6d99d0b42446ea37
v4.0.4
Published on Tue Mar 30 2021.
Patches
- Fix(razzle): use paths.appAssetsManifest in ManifestPlugin: f374eb6ddad054d4ce166c61b11ff28f437bc8c5
v4.0.3
Published on Fri Mar 19 2021.
Patches
- Docs: fix url in with-typescript-plugin readme: cfccb0197c80130fa4598fa61eb951197ae19b22
- Docs: fix spa template: 75cd7ef2e082a91f8a2c37dc52667051e557057c
- Fix(razzle): only print signal handling on verbose: 328ca492bc7c6cc6b6fd88c83ac5c2b29969c187
- Fix(razzle): webpackConfig undefined: 154c2cc3f86369435221b181d4cc281414637b13
v4.0.2
Published on Wed Mar 17 2021.
Patches
- Docs: document possible buildtypes: e555bfc6c26f65a7db035772dd1f92d94c8478f8
- Fix(razzle): add missing dep in default cra: 839d507c51ddec8b7c2a311b0a68678b021b582b