Skip to content

Conversation

@daffl
Copy link
Member

@daffl daffl commented Sep 5, 2025

This will be a breaking change because of the changes in TypeBox Type.Intersect and Type.Composite and the removal of $in and $nin support for querying arrays in MongoDb which broke the TypeScript type inference mechanism.

@daffl daffl added this to the v6 milestone Sep 5, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 5, 2025

Deploying feathers-dove with  Cloudflare Pages  Cloudflare Pages

Latest commit: 55a7cef
Status: ✅  Deploy successful!
Preview URL: https://eb9046fd.feathers.pages.dev
Branch Preview URL: https://v6-compat-upgrade-typebox.feathers.pages.dev

View logs

@daffl daffl mentioned this pull request Sep 5, 2025
@daffl daffl merged commit 4def62e into eagle Sep 5, 2025
5 checks passed
@daffl daffl deleted the v6-compat-upgrade-typebox branch September 5, 2025 18:27
@daedalus28
Copy link

daedalus28 commented Sep 24, 2025

@daffl FYI - typebox 1.0 was just released. Notably, Type.Composite was removed (which this PR just moved to). Now that it's 1.0, I expect future releases will be less likely to include breaking changes. There are also some specific changes feathers might be interested to support different library and user versions of typebox (by moving off of symbols and onto ~ prefixed properties)

@daffl
Copy link
Member Author

daffl commented Sep 24, 2025

I thought there wouldn't be yet another change around this in the final version. Follow up PR is in #3616 but even just trying to compile the package completely crashes the TypeScript compiler for me.

@daedalus28
Copy link

That's unfortunate. Hopefully typebox's API is stabilized now. It would be really great to kick off feathers v6 with 1 of typebox, but I definitely feel your pain (and appreciate all the effort you've put into feathers over the years!).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants