Skip to content

Releases: evryg-org/effect-contrib

@evryg/effect-cypher-codegen@0.4.3

Choose a tag to compare

@github-actions github-actions released this 13 Jun 00:26
37bd1c5

Patch Changes

  • #95 2c84a48 Thanks @jbmusso! - Improve numeric type inference in the Cypher type checker.
    • Recognize Neo4j scalar math functions. log, log10, exp, sqrt, the trigonometric
      functions, ceil, floor, round, e(), pi(), rand() and friends now infer Double;
      sign infers Long; and abs preserves its argument's numeric type. Previously any of these
      threw Unrecognized function, failing codegen for queries that projected a bare math call such as
      RETURN log(x) AS weight.
    • Unify numeric operand types in arithmetic. Expressions previously took only the first operand's
      type, so Long * Double (or priceLong * 1.5) inferred Long — emitting Neo4jInt and risking
      a runtime decode failure on floats. Numeric arithmetic now unifies operands by the numeric join
      (Long ⊔ Double = Double), a Double anywhere widens the result, and exponentiation (^) yields
      Double. Numeric literals also carry their int/float distinction (1.5/1e3Double). String
      and list concatenation are unaffected.

@evryg/effect-cypher-codegen@0.4.2

Choose a tag to compare

@github-actions github-actions released this 06 Jun 12:18
ed8d397

Patch Changes

  • #86 5c1c286 Thanks @jbmusso! - coalesce now accounts for fallback argument types when the leading argument is nullable. Previously the result type was the leading argument's type stripped of nullable, ignoring the fallbacks. When a nullable Double property is coalesced with an integer literal (coalesce(n.score, 0)), the runtime yields that integer literal as a database Integer when the property is null — which the Double decoder rejects. The result now widens to Long (the integer-tolerant numeric superset, which also passes floats through), so the emitted column decodes correctly. Same-type and non-nullable leading arguments are unaffected.

@evryg/effect-vitest-neo4j@0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 17:14
ad7a29c

Minor Changes

  • 953fa72 Thanks @jbmusso! - Migrate to Effect v4

    All packages now target Effect v4 (4.0.0-beta.78). effect and @effect/platform-node peer ranges are bumped to ^4.0.0-beta.78, and the standalone @effect/platform, @effect/cli, and @effect/sql dependencies are dropped now that they are merged into core effect. Consumers must upgrade to Effect v4.

Patch Changes

  • Updated dependencies [953fa72]:
    • @evryg/effect-neo4j@0.1.0
    • @evryg/effect-testcontainers-neo4j@0.1.0

@evryg/effect-testcontainers@0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 17:14
ad7a29c

Minor Changes

  • 953fa72 Thanks @jbmusso! - Migrate to Effect v4

    All packages now target Effect v4 (4.0.0-beta.78). effect and @effect/platform-node peer ranges are bumped to ^4.0.0-beta.78, and the standalone @effect/platform, @effect/cli, and @effect/sql dependencies are dropped now that they are merged into core effect. Consumers must upgrade to Effect v4.

@evryg/effect-testcontainers-neo4j@0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 17:14
ad7a29c

Minor Changes

  • 953fa72 Thanks @jbmusso! - Migrate to Effect v4

    All packages now target Effect v4 (4.0.0-beta.78). effect and @effect/platform-node peer ranges are bumped to ^4.0.0-beta.78, and the standalone @effect/platform, @effect/cli, and @effect/sql dependencies are dropped now that they are merged into core effect. Consumers must upgrade to Effect v4.

Patch Changes

  • Updated dependencies [953fa72]:
    • @evryg/effect-neo4j@0.1.0
    • @evryg/effect-testcontainers@0.1.0

@evryg/effect-neo4j@0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 17:14
ad7a29c

Minor Changes

  • 953fa72 Thanks @jbmusso! - Migrate to Effect v4

    All packages now target Effect v4 (4.0.0-beta.78). effect and @effect/platform-node peer ranges are bumped to ^4.0.0-beta.78, and the standalone @effect/platform, @effect/cli, and @effect/sql dependencies are dropped now that they are merged into core effect. Consumers must upgrade to Effect v4.

@evryg/effect-neo4j-schema@0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 17:13
ad7a29c

Minor Changes

  • 953fa72 Thanks @jbmusso! - Migrate to Effect v4

    All packages now target Effect v4 (4.0.0-beta.78). effect and @effect/platform-node peer ranges are bumped to ^4.0.0-beta.78, and the standalone @effect/platform, @effect/cli, and @effect/sql dependencies are dropped now that they are merged into core effect. Consumers must upgrade to Effect v4.

Patch Changes

  • Updated dependencies [953fa72]:
    • @evryg/effect-neo4j@0.1.0

@evryg/effect-integresql@0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 21:21
7ddaf8b

Minor Changes

  • 953fa72 Thanks @jbmusso! - Migrate to Effect v4

    All packages now target Effect v4 (4.0.0-beta.78). effect and @effect/platform-node peer ranges are bumped to ^4.0.0-beta.78, and the standalone @effect/platform, @effect/cli, and @effect/sql dependencies are dropped now that they are merged into core effect. Consumers must upgrade to Effect v4.

@evryg/effect-cypher-codegen@0.4.1

Choose a tag to compare

@github-actions github-actions released this 04 Jun 21:09
7ddaf8b

Patch Changes

  • #83 6b43ff8 Thanks @jbmusso! - Make generated query code type-check under Effect v4.
    • Row decoding no longer emits an untyped Neo4jRecordToObject schema transform.
      record.toObject() is called in the Effect pipeline and each row is validated
      directly with Schema.Array(Row), so the row struct fully type-checks the
      decoded shape.
    • The generated TemporalString transform now carries explicit
      SchemaTransformation.transform<string, unknown> type parameters, matching its
      Schema.Unknown source so it satisfies decodeTo's getter signature.
    • Single-file modules now annotate query parameters with their types instead of
      relying on an implicit any, the same way the barrel output already did.

@evryg/effect-cypher-codegen@0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 17:13
ad7a29c

Minor Changes

  • 953fa72 Thanks @jbmusso! - Migrate to Effect v4

    All packages now target Effect v4 (4.0.0-beta.78). effect and @effect/platform-node peer ranges are bumped to ^4.0.0-beta.78, and the standalone @effect/platform, @effect/cli, and @effect/sql dependencies are dropped now that they are merged into core effect. Consumers must upgrade to Effect v4.

Patch Changes

  • Updated dependencies [953fa72]:
    • @evryg/effect-neo4j@0.1.0
    • @evryg/effect-neo4j-schema@0.1.0