Skip to content

Commit ac26eb2

Browse files
committed
Changelog: Automated Update
1 parent 3946f54 commit ac26eb2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

content/changelog.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@ Title: ScottPlot Changelog
33
Description: Release notes for every version of ScottPlot
44
---
55

6+
<section class='mb-5'>
7+
<h1 class='mb-0'>ScottPlot 5.1.57</h1>
8+
<div><i>NuGet packages published </i></div>
9+
<div class='mt-1'>
10+
<ul>
11+
<li>The transition from ScottPlot <code>5.0</code> to <code>5.1</code> has breaking changes which are likely to affect advanced users who maintain custom plot types. Upgrading our SkiaSharp from <code>2.88</code> to <code>3.119</code> brought many improvements, but significantly changed the functionality of <code>SkiaSharp.SKPaint</code> which many of our drawing operations relied on. To minimize the impact of this change, references to <code>SkiaSharp.SKPaint</code> have been replaced with <code>ScottPlot.Paint</code> which closely resembles the original API, minimizing amount of code changes required to upgrade. This version aims at making this upgrade possible, and future versions will refine these objects to improve performance and minimize allocations.
12+
</li>
13+
<li>Public methods that accepted <code>SkiaSharp.SKPaint</code> now accept <code>ScottPlot.Paint</code>
14+
</li>
15+
<li><code>Paint.MeasureText()</code> now returns a single <code>PixelRect</code> instead of using <code>out</code> variables
16+
</li>
17+
<li>Rendering: Significantly reduced the number of allocations by passing <code>Paint</code> throughout the render flow
18+
</li>
19+
</ul>
20+
</div>
21+
<h3 class='text-center fw-light'>Contributors</h3>
22+
<div class='text-center'>
23+
<a href='https://github.com/swharden'>@swharden</a>
24+
</div>
25+
<div class='text-center'>
26+
<a href='https://github.com/swharden'><img src='https://scottplot.net/images/contributors/swharden.jpg' width=75 height=75 style='border-radius: 50%;' class='m-1'/></a>
27+
</div>
28+
29+
</section>
630
<section class='mb-5'>
731
<h1 class='mb-0'>ScottPlot 5.0.56</h1>
832
<div><i>NuGet packages published 2025-08-22</i></div>

0 commit comments

Comments
 (0)