Releases: webrecorder/wabac.js
Releases · webrecorder/wabac.js
wabac.js 2.15.2
What's Changed
- rules: add additional rewriting rules for facebook/instagram by @ikreymer in #106
- loading: fix surt check to use regex and check if any URL matches SUR… by @ikreymer in #107
- Update to wombat 3.4.4, fixes for loading google docs (webrecorder/archiveweb.page#138)
Full Changelog: v2.15.0...v2.15.2
wabac.js 2.15.0
Changes Summary
- Improved
import "https://example.com/path.js"
rewriting, including relative paths, better detection of modules, etc.. - Fixes Vimeo rewriting rules
- Improved support for multiple set-cookie headers, try to keep cookies in same order in document.cookie
- Automated type detection of WACZ and WARC (compressed and uncompressed)
- Fixes for Zimit use case
What's Changed
- Rewriting: Improved ESM + Vimeo Rewriting by @ikreymer in #101
- cookies: better support for multiple cookies in set-cookie header, se… by @ikreymer in #102
- type detection for wacz, warc, compressed warc if no extension by @ikreymer in #103
- build(deps): bump json5 from 2.2.1 to 2.2.3 by @dependabot in #99
- Fix loading incorrect root, remove prefix: (fix for kiwix zimit) by @ikreymer in #104
Full Changelog: v2.14.1...v2.15.0
v2.14.1
2.14.0
What's Changed
rewriting improvements:
- fix typo in rewrite order params, pass opts last
- handle rewriting of external esm modules:
- rewrite <script type="module" src="..."> with special 'esm_' modifier
- if esm_ modifier, don't treat as ajax, but apply module rewriting
- add tests for module rewriting with esm_, update existing tests to use mp_ modifier to match current usage
- Set
scriptRW
back to empty string when unable to determine script type by @oott123 in #96
indexing fixes:
- skip index for WARC records that have OPTIONS or HEAD methods, both when reading existing cdxj and generating cdxj from WARC records (part of fix for webrecorder/archiveweb.page#124)
ds rules:
- expand instagram rule to disable DASH (fix for webrecorder/archiveweb.page#125)
- fix twitter video rule to more accurately match json block
- tests: add test for #335 (clearing script rewrite mode)
dependencies:
- switch to http-link-header for link header parsing (smaller lib)
- update to latest parse5 (ts based), remove checking raw text, use large buffer instead
- update to warcio 2.0.1 (ts based), includes fixes for indexing certain WARCs
- update to wombat 3.4.2, includes additional overrides for .style, location rewrite fixes
- fix copyright version in banner message to use current year
- reduce overall build sw.js size by ~40k
New Contributors
Full Changelog: 2.13.15...2.14.0
wabac.js 2.13.15
- bug fix release from 2.13.14: bump dependencies for warcio.js, wombat.js, auto-js-ipfs, peculiar cert packages
- reduce file size by using one version of pako.js
- start using GitHub releases, add automated releases to NPM when this release is published!