Skip to content
Permalink
Browse files

Update CHANGELOG.md (#392)

  • Loading branch information
XhmikosR committed Aug 13, 2019
1 parent ceb4df7 commit 90c55bc201599d84b5e880c01c7020ee15c900f3
Showing with 35 additions and 54 deletions.
  1. +35 −54 CHANGELOG.md
@@ -1,20 +1,20 @@
# v2.0.0 / 2018-11-27

- Drop support for node < 8
- Drop support for Node.js < 8
- Bump dependencies
- Use Jest for testing
- Drop `include` and `timeout` options as they can be specified in the `penthouse` options.
- Drop options `styleTarget` & `dest` in favour of `target`
You can specify either a **css** file, a **html** file or an object `{css: dest.css, html: dest.html}` if you want to store both. We may also add an extract target here in a future release.
You can specify either a **css** file, an **html** file or an object `{css: dest.css, html: dest.html}` if you want to store both. We may also add an extract target here in a future release.
- Drop options `destFolder`, `folder` and `pathPrefix`. We tried our best to improve the way critical auto-detects the paths to used assets in the critical css which should suit for most cases. If this doesn't work out you can use the new `rebase` option to either specify the location of the css & the html file like this: `{from: '/styles/main.css', to: '/en/test.html'}`. You can also pass a callback function to dynamically compute the path or specify a cdn for example. We utilize [`postcss-url`](https://github.com/postcss/postcss-url#options-list) for this task.
- Due to some limitations with modern css features we replaced `filter-css` as the library of choice for handling ignores with [postcss-discard](https://github.com/bezoerb/postcss-discard/). We tried to keep things backwards compatible but you may have to change your `ignore` configuration.
- Add `concurrency` option to specify how many operations can run in parallel.
- Add the ability to specify used css files using file globs. See supported `minimatch` [patterns](https://github.com/isaacs/minimatch#usage).

# v1.3.4 / 2018-07-19

- fix: return Promise.reject instead of re-throw
- fix: handle PAGE_UNLOADED_DURING_EXECUTION error (#314)
- fix: return `Promise.reject` instead of re-throw
- fix: handle `PAGE_UNLOADED_DURING_EXECUTION` error (#314)
- output warning on invalid extract setting
- Add user agent option (#316)
- Bump dependencies
@@ -24,37 +24,37 @@

- Bump dependencies
- Docs: fix typo (#310)
- Reduced vulnerabilities [#308]
- Reduced vulnerabilities (#308)

# v1.3.2 / 2018-05-15

- switched to async-exit-hook
- Switched to async-exit-hook

# v1.3.1 / 2018-05-14

- Bump dependencies
- Removed process.exit on cleanup
- Removed `process.exit` on cleanup
- Adding html-webpack-critical-plugin to README (#306)

# v1.3.0 / 2018-05-02

- Add basic auth option [#295]
- Add basic auth option (#295)

# v1.2.2 / 2018-04-02

- Improved handling of protocol-relative asset urls [#288]
- Adjust test files according to [#293]
- Improve error reporting [#258]
- Replace gutil by fancy-log [#297]
- Update README.md [#296]
- Improved handling of protocol-relative asset URLs (#288)
- Adjust test files according to (#293)
- Improve error reporting (#258)
- Replace gutil with fancy-log (#297)
- Update README.md (#296)

# v1.2.1 / 2018-03-26

- Add license file

# v1.2.0 / 2018-03-19

- Allow external stylesheets passed as css option [#290]
- Allow external stylesheets to be passed as css option (#290)
- Add Tests for #277

# v1.1.1 / 2018-03-15
@@ -66,52 +66,35 @@
- 1.1.0
- Remove temporary files
- Bump inline-critical
- Fix corrupted 'File.contents' [#191,#218]
- Fix corrupted `File.contents` (#191, #218)

# v1.0.0 / 2017-11-06

- 1.0.0
- Bump dependencies
- Removed deprecated methods
- Don't enforce strict SSL for external assets [#171]
- Allow http 2xx response codes [#244]
- Replace '|' with its HTML character entity reference (#248)
- Don't enforce strict SSL for external assets (#171)
- Allow http 2xx response codes (#244)
- Replace `|` with its HTML character entity reference (#248)
- Headless chrome (#246)
- Add "folder" option to readme [#245]

# n.n.n / 2017-12-02

# v1.0.0 / 2017-11-06

- 1.0.0
- Bump dependencies
- Removed deprecated methods
- Don't enforce strict SSL for external assets [#171]
- Allow http 2xx response codes [#244]
- Replace '|' with its HTML character entity reference (#248)
- Headless chrome (#246)
- Add "folder" option to readme [#245]
- Add `folder` option to readme (#245)

# v0.9.1 / 2017-09-04

- 0.9.1
- AppVeyor tweaks
- Use yarn with AppVeyor
- some AppVeyor tweaks
- Added package missing in AppVeyor
- Remove AppVeyor cache
- Try to reinstall "css" dependencies
- Upgrade Penthouse
- Update readme according to #220
- Version bump

# v0.9.0 / 2017-07-19

- Bump dependencies
- Library options (#178)
- Ignore print styles (#113) (#221)
- Prefer let & const + arrow functions
- Run tests on node.js 8
- Prefer `let` & `const` + arrow functions
- Run tests on Node.js 8
- Support for passing CSS files as Vinyl objects. (#204)

# v0.8.4 / 2017-03-01
@@ -139,13 +122,13 @@

- Revise production-use messaging.
- Consistent CSS capitalization in README.
- Remove object.assign; require node.js 4.
- Remove object.assign; require Node.js 4.
- Fix all tests to run on Windows.
- Enforce LF.
- Fix xo errors.
- Update dependencies.
- Fix test failures. (#155)
- Travis: add explicitly node.js 4 and 6. (#154)
- Travis: add explicitly Node.js 4 and 6. (#154)
- Update .gitignore.
- package.json: remove duplicate dep. (#153)
- Remove JSHint leftovers. (#152)
@@ -160,11 +143,11 @@
- Add test for 404 case
- Remove trailing whitespace
- Fix silly typo
- Ignore 404 requests, reject promise with Error not String
- Ignore 404 requests, reject promise with `Error` not `String`
- Fixed #130
- Better error message for unresolved css files
- cli: exit after stdout.write
- Remove uncaughtException listener log error instead
- cli: exit after `stdout.write`
- Remove `uncaughtException` listener; log error instead
- Fixed import-order
- Bump dependencies
- Added changelog (#123)
@@ -175,7 +158,7 @@

# v0.7.1 / 2016-02-26

- Dropped jshint and added xo
- Dropped JSHint and added xo
- Adjust tests for penthouse 0.8.4
- Bump dependencies
- Remove listeners on exit
@@ -200,23 +183,22 @@
- Update README.md
- use default base
- add a test for query string in file name
- fix local files query string ENOENT exception
- fix local files query string `ENOENT` exception
- fixed tests for bumped deps
- Bump dependencies
- AppVeyor file tweaks
- Actually Emit Critical Error in Stream
- cleanup
- Switched postcss-image-inliner
- Switched to postcss-image-inliner
- bump inline-critical
- AppVeyor tweaks
- cleanup
- added gc to address #82
- Added cli remote test
- Added CLI remote test
- some cleanup
- fixed phantom on missing file extension
- use loadCSS 0.1.8
- allow remote resources
- Hey, man
- Bump dependencies

# v0.6.0 / 2015-07-07
@@ -226,8 +208,8 @@
- Fixed issue from bc53420
- Update README.md
- backwards compatibility
- drop node 0.10
- simplify cli help creation
- drop Node.js 0.10
- simplify CLI help creation
- minor style tweaks
- Merged master
- Fixed tests & locked clean-css version
@@ -291,7 +273,7 @@
# v0.5.4 / 2015-02-09

- Update .travis.yml
- Use os.tmpdir() folder for temporary css
- Use `os.tmpdir()` folder for temporary css
- add `preferGlobal` prop to package.json

# v0.5.3 / 2015-01-18
@@ -305,7 +287,7 @@
# v0.5.1 / 2014-12-28

- Fixed tests
- 'inline-critical' version bump
- inline-critical version bump
- Fixed CLI Tests for Windows
- Added tests and additional CLI fixes for #52
- Fix for #52
@@ -317,7 +299,7 @@
- Fixed newline character in css to address #14
- Updated version of inline-critical to address #14
- Added bin/critical to files #49
- added cli / changed structure
- added CLI / changed structure
- Update README.md
- Remove inlined CSS rules from source stylesheets #39
- Fixed backslash in rebased paths on Windows
@@ -440,5 +422,4 @@
- Add testing rig.
- Add README.
- Initial package.
- Ignore.
- Initial commit

0 comments on commit 90c55bc

Please sign in to comment.
You can’t perform that action at this time.