Skip to content

Commit ff5fd04

Browse files
Version Packages (#700)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5814a58 commit ff5fd04

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

.changeset/global-diagnostics.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/language-service/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @effect/language-service
22

3+
## 0.84.0
4+
5+
### Minor Changes
6+
7+
- [#696](https://github.com/Effect-TS/language-service/pull/696) [`78e78d5`](https://github.com/Effect-TS/language-service/commit/78e78d51e7931bbc9b5a032376c377b411bf71dc) Thanks [@cevr](https://github.com/cevr)! - Add paired globalDate/globalDateInEffect, globalConsole/globalConsoleInEffect, globalFetch/globalFetchInEffect, globalRandom/globalRandomInEffect, and globalTimers/globalTimersInEffect diagnostics
8+
9+
Ten new opt-in diagnostics that flag global/DOM APIs both outside and inside Effect generators:
10+
11+
- `globalFetch` / `globalFetchInEffect``fetch()` → HttpClient
12+
- `globalDate` / `globalDateInEffect``Date.now()`, `new Date()` → Clock/DateTime
13+
- `globalConsole` / `globalConsoleInEffect``console.log/warn/error/info/debug/trace` → Effect.log/Logger
14+
- `globalRandom` / `globalRandomInEffect``Math.random()` → Random service
15+
- `globalTimers` / `globalTimersInEffect``setTimeout/setInterval` → Effect.sleep/Schedule
16+
17+
All default to `off`. Enable both variants for full coverage inside and outside Effect generators. Shadow-safe (e.g. `const console = yield* Console` won't false-positive).
18+
319
## 0.83.1
420

521
### Patch Changes

packages/language-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@effect/language-service",
3-
"version": "0.83.1",
3+
"version": "0.84.0",
44
"publishConfig": {
55
"access": "public",
66
"directory": "dist"

0 commit comments

Comments
 (0)