Haul Versions Save

Haul is a command line tool for developing React Native apps, powered by Webpack

haul-bundler/[email protected]

4 years ago

@haul-bundler/cli and @haul-bundler/core were released to NPM with version 0.9.1.

Changelog:

  • fix: --port option not being used (fixes #607) #609
  • fix: compilation progress being cut-off in server UI 44177dbd6624f854c36f9b881566193d8baa8bb9

[email protected]

4 years ago

All @haul-bundler packages were released to NPM with version 0.9.0.

Changelog:

  • fix: use proxy method instead of Proxy for logger in compiler fork (fixes #602) #603
  • feat: support vscode-react-native extension #604
  • feat: install required devDeps in init command #605

[email protected]

4 years ago

All @haul-bundler packages were released to NPM with version 0.8.0.

Changelog:

  • fix: image assets not being send and rendered (fixes #593) #596
  • fix: /open-stack-frame validation #595
  • feat: add --verbose option back #597
  • feat: add missing reload command #598
  • feat: add --output-file and --json options to allow logging to a file #599

v1.0.0-rc.9

5 years ago
  • feat: add --no-interactive mode (#486)
  • feat: Place the cache-loader cache inside the .cache subfolder within node_modules (#481)
  • fix: Can't release application with latest haul #487 (#488)
  • test: Modify tests to work on windows (#483)
  • chore: add .gitattributes (#482)

v1.0.0-rc.5

5 years ago

To avoid issues with different Webpack versions (https://github.com/callstack/haul/issues/423), we encourage to add "webpack": "^4.16.0" into your project's dependencies.

Another approach is to use Yarn resolutions (thanks to @FredyC)


BREAKING CHANGE: We have removed haul-integrate.sh, we are now good just with CLI_PATH #234

To get your project into the same shape as you would get after yarn haul init, please edit Bundle React Native code and images build phase

screen shot 2018-07-10 at 18 23 49

and remove Integrate Haul with React Native

screen shot 2018-07-10 at 18 29 45

See https://github.com/callstack/haul/blob/next/docs/Configuring_Your_Project.md for more informations.

v1.0.0-rc.1

5 years ago
  • fix: don't use deflate & better socket error handle (#434)
  • fix: Remove webpack entry verification checks (#431)
  • fix: Pass environment variables to child processes (#426)
  • docs: polished configuration docs f8fc9e7a74fda0703cec711d6a21c36da1879bea
  • docs: fix broken link for HMR setup guide (#433)
  • docs: fix some docs typos (#437)
  • chore: replace deprecated react-strem-renderer with react-slate (#427)

v1.0.0-rc.2

5 years ago
  • fix: assetLoader android path issue when bundling (#436)
  • feat: allow out-of-tree platforms to be dynamically added (#419)
  • docs: Updating TypeScript configuration to the new style in Recipes (#438)
  • docs: fix typos (#440)

v1.0.0-rc.4

5 years ago
  • fix: allow more URLs for debugging ui, pnpm support (#443)

v1.0.0-rc.0

6 years ago

Time to roll out our first Release Candidate 🎉🎉

Highlights

[BREAKING] Webpack 4

Haul was upgraded to the latest Webpack version. If you extended the default Haul configuration in any way, your builds may fail. That's why we mark it as a breaking change. This is also the primary reason why we entered Release Candidate phase – we don't want to break anything between our Betas (which are still running Webpack 3 and will not be actively maintained anymore – only bugfixes).

New UI đź’…

To provide better developer experience, we've changed how the UI for start command looks like, to make it fabulous while remaining clean and minimalistic. For that we actually use React thanks to react-slate - the UI is a React app!

haul-cli-preview

Node workers and lazy loading 🤖

To make development for both platforms more seamless, the way we build bundles have changed - now we do it in a separate process for each platform. This means that when running start command not only bundles are lazily loaded but also you can dynamically request bundle for another platform without stopping the server and starting haul with different --platform options. Which brings us to: there's no haul start --platform option anymore, just run haul start. You can still run --platform with bundle command.

New configuration style âš™

In this version, we have introduced a new configuration style via haul.config.js file. With this approach, we hope you will find configuration (and eventual partial sharing) of Webpack config more convenient. Don't worry, you can run in legacy mode if you want and everything will work as usual. With this version of Haul, you can also run without any configuration file at all. Haul will seek for entry file (in package.json) and will try to serve your application from it.

Check the example of configuration bellow and for more complex use-cases check out or documentation.

// haul.config.js
import { createWebpackConfig } from 'haul';

export default {
  webpack: createWebpackConfig({
    entry: `./index.js`,
  }),
};

Breaking Changes

  • 6e6444b - Upgrade to Webpack 4 (#381) (MichaĹ‚ PierzchaĹ‚a)

Fixes

  • b8ba6e2 - Upgrade babel-loader, thread-loader to fix peer dep warnings, allow 3.x.x and 4.x.x babel-preset-react-native (#406) (Daniel Playfair Cal)
  • 7568948 - fix cannot get debugger-ui page (#395) (Evgeny Zaytsev)
  • ea6af54 - fix: remove escape characters around $@ in Xcode script (#399) (Nadia Dillon)
  • 83377b4 - Explicitly transpile metro dependency (fixes #400) (Kir Belevich)
  • dcde6e3 - Fixing Haste module resolution when react-native is symlinked (#397) (Chase Holland)
  • 54cd2d4 - Fix scriptUrl match for production build (#363) (Luke Czyszczonik)
  • bd5190d - fix(install): add core-js as an explicit dependency for npm users (#357) (Travis Nuttall)

Features & Improvements

  • 9a1465a - Update polyfills to sync with latest RN (#414) (MichaĹ‚ PierzchaĹ‚a)
  • 0f71323 - Better Dev UX 🍝 (#413) (Jakub Beneš)
  • 7e2d713 - Better browser luncher 🌎 (#409) (Jakub Beneš)
  • 9016ddb - Seek for the deprecated config file 🔎 (#408) (Jakub Beneš)
  • 1d66e21 - Inform user that compiler uses ZERO-CONFIGURATION 🚀mode (#407) (Jakub Beneš)
  • 248dfab - Implement new config with haul.config.js (#372) (Jakub Beneš)
  • d74de3f - Use node workers to compile bundles (#339) (Krzysztof Borowy)
  • 6f65f0c - Remove Haste references from polyfillEnvironment (#393) (Ryan Dy)
  • 400ab44 - Properly resolve dev server origin (#387) (PaweĹ‚ TrysĹ‚a)
  • 7a12370 - support bundle files without "index" in the name (#358) (Travis Nuttall)
  • c6a8570 - Update contributor list (#364) (Luke Czyszczonik)
  • 27e9d97 - Bump flow (#360) (PaweĹ‚ TrysĹ‚a)
  • 172c93a - Added more asset types (#347) (Giau Tran Minh)

Chores & Docs

  • 95ade60 - Base website setup with Docusaurus (#374) (Ryan Stelly)
  • eb73e64 - Add image asset to example-app (8 days ago) (MichaĹ‚ PierzchaĹ‚a)
  • edeced9 - Update docs for running example-app with Xcode (#365) (Luke Czyszczonik)
  • abdd5b6 - switch to Yarn when running package's scripts (#361) (PaweĹ‚ TrysĹ‚a)
  • 142c050 - chore(example): Update example-app to RN 0.53.0 (#359) (Luke Czyszczonik)
  • 8b8649f - Use Jest 22.2.1 (3 months ago) (MichaĹ‚ PierzchaĹ‚a)
  • 7ee324c - chore: Upgrade Jest to v22.2.0 (3 months ago) (MichaĹ‚ PierzchaĹ‚a)
  • 9f9e101 - chore: mention automatic config setup with Gradle (#348) (MichaĹ‚ PierzchaĹ‚a)

If you spot any problem or bug with this release, please file an appropriate issue (ideally with a repro we can debug)!

v1.0.0-beta.13

6 years ago

Fixes

  • HMR unmounted redraws and no-op warnings 1ca155e401049c9310404b0442a88b2289271037
  • Haul transpile itself using local babel config 6d7b2092c82d50327de4c9c743b514c566316f54
  • adb command now running only from user path 26b3a1df9f4f58f18d17e566df275a976cc7f3d2
  • Temporary add notes about delta bundles 6f6e0a70d875436b78f4182ee62848a6bf972b28
  • HMR to handle Android error in some edge cases 6c689a40fa8dc34b361ddb49f9ae7d03c9a3163b

Features

  • haul init now adds config to build.gradle 33775258ab1b801d1e0a4762a72fc3b78844c0bf