Skip to content

Releases: sukovanej/effect-http

v0.1.1

26 Apr 05:27
Compare
Choose a tag to compare

Patch Changes

  • 08af565: add effect-log dependency
  • 22552ea: Improve server stopping log message

v0.1.0

23 Apr 16:59
Compare
Choose a tag to compare

Minor Changes

  • 2eb96bb: Rewrite endpoint handling using Runtime.

    • Http.express, Http.listen and new Http.listenExpress functions now
      return Effect instead of promise.
    • Options object of Http.express was extended by validationErrorFormatter field
      that configures how are HTTP validation errors formatted.
    • Http.listen and Http.listenExpress options object was extended by
      port and logger fields.
    • Http.setLogger was removed in favor of the configuration above.
    • Http.provideService and Http.provideLayer were removed because the context
      is now propagated from the top-level effect. Simply provide the context for the
      app effect instead. Also, scoped services are now guaranteed to be safely released
      when the whole app closes - currently, on SIGTERM and SIGINT signals.
    pipe(
      server,
      Http.listen({ port: 3000 }),
      Effect.provideLayer(layer),
      Effect.runPromise,
    );

Patch Changes

  • 12b70ae: ExampleServer internal and public modules

v0.0.16

22 Apr 11:30
Compare
Choose a tag to compare

Patch Changes

  • 624aa2b: Update effect-log and remove "module" field from package.json
  • 6de1bf7: split internal and public modules
  • fbb4b9a: OpenAPI configuration options for Http.express
  • bb16a9a: extend errors

v0.0.15

21 Apr 17:31
Compare
Choose a tag to compare

Patch Changes

v0.0.14

20 Apr 21:19
Compare
Choose a tag to compare

Patch Changes

  • 11e3874: add support for request headers

v0.0.13

20 Apr 18:14
Compare
Choose a tag to compare

Patch Changes

v0.0.12

18 Apr 20:26
Compare
Choose a tag to compare

Patch Changes

  • ecceadb: improve error response and logging
  • 21b0484: update @effect/schema

v0.0.11

18 Apr 19:41
Compare
Choose a tag to compare

Patch Changes

  • 768a058: pattern error reporting
  • aca1545: fix query and path parameters to enable correct OpenAPI derivation

v0.0.10

18 Apr 15:58
Compare
Choose a tag to compare

Patch Changes

v0.0.9

16 Apr 12:12
Compare
Choose a tag to compare

Patch Changes