Releases: a-gubskiy/X.Web.Sitemap
Version 2.9.3
What's Changed
- Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 by @dependabot in #68
- Bump NUnit from 3.13.3 to 4.0.0 by @dependabot in #70
- Bump JetBrains.Annotations from 2023.2.0 to 2023.3.0 by @dependabot in #69
- Update Sitemap.cs - DefaultMaxNumberOfUrlsPerSitemap set to 50.000 by @TimurZanagar in #73
- Bump NUnit from 4.0.0 to 4.0.1 by @dependabot in #71
- Add support for .NET 8 by @ernado-x in #75
New Contributors
- @TimurZanagar made their first contribution in #73
NuGet
Full Changelog: v2.9.2...v2.9.3
Version 2.9.2
Introduction
The X.Web.Sitemap library is a robust tool for the generation of Sitemap files, serving as a cornerstone for SEO-friendly web development. With over 600,000 downloads from the NuGet package repository, it has gained significant traction in the developer community. It's not just individual developers who rely on this library; it's also integrated into well-known projects like Umbraco CMS and Piranha CMS. The latest version brings several changes aimed at improving performance, usability, and flexibility. However, these changes may necessitate modifications to your existing code if you plan to upgrade.
What's New
The Sitemap class has undergone a refactoring process. The responsibilities for file saving and XML conversion have been offloaded to a separate serializer class, streamlining the core functionalities. Additionally, new serialization options have been introduced for SitemapIndex, enhancing its capabilities.
Breaking Changes
ISitemap Interface & Sitemap Class Changes
- Removed methods: Save, SaveAsync, SaveToDirectory, ToXml. These functionalities are now available as extension methods, which could conflict with existing methods in user code.
XmlDocumentExtension Method Renamed
- ToXmlString renamed to ToXml.
File Moves
- SitemapGenerator.cs and SitemapIndexGenerator.cs moved to a new folder, Generators.
New Serializer Classes
- SitemapIndexSerializer.cs introduced and changes in SitemapSerializer.cs.
Version Bump
- Version changed from 2.8.0 to 2.9.0.
StringWriterUtf8 Moved
- Moved to its own file.
SitemapIndex Class Changes
- New methods Parse and TryParse added.
Another changes
- Bump Shouldly from 4.1.0 to 4.2.1 by @dependabot in #53
- Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.7.0 by @dependabot in #61
- Bump NUnit3TestAdapter from 4.4.2 to 4.5.0 by @dependabot in #56
- Bump JetBrains.Annotations from 2022.3.1 to 2023.2.0 by @dependabot in #60
- #62 - Add support for remainder of Image Sitemap schema by @ChristopherRWilson in #63
- Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.2 by @dependabot in #64
- Fix #54 #39 #65 by @ernado-x in #66
New Contributors
- @ChristopherRWilson made their first contribution in #63
Full Changelog: v2.8.0...v2.9.2
NuGet
Version 2.8.0
What's Changed
- Bump JetBrains.Annotations from 2022.1.0 to 2022.3.1 by @dependabot in #42
- Bump NUnit3TestAdapter from 4.2.1 to 4.3.1 by @dependabot in #40
- Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.4.1 by @dependabot in #41
- Bump NUnit3TestAdapter from 4.3.1 to 4.4.0 by @dependabot in #44
- Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 by @dependabot in #45
- Update example project by @ernado-x in #47
- Update project structure by @ernado-x in #49
- Bump NUnit3TestAdapter from 4.4.0 to 4.4.2 by @dependabot in #50
- Support for image sitemaps by @ernado-x in #43
- Simplify files naming by @ernado-x in #51
New Contributors
- @dependabot made their first contribution in #42
Full Changelog: v2.7.0...v2.8.0
NuGet
Version 2.7.0
What's Changed
- 33 fixed bug with null reference in SaveToDirectory method by @ernado-x in #35
- SaveToDirectory now obsolete method and will be deleted
- Examples was updated
Full Changelog: v2.1.0...v2.7.0
Version 2.5.1
What's Changed
- Migrate on new syntax by @ernado-x in #27
- Implement HashSitemap by @ernado-x in #28 (regarding #25)
- Implement hreflang support by @ernado-x in #29 (regarding #20)
Full Changelog: v2.1.0...v2.5.1
Version available at nuget: https://www.nuget.org/packages/xsitemap/2.5.1-preview
Version 2.1.0
What's Changed
- Library migrated to .NET Standard 2.0
- Add async overload for SaveAsync by @HassanHashemi in #18
- Allow custom MaxNumberOfUrlsPerSitemap by @hankinsoft in #23
- change Url.LastMod getter logic to return datetime, hours, min, sec, timezone by @Ju66ernaut in #22
New Contributors
- @HassanHashemi made their first contribution in #18
- @hankinsoft made their first contribution in #23
- @Ju66ernaut made their first contribution in #22
Full Changelog: v2.0.7...v2.1.0
Version 2.0.7
License changed to MIT.
Sitemap parsing implemented.
Version 2.0.6
New version available at https://www.nuget.org/packages/xsitemap/2.0.6
Changes:
- Dependencies updated
- Fixed issue #12
Version 2.0.5
Merge pull request #11 from dncuug/10 Fix #10