Skip to content

Latest commit

 

History

History
425 lines (338 loc) · 10.6 KB

CHANGELOG.md

File metadata and controls

425 lines (338 loc) · 10.6 KB

v2.0.0 / 2020-06-16

  • Drop support for Node.js < 10
  • 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, 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 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. 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.

v1.3.4 / 2018-07-19

  • 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
  • npm audit fix

v1.3.3 / 2018-06-06

  • Bump dependencies
  • Docs: fix typo (#310)
  • Reduced vulnerabilities (#308)

v1.3.2 / 2018-05-15

  • Switched to async-exit-hook

v1.3.1 / 2018-05-14

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

v1.3.0 / 2018-05-02

  • 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 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 to be passed as css option (#290)
  • Add Tests for #277

v1.1.1 / 2018-03-15

  • Bump dependencies

v1.1.0 / 2017-12-02

  • 1.1.0
  • Remove temporary files
  • Bump inline-critical
  • Fix corrupted File.contents (#191, #218)

v1.0.0 / 2017-11-06

  • 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)

v0.9.1 / 2017-09-04

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

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
  • Support for passing CSS files as Vinyl objects. (#204)

v0.8.4 / 2017-03-01

  • Better remote handling (#198)
  • Bump inline-critical

v0.8.3 / 2017-02-17

  • Fixed multi-dimension critical-path CSS

v0.8.2 / 2017-02-11

  • Bump dependencies
  • Update README.md

v0.8.1 / 2016-11-24

  • Added missing comma
  • Add tmpfile to garbage collector
  • Bump dependencies
  • Vinyl (#120)

v0.8.0 / 2016-08-30

  • Revise production-use messaging.
  • Consistent CSS capitalization in README.
  • 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)
  • Update .gitignore.
  • package.json: remove duplicate dep. (#153)
  • Remove JSHint leftovers. (#152)
  • Update README.md (#151)
  • Update appveyor.yml (#150)
  • added penthouse timeout option (#140)
  • CSS Rel Preload support (#129)

v0.7.3 / 2016-05-30

  • Bump package.json version
  • Add test for 404 case
  • Remove trailing whitespace
  • Fix silly typo
  • 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
  • Fixed import-order
  • Bump dependencies
  • Added changelog (#123)

v0.7.2 / 2016-03-17

  • Add include option (#125)

v0.7.1 / 2016-02-26

  • Dropped JSHint and added xo
  • Adjust tests for penthouse 0.8.4
  • Bump dependencies
  • Remove listeners on exit
  • Update Readme

v0.7.0 / 2015-12-22

  • bump penthouse
  • Test #79
  • some debug logs
  • trigger cleanup
  • added missing deps
  • Switch to http server for local files (#94)
  • ignore generated css
  • tests adjusted for penthouse 0.7.1
  • minor tweaks
  • Fix AppVeyor tests
  • local url for phantomjs (#94)
  • penthouse bump
  • Bump dependencies
  • Bump inline-critical
  • Update README.md
  • use default base
  • add a test for query string in file name
  • 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 to postcss-image-inliner
  • bump inline-critical
  • AppVeyor tweaks
  • cleanup
  • added gc to address #82
  • Added CLI remote test
  • some cleanup
  • fixed phantom on missing file extension
  • use loadCSS 0.1.8
  • allow remote resources
  • Bump dependencies

v0.6.0 / 2015-07-07

  • added testcase for #88
  • testcase for bc53420 issue
  • Fixed issue from bc53420
  • Update README.md
  • backwards compatibility
  • drop Node.js 0.10
  • simplify CLI help creation
  • minor style tweaks
  • Merged master
  • Fixed tests & locked clean-css version
  • Bump filter-css
  • Fixed CLI tests
  • minor package.json tweaks
  • Bump devDependencies
  • Correct expectation for adaptive
  • Updated tests for new clean-css 3.2.7
  • some cleanup
  • Bump dependencies
  • Update README.md
  • Don't encode entities
  • Removed parallel testcase
  • Add 'ignore' option
  • Deprecated some things
  • deprecated htmltarget & styletarget for CLI and introduced --inline
  • Added pathPrefix support for CLI
  • normalize newlines
  • added test for pathPrefix option
  • allows pathPrefix to be set through options. Updates README
  • Added stream wrapper

v0.5.7 / 2015-04-12

  • AppVeyor tweaks
  • Automated Windows tests using AppVeyor
  • Fixed tests on Windows
  • Added some badges
  • Bump dependencies
  • cleancss syntax change
  • modified tests to use new cleancss output

v0.5.6 / 2015-03-16

  • catch cancellation
  • Fix callbacks on error

v0.5.5 / 2015-03-03

  • Fixed CLI error codes
  • renaming
  • Added jshint
  • Added tests for #63 & #64
  • Bump dependencies
  • up dimensions used in tests, update expected result files
  • fix typo
  • up dimensions used for generate in index.js
  • up dimensions used in README examples
  • Fix multi test
  • bump dependency
  • fix #67
  • Add support for multi-dimension critical css.
  • improve file structure
  • readme tweaks
  • fix .gitignore
  • codestyle
  • Bump dependencies
  • updated tests for penthouse 0.3.0

v0.5.4 / 2015-02-09

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

v0.5.3 / 2015-01-18

  • Bump dependencies

v0.5.2 / 2015-01-12

  • #56 Locked penthouse version

v0.5.1 / 2014-12-28

  • Fixed tests
  • inline-critical version bump
  • Fixed CLI Tests for Windows
  • Added tests and additional CLI fixes for #52
  • Fix for #52

v0.5.0 / 2014-11-28

  • inline critical version bump
  • Increased mocha timeout
  • 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
  • Update README.md
  • Remove inlined CSS rules from source stylesheets #39
  • Fixed backslash in rebased paths on Windows
  • fixed fa77c44
  • Return critical css even if unlinking of the temporary file fails
  • Ignores external stylesheets

v0.4.0 / 2014-10-04

  • Add build tasks
  • Update UUID dep
  • Changed inlineImages default to false
  • Fixed tests for #35

v0.3.1 / 2014-09-16

  • Fixed parallel calls mentioned in #34

v0.3.0 / 2014-09-09

  • Update fixtures to account for dep. bump
  • Bump dependencies

v0.2.0 / 2014-08-30

  • fixed implementation in #30
  • Skipped max size for inlined images
  • Added image inlining to generate
  • removed dynamic test file
  • Adds a maxImageFileSize for inlined images and rebases relative css resource paths

v0.1.6 / 2014-07-30

  • Update to Penthouse 0.2.5 to addr raised issues
  • change penthouse test to critical css test
  • some code formatting
  • Fixed tests
  • fixed fixtures
  • changed test size to only include header nav
  • prevent catching callback test errors
  • Format code
  • Make CSS files/path configurable
  • CSS Images fix
  • Add more demo projects.
  • Add demo projects.
  • Move viewport settings up.
  • Improve formatting of first example.

v0.1.5 / 2014-07-16

  • Improve the Critical / Penthouse section
  • Readme corrections
  • Add contributing guide
  • Readme revisions
  • Add mention of criticalCSS module.
  • More edits
  • Infra revisions
  • Add note about unit tests.
  • Add better comments to inline-styles.
  • Tweaks to readme.
  • Minor revisions.

v0.1.4 / 2014-07-11

  • Add note about sample project
  • Strap update
  • improve tests
  • Tweak to readme.
  • Update README.md
  • fix all the things
  • Attempt to fix builds
  • README.md: break long lines.
  • Lint fixes.
  • Whitespace normalization
  • package.json: Add missing properties.

v0.1.3 / 2014-07-04

  • Add support for generateInline

v0.1.2 / 2014-07-04

  • Address path issues post-integration testing

v0.1.1 / 2014-07-04

  • Add missing file to package
  • Update to latest Oust, API
  • Add syntax highlighting to code blocks

v0.1.0 / 2014-06-30

  • Consistency of example order
  • Add minification for inline styles
  • Fix some style, cb issues
  • Revisions for minification
  • Add support for minification
  • Add options to readme
  • Fixes #9 - adds defaults for w/h
  • Add note about FAQs, license
  • Expand on joined paths
  • Move reads
  • Improve test descriptions
  • Improve callbacks, add more tests
  • Fixes #2, passes errors
  • Path joins for #6, test > fixture for #10, other fixes
  • Fixes #4 - drop log statements
  • Fixes #5 - switch to readFile/writeFile only
  • Fixes #7 - throw if src/base not specified
  • Should fix #1 - only write to disk if dest specified
  • Switch to integers
  • Readme revisions

v0.0.1 / 2014-06-28

  • API revisions, readme updates, cleanup
  • Various fixes
  • Add implementation.
  • Add tests.
  • Add testing rig.
  • Add README.
  • Initial package.
  • Initial commit