Releases: adbt-lang/adbt
v2.0.0
📄 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)
v1.3.0
📄 ADBT 🪅
Specification is available in this release's README.md.
Changes
💡Actions allow you to invoke a certain function when including/importing filter list files.
Supported actions:
- trim (trims whitespace for each line from the included filter list file)
- dedupe (removes duplicates from the included filter list file)
- sort (sorts lines from the included filter list file)
- append (appends an arbitrary string to each line from the included filter list file)
- strip (strips a certain element of each line from the included filter list file)
You can read more about Actions in the official ADBT documentation.
- 📜 docs: fixed typos
v1.2.0
📄 ADBT 🪅
Specification is available in this release's README.md.
Changes
- 🪅 feat: implement the
importstatementimportstatements behave exactly the same asincludebut prepend the file path of the included filter (as a comment) - 🪅 feat: implement the
tagstatementIntroduce a tagging system; special comments that get inserted in the resulting filter file, for easier navigation, search, etc.
🌟 Inspired by AdVoid's way of navigation.
- 📜 docs: fixed typos