Skip to content

Release 1.2.1 - #157

Merged
FlorianRappl merged 4 commits into
mainfrom
devel
Nov 9, 2026
Merged

FlorianRappl merged 4 commits into
mainfrom
devel

Conversation

@FlorianRappl

Copy link
Copy Markdown
Contributor

Types of Changes

Prerequisites

Please make sure you can check the following two boxes:

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project

Contribution Type

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue, please reference the issue id)
  • New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Description

This pull request introduces bug fixes and new features related to JavaScript script execution and function source text handling in AngleSharp.Js. The key improvements are ensuring scripts inserted via DOM methods execute immediately (matching browser behavior), and allowing the retention or omission of original function source text, which affects Function.prototype.toString() and caching. The update also includes comprehensive tests and documentation for these behaviors.

These changes improve compatibility with browser script behaviors (e.g., as relied on by MediaWiki), enhance configurability, and ensure more predictable script execution and caching.

FlorianRappl and others added 4 commits November 7, 2026 20:30
Co-authored-by: FlorianRappl <1766191+FlorianRappl@users.noreply.github.com>
…tions-job-again

Run promise settlements with engine context
@FlorianRappl FlorianRappl added this to the v1.2.1 milestone Nov 8, 2026
@FlorianRappl
FlorianRappl merged commit 8e9d314 into main Nov 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants