Skip to content

Releases: intersel/Blapy

Blapy Version 1.14.2

01 May 18:56
Compare
Choose a tag to compare
  • Fix on detecting if template is provided or not in the blapy block

Blapy Version 1.14.1

11 Feb 20:57
Compare
Choose a tag to compare
  • data-blapy-template-init-processdata may contain several functions to be applied on received json data

Blapy Version 1.14.0

11 Feb 20:39
Compare
Choose a tag to compare
  • the template files for json data are now loading asynchronously (use of promise/await)
  • if reused in an other blapy block, given template file is loaded only once

Blapy Version 1.13.8

11 Oct 22:17
Compare
Choose a tag to compare
  • fix on xmp detection for multi templating
  • add 'templateId' parameter in 'params' for 'postData' and 'updateBlock' events to manage template changes

Blapy Version 1.13.7

12 Jul 19:49
Compare
Choose a tag to compare
  • fix bad injection of xmp when template file contains them

Blapy Version 1.13.6

17 Jun 19:15
Compare
Choose a tag to compare
  • fix on sending blapy data according to the status of "noblapy-data"
  • update ifsm to last version
  • update examples

Blapy Version 1.13.5

26 Nov 16:52
Compare
Choose a tag to compare
    • 2019/11/26 - E.Podvin - 1.13.5
    • different log level between ifsm and blapy
    • fix in postData when console log on embeddingBLockId not set (use of aFSM instead of myFSM)
    • 2019/11/15 - E.Podvin - 1.13.4
    • add data-blapy-params property for A tag element to specify data to send to url
    • 2019/11/14 - E.Podvin - 1.13.3
    • use of event.currentTarget instead of event.target
    • use of postData for blapy-link on tag A allowing to define "method" attribute
    • 2019/11/12 - E.Podvin - 1.13.2
    • fixes for compliance with non json blapy blocks after the json dev
    • 2019/11/01 - E.Podvin - 1.13.1
    • alert when htmllBlapyBlock id is not found in embedHtmlPage
    • use of log.warn when error/warning
    • fix load of img or script by the system in setBlapyContainerJsonTemplate

Blapy Version 1.13.0 - add nested json blocks

26 Oct 18:19
Compare
Choose a tag to compare
  • add nested json blocks by escaping xmp tags that does not accept to be nested :-( see demos/demo_json_nested_blocks/
  • fix data-blapy-template-init-purejson to default to 1

Blapy Version 1.12.1 - fix on template embeded with xmp

24 Oct 10:07
Compare
Choose a tag to compare

All xmp tags were removed in a json template, which could provoked some html changes in templates that contains templates (with xmp)...

fixed

Blapy Version 1.12.0

22 Oct 12:32
Compare
Choose a tag to compare
  • add data-blapy-template-mustache-delimiterStart and data-blapy-template-mustache-delimiterEnd to be able to change mustache delimiters when rendering template
  • set eval of data-blapy-template-init-processdata function out of the catch error test for json validation

Example:

		<span
			id="fnameOptionsFirstName"
			data-blapy-container="true"
			data-blapy-container-name="fnameOptions"
			data-blapy-container-content="fnameOptionsFirstName"
			data-blapy-update="json"
			data-blapy-template-wrap='<select name="firstname" onChange="getJson();">'
			data-blapy-template-mustache-delimiterStart="<%"
			data-blapy-template-mustache-delimiterEnd="%>"
		>
		<xmp style="display:none;">
			<option value="<%firstname%>"><%firstname%></option>
		</xmp>
		</span>