Skip to content

Latest commit

 

History

History
216 lines (118 loc) · 4.88 KB

CHANGELOG.md

File metadata and controls

216 lines (118 loc) · 4.88 KB

AGLint Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.0.10 - 2024-09-04

Added

  • no-excluded-rules linter rule #214.

2.0.9 - 2024-04-25

Fixed

  • Validation for $permissions modifier #206.

Changed

2.0.8 - 2024-01-09

Fixed

  • Absolute paths in the CLI #184.

2.0.6 - 2023-11-07

Added

  • Support of !#else preprocessor directive #185.

Changed

2.0.5 - 2023-09-07

Changed

2.0.4 - 2023-08-30

Changed

  • Override config.extends's presets by the user config.
  • Updated @adguard/agtree to v1.1.4.

2.0.3 - 2023-08-29

Added

  • Config syntax handling during aglint init.
  • no-short-rules linter rule.
  • Validation of modifier values due to value_format.

Changed

2.0.1 - 2023-08-14

Changed

  • Make syntax property in the config required.
  • Updated @adguard/agtree to v1.1.2.

2.0.0 - 2023-08-11

Added

  • Basic rule modifiers validation.
  • invalid-modifiers linter rule.

Changed

1.0.11 - 2023-04-21

Added

  • aglint init command to create a default config file.
  • Config finder logic.
  • Extendable configs.

Changed

  • Config files are now required to run the linter.
  • Locations are handled in linter rules.

1.0.10 - 2023-03-30

Added

  • Logical expression parser.
  • Dedicated filter list parser.
  • Support for uBO media queries #10.

Changed

  • Parser refactoring.
  • Some small code improvements.
  • Added location information to all nodes.
  • Changed AST structure to be more consistent.

Removed

  • Temporary removed adg-scriptlet-quotes linter rule.

1.0.9 - 2023-03-02

Added

  • unknown-preprocessor-directives linter rule.
  • inconsistent-hint-platforms linter rule.
  • invalid-domain-list linter rule.
  • unknown-hints-and-platforms linter rule.
  • duplicated-hints linter rule.
  • duplicated-hint-platforms linter rule.
  • exception property to modifier list parser.

Changed

  • Detailed error messages when linter config parsing fails.
  • Migrate from CSSTree to ECSSTree in order to fully support Extended CSS selectors parsing.
  • Changed license to MIT.

Fixed

  • Network rule separator finder sometimes found the wrong separator.

1.0.8 - 2023-02-13

Changed

  • Improved console reporter, shows linter rule name when reporting problems.
  • Detailed error messages when CSS parsing fails.

1.0.7 - 2023-02-10

Fixed

  • CLI exit code is now 1 if there are any linter errors.

1.0.6 - 2023-02-06

Added

  • Export Linter CLI to public API.

1.0.5 - 2023-01-30

Added

  • Initial version of the linter and CLI.
  • Initial version of the adblock rule parser.