Skip to content

Releases: hmpl-language/hmpl

3.2.1

29 Nov 12:42

Choose a tag to compare

Combining types into one:

type HMPLTemplateFunctionOptions = HMPLIdentificationRequestInit[] | HMPLRequestInit | HMPLRequestInitFunction;

And also speeding up the code execution

3.2.0

12 Nov 16:57

Choose a tag to compare

One of the most anticipated and complex versions, adding a link between the request status and the value of the tag attribute.

<div class="{{requestStatus}} class1">Text</div>
{{#request
  src="/api/getHTML"
  bind="{{requestStatus}}"
}}{{/request}}

result:

<div class="hmpl-status-requestStatus-200 class1">Text</div>

This functionality will allow you to create more complex and comprehensive interfaces without directly using indicators.

List of changes in this version:

  • Adding the bind property
  • Correcting syntax errors
  • Adding {{name}} values ​​to attributes

3.1.0

23 Oct 19:23

Choose a tag to compare

This new version features a long-awaited code update. We've improved the security of server responses and made routine work easier.

List of changes in this version:

  • For the get function, instead of 4 arguments, we made a props object, which is convenient to work with.
  • Updated DOMPurify from 3.2.4 to 3.2.7
  • Adding the sanitizeConfig property

3.0.5

09 Sep 19:37
1b268fb

Choose a tag to compare

Update package.json

3.0.4

23 Jul 09:42
fe8a608

Choose a tag to compare

Update package.json

3.0.3

20 May 20:06
87b5c62

Choose a tag to compare

Update README.md

3.0.2

12 May 20:20

Choose a tag to compare

fix

3.0.1

27 Apr 14:46
58474f2

Choose a tag to compare

Update package.json

3.0.0

20 Apr 00:57

Choose a tag to compare

fix

2.2.6

08 Mar 22:03
ede594a

Choose a tag to compare

Update package.json