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

Upgrade dependencies to support hapi 19 #173

Merged
merged 9 commits into from
Apr 5, 2020
Merged

Commits on Mar 28, 2020

  1. Upgrade hapi to v19

    This upgrade required two main changes:
    
    1. There is no longer a way to query the strategies registered with the
    server. The previous behavior was to warn that a strategy was not
    registered, then continue creating the route without the specified auth
    options. With this change, the route options will be added as long as
    they are specified. If the auth strategy is not registered, then an
    error will be thrown when registering the route. This seems to be inline
    with README.
    
    2. Hapi 19 no longer allows uncompiled top-level validation schemas
    unless a validator is configured with the server. In previous versions,
    Joi was used by default. To address this, after the validators are
    created for a path/operation, any top-level object that is not already a
    Joi schema is wrapped in Joi.object().
    Tim Burch committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    4ec4fe3 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2020

  1. Upgrade joi/enjoi

    Upgrade enjoi to latest and joi to latest that is supported by enjoi.
    Additional work needs to be done once enjoi supports @hapi/joi >= 16.
    Tim Burch committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    9a4121c View commit details
    Browse the repository at this point in the history
  2. Upgrade hoek to 9.0.4

    Tim Burch committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    a76ae47 View commit details
    Browse the repository at this point in the history
  3. Upgrade swagger-parser to 9.0.1

    Tim Burch committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    0666ac0 View commit details
    Browse the repository at this point in the history
  4. Upgrade boom to 9.1.0

    Tim Burch committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    0390d95 View commit details
    Browse the repository at this point in the history
  5. Upgrade nyc

    This upgrade addresses a vulnerability found by npm audit
    Tim Burch committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    932357e View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Downgrade @hapi/joi to v14

    This aligns @hapi/joi with the peer dependency requirement for enjoi.
    Tim Burch committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    a5b462e View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. Update package.json to reflect node >= 12 requirement

    Hapi v19 requires node >= 12. This change will make that more apparent
    to consumers.
    Tim Burch committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c6b6397 View commit details
    Browse the repository at this point in the history
  2. Remove node 8 & 10 from travis

    Tim Burch committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    ed9eab2 View commit details
    Browse the repository at this point in the history