Skip to content

chore: release @monetizationos/proxy - #47

Merged
benney merged 1 commit into
mainfrom
changeset-release/main
Nov 6, 2026
Merged

benney merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@monetizationos/proxy@1.9.0

Minor Changes

  • #43 f440059 Thanks @benney! - Range replacement cuts the range with one callback instead of one per element when the start and end markers are direct children of the container. Other pages are cut element by element as before. RewriterElement now requires removeAndKeepContent, which lol-html and HTMLRewriter elements already implement. A page with a range is now buffered before it is rewritten, and HTML comments inside the cut range are removed with it.

  • #45 74e9663 Thanks @benney! - More pages use the one-callback range cut. Content other components insert inside the range is removed with it, whatever the component order, and a marker removed by another component still marks where the range starts or ends. A container holding raw text, such as textarea or script, is left alone, and only the outermost of nested containers is cut. Selector lists, several range components in one decision, and other content on the range component all use the one-callback path. Selector lists also apply per part when cutting element by element. A start marker nested inside its container now uses the one-callback path too, when its range is the only one in the decision.

Copilot AI balanced review requested due to automatic review settings November 6, 2026 12:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The required removeAndKeepContent() method breaks existing consumer adapters at type-checking or runtime, so releasing it as 1.9.0 needs either a major version bump or an optional method with a fallback.

1 open issue
What changed in this PR

Prepares @monetizationos/proxy 1.9.0 for automated publication, recording the range-replacement optimization introduced in #43.

Changes:

  • Bumps the package version and request-header version to 1.9.0.
  • Adds release notes covering range-replacement performance, buffering behavior, and the new adapter requirement.
  • Removes the consumed changeset.
File Description
src/​apiRequestHeaders.ts Updates the reported proxy version to 1.9.0.
package.json Sets the release version to 1.9.0.
CHANGELOG.md Adds the 1.9.0 release notes.
.changeset/​range-wrapper-cut.md Removes the changeset incorporated into the changelog.

Review effort: Balanced

Comment thread package.json Resolved
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 25e45bf to 62fa04c Compare November 6, 2026 15:43
@benney
benney self-requested a review November 6, 2026 16:29
@benney
benney merged commit e2fb771 into main Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants