Skip to content

Releases: jsreport/jsreport-core

2.10.1

07 Sep 21:11
Compare
Choose a tag to compare
  • update winston to 2.4.5 to fix node 14 compatibility

2.10.0

07 Sep 16:17
Compare
Choose a tag to compare
  • update script-manager to fix some issues when executing template engine and scripts
  • add a way to share data between multiple requests using req.context.shared

2.9.0

16 Jul 22:54
Compare
Choose a tag to compare
  • add reporter.folders.resolveEntityFromPath
  • add reporter.folders.getEntitiesInFolder
  • validate entity name can not be dots
  • add entity _id duplicate validation
  • support adding metadata about entity properties which contains references to other entities (referenceTo metadata in entity type)
  • add methods for working with entity types reporter.documentStore.getEntityType, reporter.documentStore.getComplexType, reporter.documentStore.resolvePropertyDefinition
  • add methods for working with entity references reporter.documentStore.findLinkedEntitiesForReference, reporter.documentStore.existsReference, reporter.documentStore.updateReference
  • fix to entities copy in repoter.folders.move
  • repoter.folders.move now supports folder copy, copy of only children of source folder, and updating references of target folder as options
  • add reporter.documentStore.checkDuplicatedId as a general method to check if a specific id is duplicated in the store

2.8.1

18 May 22:51
Compare
Choose a tag to compare
  • update mkdirp to fix npm audit

2.8.0

18 May 22:23
Compare
Choose a tag to compare
  • add support for async helpers jsreport/jsreport#698
  • add exportable field metadata to entity set types
  • improve the executeScript api contract when option callbackModulePath is used (new api handles logging automatically and also works with promises)
  • expose reporter.documentStore.resolveFileExtension as the general way to get file extension of entity properties
  • better authorization checks for settings entity set when using the http api

2.7.2

02 Mar 22:16
Compare
Choose a tag to compare
  • set an explicit default for templatingEngines.timeout
  • add depracation warn for templatingEngines.timeout and also warn when templatingEngines.timeout and reportTimeout are both set
  • add log for used reportTimeout option
  • use default rootDirectory passed from jsreport repo
  • update script-manager@0.10.1 to fix issue that mutates passed options

2.7.1

25 Feb 17:42
Compare
Choose a tag to compare
  • the timeout per request (req.options.timeout) is disabled by default, it can be enabled by using options.enableRequestReportTimeout

2.7.0

21 Feb 20:24
Compare
Choose a tag to compare
  • add reporter.encryption api to crypt and decrypt sensitive values
  • rename collection.convertBase64ToBufferInEntity -> collection.serializeProperties, collection.convertBufferToBase64InEntity -> collection.deserializeProperties
  • fix json schema for Edm.DateTimeOffset to correct sanitize value to Date instance
  • sandbox: restoreProperties now decontextify top level properties on the context
  • initialize data during Request object creation
  • fix duplicate store results when sorting by a date field (update mingo -> @jsreport/mingo)
  • blobStorage fs: add some checks to blobName to prevent some security issues
  • fix memory leak: reaper interval is not cleaned after reporter.close
  • add general timeout option “reportTimeout
  • concat child request logs to parent request also for failed renders
  • add store transactions api
  • fix not adding default fields on upsert
  • add documentStore.close for providers to attach close connection logic
  • don’t run folders migration when fs-store is used (it does not need it because it already normalize its in-memory documents with the filesystem)
  • fix entities validation of reserved names was not case insensitive
  • add support for single timeout per request as req.options.timeout

2.6.2

09 Oct 18:01
Compare
Choose a tag to compare
  • update script-manager@0.9.1 to fix issue with http-server workers on recycle

2.6.1

29 Aug 19:28
Compare
Choose a tag to compare