Skip to content

Releases: phppkg/easytpl

v1.2.2

25 Jun 11:22
7de6e66
Compare
Choose a tag to compare

Change Log

  • up: Update php.yml for enable ci on PR eb117f9

What's Changed

  • 使用自定义编译器时, 继承PregCompiler类重写parseCodeBlock方法,需要父类中的变量 by @iamxcd in #4

New Contributors

  • @iamxcd made their first contribution in #4

Full Changelog: v1.2.1...v1.2.2

v1.2.1

20 Apr 05:10
Compare
Choose a tag to compare

Change Log

Refactor

  • refactor: update the simple template logic, support filters 030a5bd

Update

  • up: udpate some for easy tpl create method and other logic fde8adc

Other

  • ci: update the gh release script 5f81a12
  • ci: add ci tests on php 8.2 d450b43
  • ci: remove ci test on php 8.0 4a30091
  • chore: update the ci config for run tests 7d57cd5

v1.2.0

11 Jan 05:23
Compare
Choose a tag to compare

Change Log

Feature

  • 9f84ba6 feat: new support extends, block renderer tempalte
  • 385d887 feat: easy template support layout rendering

Refactor

  • 79e2771 refactor: update the simple template render logic and add tests
  • 7b4da5d refactor: refactor and update template structure and logic
  • 3a85651 refactor: update the template interface methods

Update

  • b259b42 up: move abstract class to the Concern dir
  • a3adea0 up: auto add var prefix support const
  • b3cb0ff up: compiler support unwrap php tag for custom directive

Other

  • 9efc93f pref: prepare some match pattern before parse
  • 6acef6d pref: enhance the block and directive token match
  • 8c2beea enhance: support find tpl file relative the parent file
  • f4415b3 test: update some tests and readme docs
  • 65d69ae test: update some unit test case

v1.1.2

29 Dec 05:02
Compare
Choose a tag to compare

Change Log

Feature

  • b4bfc01 feat: auto append var prefix: $ like {{var_name}}

Fixed

  • cec4a8e fix: parse error on '-' in array subkey. eg: {{ .pkg-name }}

Other

  • 52d3f93 ci: update the release action script

v1.1.0

09 Dec 08:29
Compare
Choose a tag to compare

Change Log

  • up: update some method sign for compiler class 1002991
  • up: update dep version 91b7457

v1.0.4

29 Nov 13:48
Compare
Choose a tag to compare

Change Log

  • fix: clear comments fail on has sepcial chars a5a0cb4

v1.0.3

16 Nov 12:30
Compare
Choose a tag to compare

Change Log

  • fix: compile filter string params not add quotes 5615bee

v1.0.2

15 Nov 14:22
Compare
Choose a tag to compare

Change Log

Feature

  • feat: support add comments in template 89a4a8f

Update

  • add an jekyll doc theme 9009e64
  • up: update some comments, add more tests 1718227
  • up: update readme add docsfiy config 67c3eb7
  • update readme 0713b3f
  • update: add more tests and update readme 3aac8e1

Fixed

  • doc: fix readme format error ba9b48b

Other

  • prof: always auto find tpl file on render file 08d2be6
  • style: update readme b0a5789
  • doc: update readme exampels a80b408
  • doc: add more doc on readme dc9dcf6

v1.0.1

11 Nov 10:40
Compare
Choose a tag to compare

Change Log

Fixed

  • fix: not register built in filters on init text template 2966299
  • fix: fix readme example code error 2a13513

Other

  • prof: only compile on cached tmp file not exists e631751
  • style: update readme 9b5bc88
  • style: update readme example 846abf9

v1.0.0

11 Nov 06:19
Compare
Choose a tag to compare

Change Log

Update

Other

  • Initial commit dd4bc85
  • chore: init project e788709
  • style: update readme 8567547
  • chore: add zh-CN readme, update readme 95420b7
  • chore: update some comments, update readme 7719966