changelogs/drizzle-orm/0.38.0.md
A few internal types were changed and extra generic types for length of column types were added in this release. It won't affect anyone, unless you are using those internal types for some custom wrappers, logic, etc. Here is a list of all types that were changed, so if you are relying on those, please review them before upgrading
MySqlCharBuilderInitialMySqlVarCharBuilderInitialPgCharBuilderInitialPgArrayBuilderPgArrayPgVarcharBuilderInitialPgBinaryVectorBuilderInitialPgBinaryVectorBuilderPgBinaryVectorPgHalfVectorBuilderInitialPgHalfVectorBuilderPgHalfVectorPgVectorBuilderInitialPgVectorBuilderPgVectorSQLiteTextBuilderInitialgetViewSelectedFields$inferSelect function to viewsInferSelectViewModel type for viewsisView functiondrizzle-zod has been completely rewritten. You can find detailed information about it heredrizzle-valibot has been completely rewritten. You can find detailed information about it heredrizzle-typebox has been completely rewritten. You can find detailed information about it hereThanks to @L-Mario564 for making more updates than we expected to be shipped in this release. We'll copy his message from a PR regarding improvements made in this release:
And a set of new features
createSelectSchema function now also accepts views and enums.createUpdateSchema, for use in updating queries.createSchemaFactory, to provide more advanced options and to avoid bloating the parameters of the other schema functions