Open renovate[bot] opened 5 months ago
This PR contains the following updates:
2.2.4
3.8.4
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
2.2.4
->3.8.4
Release Notes
Effect-TS/effect (effect)
### [`v3.8.4`](https://redirect.github.com/Effect-TS/effect/blob/HEAD/packages/effect/CHANGELOG.md#384) [Compare Source](https://redirect.github.com/Effect-TS/effect/compare/effect@3.8.3...effect@3.8.4) ##### Patch Changes - [#3661](https://redirect.github.com/Effect-TS/effect/pull/3661) [`4509656`](https://redirect.github.com/Effect-TS/effect/commit/45096569d50262275ee984f44c456f5c83b62683) Thanks [@KhraksMamtsov](https://redirect.github.com/KhraksMamtsov)! - `Micro.EnvRef` and `Micro.Handle` is subtype of `Micro` ### [`v3.8.3`](https://redirect.github.com/Effect-TS/effect/blob/HEAD/packages/effect/CHANGELOG.md#383) [Compare Source](https://redirect.github.com/Effect-TS/effect/compare/effect@3.8.2...effect@3.8.3) ##### Patch Changes - [#3644](https://redirect.github.com/Effect-TS/effect/pull/3644) [`bb5ec6b`](https://redirect.github.com/Effect-TS/effect/commit/bb5ec6b4b6a6f537394596c5a596faf52cb2aef4) Thanks [@tim-smart](https://redirect.github.com/tim-smart)! - fix encoding of logs to tracer span events ### [`v3.8.2`](https://redirect.github.com/Effect-TS/effect/blob/HEAD/packages/effect/CHANGELOG.md#382) [Compare Source](https://redirect.github.com/Effect-TS/effect/compare/effect@3.8.1...effect@3.8.2) ##### Patch Changes - [#3627](https://redirect.github.com/Effect-TS/effect/pull/3627) [`f0d8ef1`](https://redirect.github.com/Effect-TS/effect/commit/f0d8ef1ce97ec2a87b09b3e24150cfeab85d6e2f) Thanks [@fubhy](https://redirect.github.com/fubhy)! - Revert cron schedule regression ### [`v3.8.1`](https://redirect.github.com/Effect-TS/effect/blob/HEAD/packages/effect/CHANGELOG.md#381) [Compare Source](https://redirect.github.com/Effect-TS/effect/compare/effect@3.8.0...effect@3.8.1) ##### Patch Changes - [#3624](https://redirect.github.com/Effect-TS/effect/pull/3624) [`10bf621`](https://redirect.github.com/Effect-TS/effect/commit/10bf6213f36d8ddb00f058a4609b85220f3d8334) Thanks [@fubhy](https://redirect.github.com/fubhy)! - Fixed double firing of cron schedules in cases where the current time matched the initial interval. - [#3623](https://redirect.github.com/Effect-TS/effect/pull/3623) [`ae36fa6`](https://redirect.github.com/Effect-TS/effect/commit/ae36fa68f754eeab9a54b6dc0f8b44db513aa2b6) Thanks [@fubhy](https://redirect.github.com/fubhy)! - Allow CRLF characters in base64 encoded strings. ### [`v3.8.0`](https://redirect.github.com/Effect-TS/effect/blob/HEAD/packages/effect/CHANGELOG.md#380) [Compare Source](https://redirect.github.com/Effect-TS/effect/compare/effect@3.7.3...effect@3.8.0) ##### Minor Changes - [#3541](https://redirect.github.com/Effect-TS/effect/pull/3541) [`fcfa6ee`](https://redirect.github.com/Effect-TS/effect/commit/fcfa6ee30ffd07d998bf22799357bf58580a116f) Thanks [@Schniz](https://redirect.github.com/Schniz)! - add `Logger.withLeveledConsole` In browsers and different platforms, `console.error` renders differently than `console.info`. This helps to distinguish between different levels of logging. `Logger.withLeveledConsole` takes any logger and calls the respective `Console` method based on the log level. For instance, `Effect.logError` will call `Console.error` and `Effect.logInfo` will call `Console.info`. To use it, you can replace the default logger with a `Logger.withLeveledConsole` logger: ```ts import { Logger, Effect } from "effect" const loggerLayer = Logger.withLeveledConsole(Logger.stringLogger) Effect.gen(function* () { yield* Effect.logError("an error") yield* Effect.logInfo("an info") }).pipe(Effect.provide(loggerLayer)) ``` - [#3541](https://redirect.github.com/Effect-TS/effect/pull/3541) [`bb9931b`](https://redirect.github.com/Effect-TS/effect/commit/bb9931b62e249a3b801f2cb9d097aec0c8511af7) Thanks [@KhraksMamtsov](https://redirect.github.com/KhraksMamtsov)! - Made `Ref`, `SynchronizedRed` and `SubscriptionRef` a subtype of `Effect` - [#3541](https://redirect.github.com/Effect-TS/effect/pull/3541) [`5798f76`](https://redirect.github.com/Effect-TS/effect/commit/5798f7619529de33e5ba06f551806f68fedc19db) Thanks [@tim-smart](https://redirect.github.com/tim-smart)! - add Semaphore.withPermitsIfAvailable You can now use `Semaphore.withPermitsIfAvailable` to run an Effect only if the Semaphore has enough permits available. This is useful when you want to run an Effect only if you can acquire a permit without blocking. It will return an `Option.Some` with the result of the Effect if the permits were available, or `None` if they were not. ```ts import { Effect } from "effect" Effect.gen(function* () { const semaphore = yield* Effect.makeSemaphore(1) semaphore.withPermitsIfAvailable(1)(Effect.void) }) ``` - [#3541](https://redirect.github.com/Effect-TS/effect/pull/3541) [`5f0bfa1`](https://redirect.github.com/Effect-TS/effect/commit/5f0bfa17205398d4e4818bfbcf9e1b505b3b1fc5) Thanks [@KhraksMamtsov](https://redirect.github.com/KhraksMamtsov)! - The `Deferred` is now a subtype of `Effect`. This change simplifies handling of deferred values, removing the need for explicit call `Deffer.await`. ```typescript import { Effect, Deferred } from "effect" Effect.gen(function* () { const deferred = yield* Deferred.makeConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.