Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
Features
- add transformer.jsc config (1786c20)
- hot module replacement (de55ffb), closes #38
- strip flow syntax with keep esm statements (bec3b70)
- transformer: supports runtime jsx transformation (c17e1c6)
Miscellaneous Chores
Code Refactoring
- add getReloadByDevSettingsProxy (5728bf3)
- add module metadata (a960c14)
- declare metro-inspector-proxy module type (3cbb7b1)
Build System
- deps: bump axios from 1.5.1 to 1.6.2 (5e4501d)
Features
- skip printing logo in jest worker (c9c7daa)
Features
- jest: cjs exported modules to configurable (e7dc06c)
Miscellaneous Chores
- replace ts-jest to @swc/jest (fcea8b9)
Build System
- deps: bump version up packages (09e5ba3)
Features
- add logger.nl (82ac30e)
- improve build status log (e25578f)
- jest: add @react-native-esbuild/jest (53b1874)
- remove convertSvg and enable it by default (f2d068a)
- reset cache after initialize (1856495)
- transformer: add sync transformer (b591d39)
Bug Fixes
- web: svg transformation issue (59cc81a)
Miscellaneous Chores
- fix dependency versions (f401dc8)
- remove unused code and update comments (7e03116)
- update prepack script (7c155dd)
- update yarn cache (18870c1)
Code Refactoring
- add plugin presets (383bc9d)
- co-locating transformer (8803887)
- enable strictBindCallApply and update bind functions (114a94d)
- enhance load configuration (de388d1)
- function based transformer presets (fb56af9)
- import orders (26d4e45)
- move transformer types and add transform rule helpers (b6d08d2)
- rename to getParserOptions (6033dcf)
- transformer: add transform option presets (4596996)
- transformer: remove custom options (2ca9a8b)
Features
- add resolver extension configs (3c303fa)
- add SharedStorage (50c64c1)
- core: add resolver config (f8e753d)
- initialize before serve (8993689)
- plugins: refactor assets destionation rules (ac39e0c)
- support float scaled assets (00beadf)
- supports task boundary shared data (a8d91c8)
Bug Fixes
- demo: duplicate safearea insets (d72aa1e)
- plugins: invalid injectScriptPaths import statements (8c86e59)
- plugins: strip platform suffix before copy assets (cba44a5)
- set watcher shared data only on change event (7ff0675)
Miscellaneous Chores
- change react-native peer deps version to any (7b2570b)
- deps: bump version up react-native to 0.72.6 (93270ab)
- remove unused directive and log (67fb681)
Code Refactoring
- add Storage interface (d27172a)
- dev-server: now read assets from origin path (64e75df)
- handle errors and type assertions (486ee8c)
- move transformer options to each tranform module (5d8cc9b)
- rename getBundle to getBundleResult (b293094)
Build System
- deps: bump @babel/traverse from 7.22.8 to 7.23.2 (f335554)
- deps: bump react-devtools-core from 4.28.0 to 4.28.4 (9ce1cc9)
- deps: bump version up transform packages (205d3ff)
Bug Fixes
- core: post processing skipped (0adb206)
Bug Fixes
- core: exit on build successful in bundle mode (5dbc68c)
Features
Code Refactoring
- cli: update command descriptions (3a8846d)
- move some utilities to static methods (5660f79)
- remove useless log (2f5d825)
Bug Fixes
Miscellaneous Chores
Features
- add bundle progress limit up to 100 (9383c8a)
- add root option to dev server (cd8681b)
- improve warning and error log format (3c174a6)
- print warnings and errors after build (0a4aa3e)
- remove entry-file option of start command (0d91a4d)
- web support (1723b0c), closes #36
Bug Fixes
- invalid error response on multipart type (c65897b)
- preserving esbuild bundle context (43c9053)
Miscellaneous Chores
Code Refactoring
- add summary log templates (515121a)
- change to dripsy based application (1e79a50)
- cli: parse arfv using zod (159e6b0)
- exports esbuild label (0bc7905)
- literal column value to constant (66740bb)
Build System
- deps: bump postcss from 8.4.30 to 8.4.31 (#33) (9c93f17)
- deps: bump zod from 3.22.2 to 3.22.3 (#35) (275ac8b)
Bug Fixes
Features
Bug Fixes
- serve-asset-middleware url patterns (d171b91)
- wrong scoped log level (f07474e)
Code Refactoring
- improve report build status (2c2835c)
- update cli command descriptions (ed48fe6)
⚠ BREAKING CHANGES
- change
enabled
option to disabled
Features
- add esbuild plugin configuration (c7ef4d2)
- add getBuildStatusCachePath (57dd3b4)
- basic setup (e30ce79), closes #24
- change enabled option to disabled (09a3820)
- each logger now has its own level (3baca7e)
- enable vercel analytics (2782af7)
- improve build progress (cfd9ed8)
- improve logging (7f93e19), closes #26
- print logo when is tty environment (a5f1a4f)
- support grouped console log (a1e7a44), closes #28
Miscellaneous Chores
Code Refactoring
- logger levels (cf0e79c)
- move extension constants to internal package (be450bd)
- rename config types to options (7512fae)
- root based local cache directory (b30e324)
Features
Miscellaneous Chores
- add comments to setEnvironment (c9a0f7e)
Code Refactoring
- change description of no-op options (4b50901)
- change function declaration to arrow function (9aeae13)
- cli helpers (70115b3)
- getAssetRegistrationScript move to internal pacakge (208993d)
- modulization helpers (b2eea03)
- update eslint directive comments (f43db6b)
Build System
Features
- core: add reporter config (23a7854)
- improve build status logs (fad15a5)
- improve logs on interactive mode (34c5f33)
- skip interactive message when not in tty (098d0c6)
Code Refactoring
- add logger config (5a26157)
- core: event based client log reporter (84fe917)
- core: modulize build status plugin (d078c4c)
- error logging format (14dc80b)
- modularization transform plugin (e099e62)
- move bundler config types to core pacakge (0924b6f)
- rename getConfig to getConfigFromGlobal (6089254)
- use dayjs as timestamp formatter (6ceb753)
Features
- cli: add options for react-native cli compatibility (9c18fff)
- improve configurations (79c9a68)
Miscellaneous Chores
Code Refactoring
Bug Fixes
- plugins: some issue on resolve platform specified assets (562b3ec)
Bug Fixes
- plugins: resolve platform speficied assets (2519196)
Bug Fixes
- cli: parsing issue on bundle-output (853ac53)
- core: change to non-strict mode (d786ee0)
Features
- print log when assets-dest is not set (978fb96)
Miscellaneous Chores
- swc helper move to dependency (264cb62)
Code Refactoring
Bug Fixes
- live reload via turbo modules (a45af96)
Miscellaneous Chores
- add internal package (34beece)
- bump version up react-native to 0.72.4 (04234d1)
- update example app scripts (4e8d45b)
Code Refactoring
- add command interface (9eba04f)
- change window to global object (33e7763)
- move internal helpers to pacakge (3f377dc)
- update bundle config type (274558e)
Features
- cli: now support interactive mode (e3195cb), closes #12
Code Refactoring
Features
- add --metafile option for esbuild metafile (a696fab), closes #8
- add --timestamp option for print timestamp (92ca30c)
- index-page-middleware (649c641), closes #9
Bug Fixes
- auto reload on update (863fd4b)
- replace stale bundle correctly when after rebuild (2052f55)
- unwrap iife for hermes optimization (220233f), closes #5
Miscellaneous Chores
- bump version up packages (b0c87fd)
- example: bump packages version (0d9eb45)
- remove unused file (85af9a0)
- remove unused module (11738fe)
- update tsconfig for config files (30a8495)
Code Refactoring
Features
- add @react-native-esubild/transformer package (8845c76)
- add native logger (android) (0e61e71)
- change global object name (08d9931)
- disable live reload when request sourcemap (6c93115)
- indent initial scripts (bc1c9f0)
- minify polyfills (2e989e2)
- simplify transform polyfills (4b2a328)
Miscellaneous Chores
Features
- inject react native polyfills only once (5b54909)
- specify global object by platform (8abf893)
- do not rebuild when each bundle or sourcemap requests (0fd58e2)
Miscellaneous Chores
Code Refactoring
- add reactNativeInternal (f553bdf)
- relocate internal directory (03e6c06)
- relocate transformers (8a2a19c)
- update transformer context type (2c78cf5)
Features
- handle for sourcemap request (ca92e0c)
- implement symbolicate-middleware (ebc5e83)
- improve update build status (3e31ae8)
- symbolicate: add symbolicateStackTrace (3a8c296)
Bug Fixes
- send bundle state condition (5029c15)
- set response header when not support multipart format (e58bcf9)
Code Refactoring
- change default host to localhost (53c5c91)
- cleanup serve-bundle-middleware (7515593)
- rename handler to wss (77c0714)
- serve-bundle-middleware (8287a54)
Miscellaneous Chores
- remove source-map package (to be renamed) (b9810b1)
Features
Miscellaneous Chores
Features
- add logging on hot reload middleware (b451be2)
- add on, off type definition (91873e8)
- core: add build-status-change event (a19ff22)
- now support multipart/mixed response for send bundle (cc60cc8)
- print request headers when verbose mode (21aee9f)
- response 400 when asset name is invalid (32fc281)
- update build-end event payload (e0c641b)
Bug Fixes
- core: build twice when build-end event was fired (0d06678)
Code Refactoring
- core: add type definition of event emitter (722c89e)
- early return on middlewares (c634b70)
- rename bitwiseOptions to getIdByOptions (8055d6a)
- rename taskId to id (1a75b1f)
- rename to BundleMode (b2d3563)
- wrap toSafetyMiddleware on initialize (f4c0c3d)
Bug Fixes
- use basename as suffix striped name (3a59aa2)
Bug Fixes
- strip exist scale suffix before resolve (8e95268)
Bug Fixes
- improve scaled asset resolve logic (ac770d8)
- remove unnecessary dot on suffix (21d70a0)
Code Refactoring
Features
- add asset hash and dimensions (3b4b7fb)
- add http request logger (4224296)
- add root (acde580)
- add root option to transformers (68c8c52)
- add setEnvironment (2372662)
- cleanup esbuild options (7ff4cd5)
- early return when fully transformed (2cae9ef)
- follow @react-native-community/cli options (723a0fd)
- load config from root (33b11c8)
- move sourcemap to specified path (e672fe3)
- remove output dir assertion (c21b6da)
- resolve assets for release build (ac2f3a3)
Bug Fixes
- wrong minify default value (59a74eb)
Code Refactoring
Miscellaneous Chores
Build System
Features
- disable swc loose option (ab1da4d)
- strip flow syntax using sucrase (3e7b107)
Bug Fixes
Miscellaneous Chores
Code Refactoring
Bug Fixes
- core: assert bundle task in watch mode (65d7dbe)
Features
- core: support platform scoped bundle (1a7094b)
Bug Fixes
- improve transform performance (42670f2)
Features
- add bitwiseOptions (786191d)
- add mode to plugin context (4dd2218)
- add scoped cache system (8d1f0bd)
- add taskId to plugin context (5c64d22)
- add unexpected exception handler (1c21443)
- check cache directory is exist (1c273ef)
- core: improve file system caching (0ed3ebb)
Miscellaneous Chores
Code Refactoring
- change server listening log level to info (7ac6cad)
- change to return statement (dc9a7bb)
- cleanup bundle config (36ebd85)
- improve config types (4bacba6)
- improve plugin registration (e292ebb)
- separate config modules (ce6d02d)
Bug Fixes
- wrong package name regexp (4c5ceed)
Code Refactoring
- clear spinner when build end (d29e749)
- remove cache option and now following dev option (0bd385a)
- seperate transformer modules (4e09440)
Features
- add --reset-cache option (3d08751)
- add transform options (018a731)
- remove whitespaces end of log message (38fea8e)
Features
- improve esbuild log (fa23610)
- skip build-end event when first build (9f87b35)
Bug Fixes
- resolve relative path assets (dcb7fb0)
Miscellaneous Chores
- add rimraf for cleanup build directories (13356fe)
Features
- add log to landing component (9bc2a6f)
- add svg-transform-plugin (0526207)
Bug Fixes
Miscellaneous Chores
Features
Bug Fixes
Features
- cli: add cache clean command (139417e)
- core: add caching feature (ccf193d)
- core: add plugins option for customizing (9b884cc)
- core: extends event emitter for subscribe events (cf91ef0)
- now support hot reload (2fae39d)
Bug Fixes
Code Refactoring
- add registerPlugins (263219f)
- core: move build-status-plugin to core (7d23543)
Features
- add background color (b3ee50d)
- add log level (5ee42f4)
- add transform condition for reanimated (c311bff)
- cli: update base config values (b4da292)
- copying assets when build complete (db10be1)
- default minify option to false (5ac5c2e)
- export colors (916e62e)
- improve build status logging (94083f9)
- now sharing logger configs (ff0a199)
- now support client logs (632d206)
- read asset data from assets cache (3ae010a)
- reset assets before build (0531960)
- update demo application (393c077)
Bug Fixes
- android build issue (d09e0e7)
- core: change react native initialize order (81b5a30)
- react-native-community packages set as external module (4bd944a)
- using react-native internal asset registry (081bd83)
Code Refactoring
Miscellaneous Chores
Features
- dev-server: implement serve-asset-middleware (dd6a48a)
- enhance loading spinner (83049d1)
- plugins: implement asset-register-plugin (9237cb4)
- update example application (5d5e1fc)
Code Refactoring
Features
- add ascii logo (3e462be)
- add buildStatusPlugin (07142c0)
- add core options (3743760)
- add error param to stderr log (db5b5fe)
- add logger to packages (fa789d0)
- change assetsDest to assetsDir (2ec231b)
- implement logger (e4b85ab)
- improve configs and implement start command (936d33b)
- improve module resolution for react native polyfills (300df3f)
- isCI moved to utils (27415bc)
- now load config file before bundle (7449cf3)
- plugins: support custom babel transforming (aac234e)
- utils: add setLogLevel (9c93cbf)
Bug Fixes
- improve bundle performance (72844d5)
Miscellaneous Chores
- add @react-native-esbuild/cli to example (d291b53)
- add @react-native-esbuild/utils (913768a)
- add react-native-esbuild config (c0d2753)
- change bundler description (2e1432b)
- cleanup example application (a3f52cc)
- set hoistingLimits to example (5fbc3f6)
Code Refactoring
- change log levels (521e545)
- cleanup import statement (badc372)
- split config modules to each target (f37427d)
- update basic external modules (75ab87c)
- using buildStatusPlugin (3289c4f)
Bug Fixes
- plugins: reference default exports module correctly (a90c211)
Reverts
- Revert "chore: change type to module" (96c32ee)
Miscellaneous Chores
- remove unnecessary config (83c4b03)
Bug Fixes
- plugins: invalid load result (63a73b2)
Miscellaneous Chores
Bug Fixes
- plugins: invalid dependency relations (8e436c3)
Features
Bug Fixes
- config: add missed esbuild options (b1fda0d)
Miscellaneous Chores
- cli: replace wrong scripts (c3a5d3a)
Bug Fixes
- cli: invalid banner (shebang) (c1d268f)
Features
- config: add outfile to esbuild config (638e6a2)
- core: add plugins to bundler (107c869)
Miscellaneous Chores
- add react-native to peer deps (22baf4b)
Code Refactoring
- config: improve config types (1c2c170)
- plugins: rename plugins (7fcf1a5)
Bug Fixes
- wrong dependencies relations (1df14b1)
Miscellaneous Chores
0.1.0-alpha.1 (2023-07-29)
Features
- add base configs for build (3acf916)
- add sourcemap option (bfb6c9e)
- cli: add start and build commands (33cff7d)
- cli: implement build command (d138ceb)
- core: add request bundle option (5a76eca)
- core: implement base core module (b8e7d35)
- core: now throw signal when task is not started yet (8a9f5dd)
- dev-server: implement base dev server (0fcb7eb)
- plugins: implement transform plugin (92a8f60)
Bug Fixes
- circular dependency (f764fe5)
- process exit when error occurred (a0ef5ab)
- set react-native as external module (add4a20)
- typescript config for build (9cb2bfc)
Build System
- add esbuild and add config for build cli (18c541b)
- add esbuild scripts (b38b2c0)
- change base build config (752e15a)
Miscellaneous Chores
Code Refactoring
- add prettier rules and apply eslint (1d82f86)
- change custom option variable names (a0060dc)
- change shared script filename (14096ca)
- cli: split cli modules (44e1973)
- config: change swc config builder name (da39399)
- config: improve swc option builder (6dc328a)
- core: split bundler module (17c5f62)