Skip to content

Releases: r3c/cottle

v2.1.0

02 Jul 20:33
@r3c r3c
Compare
Choose a tag to compare
  • Introduce IRuntime argument passed to non-pure native functions to allow them accessing global variables (requested in #237)
  • Change Value.FromReflection to perform a lazy scan and avoid excessive cost when wrapping complex types
  • Deprecate Function.Create* replaced by Function.CreateNative*
  • Expose new names for overloads of Function.Create & Function.CreatePure

v2.0.12

27 Mar 17:11
@r3c r3c
Compare
Choose a tag to compare
  • Introduce new NbCycleMax configuration option to allow breaking out from slow templates. (#227)

v2.0.11

07 Mar 21:59
@r3c r3c
Compare
Choose a tag to compare
  • Publish net8.0 assembly

v2.0.10

13 Jul 07:24
@r3c r3c
Compare
Choose a tag to compare
  • Better feedback when Value.FromReflection(obj) fails to resolve a property (contribution from @paviad in #193).

v2.0.9

21 Mar 07:25
@r3c r3c
Compare
Choose a tag to compare
  • Add support for nullable value types in Value.FromReflection (#186).

v2.0.8

11 Jun 13:48
@r3c r3c
Compare
Choose a tag to compare
  • Rework implementation of Value.FromReflection:
    • Use IL generation to improve performance (#156).
    • Introduce special handling for IEnumerable<T> & IDictionary<K, V> instances (#156, #157).
  • Fix issue with Trimmer.TrimFirstAndLastBlankLinesRegex when using \n EOL (#162).

v2.0.7

11 Jan 14:33
@r3c r3c
Compare
Choose a tag to compare

Note: this release is identical to 2.0.6 but invalid .nupkg file was registed into nuget.org, so a new version is needed to fix this.

  • Add support for composite commands (#140 ; fixes #135)
  • Fix default trimmer configuration with mixed EOL characters (#139)

v2.0.6

10 Jan 19:21
@r3c r3c
Compare
Choose a tag to compare
  • Add support for composite commands (#140 ; fixes #135)
  • Fix default trimmer configuration with mixed EOL characters (#139)

v2.0.5

29 Dec 14:48
@r3c r3c
Compare
Choose a tag to compare
  • Introduce Context.CreateSpy as a simple & live replacement for Context.CreateMonitor.

v2.0.4

11 Aug 13:34
@r3c r3c
Compare
Choose a tag to compare
  • Add support for .NET 5.0 target framework in packaged release
  • Add obsolete notice in compilation reports
  • Performance optimizations