1 | # Changelog
|
2 |
|
3 | ### 2.4.0
|
4 |
|
5 | - ENHANCEMENT make v2 addon's with CSS work in fastboot out of the box
|
6 | - INTERNAL update @embroider/macros and @embroider/shared-internals to 1.0 by @SergeAstapov
|
7 | - BUGFIX correctly merge user-provided webpack `externals` with our own, by @vstefanovic97
|
8 |
|
9 | ### 2.3.0
|
10 |
|
11 | - INTERNAL update to latest @embroider/internals
|
12 | - ENHANCEMENT support v2 addons that contain @embroider/macros
|
13 | - ENHANCEMENT better error messages by @NullVoxPopuli
|
14 |
|
15 | ### 2.2.4
|
16 |
|
17 | - BUGFIX: Avoid EBADF on ReadStream early close in Node 12 by @maxfierke
|
18 | - BUGFIX: use junctions on windows as needed to avoid permissions problem
|
19 | - INTERNAL: mark test-scenarios package as private by @rwjblue
|
20 | - DOCS: fix link to upgrade guide in changelog by @ndekeister-us
|
21 | - METADATA: add `directory` metadata to package.json by @Turbo87
|
22 |
|
23 | ### 2.2.3
|
24 |
|
25 | - BUGFIX: `export * from` syntax was not detected.
|
26 |
|
27 | ### 2.2.2
|
28 |
|
29 | - BUGFIX: pass `styleLoaderOptions` and `cssLoaderOptions` correctly by @boris-petrov
|
30 |
|
31 | ### 2.2.1
|
32 |
|
33 | - BUGFIX: Prevent loss of characters in case of false end-partial-match by @timmorey
|
34 | - INTERNAL: Upgrade scenario-tester
|
35 |
|
36 | ### 2.2.0
|
37 |
|
38 | - ENHANCEMENT: significantly faster builds.
|
39 | - ENHANCEMENT: improved error messages for resolution errors by @NullVoxPopuli
|
40 | - HOUSEKEEPING: adjust which files get published by @buschtoens
|
41 | - ENHANCEMENT: relax semver check to tolerate shared versions that satisfy all consumers
|
42 |
|
43 | ### 2.1.0
|
44 |
|
45 | - FEATURE: You can now control exactly how and where ember-auto-import will insert tags into your HTML using the `insertScriptsAt` and `insertStylesAt` options.
|
46 | - FEATURE: You can add custom entrypoints to the webpack config. Combined with `insertScriptsAt`, this makes it possible to (for example) auto-import a family of polyfills that must run before Ember's traditional `vendor.js`. It's also likely to be helpful for building webworkers or other similar standalone targets.
|
47 | - FEATURE: We now properly optimize TypeScript's `import type` syntax, meaning if you only import the types from a package it will not be included in your build. By @buschtoens.
|
48 | - DOCS: fixes in README by @stefanpenner
|
49 | - DOCS: fixes in upgrade guide by @kiwi-josh
|
50 |
|
51 | ### 2.0.2
|
52 |
|
53 | - BUGFIX: entry chunks should respect `publicAssetURL`
|
54 |
|
55 | ### 2.0.1
|
56 |
|
57 | - BUGFIX: avoid warning spew from babel about loose mode.
|
58 | - DOCS: fixed docs link by @MrChocolatine
|
59 |
|
60 | ### 2.0.0
|
61 |
|
62 | - BREAKING: see the [upgrade guide to v2](../../docs/upgrade-guide-2.0.md) for the complete list of breaking changes in 2.0 with explanations and instructions.
|
63 | - BREAKING: webpack 5 upgrade by @gabrielcsapo and @ef4
|
64 | - BREAKING ENHANCEMENT: support embroider v2-formatted addons
|
65 | - BREAKING: drop support for babel 6
|
66 | - BREAKING: inject entry chunks directly into HTML
|
67 | - BREAKING: addons that use ember-auto-import 2.0 require that the app also has ember-auto-import 2.0.
|
68 | - BREAKING: apps must depend directly on webpack 5
|
69 | - BREAKING: change our `alias` option to more closely match webpack by doing a prefix match by default.
|
70 | - BUGFIX: fix compatibility with babel 7.26+ by @rwjblue
|
71 | - ENHANCEMENT: support auto-importing dependencies via `@embroider/macros` `importSync` by @simonihmig
|
72 | - BUGFIX: fix accidental duplication of webpack config
|
73 | - BREAKING: minimum supported Node is 12 (because 10 hit EOL on 2021-04-30)
|
74 | - BREAKING: minimum supported Ember and EmberCLI versions are both 3.4
|
75 |
|
76 | ### 1.11.3
|
77 |
|
78 | - NO-OP: I accidentally published 2.0.0-alpha.0 to NPM under the `latest` tag. This is a re-published of 1.11.2 to supplant that as latest.
|
79 |
|
80 | ### 1.11.2
|
81 |
|
82 | - BUGFIX: the new prefix matching implementation of `alias` turned out to be a breaking change, so we're rolling it back in order to make it opt-in.
|
83 |
|
84 | ### 1.11.1
|
85 |
|
86 | - BUGFIX: as part of the `watchDependencies` feature we changed webpack splitChunksPlugin config in a way that broke in apps with common lazy chunks.
|
87 |
|
88 | ### 1.11.0
|
89 |
|
90 | - HOUSEKEEPING: major test infrastructure refactor by @ef4 & @mattmcmanus
|
91 | - COMPAT: ensure babel compilation ignores a babel.config.js by @rwjblue
|
92 | - ENHANCEMENT: introduce `watchDependencies` option
|
93 | - ENHANCEMENT: allow unambiguous data URIs
|
94 | - ENHANCEMENT: make `alias` option support prefix matching by @buschtoens
|
95 | - BUGFIX: update test-support regex to work with scoped packages by @paddyobrien
|
96 |
|
97 | ### 1.10.1
|
98 |
|
99 | - BUGFIX: the previous release accidentally leaked code to browsers that was not IE11-safe.
|
100 |
|
101 | ### 1.10.0
|
102 |
|
103 | - ENHANCEMENT: we are now compatible with the Embroider package spec's handling of `import()`. Template string literals are allowed so long as they point unambiguously to modules within a specific package, or are unambiguously a URL.
|
104 | - BUGFIX: the test-support tree detection feature in 1.9.0 didn't actually match ember-cli's naming scheme, by @rwjblue.
|
105 |
|
106 | ### 1.9.0
|
107 |
|
108 | - ENHANCEMENT: use new API from ember-cli to reliably detect which trees are test-support only, even when addons override the default naming scheme by @rwjblue
|
109 | - ENHANCEMENT: switch to resolve-package-path for better shared caching with the rest of ember-cli by @rwjblue
|
110 |
|
111 | ### 1.8.0
|
112 |
|
113 | - ENHANCEMENT: improved leader election protocol between copies of ember-auto-import that ensures the newest one is always in charge.
|
114 | - HOUSEKEEPING: upgrades to typescript and some other deps to get better upstream types
|
115 |
|
116 | ### 1.7.0
|
117 |
|
118 | - DOCS: improvement to CONTRIBUTING.md by kiwiupover
|
119 | - BUGFIX: fix merging of webpack configs by @bendemboski
|
120 | - HOUSEKEEPING: upgrade ember-cli-babel by nlfurniss
|
121 | - HOUSEKEEPING: upgrade @embroider/core dep by simonihmig
|
122 | - HOUSEKEEPING: upgrade webpack
|
123 |
|
124 | ### 1.6.0
|
125 |
|
126 | - ENHANCEMENT: add .ts extension to the resolver allowing import of TypeScript modules without having to add the .ts extension by @buschtoens
|
127 | - DOCS: document `skipBabel` option by @kasunvp
|
128 | - DOCS: fix typo in README.md by @jacobq
|
129 | - DOCS: add instructions for using dynamic imports in addons by @jrjohnson
|
130 | - ENHANCEMENT: only output files for fastboot when ember-cli-fastboot is detected (can also be manually disabled with FASTBOOT_DISABLED=true environment variable) by @houfeng0923
|
131 | - HOUSEKEEPING: update CI node version to 12.x by @f1sherman
|
132 | - ENHANCEMENT: add [id] to the chunkname by @stukalin
|
133 | - BUGFIX: ensure auto-import processes the same extensions as ember-cli-babel by @dfreeman
|
134 | - BUGFIX: update minimum version of @babel/preset-env to 7.10.2 by @rwjblue
|
135 |
|
136 | ### 1.5.3
|
137 |
|
138 | - HOUSEKEEPING: upgrading deps that are failing security audits (but there was no actual vulnerability for ember-auto-import users)
|
139 | - HOUSEKEEPING: switch CI to GitHub actions
|
140 | - BUGFIX: lazily read babel config (helps interoperability with Embroider) by @stefanpenner
|
141 |
|
142 | ### 1.5.2
|
143 |
|
144 | - BUGFIX: since 1.5.0 we were using `@babel/present-env` but not directly depending on it, which would break apps that didn't happen to already have a copy.
|
145 |
|
146 | ### 1.5.1
|
147 |
|
148 | - BUGFIX: upgrade handlebars to eliminate a GitHub security advisory. We don't run untrusted templates, so there was no actual security risk introduced by ember-auto-import.
|
149 |
|
150 | ### 1.5.0
|
151 |
|
152 | - ENHANCEMENT: all dependencies now go through @babel/preset-env by default. This ensures that you never ship code that violates your app's declared `config/targets.js`. There is an explicit `skipBabel` option for when you know for sure a package shouldn't be transpiled.
|
153 | - DOCS: node polyfills FAQ by @jenweber
|
154 | - DOCS: fixed syntax highlighting by @ctjhoa
|
155 |
|
156 | ### 1.4.1
|
157 |
|
158 | - BUGFIX: remove ";" from concatenated CSS by @bendemboski
|
159 |
|
160 | ## 1.4.0
|
161 |
|
162 | - BUGFIX: don't polyfill Node behaviors by default, by @tmquinn. This is known to cause BREAKAGE in apps that accidentally relied on the bug behavior. See https://github.com/ef4/ember-auto-import/blob/a1bc3057c89fa2d4a81dc77f55b9674123072f2a/README.md#i-upgraded-my-ember-auto-import-version-and-now-things-dont-import-what-changed
|
163 | - ENHANCEMENT: respect ember-auto-import options on the app even when the app itself doesn't depend directly on ember-auto-import, by @tmquinn.
|
164 | - BUGFIX: disable size shaming by default.
|
165 | - DOCS: Add info on importing a dependency from app folder, by @Alonski.
|
166 |
|
167 | ## 1.3.0
|
168 |
|
169 | - ENHANCEMENT: if you customize the webpack config to emit CSS, we will include the CSS in your ember app. Thanks @bendemboski.
|
170 | - DOCS: readme enhancements by @Turbo87, @0xadada, and @ctjhoa
|
171 |
|
172 | ## 1.2.21
|
173 |
|
174 | - BUGFIX: restrict our webpack dependency to exclude 4.29.0. See https://github.com/ef4/ember-auto-import/issues/192. Thanks @efx.
|
175 |
|
176 | ## 1.2.20
|
177 |
|
178 | - SECURITY: disallow handlebars < 4.0.13 due to https://www.npmjs.com/advisories/755. We don't pass any untrusted input into handlebars, so there is no known actual vulnerability in ember-auto-import, but this will help people avoid getting audit warnings about their apps. Thanks @knownasilya.
|
179 | - DOCS: updated docs on publicAssetURL by @jrjohnson
|
180 | - HOUSEKEEPING: gitignore fixes by @buschtoens.
|
181 | - BUGFIX: make sure a user-provided `noParse` in custom webpack config can't break our own internal usage of that feature.
|
182 |
|
183 | ## 1.2.19
|
184 |
|
185 | - BUGFIX: some changes to imports were not taking effect until after an ember-cli restart.
|
186 |
|
187 | ## 1.2.18
|
188 |
|
189 | - BUGFIX: fixed a crash for people using certain customized vendor.js output paths.
|
190 | - INTERNALS: we now compile in the strictest Typescript mode.
|
191 |
|
192 | ## 1.2.17
|
193 |
|
194 | - ENHANCEMENT: interoperability with ember-cli-typescript 2.0, so that imports work in Typescript code, by @buschtoens.
|
195 |
|
196 | ## 1.2.16
|
197 |
|
198 | - ENHANCEMENT: Babel 7 support. Any combination of app & addons using Babel 6 and 7 should now work, and each one will be parsed with its own preferred parser and options.
|
199 |
|
200 | ## 1.2.15
|
201 |
|
202 | - BUGFIX: the previous release could result in a broken build if your broccoli temp location was access through a symlink.
|
203 |
|
204 | ## 1.2.14
|
205 |
|
206 | - ENHANCEMENT: new "forbidEval" option supports sites with strict CSP.
|
207 | - BUGFIX: don't leak temp dirs
|
208 | - BUGFIX: support apps with closed-over require & define by @noslouch and @ef4
|
209 | - DOCS: package.json metadata update by @chadian
|
210 |
|
211 | ## 1.2.13
|
212 |
|
213 | - BUGFIX: only attempt to insert before a sourceMapURL that's anchored to the end of the file.
|
214 |
|
215 | ## 1.2.12
|
216 |
|
217 | - BUGFIX: an analyzer rebuild bug. Hopefully the last one since I added a bunch of new test coverage around it.
|
218 | - BUGFIX: we weren't matching the exact sort order required by fs-tree-diff.
|
219 |
|
220 | ## 1.2.11
|
221 |
|
222 | - BUGFIX: apps with customized outputPaths work again.
|
223 | - BUGFIX: fixed issues around building when tests are disabled.
|
224 | - ENHANCEMENT: preserve pre-existing vendor sourcemaps
|
225 |
|
226 | ## 1.2.10
|
227 |
|
228 | - BUGFIX: 1.2.9 re-broke production builds. Now that is fixed _and_ we have test coverage for it. Ahem.
|
229 |
|
230 | ## 1.2.9
|
231 |
|
232 | - BUGFIX: the compatibility workaround in 1.2.7 had the side-effect of breaking live-reload of addon code.
|
233 |
|
234 | ## 1.2.8
|
235 |
|
236 | - BUGFIX: previous release broke production builds for a silly reason.
|
237 |
|
238 | ## 1.2.7
|
239 |
|
240 | - HOUSEKEEPING: changes for compatibility with ember-cli 3.4-beta.
|
241 | - ENHANCEMENT: more robust heuristic for detecting the public asset path, plus the option to configure it manually.
|
242 |
|
243 | ## 1.2.6
|
244 |
|
245 | - BUGFIX: fix IE11 support by @zonkyio
|
246 | - ENHANCEMENT: allow resolution of peerDependencies
|
247 |
|
248 | ## 1.2.5
|
249 |
|
250 | - BUGFIX: use correct asset path when dynamic imports only appear within dependencies (and not within the app itself)
|
251 |
|
252 | ## 1.2.4
|
253 |
|
254 | - ENHANCEMENT: discover imports in coffeescript.
|
255 |
|
256 | ## 1.2.3
|
257 |
|
258 | - BUGFIX: tolerate multiple copies of the same dependency as long as they have the same version number (only one will be included in the app).
|
259 |
|
260 | ## 1.2.2
|
261 |
|
262 | - BUGFIX: some chunk files could appear in the final built app even though they weren't needed. Harmless, but fixed.
|
263 | - ENHANCEMENT: reload package.json during development so you don't need to restart ember-cli after adding new dependencies.
|
264 | - ENHANCEMENT: automatically configure production asset fingerprinting so it doesn't interfere with dynamic chunk loading.
|
265 | - ENHANCEMENT: add an env var that causes webpack's console output to be visible.
|
266 |
|
267 | ## 1.2.1
|
268 |
|
269 | - BUGFIX: the previous release accidentally broke interactive rebuilds!
|
270 |
|
271 | ## 1.2.0
|
272 |
|
273 | - ENHANCEMENT: dynamic import(). See https://github.com/ef4/ember-auto-import#dynamic-import
|
274 |
|
275 | ## 1.1.0
|
276 |
|
277 | - BUGFIX: play nicer with other preprocessors by preserving non-JS files in the trees we analyze.
|
278 | - ENHANCEMENT: add an "alias" config option for redirecting imports from one module to another.
|
279 |
|
280 | ## 1.0.1
|
281 |
|
282 | - BUGFIX: fixed a string escaping issue that was breaking windows builds. Thanks @houfeng0923.
|
283 |
|
284 | ## 1.0.0
|
285 |
|
286 | - BUGFIX: fixed an exception after a file with imports was deleted
|
287 | - Making this 1.0.0 because no major issues have surfaced in the alpha and I think the public API is fairly stable. My outstanding TODO list is all either additive or internals-only for compatibility with ember-cli canary.
|
288 |
|
289 | ## 1.0.0-alpha.0
|
290 |
|
291 | - ENHANCEMENT: we now run a single Webpack build for an entire application, regardless of how many addons and/or the app itself are using ember-auto-import. This provides the best possible deduplication and minimal size.
|
292 | - BREAKING: the build customization options have changed. It's no longer possible to customize webpack per-module, since we're running a single global webpack build. I also removed documentation on how to swap out the webpack bundler with something else, because in practice we'll want addons to be able to standardize on one strategy.
|
293 | - I'm making this a candidate for a 1.0 release because our public API is now where I want it and it seems unlikely to need breaking changes in the near future. This is an endorsement of public API stability, not implementaiton stability, which I expect to keep improving as more people adopt and report bugs.
|
294 |
|
295 | ## 0.2.5
|
296 |
|
297 | - BUGFIX: ensure our import analyzer always runs before babel has a chance to transpile away the imports
|
298 |
|
299 | ## 0.2.3
|
300 |
|
301 | - BUGFIX: switch to enhanced-resolve to get correct entrypoint discovery semantics for every case of `browser` and `module`
|
302 |
|
303 | ## 0.2.2
|
304 |
|
305 | - PERFORMANCE: add rebuild caching.
|
306 |
|
307 | ## 0.2.1
|
308 |
|
309 | - BUGFIX: fix an exception when the app has no vendor directory
|
310 |
|
311 | ## 0.2.0
|
312 |
|
313 | - ENHANCEMENT: respect `module` and `browser` fields in package.json
|
314 | - ENHANCEMENT: work inside addons
|
315 | - ENHANCEMENT: add option for ignoring specific modules
|
316 | - ENHANCEMENT: use the ember app's babel settings to configure our babel parser to match
|
317 | - ENHANCEMENT: support importing non-main entrypoint modules from arbitrary NPM packages
|
318 | - ENHANCEMENT: make bundler strategies pluggable
|
319 | - ENHANCEMENT: switch default bundler strategy from Rollup to Webpack
|
320 |
|
\ | No newline at end of file |