Skip to content

Commit

Permalink
Invalidate serialized engines with ENGINE_VERSION bump (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
remusao committed Feb 6, 2019
1 parent 43ccc50 commit 0f2887f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

*not released yet*

## 0.6.7

*2019-02-06*

* [bug] Invalidate serialized engines with ENGINE_VERSION bump [#99](https://github.com/cliqz-oss/adblocker/pull/99)

## 0.6.6

*2019-02-04*
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ const {

To publish a new version:

0. Bump `ENGINE_VERSION` in `engine.ts` (to invalidate serialized versions)
1. Create a new branch (e.g.: `release-x.y.z`)
2. Update `version` in [package.json](./package.json)
3. Update [CHANGELOG.md](./CHANGELOG.md)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cliqz/adblocker",
"version": "0.6.6",
"version": "0.6.7",
"description": "Cliqz adblocker library",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/engine/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import NetworkFilterBucket from './bucket/network';

import { createStylesheet } from '../content/injection';

export const ENGINE_VERSION = 19;
export const ENGINE_VERSION = 20;

// Polyfill for `btoa`
function btoaPolyfill(buffer: string): string {
Expand Down

0 comments on commit 0f2887f

Please sign in to comment.