Skip to content

Commit 06ea0c4

Browse files
1.8.0
1 parent 8fe502d commit 06ea0c4

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

js/.changeset/pin-image-mode-contract.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

js/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @link-assistant/web-capture
22

3+
## 1.8.0
4+
5+
### Minor Changes
6+
7+
- 09f83f3: Pin the default image-mode contract and route every capture path through a single image-handling chokepoint (`applyImageMode`), so the same flag behaves identically regardless of capture method (browser vs API, CLI vs server) — issue #112. Default `--format markdown` now references images by their direct remote URL (no `images/` folder, no inline base64); inline base64 (which has no remote URL to restore) is stripped to a visible placeholder with a warning instead of being silently kept as a multi-megabyte blob. `--embed-images` keeps base64 inline for a self-contained file. The new `--extract-images[=DIR]` flag extracts inline base64 **and** downloads remote images into `DIR/images/`, rewriting the markdown to reference the local files; on download failure the original remote URL is restored so references never break. `--keep-original-links` remains a back-compat alias for the default behavior.
8+
39
## 1.7.27
410

511
### Patch Changes

js/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@link-assistant/web-capture",
3-
"version": "1.7.27",
3+
"version": "1.8.0",
44
"description": "CLI and microservice to render web pages as HTML, Markdown, or PNG",
55
"main": "src/index.js",
66
"bin": {

0 commit comments

Comments
 (0)