Skip to content

release 1.1.0 - #54

Merged
egil merged 4 commits into
masterfrom
devel
Sep 15, 2025
Merged

release 1.1.0#54
egil merged 4 commits into
masterfrom
devel

Conversation

@egil

@egilegil commented Sep 15, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

CopilotAIand others added 4 commits September 15, 2025 08:19
…iffing development (#53)
* Initial plan
* Add comprehensive GitHub Copilot instructions for AngleSharp.Diffing
Co-authored-by: egil <105649+egil@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: egil <105649+egil@users.noreply.github.com>
* Ignore unmatched :ignore attributes
* Add more tests
* Add test to cover situation where no ignore attribute was requested
* Add :ignore filter approach
* Fix Linux pipeline
* Create IgnoreAttributeStrategy and make IgnoreAttributeComparer obsolete
* Revert "Fix Linux pipeline"
This reverts commit 2597558.
…ards (#51)
* Initial plan
* Modernize CI workflow to use dotnet CLI directly
Co-authored-by: egil <105649+egil@users.noreply.github.com>
* Update build.sh to use modern dotnet CLI instead of deprecated Cake/mono
Co-authored-by: egil <105649+egil@users.noreply.github.com>
* Upgrade build system from dotnet CLI to Nuke build automation system
Co-authored-by: egil <105649+egil@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: egil <105649+egil@users.noreply.github.com>
CopilotAI review requested due to automatic review settings September 15, 2025 09:26
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ RiRiSharp
✅ egil
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

CopilotAI 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.

Pull Request Overview

This PR prepares a version 1.1.0 release with a significant enhancement to the ignore attribute functionality. The main feature allows :ignore marked attributes to work properly when the ignored attribute is not found in the test HTML, preventing false positive differences.

Key changes:

  • Refactored and consolidated ignore attribute logic into a new unified strategy
  • Enhanced matcher capability to handle unmatched ignore attributes
  • Added comprehensive test coverage for the new functionality
  • Migrated build system from Cake to NUKE for better maintainability

Reviewed Changes

Copilot reviewed 30 out of 31 changed files in this pull request and generated 2 comments.

Show a summary per file
FileDescription
IgnoreAttributeStrategy.csNew unified strategy that consolidates ignore attribute comparison and matching logic
IgnoreAttributeComparer.csMarked as obsolete with extraction of shared logic
DiffingStrategyPipelineBuilderExtensions.csUpdated to use new strategy and register matcher
SourceMap.csAdded helper method to improve readability
HtmlDifferenceEngine.csAdded using statement for new strategy namespace
Test filesAdded comprehensive test data and updated test cases to use new strategy
Build system filesComplete migration from Cake to NUKE build system
CHANGELOG.mdDocumented new 1.1.0 release features


private static bool IsIgnoreAttribute(IAttr source)
{
return source.Name.EndsWith(DIFF_IGNORE_POSTFIX, StringComparison.OrdinalIgnoreCase);

CopilotAISep 15, 2025

Copy link

Choose a reason for hiding this comment

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

Extra space between 'DIFF_IGNORE_POSTFIX,' and 'StringComparison.OrdinalIgnoreCase' should be removed for consistent formatting.

Suggested change
returnsource.Name.EndsWith(DIFF_IGNORE_POSTFIX,StringComparison.OrdinalIgnoreCase);
returnsource.Name.EndsWith(DIFF_IGNORE_POSTFIX,StringComparison.OrdinalIgnoreCase);

Copilot uses AI. Check for mistakes.
foreach (var source in _sources.Values)
{
if (!_matched.Contains(source.Attribute.Name))
if (IsUnmatched(source.Attribute.Name))

CopilotAISep 15, 2025

Copy link

Choose a reason for hiding this comment

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

Missing method definition for 'IsUnmatched'. The code calls 'IsUnmatched(source.Attribute.Name)' but this method is not defined in the visible code.

Copilot uses AI. Check for mistakes.
@egil
egil merged commit 93c89c3 into masterSep 15, 2025
4 of 5 checks passed
Sign up for freeto 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.

5 participants

@egil@CLAassistant@RiRiSharp