# 2025 v2

## Content

## C1.DataCollection

**Breaking Changes**

* **Changed** the target framework of **DataCollection.BindingList** from **net452** to **net461**.
* **Changed** the target framework of **Win.DataCollection** from **net452** to **net461**.
* **Changed** the target framework of **Wpf.DataCollection** from **net452** to **net461**.
* **Changed** the target framework of **DataCollection.SignalR.Server** from **net6.0** to **8.0**.

**Improvements**

* Added **OnCollectionChanging** method in **C1ConvertDataCollection**, ensuring that accessing the **NewItems** property in **C1CacheDataCollection** during **Add** notifications correctly considers the cache when items are inserted.
* Added IDisposable interface implementation to C1DataCollectionList.

**Bug Fixes**

* Fixed an issue in C1CacheDataCollection where accessing the NewItems and OldItems properties during Add or Replace notifications bypassed the cache.
* Fixed Dispose of C1ConvertDataCollection.
* Fixed package vulnerabilities by raising System.Text.Json dependency from 8.0.4 to 8.0.5. C1-8145:
    * C1.AdoNet.GoogleAnalytics
    * C1.AdoNet.Magento
    * C1.AdoNet.Snowflake
* Fixed SonarQube security issue related to SSL/TLS by removing unused byPassProxySsl parameter and logic from HttpClientHandler for C1.AdoNet.SnowFlake.
* Fixed package vulnerabilities by raising Microsoft.Extensions.Caching.Memory from 8.0.0 → 8.0.1 (.NET8) and 6.0.0 → 6.0.2 (.NET6).
    * C1.EntityFrameworkCore.CSV
    * C1.EntityFrameworkCore.D365S
    * C1.EntityFrameworkCore.GoogleAnalytics
    * C1.EntityFrameworkCore.Json
    * C1.EntityFrameworkCore.Kintone
    * C1.EntityFrameworkCore.Magento
    * C1.EntityFrameworkCore.OData
    * C1.EntityFrameworkCore.QuickBooksOnline
    * C1.EntityFrameworkCore.Salesforce
    * C1.EntityFrameworkCore.ServiceNow
    * C1.EntityFrameworkCore.Snowflake

## C1.DataConnector

**Improvements**

* Removed unused RestSharp dependency (thereby removing System.Text.Json vulnerability).
* Enabled .NET analyzers for security issues during MSBuild.
* Fixed the CA5359 security issue by checking whether **SslPolicyError** is **None** instead of always returning **true** in the server certificate validation callback.

## C1.Excel .NET Standard

**Improvements**

* Added support for long-word splitting.

**Bug Fixes**

* Fixed an issue in C1Excel where column widths were not rendered correctly in pixels, causing columns to display narrower than expected.
* Fixed an issue where background color applied to part of the text in a 'Paragraph' Field was not retained when exporting C1FlexReport to PDF using the C1.Pdf provider.
* Fixed an issue where background color applied to part of the text in a 'Paragraph' Field was incorrectly rendered as foreground color when exporting C1FlexReport to Excel.
* Fixed an issue where line spacing within 'Rtf Field' content was not retained when exporting C1FlexReport to DS.Pdf, HTML, and image formats.

## C1.Pdf .NET Standard

**Improvements**

* Added **System.Text.Encoding.CodePages** to support additional encodings.

**Bug Fixes**

* Fixed an issue where calling the Render() method on a C1FlexReport containing an 'Rtf Field' with certain RTF code threw a System.NotSupportedException due to missing encoding support.
* Fixed an issue where fonts were not applied when exporting **SuperLabelField** reports to PDF using **C1PdfFilter**, even when font embedding was enabled.
* Fixed an issue where subscript and superscript formatting in 'Rtf Field' was not applied in exported C1FlexReport output.
* Fixed an issue where spaces between RTF-formatted words and subsequent words were not rendered when exporting a **C1FlexReport** containing **RtfField** to PDF using the **C1.Pdf** provider.
* Fixed a canvas rendering issue in C1Pdf where rotated text was not displayed correctly in the exported PDF.
* Fixed an issue where dotted lines in EMF images were incorrectly rendered as solid lines when exporting to C1Pdf.

## ScheduleCore

**Improvements**

* The **C1.Win.ScheduleCore** library now targets .NET Framework 4.6.2 and .NET Standard 2.0, enabling usage in .NET 4.x applications.