Skip to content

Releases: adbt-lang/adbt

v2.0.0

30 Aug 23:41
3ba4b94
Compare
Choose a tag to compare

📄 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 a meta statement,

  • a header statement cannot appear after an include/import statement,

  • a meta statement cannot appear after an include/import statement,

  • no statements can appear after an export 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)

v1.3.0

24 Aug 23:55
aaf7f76
Compare
Choose a tag to compare

📄 ADBT 🪅

Specification is available in this release's README.md.


Changes

  • 🪅 feat: add support for statement actions, currently available for:

💡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

20 Aug 16:32
07ef0ba
Compare
Choose a tag to compare

📄 ADBT 🪅

Specification is available in this release's README.md.


Changes

  • 🪅 feat: implement the import statement

    import statements behave exactly the same as include but prepend the file path of the included filter (as a comment)

  • 🪅 feat: implement the tag statement

    Introduce 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

v1.1.0

19 Aug 17:34
749024e
Compare
Choose a tag to compare

📄 ADBT 🪅

Specification is available in this release's README.md.


Changes

  • 🪅 feat: added support for Expires meta variable
  • ✅ fix: ignore whitespace as a candidate for unreachable code
  • 📜 docs: added Paths section
  • 📜 docs: fixed typos
  • 📜 docs: removed redundant information for ADBT extension for VS Code

v1.0.1

02 Aug 23:18
9aed0e6
Compare
Choose a tag to compare

📄 ADBT 🪅

Specification is available in this release's README.md.


Changes

  • 📜 docs: added missing export statement
  • 📜 docs: added unreachable code explanation
  • 📜 docs: added 1 export per template explanation
  • 📜 docs: fixed headings
  • 📜 docs: added samples

v1.0.0

31 Jul 19:55
Compare
Choose a tag to compare

📄 ADBT 🪅

Specification is available in this release's README.md.


🚀 Initial release 🎉