From b1638cb1b30e868a347304a8bfa58b297a308196 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 09:14:53 +0000 Subject: [PATCH] chore: release @monetizationos/proxy --- .changeset/range-replacement-fixes.md | 10 ---------- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- src/apiRequestHeaders.ts | 2 +- 4 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 .changeset/range-replacement-fixes.md diff --git a/.changeset/range-replacement-fixes.md b/.changeset/range-replacement-fixes.md deleted file mode 100644 index 444e6cae..00000000 --- a/.changeset/range-replacement-fixes.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@monetizationos/proxy": patch ---- - -Range replacement fixes: - -- Uses less CPU on pages with many void elements (`img`, `br`, `meta`, ...). Output is unchanged. -- A range container with no end tag (`img`, or a self-closing SVG element such as ``) is left as it is instead of failing the whole page transform. -- A range starts at the first start marker, so a start marker nested inside it no longer inserts the replacement a second time. -- A range applies to the outermost matching container. A container nested inside another one is part of the outer container's cut. diff --git a/CHANGELOG.md b/CHANGELOG.md index ea927e55..dfa0d13e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # @monetizationos/proxy +## 1.8.1 + +### Patch Changes + +- [#42](https://github.com/MonetizationOS/mos-proxy/pull/42) [`6d1d24f`](https://github.com/MonetizationOS/mos-proxy/commit/6d1d24fc4a40df2f3b5e437bea38330fce0461db) Thanks [@benney](https://github.com/benney)! - Range replacement fixes: + + - Uses less CPU on pages with many void elements (`img`, `br`, `meta`, ...). Output is unchanged. + - A range container with no end tag (`img`, or a self-closing SVG element such as ``) is left as it is instead of failing the whole page transform. + - A range starts at the first start marker, so a start marker nested inside it no longer inserts the replacement a second time. + - A range applies to the outermost matching container. A container nested inside another one is part of the outer container's cut. + ## 1.8.0 ### Minor Changes diff --git a/package.json b/package.json index 0b6e5928..097b6096 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@monetizationos/proxy", - "version": "1.8.0", + "version": "1.8.1", "description": "Platform-agnostic MonetizationOS proxy core", "license": "MIT", "type": "module", diff --git a/src/apiRequestHeaders.ts b/src/apiRequestHeaders.ts index 3053edba..f5d9473d 100644 --- a/src/apiRequestHeaders.ts +++ b/src/apiRequestHeaders.ts @@ -2,7 +2,7 @@ import { formatClientRuntimeHeader } from './clientRuntime' export const MOS_PROXY_VERSION_HEADER = 'X-MOS-Proxy-Version' export const MOS_PROXY_CLIENT_HEADER = 'X-MOS-Proxy-Client' -export const MOS_PROXY_PACKAGE_VERSION = '1.8.0' +export const MOS_PROXY_PACKAGE_VERSION = '1.8.1' export const setMosProxyHeaders = (headers: Headers): void => { headers.set(MOS_PROXY_VERSION_HEADER, MOS_PROXY_PACKAGE_VERSION)