1 | # Changelog
|
2 |
|
3 | For changes in version v7.0.0 and up please go to [release](https://github.com/babel/babel-loader/releases)
|
4 |
|
5 | # Old Changelog
|
6 |
|
7 | ## v6.4.1
|
8 |
|
9 | ### 🐛 Bug Fix
|
10 |
|
11 | - Fixed reset of BABEL_ENV when options.forceEnv is used (#420) @nikopavlica
|
12 |
|
13 | ## v6.4.0
|
14 |
|
15 | ### 🚀 New Feature
|
16 |
|
17 | - added metadata passing from babel to webpack, which is currently used by react-intl (#398) @Ognian
|
18 |
|
19 | ## v6.3.2
|
20 |
|
21 | ### 😢 Regression
|
22 |
|
23 | - `forceEnv` was interfering with regular environment handling
|
24 |
|
25 | ## v6.3.1
|
26 |
|
27 | ### 🐛 Bug Fix
|
28 |
|
29 | - The new `forceEnv` options wasn't working as expected (#379) @chrisvasz
|
30 |
|
31 | ## v6.3.0
|
32 |
|
33 | ### 🚀 New Feature
|
34 |
|
35 | - Add new config option `forceEnv` (#368) @moimael
|
36 |
|
37 | Allow to override BABEL_ENV/NODE_ENV at loader-level. Useful for isomorphic applications which have separate babel config for client and server.
|
38 |
|
39 | ### 🐛 Bug Fix
|
40 |
|
41 | - Update loader-utils dependency to ^0.2.16 to fix compatibility with webpack 2 (#371) @leonaves
|
42 |
|
43 | ### 💅 Polish
|
44 |
|
45 | - Improve FS caching to do less sync calls which improves performance slightly (#375) @akx
|
46 |
|
47 | ## v6.2.10
|
48 |
|
49 | Support for webpack 2.2-rc has been added in this release
|
50 |
|
51 | ### 🐛 Bug Fix
|
52 |
|
53 | - If cache directory not writable, try to fallback to tmpdir before failing
|
54 |
|
55 | ## v6.2.9
|
56 |
|
57 | ### 😢 Regression
|
58 |
|
59 | Source maps on windows did not work correctly with v6.2.8.
|
60 | Thanks @josephst
|
61 |
|
62 | ### 🏠 Internal
|
63 |
|
64 | - Add AppVeyor to run tests on windows @danez
|
65 | - Fix tests on windows (#343) @danez
|
66 |
|
67 | ## v6.2.8
|
68 |
|
69 | ### 🐛 Bug Fix
|
70 |
|
71 | - gzipped files should have `.gz` as the extension, not `.gzip` (#326) @bjornstar
|
72 | - fix options.sourceFileName gennerate bug (#260) @creeperyang
|
73 |
|
74 | ### 📝 Documentation
|
75 |
|
76 | - Update README docs for cacheDirectory's actual behaviour (#245) @sohkai
|
77 | - updates docs re: transform-runtime (#197) @gbrassey
|
78 |
|
79 | ### 🏠 Internal
|
80 |
|
81 | - Use eslint and nyc (#321) @danez
|
82 | - Adjust travis config (#320) @danez
|
83 | - Use babel to compile babel-loader (#319) @danez
|
84 |
|
85 | ## v6.2.7
|
86 |
|
87 | ### 😢 Regression
|
88 |
|
89 | Fallback to `os.tmpdir()` if no cachedir found (#318) (fixes #317) @danez
|
90 |
|
91 | Fixes an issue with v6.2.6 when using `babel-loader` as a global package.
|
92 |
|
93 | ## v6.2.6
|
94 |
|
95 | ### 🐛 Bug Fix
|
96 |
|
97 | - Use standard cache dir as default `cacheDirectory` (#301) @fson
|
98 |
|
99 | Use the common cache directory, `./node_modules/.cache/babel-loader`, as the default cache directory (when the cacheDirectory setting is enabled).
|
100 |
|
101 | ```js
|
102 | query: {
|
103 | cacheDirectory: true
|
104 | }
|
105 | ```
|
106 |
|
107 | ## v6.2.5
|
108 |
|
109 | - Don't show the call stack for a Babel error (such as when you have a syntax error)
|
110 |
|
111 | <img width="415" alt="screenshot 2016-08-15 15 24 37" src="https://cloud.githubusercontent.com/assets/30594/17664401/727ba098-62fc-11e6-9f12-42da0cf47f14.png">
|
112 |
|
113 | - resolve the .babelrc relative to the file path rather than the cwd (current working directory).
|
114 |
|
115 | * fix: more concise formatting for Babel errors (#287) (Andrey Popp)
|
116 | * fix(resolve-rc): resolve-rc relative file path (#253) (Luke Page)
|
117 | * add babel-core and preset-2015 to dev dependencies (#273) (timse)
|
118 | * chore(docs): add issue and pr templates (#280) (Joshua Wiens)
|
119 | * chore(docs): fix badge formatting (Joshua Wiens)
|
120 | * chore(ci): expand travis testing (#278) (Joshua Wiens)
|
121 | * Update README: add env vars to cacheIdentifier (#267) (Dominik Ferber)
|
122 | * add npm badge [skip ci] (Henry Zhu)
|
123 | * update [skip ci] (Henry Zhu)
|
124 | * remove jsx references as well [skip ci] (Henry Zhu)
|
125 | * Save the transform to devDependencies (Ray Booysen)
|
126 | * Remove 'react' preset (Jake Rios)
|
127 | * Removed babel-preset-react from README.md (Ben Stephenson)
|
128 |
|
129 | ## v6.2.4
|
130 | * change allowed peer deps (all webpack 2 beta versions)
|
131 |
|
132 | ## v6.2.3
|
133 | * change allowed peer deps (2.0.7-beta)
|
134 |
|
135 | ## v6.2.2
|
136 | * Update peerDependencies to accept webpack 2 [#208](https://github.com/babel/babel-loader/pull/208)
|
137 | * Remove duplicated dependencies
|
138 |
|
139 | ## v6.2.0
|
140 | * Pass true filenames [#106](https://github.com/babel/babel-loader/issues/106)
|
141 | * Remove babel-core from devDependencies
|
142 |
|
143 | ## v6.1.0
|
144 |
|
145 | * Merge [PR #146](https://github.com/babel/babel-loader/pull/146) Set source file name relative to options.sourceRoot
|
146 | * Merge [PR #136](https://github.com/babel/babel-loader/pull/136) use container-based infrastructure for faster build
|
147 | * Merge [PR #121](https://github.com/babel/babel-loader/pull/121) Make babelrc configurable
|
148 | * Merge [PR #113](https://github.com/babel/babel-loader/pull/113) Include BABEL_ENV || NODE_ENV in cacheIdentifier
|
149 |
|
150 | ## v6.0.1
|
151 |
|
152 | * Update to babel v6.
|
153 |
|
154 | ## v5.3.1
|
155 |
|
156 | * Merge [PR #85](https://github.com/babel/babel-loader/pull/85) - Don't override sourcemap if sourcesContent already exists.
|
157 |
|
158 |
|
159 | ## v5.3.1
|
160 |
|
161 | * Merge [PR #82](https://github.com/babel/babel-loader/pull/82) - Fallback global options to empty object to avoid conflicts with object-assign polyfill.
|
162 |
|
163 | ## v5.3.0
|
164 |
|
165 | * Merge [PR #79](https://github.com/babel/babel-loader/pull/79) - This should allow babel-loader to work with [enhanced-require](https://github.com/webpack/enhanced-require).
|
166 |
|
167 | ## v5.2.0
|
168 |
|
169 | * Include `.babelrc` file into the `cacheIdentifier` if it exists
|