Latest Updates

During the last week we’ve closed 5 issues, merged 22 pull requests and pushed 30 commits to master branch.

Merged pull requests

See all
  • #3717

    Prefer user added encoding over built-in

  • #3713

    Correct server state configuration option

  • #3709

    Fix typo in API.md

  • #3705

    fix request.log example

  • #3689

    Include method name in error

Closed issues

See all
  • #3726

    How to read cookie which is already set in browser using hapi.js

  • #3695

    SyntaxError in Hapi/lib/server.js

  • #3572

    Remove support for multiple connection in a single server

  • #3327

    prefix all routes

  • #2958

    Official TypeScript d.ts support

Changelog

17.2.0

  • #3715  Basic concurrent load queue
  • #3714  Update hapijs/heavy to 6.1.0 from 6.0.0
    • hapijs/heavy
    • #23  Allow unknown config keys
  • #3712  Missing return in dispatch()
  • #3711  Cache stop() errors are not handled
  • #3708  Errors in "onPostStart" ext leave listener active forever
  • #3702  Fix server method registered as object without options

17.1.1

  • #3688  Hapi v17.0.2 cors origin

17.1.0

  • #3691  Route rules
  • #3689  Include method name in error
  • #3125  Allow decoration overrides with parent access support

17.0.2

  • #3686  Log errors thrown in custom response close method
  • #3679  [enhancement] https accept-encoding header brotli for chrome
  • #3675  Optimize accept-encoding for the most common headers
  • #3674  Update hapijs/cryptiles to 4.1.1 from 4.1.0
    • hapijs/cryptiles
    • #33  fix(fixedTimeComparison): use Buffer.from

17.0.1

  • #3668  Bypass authorization when authentication bypassed

17.0.0release notes

  • #3665  Rename route 'config' with 'options'
  • #3663  Loosen sample and modify peer validator in the routeBase schema
  • #3662  prerequisite returning empty string yields null on the pre object of request
  • #3658  17.0.0 Release Notes
  • #3657  Update hapijs/vise to 3.0.0 from 2.0.2
  • #3656  Update hapijs/topo to 3.0.0 from 2.0.2
    • hapijs/topo
    • #28  Node 8
  • #3655  Update hapijs/podium to 3.1.2 from 1.3.0
    • hapijs/podium
    • #34  Only remove once handler if actually called
    • #33  Do not modify criteria objects
  • #3653  Update hapijs/nigel to 3.0.0 from 2.0.2
    • hapijs/nigel
    • #11  Node 8
  • #3652  Update hapijs/mimos to 4.0.0 from 3.0.3
    • hapijs/mimos
    • #20  node 8
  • #3651  Update jshttp/mime-db to 1.31.0 from 1.29.0
  • #3650  Update hueniverse/iron to 5.0.4 from 4.0.5
  • #3649  Update hapijs/hoek to 5.0.2 from 4.2.0
    • hapijs/hoek
    • #221  Update deps
    • #220  Throw instances of AssertionError on asserts
  • #3648  Update hapijs/cryptiles to 4.1.0 from 3.1.2
    • hapijs/cryptiles
    • #32  Add fixedTimeComparison()
  • #3647  Update hapijs/content to 4.0.3 from 3.0.6
    • hapijs/content
    • #4  Throw directly from header processing
  • #3646  Update hapijs/catbox-memory to 3.1.1 from 2.0.4
  • #3645  Update hapijs/catbox to 10.0.2 from 7.1.5
    • hapijs/catbox
    • #194  Add bounce protection
  • #3644  Update hapijs/call to 5.0.1 from 4.0.2
    • hapijs/call
    • #34  Update boom
  • #3643  Update hapijs/boom to 7.1.1 from 5.2.0
    • hapijs/boom
    • #173  Support instanceof
  • #3642  Update hapijs/b64 to 4.0.0 from 3.0.2
    • hapijs/b64
    • #18  Node 8
  • #3641  Update hapijs/ammo to 3.0.0 from 2.0.4
    • hapijs/ammo
    • #17  Node 8
  • #3640  Update hapijs/accept to 3.0.2 from 2.1.4
    • hapijs/accept
    • #22  Update boom
  • #3639  Update hapijs/statehood to 6.0.5 from 5.0.3
  • #3638  Update hapijs/shot to 4.0.3 from 3.4.2
    • hapijs/shot
    • #90  Update joi
  • #3637  Update hapijs/heavy to 6.0.0 from 4.0.4
    • hapijs/heavy
    • #22  Throw in check()
  • #3636  Update hapijs/wreck to 14.0.2 from 13.0.3
    • hapijs/wreck
    • #208  Fix new Boom
  • #3635  Expose payload and credentials to dynamic scopes
  • #3634  onCredentials ext point
  • #3633  Separate authorization (403) from authentication (401)
  • #3632  Add negative test on registering plugin twice without `once`
  • #3631  When event data is an error, field name is error
  • #3630  Replace events 'internal` bool with 'channel' property
  • #3629  Remove request.getLog() method
  • #3628  Combine all request events into single event
  • #3627  Remove server argument from 'route' event
  • #3626  Update hapijs/subtext to 6.0.7 from 6.0.3
    • hapijs/subtext
    • #56  Cleaner throw
  • #3625  Update hapijs/pez to 4.0.1 from 2.1.5
    • hapijs/pez
    • #19  Update deps
  • #3624  Send 400 bad request on parse error
  • #3621  Remove certain passThrough headers
  • #3618  Replace plugin interface to object
  • #3616  Change validation errors
  • #3615  Normalize server methods to always return plain value
  • #3614  Remove envelope from server.table()
  • #3613  Combine server.handler() with server.decorate()
  • #3612  Remove mode support from server.auth.strategy()
  • #3609  Update hapijs/joi to 13.0.1 from 11.1.0
    • hapijs/joi
    • #1334  Impossible to disable language.key in options
  • #3607  Normalize failAction across the entire framework
  • #3605  Remove source argument from validation failAction method
  • #3604  request.auth.strategy is not documented
  • #3602  exclude connection header in response passThrough
  • #3599  Provide a way to flush compression stream on demand
  • #3598  Implement wildcardIgnoresOrigin CORS option
  • #3597  Rename reply interface to toolkit
  • #3596  Move request.id to request.info.id
  • #3595  Explicit Context
  • #3594  Support compression minimum length
  • #3592  Change reply interface from function to object
  • #3591  Normalize lifecycle
  • #3590  Remove HTML escaping of joi errors
  • #3589  Move request and server events to `events` getter
  • #3583  Reduce request internal logging
  • #3580  Remove server methods string handlers shortcut
  • #3579  v17 rc 4
  • #3574  Move all server events to server.events
  • #3573  Remove domains
  • #3572  Remove support for multiple connection in a single server
  • #3571  Drop support for request tails
  • #3567  response validate options for 'modify' and 'sample' is too strict
  • #3509  Return 413 when payload is too big
  • #3434  Validate params rules against path params
  • #3423  CDN friendly CORS: remove "Vary: Origin" for wildcard CORS origins
  • #3334  Handle multiple parallel registrations
  • #3297  Pass plugin's server rather than root server to route config function
  • #3152  reply.code(value) ignored when payload is empty and emptyStatusCode is set
  • #3150  server.method doesn't resolve promise with cache options
  • #3066  Allow access to parent realm

16.6.2

  • #3586  Remove per-response events emitter validation

16.6.1

  • #3585  Update hapijs/joi to 11.1.0 from 10.6.0
    • hapijs/joi
    • #1315  Add promise-like API to validate. Fixes #1314.
    • #1314  Support promises on `validate()`
    • #1291  Add string.normalize for unicode normalization
    • #1289  Feature request: Unicode normalization
  • #3582  Support joi 11 paths arrays. Fixes #3581.

16.6.0

  • #3570  Update hapijs/content to 3.0.6 from 3.0.5
  • #3560  fix response.message(httpMessage)
  • #3506  Add json escape option

16.5.2

  • #3561  Aborted responses return 200 code in inject
Show all