Skip to content

Releases: edge-js/edge

Expose API to hook into renderer instance

05 Sep 08:25

Choose a tag to compare

The Edge.onRender method will allow to hook into the renderer instance and maybe share local variables before any template gets rendered.

edge.onRender((renderer) => {
  renderer.share({  key: value })
})

Commits

  • feat: add support to hook into edge renderer instance 2de6d6a
  • chore: update dependencies bd00b98

v5.4.0...v5.5.0

Share state with Edge output processor

05 Sep 05:04

Choose a tag to compare

Commits

  • feat: share state with processor output callback 635ca02
  • chore: update dependencies 7294929
  • chore: update dependencies 513a853
  • docs(README): update sponsors list and remove individual assets 3caf8ad
  • docs(README): add sponsors to the repo 109f741
  • chore: update dependencies 5d976bf

Full Changelog: v5.3.7...v5.4.0

Update dependencies

01 Jul 03:56

Choose a tag to compare

  • chore: update dependencies 13ae6dd

v5.3.6...v5.3.7

Do not cache partials since they share local state with parent template

18 May 09:58

Choose a tag to compare

  • fix: do not cache partials since they share local state with the parent template ad2ceab
  • chore: update dependencies 56784f6

Full Changelog: v5.3.5...v5.3.6

Update parser

22 Apr 04:19

Choose a tag to compare

  • chore: update dependencies d629331

v5.3.4...v5.3.5

Update dependencies

08 Apr 06:59

Choose a tag to compare

  • chore: update dependencies 7b6628a

v5.3.3...v5.3.4

Update dependencies

27 Feb 07:03

Choose a tag to compare

  • refactor: reorganize meta config 5961ad5
  • chore: update dependencies c7e3dd3
  • docs: ✏️ update standalone usage in README (#105) c575a79
  • test: fix assertion to work with latest and old node versions 8ec5323

New Contributors

Full Changelog: v5.3.2...v5.3.3

Fix XSS vulnerability reported by Snyk security team

09 Sep 03:54

Choose a tag to compare

  • fix: Cross-Site Scripting vulnerability reported by Snyk security team fa2c7fd
  • chore: update dependencies 8f53d43

v5.3.1...v5.3.2

update dependencies

19 Jul 13:40

Choose a tag to compare

  • chore: update dependencies 5c1b306
  • chore(deps): bump glob-parent from 5.1.1 to 5.1.2 (#96) 739aabb
  • chore(deps): bump trim-newlines from 3.0.0 to 3.0.1 (#95) 2e6b0ef
  • chore(deps): bump normalize-url from 4.5.0 to 4.5.1 (#94) 401d70c
  • chore: update dependencies 438aef3

v5.3.0...v5.3.1

Components now allow passing spread and identifier expressions as props

14 Jul 09:06

Choose a tag to compare

The following syntax will work like a charm

@component('button', {
  ...someObject
})
@component('button', someObject)
  • fix: remove unused import b24a9f0
  • chore: update dependencies c66e9bd
  • feat: add support for spread operator and identifier in component data param e431e60

v5.2.2...v5.3.0