Skip to content

Commit fe1600f

Browse files
committed
Release: prepare v0.13.0
1 parent 9c05420 commit fe1600f

File tree

4 files changed

+33
-10
lines changed

4 files changed

+33
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html).
55

6-
## [Unreleased] (0.13.0)
6+
## [0.13.0] - 2023-01-27
77
### Changed
8-
- **(Breaking change.)** The library is now distributes in the form of two assemblies: `WpfMath` and `WpfMath.Shared` (as a future cross-platform core of the library).
8+
- **(Breaking change.)** The library is now distributed in the form of two assemblies: `WpfMath` and `WpfMath.Shared` (as a future cross-platform core of the library).
99

1010
Both of the assemblies are still distributed in the same NuGet package.
1111

@@ -246,4 +246,5 @@ This was the initially published version. It consisted entirely of the original
246246
[0.10.0]: https://github.com/ForNeVeR/wpf-math/compare/0.9.0...v0.10.0
247247
[0.11.0]: https://github.com/ForNeVeR/wpf-math/compare/v0.10.0...v0.11.0
248248
[0.12.0]: https://github.com/ForNeVeR/wpf-math/compare/v0.11.0...v0.12.0
249-
[Unreleased]: https://github.com/ForNeVeR/wpf-math/compare/v0.12.0...HEAD
249+
[0.13.0]: https://github.com/ForNeVeR/wpf-math/compare/v0.12.0...v0.13.0
250+
[Unreleased]: https://github.com/ForNeVeR/wpf-math/compare/v0.13.0...HEAD

Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<Project>
22

3+
<PropertyGroup Label="Versioning">
4+
<Version>0.13.0</Version>
5+
</PropertyGroup>
6+
37
<PropertyGroup Condition=" '$(MSBuildProjectExtension)' == '.csproj' ">
48
<LangVersion>11</LangVersion>
59
<Nullable Condition=" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1')) ">enable</Nullable>
610
<Nullable Condition=" '$(Nullable)' != 'enable' ">annotations</Nullable>
711
</PropertyGroup>
8-
912
</Project>

MAINTAINERSHIP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Publish a New Version
88
2. Update the copyright year in `src/WpfMath/WpfMath.csproj`, if required.
99
3. Prepare a corresponding entry in [the changelog][changelog] (usually by renaming the "Unreleased" section).
1010
4. Copy-paste the said entry to the `<PackageReleaseNotes>` element of `src/WpfMath/WpfMath.csproj`.
11-
5. Set `<Version>` in `src/WpfMath/WpfMath.csproj`.
11+
5. Set `<Version>` in the `Directory.Build.props` file.
1212
6. Push a tag in form of `v<VERSION>`, e.g. `v0.0.1`. GitHub Actions will do the rest (push a NuGet package).
1313

1414
Prepare NuGet Package Locally

src/WpfMath/WpfMath.csproj

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,37 @@
88
</PropertyGroup>
99
<PropertyGroup>
1010
<PackageId>WpfMath</PackageId>
11-
<Version>0.12.0</Version>
1211
<Title>WPF-Math</Title>
1312
<Authors>ForNeVeR</Authors>
1413
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1514
<PackageProjectUrl>https://github.com/ForNeVeR/wpf-math</PackageProjectUrl>
1615
<RepositoryUrl>https://github.com/ForNeVeR/wpf-math.git</RepositoryUrl>
1716
<AssemblyTitle>WPF-Math</AssemblyTitle>
18-
<PackageReleaseNotes>Added:
19-
- TeX's environment support with only one environment for now: `\begin{pmatrix}` (see [#329][pull-329]).
17+
<PackageReleaseNotes>[Changed]
2018

21-
Changed:
22-
- The project is now built on .NET 7 SDK and C# 11 (shouldn't change the supported framework set).
19+
- (Breaking change.) The library is now distributed in the form of two assemblies: WpfMath and WpfMath.Shared (as a future cross-platform core of the library).
20+
Both of the assemblies are still distributed in the same NuGet package.
21+
A lot of types were moved to WpfMath.Shared assembly (preserving their namespaces).
22+
- (Breaking change.) It is no longer recommended to create instances of TexEnvironment using the public constructor. Use WpfMath.Rendering.WpfTeXEnvironment::Create instead.
23+
- (Breaking change.) It is no longer recommended to create instances of TexFormulaParser using public constructors. Use WpfMath.Parsers.WpfTeXFormulaParser::Instance instead.
24+
- (Breaking change.) WPF-specific WpfMath.Rendering.IBrush has been replaced with WpfMath.Rendering.IBrush in most of the public interfaces. Use WpfMath.Rendering.WpfBrushExtensions to convert back and forth to the WPF type.
25+
- (Breaking change.) WpfMath.Rendering.IElementRenderer has been updated:
26+
- RenderGlyphRun has been replaced with RenderCharacter method (not reliant on any WPF-specific types),
27+
- RenderRectangle now receives an instance of a new WpfMath.Rendering.Rectangle type (decoupled from WPF).
28+
- WpfMath.TexRenderer is now obsolete. Consult the documentation on new recommended ways to perform custom rendering. There are new extension methods in two classes (WpfMath.Rendering.WpfTeXFormulaExtensions and WpfMath.Rendering.TeXFormulaExtensions) that are the main way to render formulae now.
29+
- (Breaking change.) WpfMath.TexFormnula::GetRenderer is gone. Create a TexRenderer using constructor (obsolete) or use the aforementioned extension methods instead.
30+
31+
[Added]
32+
33+
- WpfMath.CharInfo: a new public type to work with a font character. Use WpfMath.Fonts.WpfCharInfoEx::GetGlyphRun if you need to get a System.Windows.Media.GlyphRun from it.
34+
- WpfMath.Rendering.WpfTeXFormulaExtensions to render a WpfMath.TexFormula into a System.Windows.Media.Imaging.BitmapSource or System.Windows.Media.Geometry.
35+
- New classes for WPF-Math porting to platforms other than WPF (consult the WpfMath.Rendering.IElementRenderer interface and TexFormulaParser constructor parameters to know more).
36+
- WpfMath.Colors.RgbaColor as a new portable color representation.
37+
- WpfMath.Fonts.IFontProvider: implement this interface to provide alternate font reading functionality.
38+
- WpfMath.Fonts.ITeXFont: implement this interface to provide access to a platform-specific font resource.
39+
- WpfMath.Rendering.IBrushFactory: implement this interface to provide access to creation of platform-specific solid-colored brushes.
40+
- WpfMath.TeXFontMetrics that contains some measurements of a font glyph.
41+
- An utility Result struct is now public.
2342
</PackageReleaseNotes>
2443
<PackageTags>wpf;latex;formula</PackageTags>
2544
<Description>.NET library for rendering mathematical formulae using the LaTeX typsetting style, for the WPF framework.</Description>

0 commit comments

Comments
 (0)