Michael Arnaldi
769e5b953b
Extract functions from scope ( #43 )
...
* Extract functions from scope
* Apply middleware strategy to scope close
* Add check that default scope is never created
* extract close
* make close type safe
2025-01-29 21:33:25 +13:00
Maxwell Brown
bb05fb8345
Ensure nested configs can be loaded from env file ( #4360 )
2025-01-29 17:25:58 +13:00
Giulio Canti
7437058771
Refactor zod comparison and add URLs section, closes #4346 ( #4358 )
2025-01-28 11:11:49 +01:00
Maxwell Brown
7b03057507
Expose Schedule.isSchedule ( #4344 )
2025-01-28 10:19:12 +01:00
Tim
62934fc61a
optimize streaming response for NodeHttpServer ( #4354 )
2025-01-28 15:00:46 +13:00
Tim
8f6006a610
fix HttpServerRequest.arrayBuffer for bun & web handlers ( #4353 )
2025-01-28 13:48:09 +13:00
Tim
9172efba98
optimize Stream.toReadableStream ( #4352 )
2025-01-28 13:45:46 +13:00
Tim
430c846cba
fix Layer.scope types to correctly use the Scope tag identifier ( #4351 )
2025-01-28 12:03:11 +13:00
Michael Arnaldi
cc3a2c3254
Make Scope Implicit ( #42 )
2025-01-28 10:35:59 +13:00
Michael Arnaldi
d1ec91dd93
Make Reference<X> a valid Tag<never, X> ( #41 )
2025-01-28 09:15:40 +13:00
Maxwell Brown
3f60cae09b
Upgrade dependencies ( #40 )
...
* upgrade dependencies
* fix types
2025-01-26 20:07:20 -05:00
Giulio Canti
502223adf1
Cause: add jsdocs and tests ( #4340 )
2025-01-25 11:21:29 +01:00
Giulio Canti
59b3cfbbd5
Cookies: unsafeMakeCookie and unsafeSetAll now throw a more infor… ( #4334 )
2025-01-25 09:06:04 +01:00
Maxwell Brown
6811009944
Fix the RPC readme ( #4336 )
2025-01-25 11:49:15 +13:00
Johannes Schickling
ff529da0a7
Semaphore take fifo comment ( #4325 )
2025-01-24 23:35:26 +13:00
Giulio Canti
712277f949
Cron: unsafeParse now throws a more informative error instead of a … ( #4333 )
2025-01-24 06:29:36 +01:00
Giulio Canti
e59a3546c3
Enhance JSDoc comments in the Option module ( #4332 )
2025-01-23 17:45:02 +01:00
Giulio Canti
107e6f0557
Schema: Improve encoding in Defect and add test for array-based def… ( #4331 )
2025-01-23 12:45:06 +01:00
Giulio Canti
e386d2f1b3
Add missing overload for Option.as ( #4330 )
2025-01-23 12:07:32 +01:00
Giulio Canti
65c11b9266
Schema: Update itemsCount to allow 0 as a valid argument, closes … ( #4329 )
2025-01-23 11:47:15 +01:00
Giulio Canti
55147c5ad1
Add HRTime schema for backward compatibility with Duration ( #4327 )
2025-01-22 21:56:08 +01:00
Giulio Canti
602939adbb
Simplify gen implementations in Either and Option ( #4324 )
2025-01-22 15:56:52 +01:00
Giulio Canti
00f9a476da
Mark "mutually suspended schemas" test as flaky with retry option ( #4323 )
2025-01-22 15:48:51 +01:00
Giulio Canti
a9c94c8077
Schema: Fix Duration Encoding to Support All Duration Types ( #4313 )
2025-01-22 15:30:31 +01:00
github-actions[bot] and github-actions[bot]
f523f1a752
Version Packages ( #4321 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
effect@3.12.7
@effect/ai-openai@0.11.1
@effect/ai@0.8.1
@effect/cli@0.54.1
@effect/cluster-browser@0.18.1
@effect/cluster-node@0.25.1
@effect/cluster-workflow@0.23.1
@effect/cluster@0.24.1
@effect/experimental@0.39.1
@effect/opentelemetry@0.42.7
@effect/platform-browser@0.54.1
@effect/platform-bun@0.55.1
@effect/platform-node-shared@0.25.1
@effect/platform-node@0.71.1
@effect/platform@0.75.1
@effect/printer-ansi@0.40.7
@effect/printer@0.40.7
@effect/rpc-http@0.48.1
@effect/rpc@0.50.1
@effect/sql-clickhouse@0.13.1
@effect/sql-d1@0.26.1
@effect/sql-drizzle@0.27.1
@effect/sql-kysely@0.24.1
@effect/sql-libsql@0.18.1
@effect/sql-mssql@0.29.1
@effect/sql-mysql2@0.29.1
@effect/sql-pg@0.29.1
@effect/sql-sqlite-bun@0.29.1
@effect/sql-sqlite-do@0.6.1
@effect/sql-sqlite-node@0.29.1
@effect/sql-sqlite-react-native@0.31.1
@effect/sql-sqlite-wasm@0.29.1
@effect/sql@0.28.1
@effect/typeclass@0.31.7
@effect/vitest@0.17.3
2025-01-22 09:00:45 -05:00
Maxim Khramtsov
8dff1d1bff
[Fix] Cannot find name 'MissingSelfGeneric'. ( #4320 )
2025-01-22 08:53:20 -05:00
github-actions[bot] and github-actions[bot]
aba2e3a81a
Version Packages ( #4288 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@effect/cluster-node@0.25.0
@effect/cluster-workflow@0.23.0
@effect/cluster@0.24.0
@effect/cluster-browser@0.18.0
@effect/cli@0.54.0
@effect/ai@0.8.0
@effect/ai-openai@0.11.0
@effect/experimental@0.39.0
@effect/opentelemetry@0.42.6
@effect/platform-browser@0.54.0
@effect/platform-bun@0.55.0
@effect/platform-node-shared@0.25.0
@effect/platform-node@0.71.0
@effect/platform@0.75.0
@effect/printer-ansi@0.40.6
@effect/printer@0.40.6
@effect/rpc-http@0.48.0
@effect/rpc@0.50.0
@effect/sql-clickhouse@0.13.0
@effect/sql-d1@0.26.0
@effect/sql-drizzle@0.27.0
@effect/sql-kysely@0.24.0
@effect/sql-libsql@0.18.0
@effect/sql-mssql@0.29.0
@effect/sql-mysql2@0.29.0
@effect/sql-pg@0.29.0
@effect/sql-sqlite-bun@0.29.0
@effect/sql-sqlite-do@0.6.0
@effect/sql-sqlite-node@0.29.0
@effect/sql-sqlite-react-native@0.31.0
@effect/sql-sqlite-wasm@0.29.0
@effect/sql@0.28.0
@effect/typeclass@0.31.6
@effect/vitest@0.17.2
effect@3.12.6
2025-01-22 15:41:55 +13:00
Giulio Canti and Tim
fc5e0f0d35
improve UnknownException error messages ( #4292 )
...
Co-authored-by: Tim <hello@timsmart.co >
2025-01-22 15:31:39 +13:00
Maxwell Brown
5c5612fa94
Allow configuring OpenAI API URL and API key ( #4316 )
2025-01-22 09:09:31 +13:00
Maxim Khramtsov and Tim
8b4e75d35d
Added type-level validation for the Effect.Service ( #4298 )
...
Co-authored-by: Tim <hello@timsmart.co >
2025-01-22 08:25:40 +13:00
Giulio Canti
b2a31be85c
Duration: make DurationValue properties readonly ( #4314 )
2025-01-22 08:18:54 +13:00
Giulio Canti
4136318eaa
add missing Duration tests ( #4318 )
2025-01-21 19:23:08 +01:00
Giulio Canti
a1fd4d345d
chore: remove numRuns option from Arbitrary test ( #4315 )
2025-01-21 15:47:53 +01:00
Sebastian Lorenz
3b19bcfd3a
fix "ParseError" conflict between Cron & Schema ( #4228 )
2025-01-21 11:58:35 +01:00
Giulio Canti
c662fa33d8
Schema: fix DurationFromMillis jsdoc ( #4310 )
2025-01-21 11:39:32 +01:00
Giulio Canti
004fd2bbd1
Schema: Enforce Finite Durations in DurationFromNanos ( #4309 )
2025-01-21 11:17:00 +01:00
Giulio Canti
3191fa37cb
Schema: Simplify DurationFromSelf Arbitrary by removing redundant dur… ( #4308 )
2025-01-21 10:04:20 +01:00
Giulio Canti
289c13b38e
Schema: Add Support for Infinity in Duration ( #4307 )
2025-01-21 09:26:58 +01:00
Tim
5e43ce50ba
eliminate Scope by default in some layer apis ( #4306 )
2025-01-21 15:11:45 +13:00
Tim
60ae8e03af
add explicit Yieldable conversion
2025-01-21 14:33:26 +13:00
Tim
76eb7d0fbc
ensure toWebHandler context argument is a Context before using it ( #4304 )
2025-01-21 11:38:11 +13:00
Giulio Canti
bf5f0ae9da
Schema: Fix BigIntFromNumber to enforce upper and lower bounds ( #4301 )
2025-01-20 15:58:17 +01:00
Giulio Canti
f474678bf1
Schema: update pluck type signature to respect optional fields ( #4300 )
2025-01-20 15:19:03 +01:00
Giulio Canti
5b9bec656a
Schema: refactor tests ( #4299 )
2025-01-20 14:59:13 +01:00
Giulio Canti
ee187d0980
fix: update Cause.isCause type from 'never' to 'unknown' ( #4296 )
2025-01-20 11:28:12 +01:00
Giulio Canti
bec5ea459a
docs: improve documentation for Effect functions to clarify error han… ( #4295 )
2025-01-20 11:00:00 +01:00
Tim
656fba1a83
add RequestResolver group apis
2025-01-20 13:05:47 +13:00
Chris Wilkinson
eb264ed8a6
Fix following relative locations ( #4286 )
2025-01-20 12:38:13 +13:00
Tim
b064b3b293
ensure cause is rendered in FiberFailure ( #4294 )
2025-01-20 11:25:52 +13:00
Giulio Canti
68b1c70123
docs: enhance documentation for LogLevel.locally function with detail… ( #4293 )
2025-01-18 19:18:28 +01:00