Minor Changes
-
9c8ead2: This release introduces a lot of (internal) changes, but to be honest, I'm too lazy to write them all down so I'll mention the highlights:
SafeQL supports Flat Config! 🎉
You can now use SafeQL with the new ESLint Flat Config API:
// eslint.config.js import safeql from "@ts-safeql/eslint-plugin/config"; import tseslint from "typescript-eslint"; export default tseslint.config( // ... safeql.configs.connections({ // ... }), );
SafeQL is now built for both ESM and CJS
Up until now, I built SafeQL using only TSC (targeting CJS). In order to support both ESM and CJS, I had to use a different build system. I chose to use unbuild because it's awesome.
Patch Changes
- @ts-safeql/shared@3.2.0
- @ts-safeql/sql-ast@3.2.0
- @ts-safeql/test-utils@0.0.17