Skip to content

Releases: Machy8/Macdom

3.0.0

08 Oct 12:23
Compare
Choose a tag to compare
  • Completely redesigned version
  • See docs folder for changes
  • Requires PHP >= 7.0
  • If you use Nette framework >= 2.3
  • This version is incompatible with previous versions

2.2.0

06 Aug 15:30
Compare
Choose a tag to compare
  • Fixes
    • macro selector is now replaced correctly
    • empty string in replicator is ignored
    • macros are detected properly in the replicator
  • New
    • string can be cleaned from both sides or only from left
    • is possible to add blank line on the end of the file
  • Other
    • Improved coding style
    • Renamed variables Elements, Macros, Setup, Replicator - now they start by lowercase letter

2.1.0

09 Jun 18:05
Compare
Choose a tag to compare

New Features

  • Script or css tag can by added through shortcut => script.js and style.css
  • New core macros - index-follow, no-index-follow
  • Added SKIP and SKIP-CONTENT selectors for skipping content
  • Is possible to add quick attributes via addQkAttributes()
  • Improved code connection in the replicator - by adding ‘|’ you can preserve the trailing space

Other

  • Setup - code indentation options are now ‘spaces’, ‘tabs’, ‘combined’ instead of 1-3
  • Removed n:href support
  • Improved viewport Macro
  • Improved output code style

Requirements

  • PHP >= 5.4.0
  • If you use Nette >= 2.3.0

2.0.0

30 Apr 08:17
Compare
Choose a tag to compare
  • Changed directory structure
  • Modified setup
  • Added new options for setup
  • Added new tests
  • Various bugs fixed
  • Added selector for data-attribute
  • Better support for clean php
  • Better support for no-compile areas
  • Improved work with text

1.3.0

30 Mar 12:59
Compare
Choose a tag to compare
  • Now is possible to use Macdom without Nette Framework
  • Added method for code compression
  • Various bugs fixed
  • Visual tests replaced by Nette tester tests
  • Improved coding style
  • Improved code annotations

1.2

01 Feb 11:28
Compare
Choose a tag to compare
1.2
  • Added compileContent method.
  • Now is possible to compile selected content or a whole template even if you are not using Nette Framework.

1.1

03 Dec 13:57
Compare
Choose a tag to compare
1.1

Added

ChangeLog

  • Macdom was separated on single components.
  • All classes has its own file.
  • Elements, elements settings and boolean attributes are now separated.
  • Is possible to choose which indent method you want to use.
  • Added methods for customization before compilation (is possible to add elements, macros, select indent method...).
  • Short selectors for classes are now synchronized with html class attributes.
  • Short id selector is now synchronized with html id selector.
  • Improved text connectors - text is now connected with a space according to conditions.

Fixed issues

  • Detection of no compile area - now is detected even the close tag of no compile area
  • Adding close tags before html comments, text and content from no compile area.

For more information visi WIKI