Commit Graph
12527 Commits
Author SHA1 Message Date
Maxwell Brown 21546c04ea add more deferred tests (#7) 2024-12-23 22:07:45 -05:00
Tim 730f649d8c wip 2024-12-24 14:11:49 +13:00
Tim 05041ef041 allow R in Deferred.complete 2024-12-24 14:08:48 +13:00
Tim 4e77f98e98 update Channel tests 2024-12-24 14:06:14 +13:00
Tim 4eb21e4037 add test utils 2024-12-24 13:52:01 +13:00
Maxwell BrownandTim 00826ae169 Add failing test for interruption (#6)
* add failing test

* fix test

---------

Co-authored-by: Tim <hello@timsmart.co>
2024-12-24 13:28:00 +13:00
Tim 371c976dce treat internal interruption differently 2024-12-24 10:27:12 +13:00
github-actions[bot]andgithub-actions[bot] df82e92d08 Version Packages (#4184)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@effect/printer@0.40.0 @effect/platform@0.72.0 @effect/sql-sqlite-node@0.26.0 @effect/sql-sqlite-react-native@0.28.0 @effect/ai@0.5.0 @effect/sql-sqlite-wasm@0.26.0 @effect/sql@0.25.0 @effect/typeclass@0.31.0 @effect/vitest@0.16.0 effect@3.12.0 @effect/cli@0.51.0 @effect/cluster-browser@0.15.0 @effect/cluster-node@0.22.0 @effect/cluster-workflow@0.20.0 @effect/cluster@0.21.0 @effect/experimental@0.36.0 @effect/opentelemetry@0.42.0 @effect/platform-browser@0.51.0 @effect/platform-bun@0.52.0 @effect/platform-node-shared@0.22.0 @effect/platform-node@0.68.0 @effect/ai-openai@0.8.0 @effect/printer-ansi@0.40.0 @effect/sql-sqlite-do@0.3.0 @effect/rpc-http@0.45.0 @effect/rpc@0.47.0 @effect/sql-clickhouse@0.10.0 @effect/sql-d1@0.23.0 @effect/sql-drizzle@0.24.0 @effect/sql-kysely@0.21.0 @effect/sql-libsql@0.15.0 @effect/sql-mssql@0.26.0 @effect/sql-mysql2@0.26.0 @effect/sql-pg@0.26.0 @effect/sql-sqlite-bun@0.26.0
2024-12-23 11:30:31 +13:00
Tim c9926402a4 fix vitest .prop with objects 2024-12-23 11:19:30 +13:00
Tim ef64c6fec0 remove generics from HttpClient tag service (#4169) 2024-12-23 11:19:30 +13:00
Michael ArnaldiandTim e1eeb2d706 Carry both call-site and definition site in Effect.fn, auto-trace to anon (#4155)
Co-authored-by: Tim <hello@timsmart.co>
2024-12-23 11:19:30 +13:00
Samuel BrioleandGiulio Canti 73f9c6f2ff add DateTimeUtcFromDate schema (#3956)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
2024-12-23 11:19:30 +13:00
Dapper Mink c11f3a60a0 Add Context.mergeAll (#4135) 2024-12-23 11:19:30 +13:00
Tim 618f7e092a add span annotation to disable propagation to the tracer (#4123) 2024-12-23 11:19:30 +13:00
Titouan CREACHandSebastian Lorenz abb22a429b add UriComponent schemas and encoding (#3982)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
2024-12-23 11:19:30 +13:00
Sebastian Lorenz d80182060c added Cron.unsafeParse and allow passing the tz parameter as string (#4106) 2024-12-23 11:19:30 +13:00
Sebastian Lorenz 17cb451459 add second granularity to Cron (#4088) 2024-12-23 11:19:30 +13:00
Michael Arnaldi 3d2b7a7e94 Allow passing fast-check parameters to prop function (#4099) 2024-12-23 11:19:30 +13:00
Titouan CREACHandGiulio Canti c0ba834d19 add Schema.headNonEmpty on Schema.NonEmptyArray (#3983)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
2024-12-23 11:19:30 +13:00
Tim 642376c63f add non-traced overload to Effect.fn (#4077) 2024-12-23 11:19:30 +13:00
Vincent François f369a89e98 feat: add runtime type extractor (#4020) 2024-12-23 11:19:30 +13:00
Tim a8ae78f73b optimize Deferred.await 2024-12-23 11:19:01 +13:00
Tim 935e1218e3 add Deferred 2024-12-23 11:16:39 +13:00
github-actions[bot]andgithub-actions[bot] fb44b251b1 Version Packages (#4178)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@effect/sql-sqlite-bun@0.25.3 @effect/sql-sqlite-do@0.2.3 @effect/sql-sqlite-node@0.25.3 @effect/sql-sqlite-react-native@0.27.3 @effect/sql-sqlite-wasm@0.25.3 @effect/typeclass@0.30.10 @effect/vitest@0.15.0 @effect/platform-browser@0.50.7 @effect/ai-openai@0.7.3 @effect/ai@0.4.8 @effect/cli@0.50.7 @effect/cluster-browser@0.14.7 @effect/cluster-node@0.21.3 @effect/cluster-workflow@0.19.3 @effect/cluster@0.20.3 @effect/experimental@0.35.3 @effect/opentelemetry@0.41.8 @effect/platform-bun@0.51.7 @effect/platform-node-shared@0.21.7 @effect/platform-node@0.67.3 @effect/platform@0.71.7 @effect/printer-ansi@0.39.10 @effect/printer@0.39.10 @effect/rpc-http@0.44.7 @effect/rpc@0.46.7 @effect/sql-clickhouse@0.9.3 @effect/sql-d1@0.22.3 @effect/sql-drizzle@0.23.3 @effect/sql-kysely@0.20.3 @effect/sql-libsql@0.14.1 @effect/sql-mssql@0.25.3 @effect/sql-mysql2@0.25.3 @effect/sql-pg@0.25.3 @effect/sql@0.24.3 effect@3.11.10
2024-12-23 10:28:34 +13:00
Chris Wilkinson 62f12d8244 Support native arbitraries in @effect/vitest (#4173) 2024-12-23 10:02:44 +13:00
Tim 365314d88d proxy failures 2024-12-23 09:58:28 +13:00
Maxwell Brown 332bc26674 add failing tests (#5) 2024-12-23 09:57:51 +13:00
Maxwell Brown 25d87d20a8 Add failing Channel.mapEffect test (#4) 2024-12-23 09:07:08 +13:00
Giulio Canti a1ca621a2c Schema: chore, remove duplicate code (#4183) 2024-12-22 17:23:26 +01:00
Tim cfeb00d931 add switchMap test 2024-12-22 22:40:55 +13:00
Tim d0da71f157 wip 2024-12-22 22:37:19 +13:00
Tim e4dd5aa14b add switch to mergeAll 2024-12-22 22:22:28 +13:00
Tim 014b61aa44 Channel.switchMap 2024-12-22 22:03:41 +13:00
Tim f30527acd6 wip 2024-12-22 16:03:17 +13:00
Maxwell Brown 3284a1496c Merge pull request #3 from Effect-TS/feat/merging-tests
Add tests for merging channels
2024-12-21 16:25:54 -05:00
Maxwell Brown b43a409b31 add merge tests 2024-12-21 16:25:01 -05:00
Tim 831a74c20a wip 2024-12-22 09:51:46 +13:00
Tim 53c19c47df use array for stream 2024-12-22 09:48:41 +13:00
Tim b0ff704e2a fix forever predicate 2024-12-22 09:42:01 +13:00
Tim 2b96ee1e6e add autoYield option to .forever 2024-12-22 09:35:56 +13:00
Tim 5fbec0f788 add Channel.ensuring 2024-12-22 09:15:16 +13:00
Michael Arnaldi b3c160d7a1 Replace absolute imports with relative ones (#4182) 2024-12-21 21:00:07 +01:00
Tim 874a871471 expose yieldNow / flush 2024-12-22 08:49:24 +13:00
Giulio Canti a475cc25fd Schema: Fix withDecodingDefault implementation to align with its si… (#4181) 2024-12-21 17:08:48 +01:00
Giulio Canti d8151f7233 Schema: Fix bug where calling withDecodingDefault after `withConstr… (#4180) 2024-12-21 12:20:16 +01:00
Tim 0e8aad6ed8 Sink.forEach 2024-12-21 23:21:46 +13:00
Tim 7595afb125 add _tag to Halt 2024-12-21 23:11:02 +13:00
Tim 086d5a2904 add Sink 2024-12-21 23:04:04 +13:00
Giulio Canti 199214e21c Schema: refactor annotations (#4175) 2024-12-21 10:58:39 +01:00
Tim 0d7260d85d export Halt 2024-12-21 22:02:59 +13:00