---
title: "Ice 3.8.2 Release Notes"
url: https://docs.zeroc.com/ice/3.8/releases/ice-3-8-2/release-notes
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Ice 3.8.2 Release Notes

This [patch release](https://docs.zeroc.com/ice/3.8/compatibility.md) includes bug fixes and small improvements to Ice 3.8.

We list below the main highlights. Please refer to the [changelog](https://github.com/zeroc-ice/ice/blob/3.8/CHANGELOG-3.8.md) for a detailed description of all the changes included in this release.

## WebSocket Origin Checking

The new [adapter.AllowedOrigins](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties.md#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.

## C# Changes

### New Compiler Option for IceRPC

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](https://docs.icerpc.dev) C# 0.6.

### New Metadata Directives

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](https://docs.zeroc.com/ice/3.8/slice/slice-metadata-directives.md) for details.

## Code Hardening

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