Skip to content

Releases: lofcz/FastCloner

Release v3.4.0

08 Jan 03:14

Choose a tag to compare

What's Changed

Note: while technically this release introduces a minor breaking change, most users shouldn't be impacted. Please read https://github.com/lofcz/FastCloner?tab=readme-ov-file#customizing-clone-behavior

  • allow compile time behaviors on types
  • Update README.md
  • introduce CloneBehavior
  • Update project versions to v3.3.23

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.1.0
FastCloner.Tests.csproj -> 0.1.0
FastCloner.csproj -> 3.4.0

Release v3.3.23

05 Jan 23:41

Choose a tag to compare

What's Changed

  • sg: improve nullability annotations, respect [FastClonerShallow] on get only collections
  • more tests
  • Update project versions to v3.3.22

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.0.7
FastCloner.Tests.csproj -> 0.0.1
FastCloner.csproj -> 3.3.23

Release v3.3.22

30 Dec 12:23

Choose a tag to compare

What's Changed

  • more tests & fix bug
  • Update project versions to v3.3.21

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.0.6
FastCloner.Tests.csproj -> 0.0.1
FastCloner.csproj -> 3.3.22

Release v3.3.21

30 Dec 12:11

Choose a tag to compare

What's Changed

  • [FastClonerShallow]
  • sg: fix collections without setters
  • Update project versions to v3.3.20

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.0.5
FastCloner.Tests.csproj -> 0.0.1
FastCloner.csproj -> 3.3.21

Release v3.3.20

10 Dec 17:40

Choose a tag to compare

What's Changed

  • correct cloning of concurrentbag<>
  • Update LICENSES.txt with FastCloner details
  • extend default blacklist
  • sg: inlining codegen, capture locals, [FastClonerTrustNullability], [FastClonerSafeHandle], add mapperly to benchmark
  • Update project versions to v3.3.19

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.0.4
FastCloner.Tests.csproj -> 0.0.1
FastCloner.Benchmark.csproj -> 0.0.1
FastCloner.SourceGenerator.Shared.csproj -> 0.0.1
FastCloner.csproj -> 3.3.20

Release v3.3.19

05 Dec 17:29

Choose a tag to compare

What's Changed

  • Update README.md
  • sg: jagged arrays
  • sg: abstract classes, records
  • FastClonerContext
  • [FastClonerInclude]
  • don't generate unnecessary methods
  • Update README.md for badge labels and performance
  • add licenses.txt
  • Fix test directory link in contributing section
  • Fix formatting issues in README.md features section
  • Enhance README features section with benchmarks
  • Update README.md
  • Update project versions to v3.3.18

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.0.3
FastCloner.Tests.csproj -> 0.0.1
FastCloner.SourceGenerator.Shared.csproj -> 0.0.1
FastCloner.SourceGenerator.Console.csproj -> 0.0.1
FastCloner.csproj -> 3.3.19

Release v3.3.18

02 Dec 07:50

Choose a tag to compare

What's Changed

  • Update README.md
  • move source code into /src
  • Add local benchmark verification instructions
  • Update README to correct spelling and improve clarity
  • Enhance correctness feature description in README
  • add more competing libraries to the benchmark
  • Revise README with new features and usage examples
  • simplify sg installation
  • sg: generics with unannotated types
  • sg: immutable collections
  • sg: generics, implicit/nested types without annotations
  • Update badge links to use Shields.io
  • fix
  • Update project versions to v3.3.17

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.0.2
FastCloner.Tests.csproj -> 0.0.1
FastCloner.Benchmark.csproj -> 0.0.1
FastCloner.Contrib.csproj -> 0.0.1
FastCloner.SourceGenerator.CodeFixes.csproj -> 0.0.1
FastCloner.SourceGenerator.Shared.csproj -> 0.0.1
FastCloner.SourceGenerator.Console.csproj -> 0.0.1
FastCloner.SourceGenerator.Analyzers.csproj -> 0.0.1
FastCloner.csproj -> 3.3.18

Release v3.3.17

15 Nov 00:04

Choose a tag to compare

What's Changed

  • work on source gen
  • Update .NET SDK version to 10.0.x
  • Update .NET version in GitHub Actions workflow
  • .net 10 tfm, c# 14 syntax
  • Update README to remove dependency mention
  • Update project versions to v3.3.16

Updated Projects

FastCloner.SourceGenerator.csproj -> 1.0.1
FastCloner.Tests.csproj -> 0.0.1
FastCloner.Benchmark.csproj -> 0.0.1
FastCloner.SourceGenerator.CodeFixes.csproj -> 0.0.1
FastCloner.SourceGenerator.Shared.csproj -> 0.0.1
FastCloner.SourceGenerator.Analyzers.csproj -> 0.0.1
FastCloner.csproj -> 3.3.17

Release v3.3.16

05 Oct 08:45

Choose a tag to compare

What's Changed

This release fixes an issue when cloning deeply nested objects where the algorithm switches from recursion to two-way iteration on fly. Thanks @pferencgit for spotting this.

  • fix on-fly swap from recursive to iterative cloning
  • document FastCloner.MaxRecursionDepth
  • Update project versions to v3.3.15

Updated Projects

FastCloner.Tests.csproj -> 0.0.1
FastCloner.csproj -> 3.3.16

Release v3.3.15

02 Oct 18:47
cea23ec

Choose a tag to compare

What's Changed

This release fixes remaining stability issues with the iterative cloning for deeply nested objects. Thanks @maxbruecken for helping with this.

  • run all tests under MaxRecursionDepth = 1 and 1000 to avoid further regressions
  • fix remaining tests failing with MaxRecursionDepth = 1
  • fix another regression with boxed structs
  • fix further regressions in the iterative cloning
  • fix regression in classes with multiple init only fields/properties
  • fix regression in init only value type fields
  • Update project versions to v3.3.14

Updated Projects

FastCloner.Tests.csproj -> 0.0.1
FastCloner.csproj -> 3.3.15