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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mocha to the latest version 馃殌 #1655

Closed
wants to merge 1 commit into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Oct 3, 2017

Version 4.0.0 of mocha just got published.

Dependency mocha
Current Version 3.5.3
Type devDependency

The version 4.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of mocha.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v4.0.0

4.0.0 / 2017-10-02

You might want to read this before filing a new bug! 馃槤

馃挜 Breaking Changes

For more info, please read this article.

Compatibility

  • #3016: Drop support for unmaintained versions of Node.js (@boneskull):
    • 0.10.x
    • 0.11.x
    • 0.12.x
    • iojs (any)
    • 5.x.x
  • #2979: Drop support for non-ES5-compliant browsers (@boneskull):
    • IE7
    • IE8
    • PhantomJS 1.x
  • #2615: Drop Bower support; old versions (3.x, etc.) will remain available (@ScottFreeCode, @boneskull)

Default Behavior

  • #2879: By default, Mocha will no longer force the process to exit once all tests complete. This means any test code (or code under test) which would normally prevent node from exiting will do so when run in Mocha. Supply the --exit flag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)

Reporter Output

馃憥 Deprecations

  • #2493: The --compilers command-line option is now soft-deprecated and will emit a warning on STDERR. Read this for more info and workarounds (@ScottFreeCode, @boneskull)

馃帀 Enhancements

  • #2628: Allow override of default test suite name in XUnit reporter (@ngeor)

馃摉 Documentation

馃敥 Other

Commits

The new version differs by 48 commits.

  • d69bf14 Release v4.0.0
  • 171b9f9 pfix "prepublishOnly" potential portability problem
  • 60e39d9 Update link to wiki (GitHub at the leading --)
  • 804f9d5 Update link because GitHub ate the leading --
  • 3326c23 update CHANGELOG for v4.0.0 [ci skip]
  • 6dd9252 add link to wiki on --compilers deprecation
  • 96318e1 Deprecate --compilers
  • 92beda9 drop bower support
  • 58a4c6a remove unused .npmignore
  • 7af6611 kill Date#toISOString shim
  • 43501a2 reduce noise about slow tests; make a few tests faster, etc.
  • fa228e9 update --exit / --no-exit integration test for new default behavior
  • 3fdd3ff Switch default from forced exit to no-exit
  • c5d69e0 add integration tests for --exit/--no-exit
  • 3a7f8dc enhance runMochaJSON() helper by returning the subprocess instance

There are 48 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 馃尨

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

greenkeeper bot commented Oct 6, 2017

Version 4.0.1 just got published.

Update to this version instead 馃殌

Release Notes v4.0.1

4.0.1 / 2017-10-05

馃悰 Fixes

Commits

The new version differs by 6 commits.

  • eb8bf8d Release v4.0.1
  • 3b485ea update CHANGELOG.md for v4.0.1 [ci skip]
  • 96e5c1a upgrade eslint to v4.8.0
  • d7cff37 Update growl to 1.10.3
  • 0cdd921 remove preversion script; test on publish; closes #2999
  • f49c0ce Fix changelog issues/pr URLs (#3047)

See the full diff

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

greenkeeper bot commented Dec 29, 2017

Version 4.1.0 just got published.

Update to this version instead 馃殌

Release Notes v4.1.0

4.1.0 / 2017-12-28

This is mainly a "housekeeping" release.

Welcome @Bamieh and @xxczaki to the team!

馃悰: Fixes

  • #2661: progress reporter now accepts reporter options (@canoztokmak)
  • #3142: xit in bdd interface now properly returns its Test object (@Bamieh)
  • #3075: Diffs now computed eagerly to avoid misinformation when reported (@abrady0)
  • #2745: --help will now help you even if you have a mocha.opts (@Zarel)

馃帀 Enhancements

  • #2514: The --no-diff flag will completely disable diff output (@CapacitorSet)
  • #3058: All "setters" in Mocha's API are now also "getters" if called without arguments (@makepanic)

馃摉 Documentation

馃敥 Other

Commits

The new version differs by 409 commits.

  • 6b9ddc6 Release v4.1.0
  • 3c4b116 update CHANGELOG for v4.1.0
  • 5be22b2 options.reporterOptions are used for progress reporter
  • ea96b18 add .fossaignore [ci skip]
  • adc67fd Revert "[ImgBot] optimizes images (#3175)"
  • ae3712c [ImgBot] optimizes images (#3175)
  • 33db6b1 Use x64 node on appveyor
  • 4a6e095 Run appveyor tests on x64 platform. Might enable sharp installation
  • 3abed9b Lint netlify-headers script
  • 119543e Add preconnect for doubleclick domain that google analytics results in contacting
  • bd5109e Remove crossorigin='anonymous' from preconnect hints. Only needed for fonts, xhr and es module loads
  • 123ee4f Handle the case where all avatars are already loaded at the time when the script exexecutes
  • 64deadc Specific value for inlining htmlimages to guarantee logo is inlined
  • 8f1ded4 https urls where possible
  • d5a5125 Be explicit about styling of screenshot images

There are 250 commits in total.

See the full diff

@ricardograca
Copy link
Member

ricardograca commented Jan 5, 2018

This is on hold until #1696 is merged in, since mocha 4.x requires node 4 or newer.

However, the following must be observed when dealing with this upgraded dependency:

@ricardograca ricardograca added this to To Do in Version 0.13.0 via automation Jan 9, 2018
Version 0.13.0 automation moved this from To Do to Done Jan 9, 2018
@ricardograca ricardograca moved this from Done to Invalid in Version 0.13.0 Jan 9, 2018
@greenkeeper greenkeeper bot deleted the greenkeeper/mocha-4.0.0 branch January 10, 2018 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Version 0.13.0
  
Invalid
Development

Successfully merging this pull request may close these issues.

None yet

1 participant