Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@effect/opentelemetry@0.61.0
Minor Changes
#5927
f4972edThanks @davidgoli! - Add protobuf protocol support for OTLP exportersThis introduces an
OtlpSerializationservice for choosing between JSON and Protobuf encoding.Breaking changes:
Otlp.layernow requires anOtlpSerializationlayer to be provided forthe desired encoding format.
JSON encoding:
Protobuf encoding:
#5952
4725a7eThanks @clayroach! - Make @opentelemetry/sdk-trace-node and @opentelemetry/sdk-trace-web required peer dependencies instead of optional. This fixes module resolution errors when importing from the main entry point.Patch Changes
#5929
abdab5cThanks @schickling! - FixSpan.addEventto correctly handle the 2-argument overload with attributes.Previously, calling
span.addEvent("name", { foo: "bar" })would throwTypeError: {} is not iterablebecause the implementation incorrectly treated the attributes object as aTimeInput. The fix adds proper runtime type discrimination to distinguish betweenTimeInput(number, Date, or HrTime tuple) andAttributes(plain object).Updated dependencies [
7e925ea,118e7a4,d7e75d6]:@effect/cli@0.73.1
Patch Changes
#5983
0d1a44fThanks @cevr! - Allow options to appear after positional argumentsPreviously,
@effect/clirequired all options to appear before positional arguments. For example,cmd --force stagingworked butcmd staging --forcefailed with "Received unknown argument".This change updates the option parsing logic to scan through all arguments to find options, regardless of their position relative to positional arguments. This aligns with the behavior of most CLI tools (git, npm, docker, etc.) which allow options anywhere in the command.
Before:
After:
Updated dependencies [
7e925ea,118e7a4,d7e75d6]:effect@3.19.15
Patch Changes
#5981
7e925eaThanks @bxff! - Fix type inference loss inArray.flattenfor complex nested structures like unions of Effects with contravariant requirements. Uses distributive indexed access (T[number][number]) in theFlattentype utility and addsconstto theflattengeneric parameter.#5970
d7e75d6Thanks @KhraksMamtsov! - fix Config.orElseIf signature@effect/platform@0.94.2
Patch Changes
#5977
118e7a4Thanks @scotttrinh! - AddedrowsandisTTYproperties toTerminalUpdated dependencies [
7e925ea,d7e75d6]:@effect/platform-bun@0.87.1
Patch Changes
#5977
118e7a4Thanks @scotttrinh! - AddedrowsandisTTYproperties toTerminalUpdated dependencies [
7e925ea,118e7a4,d7e75d6]:@effect/platform-node@0.104.1
Patch Changes
#5977
118e7a4Thanks @scotttrinh! - AddedrowsandisTTYproperties toTerminalUpdated dependencies [
7e925ea,118e7a4,d7e75d6]:@effect/platform-node-shared@0.57.1
Patch Changes
#5977
118e7a4Thanks @scotttrinh! - AddedrowsandisTTYproperties toTerminalUpdated dependencies [
7e925ea,118e7a4,d7e75d6]: