PowerShell-Yayaml

A YAML parser and writer that uses an Assembly Load Context on PowerShell 7+

MIT License

Stars
29

Bot releases are hidden (Show)

PowerShell-Yayaml - v0.5.0 Latest Release

Published by jborean93 3 months ago

What's Changed

v0.5.0 - 2024-07-11

  • Updated YamlDotNet dependency to 15.3.0
  • Added the -Stream parameter to ConvertTo-Yaml that can serialize the input objects as they are received rather than as one big object at the end
  • Implement new emitter logic to skip the multiple processing passes done on the objects to be serialized
  • Add support for serializing values with a pre, inline, or post comment

Full Changelog: https://github.com/jborean93/PowerShell-Yayaml/compare/v0.4.0...v0.5.0

PowerShell-Yayaml - v0.4.0

Published by jborean93 6 months ago

What's Changed

v0.4.0 - 2023-04-19

Full Changelog: https://github.com/jborean93/PowerShell-Yayaml/compare/v0.3.0...v0.4.0

PowerShell-Yayaml - v0.3.0

Published by jborean93 11 months ago

What's Changed

v0.3.0 - 2023-11-29

  • Updated YamlDotNet dependency to 13.7.1
  • Provide workaround when importing the module more than once
  • Add support for Windows PowerShell 5.1
    • There are no guarantees that YamlDotNet will be loadable in case of conflicts, use PowerShell 7 so an ALC can be used
  • Added -EmitTransformer to New-YamlSchema to provide a simpler way of transforming particular types or objects
    • This runs the ScriptBlock provided for every object that is being serialized allowing the caller to provide a "transformed" value for that object

Full Changelog: https://github.com/jborean93/PowerShell-Yayaml/compare/v0.2.1...v0.3.0

PowerShell-Yayaml - v0.2.1

Published by jborean93 about 1 year ago

What's Changed

v0.2.1 - 2023-10-13

  • Support serializating dotnet properties that return a Span<T>, ReadOnlySpan<T>, Memory<T>, or ReadOnlyMemory<T>
    • These values will be copied to a temporary array of the type T
  • Treat any IList<byte> type, not just byte[], as !!binary with the Yaml11 schema

Full Changelog: https://github.com/jborean93/PowerShell-Yayaml/compare/v0.2.0...v0.2.1

PowerShell-Yayaml - v0.2.0

Published by jborean93 about 1 year ago

What's Changed

Full Changelog: https://github.com/jborean93/PowerShell-Yayaml/compare/v0.1.1...v0.2.0

PowerShell-Yayaml - v0.1.1

Published by jborean93 about 1 year ago

What's Changed

v0.1.1 - 2023-08-03

  • Treat IntPtr values like other numeric types

Full Changelog: https://github.com/jborean93/PowerShell-Yayaml/compare/v0.1.0...v0.1.1

PowerShell-Yayaml - v0.1.0

Published by jborean93 over 1 year ago

v0.1.0 - 2023-06-23

  • Initial version of the Yayaml module

What's Changed

New Contributors

Full Changelog: https://github.com/jborean93/PowerShell-Yayaml/commits/v0.1.0

Badges
Extracted from project README
Test workflow codecov PowerShell Gallery License