-
NuGet: OpenTelemetry.PersistentStorage.Abstractions v1.2.0
See CHANGELOG for details.
-
NuGet: OpenTelemetry.PersistentStorage.FileSystem v1.2.0
-
Hardened
FileBlobProvider.- Breaking: When running on .NET on non-Windows platforms, creating a
FileBlobProvidernow throws anUnauthorizedAccessExceptionif its
storage directory could be changed by another user. The directory must be
owned by the current user and must not be writable by its group or by
other users. Each directory and symbolic link in its path must be owned by
the current user or by root, and those directories must not be writable
by their group or by other users unless they have the sticky bit set (such
as/tmp). The directory is verified again before blobs are listed,
created or removed, and no blobs are returned or read from it if it can
no longer be trusted. These checks can be disabled by using the new
FileBlobProvider(string path, bool checkPermissions)constructor with
checkPermissionsset tofalse. - A relative storage path is now resolved when the
FileBlobProvideris
created, so that the directory that is verified is always the directory
that is used, even if the current directory of the process is changed. - Blobs that are empty or that are larger than the maximum size of the
storage are no longer read. When running on .NET, blobs that are symbolic
links are also no longer read. - Fixed a blob write being accepted when it would cause the storage to exceed
its maximum size. - Writing content that is larger than the maximum size of the storage to a
FileBlobis now rejected, instead of replacing its existing content with
content that cannot be read.
(#5949)
- Breaking: When running on .NET on non-Windows platforms, creating a
-
Breaking Change Dropped support for
net8.0andnet9.0.
(#3867) -
Add support for .NET 11.0.
(#3867)
See CHANGELOG for details.
-