Skip to content

Releases: callstack/haul

@haul-bundler/cli + @haul-bundler/core v0.9.1

22 Jul 15:07
Compare
Choose a tag to compare

@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 44177db

@haul-bundler v0.9.0

18 Jul 16:12
Compare
Choose a tag to compare

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

@haul-bundler v0.8.0

17 Jul 16:41
Compare
Choose a tag to compare

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

19 Oct 06:56
Compare
Choose a tag to compare
  • 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

10 Jul 16:31
Compare
Choose a tag to compare

To avoid issues with different Webpack versions (#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.4

20 Jun 20:19
Compare
Choose a tag to compare
  • fix: allow more URLs for debugging ui, pnpm support (#443)

v1.0.0-rc.2

20 Jun 20:21
Compare
Choose a tag to compare
  • 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.1

20 Jun 20:24
Compare
Choose a tag to compare
  • 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 f8fc9e7
  • 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.0

26 Apr 14:51
Compare
Choose a tag to compare

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)!

1.0.0-beta.13

30 Jan 11:48
Compare
Choose a tag to compare

Fixes

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

Features

  • haul init now adds config to build.gradle 3377525