Html Agility Pack Changelog

What's new in Html Agility Pack 1.11.61

Apr 30, 2024
  • FIXED: Set PackageLicenseExpression on nuget #544
  • FIXED: Modify a #text node name causes a StackOverflowException #548

New in Html Agility Pack 1.11.60 (Mar 27, 2024)

  • FIXED: Performance optimization with Avoid creating new strings when parsing PcData #541
  • FIXED: The html rendering result is different from the html output result when we have two unclosed tbody tags #540

New in Html Agility Pack 1.11.59 (Feb 14, 2024)

  • ADDED: The option DisableImplicitEnd. When true, instead of implicitly ending a tag, they will explicitly be ended. (Double
  • Open tags leave one
  • Open even with option setted #538)

New in Html Agility Pack 1.11.58 (Jan 29, 2024)

  • UNDO: Fix added in v1.11.57 #529
  • FIX: The html rendering result is different from the html output result when tbody is added inside unclosed th #530

New in Html Agility Pack 1.11.57 (Dec 22, 2023)

  • FIXED: The html rendering result is different from the html output result #529

New in Html Agility Pack 1.11.56 (Dec 21, 2023)

  • MERGED: Fix copyright symbol encoding; force UTF-8-BOM encoding for C# files #526 (To remove additional space when creating a manual comment tag added in v1.11.55)

New in Html Agility Pack 1.11.55 (Dec 13, 2023)

  • FIXED: Fix copyright symbol encoding; force UTF-8-BOM encoding for C# files #526
  • FIXED: Inconsistent comment rendering #525
  • UPDATED: Due to package vulnerability (#527)

New in Html Agility Pack 1.11.54 (Oct 3, 2023)

  • FIXED: Trailing slash on void element becomes part of the attribute name

New in Html Agility Pack 1.11.53 (Sep 9, 2023)

  • ADDED: Custom error when a scenario similar happens: Stackoverflow when using ReplaceChild

New in Html Agility Pack 1.11.52 (Aug 23, 2023)

  • FIXED: Setting InnerHtml does not assign OwnerDocument to new nodes correctly #512

New in Html Agility Pack 1.11.51 (Aug 1, 2023)

  • MERGED: Set inner html as default to implict set ReturnType #509
  • MERGED: Use backwards for loop instead of linq for performance in AttributeCollection.Remove #511

New in Html Agility Pack 1.11.50 (Jul 19, 2023)

  • MERGED: Added ability to set the maximum redirects #503
  • MERGED: fix encapsulated item with corresponding ReturnType #506

New in Html Agility Pack 1.11.49 (Jul 6, 2023)

  • ADDED: Added ability to set the timeout of an HTTP request #502

New in Html Agility Pack 1.11.48 (Jun 19, 2023)

  • FIXED: Setting node name seems to work only partially #497
  • FIXED: Mistake in assembly version in v1.11.47

New in Html Agility Pack 1.11.47 (Jun 19, 2023)

  • FIXED: Setting node name seems to work only partially #497

New in Html Agility Pack 1.11.46 (Sep 14, 2022)

  • FIXED: StackOverflowException with the file #486 (A no closing "p" tag was inside an "li" tag)

New in Html Agility Pack 1.11.45 (Aug 23, 2022)

  • FIXED: CaptureRedirect=true does not capture ANY redirects, ResponseUri = null #483

New in Html Agility Pack 1.11.43 (Jun 2, 2022)

  • FIXED: .Net 3.5 version does not has strong name #478

New in Html Agility Pack 1.11.42 (Feb 4, 2022)

  • FIXED: HtmlAttributeCollection: Implementation for ICollection.Remove(HtmlAttribute) violates interface contract #465

New in Html Agility Pack 1.11.41 (Feb 3, 2022)

  • FIXED: HtmlAttributeCollection: ICollection.Clear() and ICollection.Remove(HtmlAttribute) methods forget to update Hashitems #463

New in Html Agility Pack 1.11.40 (Jan 14, 2022)

  • FIXED: Not all attributes are removed with Remove() if there are multiple attributes of the same name #461
  • FIXED: Reuse HttpClient #459

New in Html Agility Pack 1.11.39 (Dec 2, 2021)

  • FIXED: Re-added missing reference in UAP that has been removed in #274
  • FIXED: When using LoadFromBrowser, a popup window appears if the content is in json. #457

New in Html Agility Pack 1.11.38 (Nov 10, 2021)

  • FIXED: HtmlWeb.Load not work correct #454 (Added option HtmlWeb.AutomaticDecompression)

New in Html Agility Pack 1.11.37 (Sep 28, 2021)

  • FIXED: ClonedNode with attributes without quote (like ) becomes when written #450

New in Html Agility Pack 1.11.36 (Aug 11, 2021)

  • FIXED: Issue introduced with changes in v1.11.35

New in Html Agility Pack 1.11.35 (Aug 9, 2021)

  • FIXED: Attribute original name is not preserved after clone #443
  • FIXED:: Feature: Would be nice to have a way of preserving empty attributes #446
  • ADDED: Feature - Would be nice to have an option to set UseOriginalName to a default value #445

New in Html Agility Pack 1.11.34 (Jun 9, 2021)

  • ADDED: Attributes without a value #439

New in Html Agility Pack 1.4.6 (Aug 14, 2012)

  • a fix for the .NET 2.0 dll

New in Html Agility Pack 1.4.5 (Aug 3, 2012)

  • Windows 8 Metro support:
  • The Windows 8 Metro version is a mostly untested port. There is a known bug with Windows 8 Metro HttpClient and basic authentication. This client is used within the HtmlWeb class. Also XPATH is not supported and may never be supported, only LINQ expressions can be used.
  • BugFixes:
  • PreHandleDocumentHandler now fires before the Document is loaded in HtmlWeb
  • Invalid parsing of td tags is fixed
  • Minor speed up of node name retrieval, most notable in LINQ queries
  • Deprecation of DescendantNodes and DescendantNodesAndSelf. These methods will have their implementations changed in the future which will break existing code. It is recommended to use Descendants and DescendantsAndSelf instead

New in Html Agility Pack 1.4.0 (Jun 18, 2010)

  • 1.4.0 Adds some serious new features to Html Agility Pack to make it work nicer in a LINQ driven .NET World. The HtmlNodeCollection and HtmlAttributeCollection now generic ILists and expose IEnumerable methods to mimic LINQ to XML. This opens an alternative to XPATH for querying the HTML tree. Beyond this 1.4.0 introduces tons of code cleanups and removal of all old non-generic classes (no more arraylists :).
  • 1.4.0 also brings basic msdn like documentation and a new program called HAP Explorer for viewing the HTML tree.
  • Changes from Beta 2. The biggest changes are better support for character encoding and support for medium trust environments.
  • Removed DescendantNodes() function since it was identical to the Descendants() function.
  • Patch# 4706. Added UserAgent property to HtmlWeb class to be used in webrequests. Minor update to code supplied by radicull
  • Patch# 4432 . Applied HtmlEntity decoding of UniCode html entities supplied by tsai
  • Patch# 4396. Applied UTF-8 changes from JudahGabriel
  • Applied JonGalloways HAPExplorer patch
  • Added Visual Studio 2010 Beta 2 Solution
  • Fixed compatibility in Medium Trust environments. Added a default list of extensions and content types to be used when the registry is not available.
  • Updated Charset detection to use a Dictionary instead of arraylists of NameValuePair
  • search tag support in HAPExplorer