jsreport extension embedding static assets like fonts or helpers into the templates
See https://jsreport.net/learn/assets
- internal changes to support new
response.output
api
- update @jsreport/office
- fix
jsreport.config.json
requires metadata for v4
- minimum node.js version is now
18.15.0
- update studio build against new webpack and babel
- fix resolving assets as links
- add support for specifying what are the main document properties of assets entitySet
- errors from asset logic should be weak
- validate that passed asset path is string
- asset not found is marked as weak error
- fix {#asset} resolving when there is leading/trailing space in asset name
- changes to enable new
trustUserCode
option - changes to enable caching of system helpers
- make asset editor component's code active display configurable
- fix asset link click from xlsx template preview
- update to improve the display of templates with xlsx in studio
fix studio usage of old property scope
, new one: sharedHelpersScope
- use relative path to the currently evaluated entity (for example relative asset inside script should be relative to the script)
Initial release for jsreport v3 New templating engine helpers introduced
{{#asset pathOrName}}
jsreport proxy extended with additional functions
const jsreport = require('jsreport-proxy')
jsreport.assets.read(path)
jsreport.assets.require(path)
jsreport.assets.registerHelpers(path)