Szymon Rączka
a97a79f11e
fix(sveltekit): make adapter runtime-agnostic
...
Remove process.env default to support all SvelteKit runtimes
(Node, Cloudflare Workers, Vercel Edge, Deno). Users now pass
env explicitly via $env/dynamic/private.
2025-12-28 12:47:09 +01:00
Szymon Rączka
90b4de7093
feat: add SvelteKit adapter
...
Add framework adapter for SvelteKit with:
- `getApp()` - get bknd app instance
- `serve()` - request handler for hooks.server.ts
Usage in hooks.server.ts:
```typescript
import { serve } from "bknd/adapter/sveltekit";
import config from "../bknd.config";
const bkndHandler = serve(config);
export const handle = async ({ event, resolve }) => {
if (event.url.pathname.startsWith("/api/")) {
return bkndHandler(event);
}
return resolve(event);
};
```
Includes:
- Adapter implementation (app/src/adapter/sveltekit/)
- Test suite
- Working example (examples/sveltekit/)
- Package exports and types
2025-12-26 17:30:03 +01:00
dswbx
81f3914e7f
admin ui: made context overlays scrollable
2025-12-22 15:10:36 +01:00
dswbx
4f7925dfd8
bump rc, hide flows by isDebug instead
2025-12-05 17:12:07 +01:00
dswbx
40b70e7a20
feat(admin): add mcp as main navigation item when enabled, and make it route-aware
2025-12-05 15:25:06 +01:00
dswbx
fef77eea61
feat: add minLength to pw strategy, and enforce
2025-12-05 14:03:09 +01:00
dswbx
ed41887d74
feat/fix: adding auth.default_role_register and disallow giving role on registration payload
2025-12-05 14:02:42 +01:00
dswbx
e21b5e5b55
fix tsup broken watch
2025-12-03 18:08:54 +01:00
dswbx
959dee013e
fix admin local auth
2025-12-03 17:41:25 +01:00
dswbx
acc10377ca
feat: add local auth support if api storage provided
2025-12-02 18:18:45 +01:00
dswbx
506c7d84cc
chore: bump version to 0.20.0-rc.1 and fix client context
2025-12-02 15:14:27 +01:00
dswbx
731b7a7e8d
tests: fix node tests + add connection test suite for sqlocal
2025-12-02 14:11:26 +01:00
dswbx
e56fc9c368
finalized sqlocal, added BkndBrowserApp, updated react example
2025-12-02 14:03:41 +01:00
dswbx
d1aa2da5b1
Merge remote-tracking branch 'origin/release/0.20' into feat/opfs-and-sqlocal
2025-12-02 10:31:39 +01:00
dswbx
0fc817382a
Merge remote-tracking branch 'origin/release/0.20' into feat/postgres-fc
...
# Conflicts:
# app/src/core/utils/runtime.ts
2025-12-02 10:20:58 +01:00
dswbx
b2872eb196
Merge pull request #313 from bknd-io/feat/data-implicit-joins
...
feat: Add implicit joins in repository where clauses
2025-12-02 09:49:44 +01:00
dswbx
3d804f5ac5
Merge pull request #312 from bknd-io/fix/controller-schema-access
...
fix: putting schema related endpoints behind schema permission and added tests
2025-12-02 09:49:25 +01:00
dswbx
da025efee1
Merge pull request #307 from bknd-io/fix/ui-client-import
...
Fix UI client import
2025-12-02 09:48:35 +01:00
dswbx
ab1fa4c895
fix: add infinite back to dropzone container
2025-12-02 09:46:09 +01:00
dswbx
f792d8b93e
feat(repository): add implicit joins in where clauses
2025-12-02 09:38:16 +01:00
dswbx
319469f44b
fix: putting schema related endpoints behind schema permission and add tests
2025-12-02 08:53:49 +01:00
dswbx
1359741e5f
fix config reconciliation for specific field types, remove lodash
...
Replace lodash with native utilities and fix config merging to preserve common properties when switching between field types.
2025-11-29 14:18:57 +01:00
dswbx
8f4de33a76
use nullish coalescing and fix mode plugin pick up
2025-11-26 10:04:24 +01:00
dswbx
43dbc856ce
fix SystemController config read permission
2025-11-26 07:41:19 +01:00
dswbx
5a8f2b4894
upgrade bun and set linker isolated
2025-11-25 16:28:11 +01:00
dswbx
36e1bb1867
init opfs and sqlocal as another browser adapter
2025-11-25 16:21:16 +01:00
dswbx
0cf1d86213
fix client imports to prevent multiple react context's
2025-11-25 16:16:10 +01:00
dswbx
3fac740771
Merge branch 'release/0.20' into feat/add-otp-plugin
2025-11-21 20:03:30 +01:00
dswbx
5e5dc62304
Merge pull request #299 from bknd-io/fix/rec-with-join
...
fix: recursive `with` omitted join clauses
2025-11-21 20:01:46 +01:00
dswbx
c1d6384271
Merge pull request #301 from bknd-io/fix/cli-run-open
...
fix cli url opener and add minimal debug docker config
2025-11-21 19:40:54 +01:00
dswbx
c3ae4a3999
fix cloudflare adapter warm mode and type improvements
...
Adds warm mode support to cloudflare adapter to enable app instance caching. Improves BkndConfig type handling and makes hybrid mode reader optional. Fixes entity hook types to properly handle Generated ID types from kysely.
2025-11-21 17:35:45 +01:00
dswbx
5c3eeb7642
fix json schema validation initialization
...
ensure `getJsonSchema` handles both object and non-object outputs to prevent errors during validation initialization. this improves robustness when handling edge cases in schema configurations.
2025-11-20 21:11:28 +01:00
dswbx
a2fa11ccd0
refactor modes implementation and improve validation handling
...
refactor `code` and `hybrid` modes for better type safety and configuration flexibility. add `_isProd` helper to standardize environment checks and improve plugin syncing warnings. adjust validation logic for clean JSON schema handling and enhance test coverage for modes.
2025-11-20 21:08:16 +01:00
dswbx
fdee39da62
fix cli url opener and add minimal debug docker config
2025-11-20 20:04:13 +01:00
dswbx
16a3a67634
fix: recursive with omitted join clauses
2025-11-14 22:17:27 +01:00
dswbx
2b5e1771de
refactor: enhance email OTP responses and improve data structure
...
Updated the email OTP plugin to return a structured response containing the email, action, and expiration details. Adjusted the tests to validate the new response format. Increased password length for user creation
2025-11-14 21:59:06 +01:00
dswbx
a16e017e39
Merge remote-tracking branch 'origin/release/0.20' into feat/add-otp-plugin
2025-11-14 09:01:36 +01:00
dswbx
ff56d616d9
chore: upgrade bun to 1.3.2
2025-11-11 15:57:24 +01:00
dswbx
5b3d36c527
Merge pull request #294 from cameronapak/claude/add-loops-email-driver-011CUxMpVqe8AT22gN2k5ZVm
...
Email Driver: Add Plunk Support
2025-11-11 15:48:18 +01:00
cameronapak
2885fea077
Remove multi-recipient support from Plunk driver
2025-11-11 08:30:26 -06:00
dswbx
3f55c0f2c5
fix imports and adjust biome and linting configuration
...
remove unused `SecretSchema` import, adjust biome settings to modify linting behavior, and clean formatting in `slugify` and other functions.
2025-11-11 13:29:24 +01:00
dswbx
ba3d11edab
Merge remote-tracking branch 'origin/release/0.20' into feat/add-otp-plugin
2025-11-10 13:25:01 +01:00
dswbx
70b25a9f9b
hybrid: fix timing for automatic schema syncs to work with plugins
2025-11-10 10:34:50 +01:00
dswbx
b6717f0237
otp: update docs on permissions, only require email driver if sendEmail is not false
2025-11-10 10:25:33 +01:00
dswbx
c57f3e8070
otp: added missing tests
2025-11-10 10:17:16 +01:00
dswbx
c2f4f92d1a
refactor otp listeners
2025-11-10 09:40:47 +01:00
dswbx
6eb8525656
otp: add sendEmail option to disable sending for debugging
2025-11-10 09:30:24 +01:00
cameronapak
e2ebb57564
Fixed tests :)
2025-11-09 08:11:49 -06:00
cameronapak
2b7bbc5df0
Update tests to use real information
2025-11-09 08:01:14 -06:00
Claude
8766b742c6
add PLUNK_API_KEY to .env.example
2025-11-09 13:50:12 +00:00