Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Releases: x1unix/karkas

Karkas 4.1.0

25 Aug 16:07
Compare
Choose a tag to compare

API

  • Add compile method to View
  • Add view method to Karkas to create unregistered templates

DOM

  • Add data-k-on-compile hook
  • Make data-view optional (element's innerHTML will be used as source if attribute is undefined)

Fixes

  • Allow usage of multiple pipes on the same expression

Etc

  • Cover compiler with unit tests

Karkas 4.0.0

24 Jul 01:04
Compare
Choose a tag to compare

Changelog

  • Migrate to TypeScript from ES5
  • Add TypeScript definitions
  • Disable usage of template name as filter name (use template filter instead)
  • Autodetect environment (browser or node) on module require
  • Update docs

Karkas 3.0.0

07 Aug 00:33
Compare
Choose a tag to compare

Changelog

  • Migrate to CommonJS module system
  • Divide library to compiler and DOM features
  • Allow usage on NodeJS (compiler only)
  • Refactor components API
  • Deprecated compile-to-element feature
  • karkas.View now receive only text as template content
  • karkas.import now imports content to single template.
  • Added npm package
  • Performance improvements

Migration

This version is not compatible with old v2.x release.

Karkas 2.4.7

17 May 21:41
Compare
Choose a tag to compare

Changelog

  • karkas.View now can use also String in viewElement as template source.
  • Fixed type error bug in karkas.refresh() when elements list was null.
  • Template URL can be imported using callback (optional to Promise)
  • Template renderer refactoring
  • Filter arguments parser refactoring
  • Native legacy browsers support (IE 9)
  • Added array filter.

Karkas 2.4.4

30 Mar 12:44
Compare
Choose a tag to compare

Changelog

  • Refactoring of expression parser
  • Added logical expressions parser
  • parseAsObject is deprecated.

Karkas 2.4.3

29 Mar 21:49
Compare
Choose a tag to compare
Karkas 2.4.3 Pre-release
Pre-release

Changelog

  • Added template cache
  • Added template autoremove from DOM (optional)
  • Added more configuration parameters
  • Rename findAll method to refresh
  • Add hard and soft refresh of templates list
  • Do not refresh already loaded templates (soft refresh)
  • Move karkasView class to karkas.View
  • Autorun Karkas only after DOMContentLoad event
  • Code refactoring

Karkas 2.4.2

09 Mar 06:35
Compare
Choose a tag to compare

Changelog

  • Fixed strings parsing issue

Karkas 2.4.1

27 Feb 16:11
Compare
Choose a tag to compare

Changelog

  • Changed filters parsing engine
  • Improved error processing
  • Added string and math filters

Karkas 2.4.0

26 Feb 22:52
Compare
Choose a tag to compare

Changelog

  • Added value filters
  • Added feature of embedded templates inside another
  • Removed support of deprecated template tag
  • Added autorun parameter to Karkas config
  • Bugfixes and code optimization

Karkas 2.1.7

18 Feb 11:46
Compare
Choose a tag to compare

Changelog

  • Configurable output of undefined object properties
  • Undefined properties can be replaced by empty string