source: trip-planner-front/node_modules/postcss-import/CHANGELOG.md@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 12.7 KB
RevLine 
[6a3a178]1# 14.0.2 / 2021-05-10
2
3- Remove remaining direct import of `postcss` package ([#455](https://github.com/postcss/postcss-import/issues/455), [#456](https://github.com/postcss/postcss-import/pull/456))
4
5# 14.0.1 / 2021-03-31
6
7- Fix bug with `@charset` statements in media imports ([#448](https://github.com/postcss/postcss-import/issues/448), [#453](https://github.com/postcss/postcss-import/pull/453))
8
9# 14.0.0 / 2020-12-14
10
11This release should not have breaking changes for the vast majority of users; only those with `@charset` statements in their CSS _may_ be affected.
12
13- **BREAKING:** Error if multiple incompatible `@charset` statements ([#447](https://github.com/postcss/postcss-import/pull/447))
14- **BREAKING:** Warn if `@charset` statements are not at the top of files ([#447](https://github.com/postcss/postcss-import/pull/447))
15- Fix handing of `@charset` ([#436](https://github.com/postcss/postcss-import/issues/436), [#447](https://github.com/postcss/postcss-import/pull/447))
16
17# 13.0.0 / 2020-10-20
18
19- **BREAKING:** Require Node 10+ ([#429](https://github.com/postcss/postcss-import/pull/429))
20- **BREAKING:** Upgrade to postcss v8 and require it as a `peerDependency` ([#427](https://github.com/postcss/postcss-import/issues/427), [#432](https://github.com/postcss/postcss-import/pull/432))
21- Update dependencies
22
23# 12.0.1 / 2018-10-22
24
25- Add `plugin` property to dependency messages ([#379](https://github.com/postcss/postcss-import/issues/379), [#380](https://github.com/postcss/postcss-import/pull/380))
26
27# 12.0.0 - 2018-08-04
28
29- Removed: Support for Node.js v4
30- Changed: Uses PostCSS v7 (https://github.com/postcss/postcss/releases/tag/7.0.0)
31
32# 11.1.0 - 2018-02-10
33
34- Added: `filter` option
35
36# 11.0.0 - 2017-09-16
37
38- Changed: A syntax error in an imported file now throws an error instead of just warning ([#264](https://github.com/postcss/postcss-import/issues/264))
39- Changed: Symlink handling to be consistent with Node.js `require` ([#300](https://github.com/postcss/postcss-import/pull/300))
40
41# 10.0.0 - 2017-05-12
42
43- Removed: Support for Node.js versions less than 4.5.x ([#283](https://github.com/postcss/postcss-import/pull/283))
44- Changed: Upgraded to Postcss v6 ([#283](https://github.com/postcss/postcss-import/pull/283))
45- Removed: jspm support ([#283](https://github.com/postcss/postcss-import/pull/283))
46- Removed: deprecated `addDependencyTo` option
47- Removed: `onImport` option
48- Changed: Doesn't depend on promise-each ([#281](https://github.com/postcss/postcss-import/pull/281))
49
50# 9.1.0 - 2017-01-10
51
52- Added: `addModulesDirectories` option ([#256](https://github.com/postcss/postcss-import/pull/256))
53
54# 9.0.0 - 2016-12-02
55
56- Removed: `transform` option
57 ([#250](https://github.com/postcss/postcss-import/pull/250))
58- Removed: `pkg-resolve` is no longer a dependency; this should fix some issues
59 with webpack. jspm users must manually install `pkg-resolve` if they want to
60 load jspm modules (see https://github.com/postcss/postcss-import#jspm-usage
61 for more info) ([#243](https://github.com/postcss/postcss-import/pull/243))
62- Changed: If a file is not found, it will now throw an error instead of just
63 raising a warning ([#247](https://github.com/postcss/postcss-import/pull/247))
64- Changed: If a custom resolver does not return an absolute path, the default
65 resolver will be applied to the returned path.
66 ([#249](https://github.com/postcss/postcss-import/pull/249))
67- Changed: postcss-import will try to guess the correct parser for imported
68 files, based on the file extension.
69 ([#245](https://github.com/postcss/postcss-import/pull/245))
70- Changed: Deprecated `addDependencyTo` option, it is not needed if using
71 postcss-loader >= v1.0.0
72 ([#251](https://github.com/postcss/postcss-import/pull/251))
73
74# 8.2.0 - 2016-11-09
75
76- Fixed: Warn about all `@import`s after other CSS declarations
77 ([#240](https://github.com/postcss/postcss-import/pull/240))
78- Added: `dependency` message
79 ([#241](https://github.com/postcss/postcss-import/pull/241))
80
81# 8.1.3 - 2016-11-03
82
83- Fixed: Nested import ordering
84 ([#236](https://github.com/postcss/postcss-import/pull/236) - @RyanZim)
85
86# 8.1.2 - 2016-05-07
87
88- Fixed: prevent JSPM to throw unrecoverable error
89 ([#205](https://github.com/postcss/postcss-import/pull/205))
90
91# 8.1.1 - 2016-05-04
92
93- Fixed: JSPM support
94 ([#194](https://github.com/postcss/postcss-import/pull/194))
95
96# 8.1.0 - 2016-04-04
97
98- Added: JSPM browser field
99 ([#186](https://github.com/postcss/postcss-import/pull/186))
100
101# 8.0.2 - 2015-01-27
102
103- Fixed: Comments between imports statements are ignored
104([#164](https://github.com/postcss/postcss-import/pull/164))
105
106# 8.0.1 - 2015-01-27
107
108- Fixed: missing "lib" folder
109([#161](https://github.com/postcss/postcss-import/issues/161))
110
111# 8.0.0 - 2015-01-27
112
113**All imports statements must be at the top of your file now, per CSS specification.**
114You should use [postcss-reporter](https://github.com/postcss/postcss-reporter) to see the warnings raised.
115
116- Removed: async mode/option (now async by default)
117([#107](https://github.com/postcss/postcss-import/pull/107))
118- Removed: "bower_components" not supported by default anymore,
119use "path" option to add it back
120- Removed: `encoding` option. Encoding can be specified in custom `load` option
121
122```js
123postcssImport({
124 load: function(filename) {
125 return fs.readFileSync(filename, "utf-8")
126 }
127})
128```
129([#144](https://github.com/postcss/postcss-import/pull/144))
130
131- Removed: glob support
132([#146](https://github.com/postcss/postcss-import/pull/146))
133
134Globs can be implemented with custom `resolve` option
135
136```js
137postcssImport({
138 resolve: function(id, base) {
139 return glob.sync(path.join(base, id))
140 }
141})
142```
143
144([#116](https://github.com/postcss/postcss-import/pull/116))
145- Changed: custom resolve has more responsibility for paths resolving.
146See [resolve option](https://github.com/postcss/postcss-import#resolve)
147for more information about this change
148([#116](https://github.com/postcss/postcss-import/pull/116))
149- Changed: support promise in `transform` option and `undefined` result will be
150skipped
151([#147](https://github.com/postcss/postcss-import/pull/147))
152- Changed: `options.plugins` are applied to unprocessed ast before imports
153detecting
154([157](https://github.com/postcss/postcss-import/pull/157))
155- Added: custom resolve function can return array of paths
156([#120](https://github.com/postcss/postcss-import/pull/120))
157- Added: custom syntax in imported files support
158([#130](https://github.com/postcss/postcss-import/pull/130))
159- Added: support custom `load` option
160([#144](https://github.com/postcss/postcss-import/pull/144))
161- Added: detect css extension in package.json `main` field
162([153](https://github.com/postcss/postcss-import/pull/153))
163
164**Note:**
165_If you miss options/default behavior (glob etc), a new plugin will handle all
166those things.
167Please follow issue [#145](https://github.com/postcss/postcss-import/issues/145)
168_
169
170# 7.1.3 - 2015-11-05
171
172- Fixed: ensure node 0.12 compatibility, round 2
173([#93](https://github.com/postcss/postcss-import/pull/93))
174
175# 7.1.2 - 2015-11-05
176
177- Fixed: performance issue because of cloned options
178([#90](https://github.com/postcss/postcss-import/pull/90))
179
180# 7.1.1 - 2015-11-05
181
182- Added: ensure node 0.12 compatibility
183
184# 7.0.0 - 2015-08-25
185
186- Removed: compatibility with postcss v4.x
187([#75](https://github.com/postcss/postcss-import/pull/75))
188- Added: compatibility with postcss v5.x
189([#76](https://github.com/postcss/postcss-import/pull/76))
190- Added: lighter package by upgrading some dependencies
191([#73](https://github.com/postcss/postcss-import/issues/73))
192
193# 6.2.0 - 2015-07-21
194
195- Added: `skipDuplicates` option now allows you to **not** skip duplicated files
196([#67](https://github.com/postcss/postcss-import/issues/67))
197
198# 6.1.1 - 2015-07-07
199
200- Fixed: Prevent mutability issue, round 2
201([#44](https://github.com/postcss/postcss-import/issues/44))
202- Added: `plugins` option, to run some postcss plugin on imported files
203([#55](https://github.com/postcss/postcss-import/issues/55))
204- Added: `bower_components` is now part of the default paths
205([#66](https://github.com/postcss/postcss-import/issues/66))
206- Added: `async` option allow to use enable PostCSS async API usage.
207Note that it's not enabling async fs read yet. It has been added to fix breaking
208change introduced by 6.1.0.
209
210# 6.1.0 - 2015-07-07 **YANKED**
211
212_This release was not respecting semver and introduced a major breaking change.
213It has been unpublished for now._
214
215# 6.0.0 - 2015-06-17
216
217- Changed: warnings messages are now using postcss message api (4.1.x)
218- Added: warning when a import statement has not been closed correctly
219([#42](https://github.com/postcss/postcss-import/issues/42))
220
221# 5.2.2 - 2015-04-19
222
223- Fixed: globbed imports work for module directories ([#37](https://github.com/postcss/postcss-import/pull/37))
224
225# 5.2.1 - 2015-04-17
226
227- Fixed: glob import now works with single quote `@import` ([#36](https://github.com/postcss/postcss-import/pull/36))
228
229# 5.2.0 - 2015-04-15
230
231- Added: [glob](https://www.npmjs.com/package/glob) pattern are now supported if `glob` option is set to true ([#34](https://github.com/postcss/postcss-import/pull/34))
232- Added: plugin can now be added to PostCSS without calling it as a function ([#27](https://github.com/postcss/postcss-import/pull/27))
233
234# 5.1.1 - 2015-04-10
235
236- Fixed: regression of 5.1.0: files which only contain same @import rules were skip ([#31](https://github.com/postcss/postcss-import/issues/31))
237
238# 5.1.0 - 2015-03-27
239
240- Added: files with the same content will only be imported once. Previously, only the full path was used to determine if a file has already been imported in a given scope.
241Now, we also test create a hash with the content of the file to check if a file with the same content has not already been imported.
242This might be usefull if some modules you import are importing the same library from different places (eg: normalize might be as dep for several modules located in different places in `node_modules`)
243([#29](https://github.com/postcss/postcss-import/pull/28))
244
245# 5.0.3 - 2015-02-16
246
247- Fixed: regression of 5.0.2: AST parent references were not updated ([#25](https://github.com/postcss/postcss-import/issues/25))
248
249# 5.0.2 - 2015-02-14
250
251- Fixed: indentation and code style are now preserved ([#20](https://github.com/postcss/postcss-import/issues/20))
252
253# 5.0.1 - 2015-02-13
254
255- Fixed: breaking bug with remote stylesheets ([#21](https://github.com/postcss/postcss-import/issues/21) & [#22](https://github.com/postcss/postcss-import/issues/22))
256
257# 5.0.0 - 2015-01-26
258
259- Added: compatibility with postcss v4.x
260- Removed: compatibility with postcss v3.x
261- Fixed: relative imports (./ and ../) should work using `path` option only (no need for `from`) ([#14](https://github.com/postcss/postcss-import/issues/14))
262
263# 4.1.1 - 2015-01-05
264
265- Fixed: irregular whitespace that throw syntax error in some environnements
266
267# 4.1.0 - 2014-12-12
268
269- Added: `web_modules` is now in module directories that are used to resolve `@import` ([#13](https://github.com/postcss/postcss-import/issues/13)).
270
271# 4.0.0 - 2014-12-11
272
273- Added: windows compatibility (by building on AppVeyor)
274- Added: `root` option
275
276# 3.2.0 - 2014-11-24
277
278- Added: `onImport` callback offers a way to get list of imported files ([ref](https://github.com/postcss/postcss-import/issues/9))
279
280# 3.1.0 - 2014-11-24
281
282- Added: ability to consume local modules (fix [#12](https://github.com/postcss/postcss-import/issues/12))
283
284# 3.0.0 - 2014-11-21
285
286- Added: ability to consume node modules ([ref](https://github.com/postcss/postcss-import/issues/7)).
287This means you don't have to add `node_modules` in the path anymore (or using `@import "../node_modules/..."`).
288Also, `index.css` can be ommited.
289
290This means something like this
291
292```css
293@import "../node_modules/my-css-on-npm/index.css";
294```
295
296can be written like this
297
298```css
299@import "my-css-on-npm";
300```
301
302Dependencies of dependencies should be resolved as well.
303
304_Note that npm resolution is done after the default local behavior._
305
306- Changed: When importing a file multiple times in the same scope (same level of media queries), file will only be imported the first time.
307This is done to avoid having multiples outputs of a npm dep used multiples times in different modules.
308
309# 2.0.0 - 2014-11-12
310
311- Added: compatibility with postcss v3.x
312- Removed: compatibility with postcss v2.x
313
314# 1.0.3 - 2014-10-29
315
316- Fixed: relative import path stack
317
318# 1.0.2 - 2014-09-16
319
320- Added: Move ignored import at top & adjust related media queries, to make them work (fix [#2](https://github.com/postcss/postcss-import/issues/2))
321- Added: Ignore scheme-relative absolute URLs
322- Removed: `parse-import` module dependency
323
324# 1.0.1 - 2014-08-26
325
326- Fixed: GNU message format
327- Added: Support empty files ([cssnext/#24](https://github.com/putaindecode/cssnext/issues/24))
328
329# 1.0.0 - 2014-08-10
330
331✨ First release based on [rework-import](https://github.com/reworkcss/rework-import) v1.2.0 (mainly for fixtures)
Note: See TracBrowser for help on using the repository browser.