Skip to content

Commit

Permalink
Release: prepare v0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Jan 29, 2023
1 parent cb884c6 commit 15b4c11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 27 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

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).

## [0.13.1] - 2023-01-29
### Fixed
- [#350: Unable to resolve dependency 'WpfMath.Shared'][issue-350]

## [0.13.0] - 2023-01-27
### Changed
- **(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).
Expand Down Expand Up @@ -207,6 +211,7 @@ This was the initially published version. It consisted entirely of the original
[issue-257]: https://github.com/ForNeVeR/wpf-math/issues/257
[issue-275]: https://github.com/ForNeVeR/wpf-math/issues/275
[issue-304]: https://github.com/ForNeVeR/wpf-math/issues/304
[issue-350]: https://github.com/ForNeVeR/wpf-math/issues/350
[pull-53]: https://github.com/ForNeVeR/wpf-math/pull/53
[pull-54]: https://github.com/ForNeVeR/wpf-math/pull/54
[pull-58]: https://github.com/ForNeVeR/wpf-math/pull/58
Expand Down Expand Up @@ -247,4 +252,5 @@ This was the initially published version. It consisted entirely of the original
[0.11.0]: https://github.com/ForNeVeR/wpf-math/compare/v0.10.0...v0.11.0
[0.12.0]: https://github.com/ForNeVeR/wpf-math/compare/v0.11.0...v0.12.0
[0.13.0]: https://github.com/ForNeVeR/wpf-math/compare/v0.12.0...v0.13.0
[Unreleased]: https://github.com/ForNeVeR/wpf-math/compare/v0.13.0...HEAD
[0.13.1]: https://github.com/ForNeVeR/wpf-math/compare/v0.13.0...v0.13.1
[Unreleased]: https://github.com/ForNeVeR/wpf-math/compare/v0.13.1...HEAD
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup Label="Versioning">
<Version>0.13.0</Version>
<Version>0.13.1</Version>
</PropertyGroup>

<PropertyGroup Condition=" '$(MSBuildProjectExtension)' == '.csproj' ">
Expand Down
27 changes: 2 additions & 25 deletions src/WpfMath/WpfMath.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,8 @@
<PackageProjectUrl>https://github.com/ForNeVeR/wpf-math</PackageProjectUrl>
<RepositoryUrl>https://github.com/ForNeVeR/wpf-math.git</RepositoryUrl>
<AssemblyTitle>WPF-Math</AssemblyTitle>
<PackageReleaseNotes>[Changed]

- (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).
Both of the assemblies are still distributed in the same NuGet package.
A lot of types were moved to WpfMath.Shared assembly (preserving their namespaces).
- (Breaking change.) It is no longer recommended to create instances of TexEnvironment using the public constructor. Use WpfMath.Rendering.WpfTeXEnvironment::Create instead.
- (Breaking change.) It is no longer recommended to create instances of TexFormulaParser using public constructors. Use WpfMath.Parsers.WpfTeXFormulaParser::Instance instead.
- (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.
- (Breaking change.) WpfMath.Rendering.IElementRenderer has been updated:
- RenderGlyphRun has been replaced with RenderCharacter method (not reliant on any WPF-specific types),
- RenderRectangle now receives an instance of a new WpfMath.Rendering.Rectangle type (decoupled from WPF).
- 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.
- (Breaking change.) WpfMath.TexFormnula::GetRenderer is gone. Create a TexRenderer using constructor (obsolete) or use the aforementioned extension methods instead.

[Added]

- 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.
- WpfMath.Rendering.WpfTeXFormulaExtensions to render a WpfMath.TexFormula into a System.Windows.Media.Imaging.BitmapSource or System.Windows.Media.Geometry.
- New classes for WPF-Math porting to platforms other than WPF (consult the WpfMath.Rendering.IElementRenderer interface and TexFormulaParser constructor parameters to know more).
- WpfMath.Colors.RgbaColor as a new portable color representation.
- WpfMath.Fonts.IFontProvider: implement this interface to provide alternate font reading functionality.
- WpfMath.Fonts.ITeXFont: implement this interface to provide access to a platform-specific font resource.
- WpfMath.Rendering.IBrushFactory: implement this interface to provide access to creation of platform-specific solid-colored brushes.
- WpfMath.TeXFontMetrics that contains some measurements of a font glyph.
- An utility Result struct is now public.
<PackageReleaseNotes>[Fixed]
- #350: Unable to resolve dependency 'WpfMath.Shared' (https://github.com/ForNeVeR/wpf-math/issues/350)
</PackageReleaseNotes>
<PackageTags>wpf;latex;formula</PackageTags>
<Description>.NET library for rendering mathematical formulae using the LaTeX typsetting style, for the WPF framework.</Description>
Expand Down

0 comments on commit 15b4c11

Please sign in to comment.