Skip to content

Releases: cloudevents/sdk-csharp

All packages version 2.9.0 (or 3.9.0)

Choose a tag to compare

@jskeet jskeet released this 04 Jul 14:26

Changes since 2.8.0:

  • Add explicit .NET 10 target to all packages
  • Remove .NET Standard 2.1 target from all packages
  • Release CloudNative.CloudEvents.Kafka as 3.9.0, bumping the major
    version to reflect adopting a new major Confluence.Kafka version.
  • Changed CloudEvents.Amqp dependency from AMQPNetLite and
    AMQPNetLite.Serialization to just AMQPNetLite.Core
  • Performance improvements in both JSON packages
  • Dependency updates:
    • AMQPNetLite.Core: Effectively 2.4.11 => 2.5.3
    • Apache.Avro: 1.11.3 => 1.12.1
    • Confluent.Kafka: 1.93 => 2.14.2
    • Google.Protobuf: 3.27.3 => 3.35.1
    • MQTTnet: 4.3.6.1152 => 4.3.7.1207
    • Newtonsoft.Json: 13.0.3 => 13.0.4
  • Dependencies only for .NET Standard 2.0:
    • Microsoft.AspNetCore.Http: 2.1.34 => 2.3.11
    • System.Memory: 4.5.5 => 4.6.3
    • System.Text.Encodings.Web: 8.0.0 => 10.0.9
    • System.Text.Json: 8.0.4 => 10.0.9

Note on the removal of .NET Standard 2.1: we don't expect this to break users,
although it may mean additional dependencies due to falling back to .NET Standard 2.0.
Please file an issue if this causes problems for you, and we'll consider reinstating
the target.

All packages version 2.8.0 (or 3.8.0)

Choose a tag to compare

@jskeet jskeet released this 07 Aug 07:25

Release 2.8.0
Changes since 2.7.1:

  • Add an explicit .NET 8 target to all packages.
  • Removed dependencies that are already included in the framework, for suitable targets.
  • Use a framework reference to Microsoft.AspNetCore.App instead of package frameworks,
    for the .NET 8 target
  • Release CloudNative.CloudEvents.Mqtt as 3.8.0, bumping the major
    version to reflect adopting MQTTnet version 4.3.6.1152.
    Fixes #269.
  • Other dependency updates:
    • AMQPNetLite and AMQPNetLite.Serialization: 2.4.2 => 2.4.11
    • Apache.Avro: 1.11.1 => 1.11.3
    • Newtonsoft.Json: 13.0.2 => 13.0.3
    • Google.Protobuf: 3.22.0 => 3.27.3
    • Confluent.Kafka: 1.6.3 => 1.9.3
      • See #297 for
        consideration of a bump to 2.x.
    • Only for netstandard2.0 and netstandard2.1 targets:
      • System.Text.Encodings.Web: 6.0.0 => 8.0.0
      • System.Text.Json: 5.0.2 => 8.0.4

All packages version 2.7.1

Choose a tag to compare

@jskeet jskeet released this 04 Sep 08:17
Release 2.7.1

Changes since 2.7.0:

- Prevent string resource lookup if not required. Fixes ([#264](https://github.com/cloudevents/sdk-csharp/issues/264)).

Signed-off-by: Jon Skeet <jonskeet@google.com>

All packages version 2.7.0

Choose a tag to compare

@jskeet jskeet released this 31 Jul 15:30
Release 2.7.0

Changes since 2.6.0:

- Add the ability to specify a custom serializer for Avro.
  Fixes ([#261](https://github.com/cloudevents/sdk-csharp/issues/261)).

Signed-off-by: Jon Skeet <jonskeet@google.com>

All packages version 2.6.0

Choose a tag to compare

@jskeet jskeet released this 07 Mar 11:16
Release 2.6.0

Changes since 2.5.1:

- Dependencies: system-level dependencies updated
- The NuGet package now uses PackageLicenseExpression (but still
  includes the licence file as well).
  Fixes ([#252](https://github.com/cloudevents/sdk-csharp/issues/252)).
- Regenerated protobuf schema using the original filename of
  cloudevents.proto instead of ProtoSchema.proto. An additional
  ProtoSchemaReflection class has been added purely for compatibility.
  Fixes ([#256](https://github.com/cloudevents/sdk-csharp/issues/256)).

Signed-off-by: Jon Skeet <jonskeet@google.com>

All packages version 2.5.1

Choose a tag to compare

@jskeet jskeet released this 10 Nov 09:39
Release 2.5.1

Changes since 2.5.0:

- Dependencies: update dependencies in CloudNative.CloudEvents.Avro
  - Add explicit dependency on Newtonsoft.Json 13.0.1 to avoid
    transitive dependency on a version containing vulnerabilities
  - Update Apache.Avro to 1.11.1

No APIs have changed. This is a patch release as the dependency
changes are very minor (but necessary to avoid vulnerabilities).

Signed-off-by: Jon Skeet <jonskeet@google.com>

All packages version 2.5.0

Choose a tag to compare

@jskeet jskeet released this 17 Oct 07:46

Release 2.5.0

Changes since 2.4.0:

  • Dependencies: update dependencies in CloudNative.CloudEvents.AspNetCore:
    • Remove dependency on Microsoft.AspNetCore.Mvc.Core (as we don't use it)
    • Update dependency on Microsoft.AspNetCore.Http to 2.1.34
    • Explicitly add dependency on System.Text.Encodings.Web 6.0.0 to avoid security issue in older version

No APIs have changed, but this is a minor release due to the significant dependency changes.

All packages version 2.4.0

Choose a tag to compare

@jskeet jskeet released this 08 Sep 10:07

Release 2.4.0

Changes since 2.3.1:

  • Feature: Implement underscore prefixes for AMQP (see history) (#236)
  • Feature: Allow empty payloads in Kafka (#224)
  • Feature: Implement conversions to and from JObject/JsonElement in JsonEventFormatter (#234, part of #231)
  • Bug fix: Observe JSON serializer options in JsonEventFormat (#226, fixes #225)
  • Bug fix: Put AvroEventFormatter in the right namespace (#220, fixes #219)
  • Bug fix: Use content headers when parsing HTTP requests/responses (#222, fixes #221)
  • Bug fix: Perform release builds with ContinuousIntegrationBuild=true (#223, fixes #175)

All packages version 2.3.1

Choose a tag to compare

@jskeet jskeet released this 29 Jun 07:14

Changes since 2.3.0:

  • Bug fix: ignore the charset when determining the content type for decoding JSON (#216)
  • Bug fix: make the NuGet package deterministic (#175)

All packages version 2.3.0

Choose a tag to compare

Release 2.3.0

Changes since 2.2.0:

- Bug fix: BinaryDataUtilities.AsArray misbehavior with array segments ([#209](https://github.com/cloudevents/sdk-csharp/issues/209))
- Bug fix: Links within XML documentation corrected after spec repo change
- Feature: Reject "data" as a context attribute name (spec has been clarified for this)
- Feature: Support Data content type inference in event formatters
  - The JsonEventFormatter classes infer "application/json" for all data
- Feature: CloudNative.CloudEvents.Protobuf is now GA (same version as other packages)

Signed-off-by: Jon Skeet <jonskeet@google.com>