- Create the
HMPLTemplateFunctionOptionstype - Speeding up code execution
- Adding the
bindproperty - Correcting syntax errors
- Adding
{{name}}values to attributes
- For the
getfunction, instead of 4 arguments, we made a props object, which is convenient to work with. - Updated DOMPurify from
3.2.4to3.2.7 - Adding the
sanitizeConfigproperty
- Updating README.md
- Updating package.json
- Updating README.md
- Adding
{{#indicators}}block - Changing the error text
- Updating README.md
- Adding support for HTTP methods
OPTIONSandTRACE
- Updating README.md
- Changed syntax to
{{#request}} - Added interval for sending requests
- Changed error handling
- Bug fixes
- Updating README.md
- Integration with DOMPurify, which will increase the security of using the module by preventing XSS attacks. To enable, the
sanitizeproperty was added - Adding the
disallowedTagsproperty - Correction of text errors
- Updating README.md
- Updating package.json
- Major rework of error handling in the code
- Bug fixes
- Returning a comment when a request fails
- Adding the
allowedContentTypesproperty - Fixing
rejectedstatus - Improving security
- Adding more error messages, reworking old ones
- Bug fix
- Fix loading multiple nodes from server
- Integration with JSON5. Now, objects can be written in HTML just like in vanilla js
- A bug with additional nodes has been fixed when you do not specify the request object in the element
- The
.runtimefile has been updated - Comments have been added to the file hmpl.js
- Update package data
- Fixing error
- Update package data
- Standardization of errors
- Fixing a headers error in RequestInit
- Adding auto generation for
bodyinHMPLRequestInit - String parsing has been reworked
- Adding context
- Added memoization functionality.
- Replaced
isRepeatablewithrepeat. - Fixed bug: replaced a reply to a
Commentwhen the default response is not fulfilled (200-299). - Added an options object to the
compilefunction.
- Replaced
modewith boolean variableisRepeatable. - Updated mode handling in the request:
- Introduced validation for
req.modeto allow only "one" or "all" values. - Added a check to ensure
req.isRepeatableis defined and is a boolean value. - Defaulted
req.isRepeatabletotrueif not specified, withmodeAttrset to "all" for repeatable requests and "one" otherwise.
- Introduced validation for
- Clarified
MODEerror message regardingAFTER.
- Updated version from
2.1.0to2.1.1. - Updated URL from
https://github.com/hmpljs/hmpltohttps://github.com/hmpl-lang/hmpl.
- Removed the period from the
hmplheader description.
- Updated
Readme.mdfile.
- Updated
hmpl-jsscript tag to specify version2.0.0.
- Updated
Readme.mdfile.
- Changed
afterattribute in<request>fromclick:.getHTMLtoclick:.getTitle. - Modified
templateFnusage to directly appendelementObj.responsetobodyEl.
- Changed from
HMPLResponsetoHMPLInstance. - Changed from
HMPLResponsetoHMPLInstanceintemplateObject.
- Changed from
HMPLResponsetoHMPLTemplateObject.
- Updated version from
1.0.5to1.0.6.
- Updated version from
1.0.4to1.0.5.
- Updated
Readme.mdfile.
- Updated
hmpl-jsscript tag version from1.0.2to1.0.3. - Changed
wrapper.appendChild(value)towrapper.appendChild(value.content.firstElementChild). - Updated installation instructions to reference
hmpl-jsversion1.0.3. - Updated version from
1.0.2to1.0.3.
- Updated
hmpl-jsscript tag version from1.0.1to1.0.2. - Updated installation instructions to reference
hmpl-jsversion1.0.2. - Changed condition from checking
if (!optionsId)toif (optionsId).
- Updated installation instructions to reference
hmpl-jsversion1.0.1. - Updated version from
1.0.0to1.0.1.