Skip to content

v0.12.0

Compare
Choose a tag to compare
@remusao remusao released this 24 Jul 17:32
· 4571 commits to master since this release
635037d
  • speed-up building and unify configurations #212
    • switch typescript config into composite mode to allow faster re-builds and references between projects
    • store all build artifacts in dist instead of splitting them into dist + build
    • only emit es6 modules with TypeScript and produce everything else with rollup (cjs + minimized UMD)
    • only provide one minimized bundle: UMD
    • remove browser key from package.json (not needed as code is cross-platform)
    • add command to watch for changes
  • add ElectronBlocker abstraction to perform adblocking in Electron #180
  • allow the 'not' pseudoclass in cosmetic filters #184
  • switch from tldts to tldts-experimental package #183
    • add bootstrap to root package.json
    • switch from tldts to tldts-experimental (faster, smaller bundles)
    • switch internal commands from npm to yarn
    • remove redundant lint during CI
  • change structure of the cliqz/adblocker project into a monorepo #181
    • embrace lerna and yarn workspaces as a way to manage multiple packages
    • adopt conventional commits as a way to structure contributions
    • create few single-purpose packages:
      • @cliqz/adblocker (contains most building blocks)
      • @cliqz/adblocker-circumvention (standalone counter measures for IL)
      • @cliqz/adblocker-webextension (WebExtension wrapper)
      • @cliqz/adblocker-webextension-cosmetics (WebExtension cosmetics support)
      • @cliqz/adblocker-puppeteer (Puppeteer wrapper)
      • @cliqz/adblocker-electron (Electron wrapper)
    • create a few demonstration projects for documentation purposes:
      • @cliqz/adblocker-webextension-example
      • @cliqz/adblocker-puppeteer-example
      • @cliqz/adblocker-electron-example
    • migrate content blockers benchmark into @cliqz/adblocker-benchmarks
    • add licenser.js linter to enforce consistency in licenses and copyright notices
    • add lerna-lint.js linter to enforce consistency between all sub-packages