📄 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
header
statement cannot appear after aninclude
/import
statement, -
a
meta
statement cannot appear after aninclude
/import
statement, -
no statements
can appear after anexport
statement.Will
throw
when 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
meta
statement and support for inline meta (#68)💡 Has highest priority when setting metadata.
-
🪅 feat: always amend the
Expires
field of the metadata of the compiled filter file (#66) -
🪅 feat: always add
Entries
field 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)