Skip to content

v9.0

Latest

Choose a tag to compare

@andywilsonuk andywilsonuk released this 10 Mar 18:10
· 3 commits to main since this release

For breaking changes, see v9 migration notes.

  • Lowered .NET requrement thanks to Polysharp
  • Feature parity with string.Format for better performance
  • Introduced Commands (replacement for Block Commands)
    • New Map command for inline value mapping
    • Reworked Loop command to support sequences
  • Formatter Definitions provide strongly-typed formatters in preference to custom format providers
    • Added TokenValueFormatException to handle formatting errors
  • Improved library usability
    • InterpolatedStringResolver fleshed out to become preferred method over string extensions
    • TokenValueContainerBuilder is now fluent
    • Value Converters now support any function return type not just Func<string> and Func<object>
    • General convenience methods added
    • ObjectTokenValueContainer support for structs
  • Better validation of Settings and arguments
    • Settings can also be validation ahead of use
  • Internal structure improvements