Ice 3.8.2

2 min read

2 min read

2 min read

2 min read

2 min read

2 min read

2 min read

2 min read

2 min read

This patch release includes bug fixes and small improvements to Ice 3.8.

We list below the main highlights. Please refer to the changelog for a detailed description of all the changes included in this release.

The new adapter.AllowedOrigins property lets an object adapter restrict the origins accepted in WebSocket upgrade requests. This check is disabled by default. When enabled, it rejects requests with an Origin header that does not match an allowed origin; requests without this header remain accepted.

We added a new --icerpc option to the Slice compiler for C# (slice2cs). When this option is specified, slice2cs generates code for IceRPC C#. The generated code is compatible with IceRPC C# 0.6.

We added two new metadata directives:

  • ["cs:internal"], for top-level Slice definitions such as struct and interfaces. This metadata changes the access modifier for the generated C# constructs to internal(the default remains public).
  • ["cs:readonly"], for Slice structs. See Slice Metadata Directives for details.

We performed a comprehensive audit of the Ice source code using AI tools and applied fixes for various issues uncovered by this audit.