Skip to content

Changelog

Version 9

9.0.1

  • #163 chore: bump hoek

9.0.0

  • #162 Support for hapi v21, node v18, ESM tests

Version 8

8.0.1

  • #153 upgrade lab to v24
  • #150 update dependencies
  • #149 migrate to new travis format
  • #147 upgrade to use the latest lab and joi to validate

8.0.0

  • #144 Drop hapi v17 and v18
  • #143 Change plugin name to @hapi/crubm
  • #142 Only node 12

Version 7

7.3.2

  • #135 Update joi
  • #131 validate crumb when autoGenerate is false and crumb not defined on route

7.3.1

7.3.0

  • #129 Change module namespace

7.1.1

7.1.0

  • #112 adds logUnauthorized option - addresses #56
  • #111 Remove new Buffer usage
  • #103 Add an option to specify the CSRF header name
  • #56 Provide more relevant feedback

7.0.0

  • #107 Update contact details/maintainer
  • #106 Upgrade Crumb to Hapi 17
  • #105 hapi v17 support
  • #101 Enable Crumb for specific routes only
  • #99 Add sentence to README about how to disable the plugin for a particular route.
  • #98 Make both examples runnable with a package.json and proper dependencies
  • #97 Example won't launch: Server.views is not a function
  • #93 Documentation Improvement

Version 6

6.0.3

  • #91 Cors origin
  • #90 Generate function never called when Vision route has CORS enabled
  • #89 Generate is running a second time and 500-ing hapi
  • #87 remove arrow function to fix context
  • #54 Getting 403 forbidden because token has changed

6.0.2

  • #84 #80: fixes crumb route settings bug
  • #82 Test on node v6, update dependencies
  • #80 6.0.1 update breaks route-restful option

6.0.1

  • #79 Fixes #74 -- restful configured through routes is not superceded by global config
  • #78 Purpose readme contribution
  • #69 Update restful example to respond with JSON. Closes #64

6.0.0

  • #70 Hapi12
  • #68 Heroku disallows host binding but Crumb requires it
  • #67 ES6 style changes and node v4
  • #61 Ignore CORS

Version 5

5.0.0

  • #63 Update 9
  • #58 update to hapi 9/10
  • #51 crumb request.plugins.crumb: undefined

Version 4

4.04

  • #53 correct linting issues
  • #52 Updated joi to 6.x.x

4.0.3

  • #49 Return error during plugin registration for invalid options.

4.0.2

  • #46 fix internals.originParser + tests to add protocol in all origin/allowOrigins values

4.0.1

  • #34 Host header cannot include URI scheme

4.0.0

  • #37 hapi8. Closes #35. internals bug. Closes #33
  • #35 hapi 8.0 API
  • #33 Don't use internals for plugin state

Version 1

1.1.2

  • #11 Support hapi 3.0

Deploys by Netlify