Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Releases: geowarin/electron-hot-loader

v0.8.0

26 Mar 15:44
Compare
Choose a tag to compare

Improve error handling

Previously, when a compiled JSX contained logical errors, or referenced a script containing an error, this error was swallowed.
This is no longer the case.
Because of a bug in chrome, electron-hot-loader uses console.error to display the error stack and make extra sure that you will see exactly where the error happened.

See PR #9.

v0.7.0

26 Mar 14:36
Compare
Choose a tag to compare

Windows Support

There was an issue where windows paths (containing backslashes) could lead to escaped characters in components paths.
See issue #7 and PR #8

v0.6.1

18 Mar 10:30
Compare
Choose a tag to compare

Fix a bug where the require statement could not be correctly interpreted and caused an error.
See 87dcec7

v0.6.0

11 Mar 15:18
Compare
Choose a tag to compare

Do not instrument components in node_modules

Those components won't be edited by the users so it is wasteful to instrument them.
See #6

Apply semistandard

I feel electron-hot-loader gets closer to a 1.0.0 release.
No one should be arguing about syntax in a PR.

v0.5.0

10 Mar 22:16
Compare
Choose a tag to compare

Support higher order components

See #5.

You will need to explicitly list the higher order functions.
For instance, if you use redux:

electronHot.install({higherOrderFunctions: ['connect']});

v0.4.0

10 Mar 15:03
Compare
Choose a tag to compare

Improve error handling

Error messages are now simplified when they happen in nested requires.

Do not instrument when the require call is not resolved

electron-hot-loader parses the require statements at the top of your file to resolve each component file.
Sometimes, it is not possible to make the connection between a React.createElement and its require import.
This happens a lot with frameworks (like react-router or redux) that provide components that are not available in the default import.
electron-hot-loader will just ignore those components from now on, which should prevent errors from happening.
If you follow a simple package architecture, this should not happen to your components.

Commit: 11e6f28

v0.3.0

09 Mar 15:10
Compare
Choose a tag to compare

Remove globals and refine public API

PRs:

  • #3 : Remove globals and refine public API

v0.2.0

09 Mar 11:14
Compare
Choose a tag to compare
  • Add support for inline source maps by default. Users can use {sourceMapInline: false} to deactivate the feature
  • The instrumentation should be slightly more performant

PRs:

  • #2 : add inline source maps

v0.1.2

07 Mar 14:49
Compare
Choose a tag to compare

Tweak messages emitted by the loader to be in debug level

v0.1.1

07 Mar 14:47
Compare
Choose a tag to compare

Freeze dependencies to avoid surprises