Skip to content

Changelog

Version 7

7.1.0

  • #169 feat: import DT types

7.0.1

  • #167 chore: bump hoek

7.0.0

  • #164 Support node v18 and hapi v21, drop node v12 and hapi v19

Version 6

6.0.5

  • #162 fix: return 404 for ENOTDIR

6.0.4

  • #160 Disallow serving absolute paths from directory handler

6.0.3

  • #152 migrate to new travis format
  • #151 Cleanup & update lru-cache
  • #150 Fix travis to test hapi v20 and on node v14
  • #149 upgrade to hapi 20

6.0.2

  • #148 update lab and switch joi to validate
  • #144 Update LICENSE.md
  • #142 Correct default value for etagsCacheMaxSize

6.0.1

  • #140 Change plugin name to @hapi/inert
  • #139 Require hapi 19
  • #138 Update deps for hapi v19

6.0.0

Version 5

5.2.3

5.2.2

  • #130 Update joi
  • #124 Directory listing has broken links

5.2.1

5.2.0

  • #126 Change module namespace

5.1.3

  • #125 Directory routes doesn't work with relative files.relativeTo
  • #119 Directory listing has broken links, missing a slash between file and directory

5.1.2

  • #122 Use new requirements config

5.1.1

5.1.0

  • #111 Add failing path to errors

5.0.1

  • #103 Rethrow developer errors

5.0.0

  • #102 Update deps
  • #100 5.0.0 Release Notes
  • #99 Move etagsCacheMaxSize to server option
  • #97 Internal rewrite to async / await

Version 4

4.2.1

  • #93 Limit "node" tests to only try configured hapi release

4.2.0

  • #87 Add start end option to file handler

4.1.0

  • #71 Add lookupMap option

4.0.4

  • #79 Manually extract last param name from path

4.0.3

  • #76 Update deps

4.0.2

  • #70 Errors on old hapi releases

4.0.1

  • #68 Update code to v3
  • #67 The hapi response.ranges option is not respected
  • #63 Test on node v6

4.0.0

  • #62 4.0.0 Release Notes
  • #60 Hapijs directory route not being scrapped by facebook behind cloudfront
  • #59 remove hoek.isAbsolutePath for path.isAbsolute
  • #56 Clarify bad path for directory handler message
  • #53 Update lru-cache
  • #51 Update dependencies. Update codebase to ES6/Node4
  • #49 ES6 style changes and node v4
  • #47 Add confine option that confines file responses

Version 3

3.2.0

  • #30 Add new etaging options
  • #29 New ETag generation method

3.1.0

  • #44 Test using hapi@10.x
  • #43 Add new attributes: connections: false, once: true

3.0.2

  • #42 Avoid re-opening files when serving from a directory

3.0.1

  • #36 Respect the new connection compression option
  • #32 Move hapi security tests here

3.0.0

  • #35 Move config to plugin options from hapi server. Closes #34
  • #34 Move etags caching config to plugin options

Version 2

2.1.6

  • #28 Never store ETags computed on partial data
  • #27 ETag generation can miss data

2.1.5

  • #26 Misc. Closes #25

2.1.4

  • #23 Upgrade to joi 6.0

2.1.3

  • #22 Add io.js support
  • #21 Return 404 for path string with a null byte

2.1.2

  • #19 Fix directory handler regressions in 2.1.1

2.1.1

  • #18 Replace 404 response with 403 and 500 when appropriate

2.1.0

  • #17 Handle Range requests explicitly
  • #10 more flexible 'index' option for directory handler

2.0.0

  • #16 Fix option parsing to match hapi documentation
  • #14 Use .single() option for directory settings schema
  • #12 Don't allow files in hidden directories to be served
  • #9 Fix tests on windows
  • #8 Use open file descriptors to retain file between prepare and marshal phases
  • #7 Invalid ETag for lookupCompressed responses
  • #4 Potentially incorrect file responses when file is changed

Version 1

1.1.1

  • #15 Don't allow files in hidden directories to be served
  • #13 Don't allow files in hidden directories to be served (backported)

1.1.0

  • #3 Move lru-cache over from hapi

Deploys by Netlify