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

Good 4.0.0 Release Notes #241

Closed
arb opened this issue Nov 4, 2014 · 0 comments
Closed

Good 4.0.0 Release Notes #241

arb opened this issue Nov 4, 2014 · 0 comments

Comments

@arb
Copy link
Contributor

@arb arb commented Nov 4, 2014

Summary

Some miscellaneous cleanup. Biggest changes is that there are no more "built-in" reporter objects. If you want the console and file reporters, you will need to install "good-console" and "good-file". Also, the signature interface for reporter objects changed slightly. See here for more details.

  • Upgrade Time: low - half a day
  • Complexity: low - In general, you'll only have to change the options passed into good
  • Dependencies: medium - all of the hapijs reporters have been updated to support the new reporter signature, so you should update all of them. However, the previous versions should continue to work.

Breaking Changes

  • Removed Good.GoodConsole
  • Removed Good.GoodFile
  • Updated to use version 3 of good-reporter. The biggest change here is that the events you want this subscriber to listen for are passed as a separate object and not as part of options.
  • There are no more default event for reporters. You MUST pass an events argument into the constructors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.