📄 ADBT 🪅
Specification is available in this release's README.md.
Changes
- 🪅 feat [BREAKING]: enforce order of statements (#60)
💡 Keeps track of order of statements (nodes) in the input template and enforces rules, thus keeping the integrity and validity of the exported Adblock filter file.
The following rules are enforced:
-
a
headerstatement cannot appear after aninclude/importstatement, -
a
metastatement cannot appear after aninclude/importstatement, -
no statementscan appear after anexportstatement.Will
throwwhen order is not correct. -
🪅 feat: add info logging method (#86)
-
🪅 feat: log presence of inline meta (#84)
-
🪅 feat: validate statements, catch edge-cases (#82)
-
🪅 feat: detect and warn when no header/metadata is present (#80)
-
🪅 feat: evaluate statements eagerly (#74)
-
🪅 feat: reorganize order of nodes detection by usage/order of statements (#72)
-
🪅 feat: add
metastatement and support for inline meta (#68)💡 Has highest priority when setting metadata.
-
🪅 feat: always amend the
Expiresfield of the metadata of the compiled filter file (#66) -
🪅 feat: always add
Entriesfield to the metadata of the compiled filter file (#64) -
🪅 feat: make all user input paths universal, i.e. allow all OS' to use a forward slash ("
/") as the path separator (#62)🌟 Via uPath
-
🪅 feat: detect unsupported identifiers/code (#58)