Releases: jsreport/jsreport-core
Releases · jsreport/jsreport-core
2.10.1
2.10.0
2.9.0
- 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
2.8.0
- add support for async helpers jsreport/jsreport#698
- add
exportable
field metadata to entity set types - improve the
executeScript
api contract when optioncallbackModulePath
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
- 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
2.7.0
- 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
2.6.1
- update vm2 to latest to fix moment issue jsreport/jsreport#617