Skip to content

Changelog

Version 7

7.0.3

  • #217 fix: correct exported types
  • #216 7.0.2 typing inaccuracies
  • #214 feat: 🎸 add types from DT

7.0.2

  • #215 chore: add typings from DT

7.0.1

  • #213 chore: bump hoek

7.0.0

  • #211 Support node v18 and hapi v21, drop node v12 and hapi v18/19

Version 6

6.1.0

  • #205 Bring back old async support PR
  • #202 upgrade lab to v24
  • #201 update handlebars dependency
  • #177 Async support

6.0.1

6.0.0

  • #192 Change plugin name to @hapi/vision
  • #191 Drop hapi 17
  • #190 Only node 12

Version 5

5.5.4

5.5.3

5.5.2

  • #182 Override package name

5.5.1

5.5.0

  • #180 Change module namespace
  • #165 Log errors instead of console.warn()

5.4.4

5.4.3

  • #169 Use new requirements config

5.4.2

5.4.1

5.3.4

5.3.3

5.3.1

  • #115 request.render does not pass the request to the context function

5.3.0

  • #135 Pass manager options at registration time

5.2.0

  • #133 Update API to hapi v17
  • #132 Load partials and helpers before compile if isCached is false
  • #130 Update docs, tests, and examples to hapi v17
  • #110 Vision never reloads/recompiles partials

5.0.1

5.0.0

Version 4

4.1.1

4.1.0

  • #82 Promises
  • #81 Pass request to global context function when available
  • #80 Register rendering helpers programmatically
  • #79 Report errors when loading helpers
  • #73 Send helper parsing error to user
  • #68 Register Helpers programmatically
  • #59 Global context with request argument

4.0.1

  • #67 Issue with underscore partials and vision

4.0.0

  • #66 ES6 style changes and node v4.
  • #65 Update plugin attributes.
  • #63 Add new attributes: connections: false, once: true

Version 3

3.0.0

  • #40 request.render(). Closes #39
  • #39 Add request.render() support
  • #37 Engine initialization.
  • #33 Make compilation errors available to extensions.
  • #30 Style cleanup.
  • #28 Fix lint errors.
  • #10 Verify template and layout files exist in handler

Version 2

2.0.1

  • #25 Update dependencies.
  • #24 Ensure _loaderHelpers registers actual filenames
  • #22 Helpful path location checked

2.0.0

  • #19 Jagoda feat multiple paths
  • #18 Hapi8
  • #15 Support multiple paths.
  • #9 Multiple paths for views
  • #8 Rename config basePath to relativeTo
  • #5 Replace all of the backslashes in partial names to correctly name deeply nested partials.

Version 1

1.2.2

  • #17 Fix crash when no global context is supplied, no handler context is supplied, and a layout template is being used
  • #16 404 gives error

1.2.1

  • #14 Global context performs deep merge which can produce unexpected results
  • #13 Context is cloned every render() even when there is no global context
  • #12 Schema allows setting global context per engine but not used
  • #11 context should always be cloned shallowly

1.2.0

  • #7 Clean up code styling.
  • #6 Support for global view context
  • #4 Global View Context

1.1.0

  • #3 Allow appending default handler context

1.0.3

  • #2 Update Tests

Deploys by Netlify