Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fast-glob to the latest version 🚀 #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jun 16, 2019

The dependency fast-glob was updated from 2.2.7 to 3.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for 3.0.0

🌮 Thanks

📑 Summary

This release aims to fix architectural issues, increase performance and reduce size of package.

💣 Breaking changes

Since this is a major release, we are introducing a few breaking changes:

  • Support for the fast-glob@2 is ending.
  • Require Node.js 8+. But we recommend using 10.10+ for performance issues.
  • Only forward-slashes in glob expression. Previously, we convert all slashes to the forward-slashes, which did not allow the use of escaping. See pattern syntax section in the README.md file.
  • Removed options: nobrace, noglobstar, noext, nocase, transform.
  • Renamed options:
  • The deep option now accepts only number type and default value now is Infinity instead of true.
  • The async method was removed. Use fg(/* … */) instead.
  • The type of returned object when the stats option is enabled is completely changed.

🐛 Bug fixes

  • After update from micromatch@3 to micromatch@4:
    • Incorrect matching with curly braces and globstar (#159).
    • Inaccurate comparison within a regular expression (#123, #138).
    • A very long initialization time of filters (#92).
  • Now we do not convert slashes in the patterns (#173).
  • Previously, the baseNameMatch option never worked (#199).

🚀 Improvements

💬 Common

  • Package size after installation is decreased: 2.47MB0.42MB.
  • Package require time decreased: 534ms78ms.

🌪 Speed

Wow! The new version is very fast. At least twice as fast as the previous version. Probably this is the fastest solution in the Node.js world. And that's not all! We will work on performance issues in the future 🐢.

  • Speed up between versions for directory with 265k entries: 5x (19s → 4s).
  • Speed up between versions for directory with 4kk entries: 4x (4m → 1m).

Look at the benchmarks section in the README.md file.

⚙️ Flexibility

Also in this release we have worked on simplifying some scenarios.

Now, thanks to the new mechanism, you can get the type of entry without additional costs! Works only on Node.js 10.10+. Look at the objectMode option.

🤕 Known issues in this update

Commits

The new version differs by 114 commits ahead by 114, behind by 6.

  • 03201ed fix(settings): set the concurrency option to count of CPUs
  • d777111 build(package): drop unused dependencies
  • e62d2d1 build(package): bump version to 3.0.0
  • caeeda9 Merge pull request #203 from mrmlnc/ISSUE-155_update_documentation
  • 27ae4b2 docs(settings): update description of options
  • 1f853bc docs(readme): update documentation
  • 0ba6dc0 refactor(benchmark): update suites
  • c1d686c refactor(index): export some userful types
  • d64c24f build(benchmark): add suite for stream API
  • 40a1096 Merge pull request #202 from mrmlnc/ISSUE-181_async_method_as_default_method
  • ccde25e refactor: set async method as default method
  • 87ed886 Merge pull request #201 from mrmlnc/issue-199_match_base_fix
  • 68133f8 fix: the baseNameMatch option now work
  • f4c443a refactor: matchBasebaseNameMatch
  • c58ba78 test(smoke): add some smoke tests

There are 114 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Jun 17, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 17, 2019

  • The dependency fast-glob was updated from 2.2.7 to 3.0.1.

Update to this version instead 🚀

Release Notes for 3.0.1

💬 Common

Commits

The new version differs by 5 commits.

  • 106bd9f build(package): bump version to 3.0.1
  • c2a038a docs(README): fix typo
  • 17377c1 docs(README): add some missed links to options
  • c01dad2 Merge pull request #206 from zkochan/patch-2
  • 66a4a29 fix: don't export types from deps

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 23, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 23, 2019

  • The dependency fast-glob was updated from 2.2.7 to 3.0.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 27, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 27, 2019

  • The dependency fast-glob was updated from 2.2.7 to 3.0.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jul 5, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 5, 2019

  • The dependency fast-glob was updated from 2.2.7 to 3.0.4.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 6, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 6, 2019

  • The dependency fast-glob was updated from 2.2.7 to 3.1.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 1, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 1, 2019

  • The dependency fast-glob was updated from 2.2.7 to 3.1.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 15, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 15, 2020

  • The dependency fast-glob was updated from 2.2.7 to 3.2.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 20, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 20, 2020

  • The dependency fast-glob was updated from 2.2.7 to 3.2.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 21, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 21, 2020

  • The dependency fast-glob was updated from 2.2.7 to 3.2.2.

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants