Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ All notable changes to kage are recorded here. The format follows

## [Unreleased]

### Fixed

- `go install github.com/tamnd/kage/cmd/kage@latest` works again ([#72](https://github.com/tamnd/kage/issues/72)).
The module no longer carries a `replace` directive for `github.com/ysmood/leakless`.
Headless Chrome is driven with [chromedp](https://github.com/chromedp/chromedp), so the antivirus-flagged leakless helper is not linked at all (also keeping [#68](https://github.com/tamnd/kage/issues/68) fixed without a replace).

### Changed

- Page renders no longer apply [go-rod-stealth](https://github.com/go-rod/stealth)'s anti-detection evasions, which the chromedp migration does not carry over.
Chrome still launches with automation flags off, but pages now see headless Chrome's default user agent on renders (asset and robots fetches still use `--user-agent`).
Sites with aggressive bot detection may serve a clone different content than before.
- `--settle` is now a fixed wait after page load instead of a network-idle watch: chromedp has no equivalent of go-rod's request-idle helper.
A page that keeps fetching past the settle window may be snapshotted slightly earlier than before.

## [0.3.9] - 2026-07-08

### Fixed
Expand All @@ -14,6 +28,7 @@ All notable changes to kage are recorded here. The format follows
go-rod's launcher imports [leakless](https://github.com/ysmood/leakless), which base64/gzip-embeds a prebuilt helper for every platform and links the Windows one into `kage.exe`.
kage already launches Chrome with leakless disabled, so the helper never ran, only added the flagged bytes.
A `replace` directive now points the package at an API-compatible stub under `third_party/leakless` that carries no embedded binary, dropping about 1.28 MB from the Windows build.
*(Superseded in Unreleased by the chromedp migration, which removes leakless entirely and restores `go install`.)*

## [0.3.6] - 2026-06-19

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ The repo is split by concern:
cmd/kage/ thin main: pins the main thread, then hands off to cli.Execute
cli/ the cobra command tree and flag wiring
clone/ the crawl: frontier, render workers, asset workers, resume state
browser/ headless Chrome control and DOM snapshotting
browser/ headless Chrome control (chromedp) and DOM snapshotting
sanitize/ strip scripts, handlers, and javascript: URLs from the DOM
asset/ download and localise CSS, images, and fonts
urlx/ the deterministic URL-to-path mapping
Expand Down
7 changes: 0 additions & 7 deletions browser/leakless.go

This file was deleted.

Loading
Loading