Skip to content

chore: Bump @thomasfosterau/effect-drizzle-ext from 0.7.0 to 0.8.0 - #446

Open
dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/npm_and_yarn/thomasfosterau/effect-drizzle-ext-0.8.0
Open

dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/npm_and_yarn/thomasfosterau/effect-drizzle-ext-0.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @thomasfosterau/effect-drizzle-ext from 0.7.0 to 0.8.0.

Changelog

Sourced from @​thomasfosterau/effect-drizzle-ext's changelog.

0.8.0

Minor Changes

  • #251 8051a2d Thanks @​thomasfosterau! - Add retryTransaction to ./errors: piped onto a whole transact(…), it re-runs the transaction on a jittered exponential backoff (default 3 retries from 50 ms) while it fails with a serialization failure (40001) or a deadlock (40P01), and passes every other failure through on the first attempt.

    Add decodeHexBytea to ./columns, a Result-returning hex decoder failing with effect/encoding's EncodingError. byteaToHex and hexToBytea now run on effect/encoding's Hex (about ten times faster); their results and hexToBytea's TypeError on malformed input are unchanged.

  • #246 2bbc15f Thanks @​thomasfosterau! - Breaking: adopt Effect v4's export layout. Every module is a PascalCase subpath, and each package root re-exports modules as namespaces instead of flat names. Function and type names are unchanged; only their import paths move.

    Upgrade by renaming subpaths:

    Package Old subpath New subpath
    core . (flat dbColumn, dbTable, defineTree, DerivationError, VersionChainEntry, …) ./Annotation, or the root's Annotation namespace
    core ./derive, ./references, ./constraints, ./columns, ./query, ./sort, ./update, ./errors, ./database ./Derive, ./References, ./Constraints, ./Columns, ./Query, ./Sort, ./Update, ./Errors, ./Database
    core ./query-functions, ./versioned-chain, ./postgis ./QueryFunctions, ./VersionedChain, ./PostGis
    core ./jsonapi, ./jsonapi/derive ./JsonApi, ./JsonApiDerive
    pg . (flat makePgDatabase, pgClientFromUrl, pgClientFromPool, PgDatabase* types) ./PgDatabase, or the root's PgDatabase namespace
    pg ./chain, ./migrations, ./testing, ./tooling ./Chain, ./Migrations, ./Testing, ./Tooling
    // before
    import { dbColumnFor } from "@thomasfosterau/effect-drizzle-ext";
    import { deriveColumnsWith } from "@thomasfosterau/effect-drizzle-ext/derive";
    import { makePgDatabase } from "@thomasfosterau/effect-drizzle-ext-pg";
    // after
    import { dbColumnFor } from "@​thomasfosterau/effect-drizzle-ext/Annotation";
    import { deriveColumnsWith } from "@​thomasfosterau/effect-drizzle-ext/Derive";
    import { makePgDatabase } from "@​thomasfosterau/effect-drizzle-ext-pg/PgDatabase";

    The core root stays Drizzle-free: it re-exports Annotation, Errors, Predicate and Update, plus the PostGis namespace as before. Modules that import Drizzle are subpaths only. The pg root re-exports every module except Tooling, which needs the optional drizzle-kit peer. ./Predicate, ./Where, ./Search, ./Tin, ./Outbox, ./Documents and ./ExternalIds keep their paths.

  • #253 1471ece Thanks @​thomasfosterau! - A leaf level may now have children. defineTree no longer throws for a leaf with children: its name joins its own subtree leaves (so its discriminator CHECK), it gets a leaf view like any leaf, and the branch views above it gain its CASE arm. A tree with no such leaf derives exactly the DDL and view SQL it did before. LeafName no longer counts a bare {} marker as a leaf, so such a marker drops out of views.leaves and the chain's types, where it never had a runtime value.

    -pg/chain adds LeafChain.refine({ id, from, patch, actor, keyed?, stable?, expectedVersion? }): on the target leaf, it refines a node of from (a leaf above it on its path) to the target in one write. It reads from's head and checks the precondition there, sets the identity row's type (the refinable arcs cascade it), inserts the stable rows of the levels the target adds, and appends an update at every level carrying from's state with patch applied. Earlier versions have no row at the added levels, so the target reads none of them. A non-refinable arc makes the identity update fail with the driver's foreign-key violation.

Commits

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 23, 2026
@changeset-bot

changeset-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 754790d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security

socket-security Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​thomasfosterau/​effect-drizzle-ext@​0.8.0811009493100

View full report

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/thomasfosterau/effect-drizzle-ext-0.8.0 branch 2 times, most recently from 9ed1dc2 to 4501e38 Compare November 24, 2026 07:29
Bumps [@thomasfosterau/effect-drizzle-ext](https://github.com/thomasfosterau/effect-drizzle-ext/tree/HEAD/packages/core) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/thomasfosterau/effect-drizzle-ext/releases)
- [Changelog](https://github.com/thomasfosterau/effect-drizzle-ext/blob/trunk/packages/core/CHANGELOG.md)
- [Commits](https://github.com/thomasfosterau/effect-drizzle-ext/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@thomasfosterau/effect-drizzle-ext"
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/thomasfosterau/effect-drizzle-ext-0.8.0 branch from 4501e38 to 754790d Compare November 24, 2026 08:20

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant