Skip to content

Commit 41be4cf

Browse files
Release v0.8.5: update CHANGELOG and version number
- Move [Unreleased] entries to [0.8.5] - Add CHANGELOG entries for .editorconfig support (#218) and extractLiteralBindings API (#219) which are merged to master but not yet documented in the changelog - Bump VersionPrefix from 0.8.4 to 0.8.5 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d8842b9 commit 41be4cf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.8.5]
810
### Fixed
911
- Custom plugins built against a different target framework than the Myriad tool no longer fail with `System.Reflection.ReflectionTypeLoadException`. The plugin loader now sets `PreferSharedTypes = true` so that assemblies already loaded by the host (such as `FSharp.Core` and `Fantomas.FCS`) are shared with the plugin instead of being loaded again from the plugin's output directory. Type load failures are also handled gracefully so that generators that do load are not lost.
1012

1113
### Added
1214
- `SynType.CreateFromLongIdent` helper in `Myriad.Core.AstExtensions`. Plugin authors can now convert a `LongIdent` to a `SynType` using this single convenience method instead of manually chaining `SynLongIdent.Create` and `SynType.CreateLongIdent`.
15+
- Generated code now respects `.editorconfig` Fantomas formatting settings in the output file's directory. Myriad reads the applicable `.editorconfig` at the output path and applies the resulting `FormatConfig` when formatting generated code.
16+
- `Ast.extractLiteralBindings` and `Ast.getAttributeConstantsWithBindings` APIs for resolving `[<Literal>]`-bound identifiers in attribute arguments. Plugin authors can now pass an AST and an attribute argument to resolve constant values without needing a full type-check pass.
1317

1418
### Fixed
1519
- Myriad now correctly processes input files that contain F# 8 dot-lambda (`_.property`) shorthand syntax. Previously, types using `_.` in `with member` bodies would cause a parse error:

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<GitHome>https://github.com/$(gitOwner)</GitHome>
66
<GitUrl>$(gitHome)/$(gitName)</GitUrl>
77
<NupkgsDir>$([System.IO.Path]::GetFullPath("$(MSBuildThisFileDirectory)/bin/nupkg"))</NupkgsDir>
8-
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">0.8.4</VersionPrefix>
8+
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">0.8.5</VersionPrefix>
99
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)$(VersionSuffix)</Version>
1010
<!-- pack stuff -->
1111
<TargetFrameworks>net9.0</TargetFrameworks>

0 commit comments

Comments
 (0)