All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.16.5 (2024-04-20)
Note: Version bump only for package loadable-components
5.16.4 (2024-04-20)
5.16.3 (2023-12-26)
5.16.2 (2023-12-15)
- add esm exports to package.json and change esm bundle extension to .mjs to allow node.js to properly import esm version of package. (#989) (e4a3718)
5.16.1 (2023-07-20)
- correct babel plugin default signature to allow any source of 'loadable' (#972) (19849b6), closes #971
5.16.0 (2023-07-09)
5.15.3 (2023-01-28)
5.15.2 (2021-12-12)
- Clear correct cache when compiling with Webpack (#838) (3b9cb20)
- loadAsync Loadable should copy statics (#839) (9ff6693)
- use stable promises for load/preload/React (#858) (45f2d91)
5.15.1 (2021-08-17)
- add cachedAssets to stats options (#779) (73b17fd), closes #770
- SubResourceIntegrity (#803) (9b34195)
5.15.0 (2021-05-08)
- support multiple Webpack runtimes (#701) (d351367)
- webpack plugin doesn't need all chunk info (#735) (cea9f24)
5.14.2 (2021-01-31)
- ignore css chunk (#689) (6926e19)
- remove main asset path query (#686) (dde2252)
- update hooks for webpack 5 (#676) (671ef52)
5.14.1 (2020-10-22)
Note: Version bump only for package loadable-components
5.14.0 (2020-10-20)
- add key to chunks script elements (#631) (25b532e), closes #628
- do not derive cache key if component is static, fixes #629 (#630) (b4151d8)
- treat mjs as script (575fe2b)
5.13.2 (2020-09-14)
- Fixed lazy usage with Suspense and Error Boundary together (#521) (42fbdd0)
- human readable errors (b86bb82)
- spread nested required chunks array (95e6ecb)
- typo (bebb828)
5.13.1 (2020-07-02)
5.13.0 (2020-06-29)
- allow webpack cache is ready only for initial chunks, fixes #558 (61f8b75)
- memory leak in module cache management, fixes #560 (6c11703)
- use make-dir instead of mkdirp (#544) (5a9c33b)
- babel-plugin: add missing peer dependency (#524) (03a79b6)
- add
resolveComponent
option (a47d3d9)
5.12.0 (2020-01-09)
- add codemods to migrate from react-loadable (#463) (a82d5ad)
- avoid synchronous loading on client if options.ssr is false (#346) (338bf55)
- loadable-components.com (e515b0e)
- avoid calling stats.toJson if possible (87698de)
5.11.0 (2019-12-02)
- fix isReady problem (#445) (3024348), closes #400
- server: use require instead of module.require (#457) (064b4f8), closes #455
5.10.3 (2019-09-24)
- empty cache on each server reload (#431) (d4428c6), closes #230
- support IE 11 without polyfill (#416) (80ee809), closes #397
- babel-plugin: fix bug when using + concatenation instead of a template literal (#425) (d98dd27)
5.10.2 (2019-07-15)
5.10.1 (2019-05-14)
5.10.0 (2019-05-13)
- add
load
method that returns a Promise (#329) (a10a9d5), closes #226 - support reactive dynamic loadable (#330) (d65c5bb), closes #284
- optimize rollup config (c94760b)
5.9.0 (2019-04-23)
- support multiple react apps (#317) (dc54050), closes #311
- server: authorize custom filesystem (#318) (f2a6bbd), closes #315
5.8.0 (2019-04-10)
- ChunkExtractor: support publicPath override (#292) (9731e9c)
- server: support function in attributes (#277) (c172324)
5.7.2 (2019-03-20)
- babel-plugin: handle "-" at the end of request (c0f325b)
5.7.1 (2019-03-19)
- babel-plugin: handle special chars in file names (#279) (4da39ff)
- webpack-plugin: create output folder with mkdirp (#273) (3767f28)
5.7.0 (2019-03-14)
- component: fix warning message about babel (#255) (7cb68a1), closes #253
- server: fix loading order of assets (#266) (4c8ae60)
- use inline JSON to enabling CSP without
unsafe-inline
(05e5500)
5.6.1 (2019-02-25)
- component: better ES Modules handling (#228) (3628363)
- server: allow query-param cache busting in chunk names (#229) (71f7bcd)
- server: use
eval
to prevent webpack warning (#240) (948165d), closes #234 - suspense: fix suspense mode in React v16.8+ (#251) (d04e1c9)
5.6.0 (2019-02-05)
- babel-plugin: transform code annotated with magic comment (4f832dc), closes #192
- component: add preload method (#224) (4a67ace), closes #196
- server: add option to disable SSR (#223) (4cab4f9), closes #195
5.5.0 (2019-01-22)
5.4.0 (2019-01-17)
5.3.0 (2019-01-11)
5.2.2 (2018-12-12)
- babel-plugin: fix chunkName with aggressive code splitting (e974933), closes #182
- ensure that component is mounted before calling
setState
(#184) (fe0f47f), closes #180 - server: fix usage when compiled using webpack (#185) (5e28870), closes #181
5.2.1 (2018-11-27)
- webpack-plugin: fix TypeError when set writeToDisk true (#170) (2d1fb11)
- upgrade [email protected] (122b1ce)
5.2.0 (2018-11-23)
5.1.3 (2018-11-20)
- server: exclude http and https from regex (#155) (0bb2ad9), closes #153
- server: ignore *.hot-update.js (edcd2c8), closes #148
5.1.2 (2018-11-13)
- fix ref handler in
loadable.lib
(da05d87)
5.1.1 (2018-11-13)
5.1.0 (2018-11-10)
- server: add outputPath option in ChunkExtractor (aac26b3)
5.0.2 (2018-11-10)
- update peer dependencies (b0363dc)
5.0.0 (2018-11-10)
- fix loadableReady (59693bb)
- improve SSR support (eb1cfe8)
-
- SSR has been rewritten from scratch, if you use it, please follow the new guide.
- Prefetch component and prefetch functions have been removed, please
use
webpackPrefetch
instead.
4.0.5 (2018-11-01)
- server: fix getScriptElements (ba424e0)
4.0.4 (2018-10-31)
- fix peer dependencies (6816e8c)
4.0.3 (2018-10-31)
- server: disable common chunks optim (78e7b28)
4.0.2 (2018-10-31)
4.0.1 (2018-10-30)
- component: do not call ref several times (8cf3190)
4.0.0 (2018-10-30)
- add new loadable.lib, change API (94b2e87)
-
ErrorComponent
is ignored, please use Error Boundaries to handle errors.
lazy
is no longer exportedLoadingComponent
is replaced byfallback
optionref
are now forwarded
3.0.2 (2018-10-30)
- component: fix loadComponent (typo) (a410cb2)
3.0.1 (2018-10-30)
- component: fix loadComponents (bd2220c)
3.0.0 (2018-10-29)
- welcome loadable (4dffad7)
- API has completely changed, see documentation.
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.3 (2018-08-16)
2.2.2 (2018-05-25)
2.2.1 (2018-05-23)
2.2.0 (2018-05-23)
- experimental suspense 🤩 (57ce712)
2.1.0 (2018-05-13)
- add TypeScript definitions (#80) (db19796)
2.0.1 (2018-05-12)
2.0.0 (2018-05-10)
- do not propagate componentId (fff1248)
- remove HMR relative code (ef0817c)
setConfig
is no longer available.
1.4.0 (2018-04-18)
- set correct loading state if component is already loaded. (#64) (9b0cae2)
- support React.createContext API (#65) (289ad67)
1.3.0 (2018-04-06)
1.2.0 (2018-03-25)
- add Hot Reload support (c79085e)
1.1.1 (2018-02-06)
1.1.0 (2018-02-04)
- ship a single js file (99e08c0)
1.0.2 (2018-02-04)
1.0.1 (2018-02-03)
1.0.0 (2018-02-02)
- stable version 1 (601bd34)
- loadable-components/babel is now required if you do server side rendering.
- ErrorComponent now receive
ownProps
instead ofprops
.