dswbx
569d021316
fix: update OneToOneRelation and PolymorphicRelation configurations
...
Enhanced OneToOneRelation to allow source to create target with a mapping field and added a limit. Updated PolymorphicRelation to return a TextField for entity_id instead of NumberField, improving type consistency.
2025-10-01 09:00:44 +02:00
dswbx
610e263477
fix: handle correct type conversion for relation fields
...
Updated `RelationField` to dynamically determine the type based on `target_field_type`. Added a test for proper TypeScript generation with text primary fields in system entities.
2025-09-30 13:32:22 +02:00
dswbx
0f54e8267f
fix: exclude internal sqlite indices from introspection
...
Added a condition to filter out internal SQLite indices named 'sqlite_%' during introspection, ensuring cleaner and more relevant metadata retrieval.
2025-09-30 13:31:49 +02:00
dswbx
800f14ede2
fix: fix wrangler platform proxy handling
...
Modified the external dependencies in the build configuration to include "bknd" and its submodules. Added a new asynchronous function to handle platform proxy options, improving error handling for the "wrangler" import and providing clearer logging for version resolution. Additionally, ensured that the schema manager skips processing for tables without names.
2025-09-29 09:28:37 +02:00
dswbx
5e62e681e7
feat: introduce DummyConnection class for testing purposes
2025-09-21 14:20:07 +02:00
dswbx
99c1645411
chore: bump version to 0.18.0-rc.6 and fix EntityTypescript for system entities
2025-09-21 14:16:57 +02:00
dswbx
36e61cab3f
feat: enhance SQLite connection configurations to allow WAL
...
Updated the Bun and Node SQLite connection implementations to support additional configuration options, including `onCreateConnection`. Introduced tests for connection creation to validate database instance types and ensure proper callback execution. Improved type exports for better integration with existing code.
2025-09-20 10:16:33 +02:00
dswbx
17d4adbbfa
chore: bump version to 0.18.0-rc.4 and enhance test logging
...
Updated the package version to 0.18.0-rc.4. Improved test logging by disabling console output during tests to reduce noise and enhance readability. Adjusted various test files to implement console log management, ensuring cleaner test outputs.
2025-09-19 20:41:35 +02:00
dswbx
26d1f2b583
feat: add admin options for entities and app shell
...
Introduced `BkndAdminEntitiesOptions` and `BkndAdminAppShellOptions` for advanced customization of entity actions, headers, footers, and app shell user menu. Updated related components, hooks, and types for seamless integration with the new configuration options.
2025-09-19 11:36:31 +02:00
dswbx
059becbf09
refactor: update id handling for media entity
...
Revised `id` and `entity_id` types to support both string and number for flexibility. Adjusted `PolymorphicRelation` to use `PrimaryFieldType` for improved type safety and maintainability.
2025-09-19 11:28:51 +02:00
dswbx
6e3060141b
refactor: improve type handling and config structure
...
Updated various type definitions to improve flexibility and maintain consistency, including `MaybePromise` and `PartialRec`. Adjusted `App` class and related configurations to properly utilize these changes.
2025-09-18 09:58:12 +02:00
dswbx
3672cc7f2c
fix: adjust field formatting and type name handling
...
Enabled multiline comments for fields to align with entity settings. Updated `typeName` to remove spaces for consistent formatting.
2025-09-18 09:55:33 +02:00
dswbx
9dd7432e6b
refactor: remove unique field validation from EntityIndex
...
Eliminated validation requiring the first field in unique indices to be mandatory. This simplifies the logic as the requirement is no longer necessary.
2025-09-18 09:50:05 +02:00
dswbx
8c4a8d91a2
fix: secret handling and relation naming logic
...
Implemented improved handling for secrets in `DbModuleManager`, allowing secret merging and building before saving. Enhanced `ManyToManyRelation` naming to produce valid identifiers and ensured better testing coverage for both changes.
2025-09-18 09:47:47 +02:00
dswbx
70eaa22327
Merge remote-tracking branch 'origin/main' into release/0.18
...
# Conflicts:
# app/package.json
2025-09-15 16:29:15 +02:00
dswbx
50c5383138
Merge pull request #257 from bknd-io/fix/postgres-0.17-updates
...
postgres: bump 0.17.1 and improve custom connection API
2025-09-14 17:10:32 +02:00
dswbx
fea2812688
fix: handle numbered object conversion and update MCP tool URL
...
Add `convertNumberedObjectToArray` utility for handling numbered object to array conversion, addressing MCP tool allOf behavior. Adjust MCP tool URL in configuration and ensure default inspect options in development environment. Minor improvement in role enumeration handling for auth.
2025-09-14 17:03:23 +02:00
dswbx
62368c691a
postgres: bump 0.17.1 and improve custom connection API
...
Aligned connection constructors to include an explicit name parameter, updated documentation, and streamlined connection methods for consistency. Adjusted dependencies and cleaned unused references.
2025-09-14 16:01:37 +02:00
dswbx
758a89b5d7
fix tests: replace initialConfig with config
2025-09-04 10:44:14 +02:00
dswbx
e3888537f9
init code-first mode by splitting module manager
2025-09-04 09:21:35 +02:00
dswbx
bf521e2931
cloudflare: fixing multiple instances competing with configuration state by always serving fresh
2025-09-03 07:54:40 +02:00
dswbx
5ed1cf19b6
docs: plugins, cloudflare, sdk, elements, database ( #240 )
...
* docs: added plugins docs, updated cloudflare docs
* updated cli help text
* added `systemEntity` and added docs on how to work with system entities
* docs: added defaults to cloudflare image plugin
* docs: updated sdk and elements
2025-08-29 12:50:23 +02:00
dswbx
dcf88cf587
mcp: improve auth id type + styling fixes
2025-08-21 10:58:31 +02:00
dswbx
deb8aacca4
added mcp ui as tool
2025-08-15 10:12:09 +02:00
dswbx
63254de13a
added a simple mcp ui in tests
2025-08-14 16:49:31 +02:00
dswbx
70f0240da5
mcp: added auth tests, updated data tests
2025-08-12 22:13:09 +02:00
dswbx
bd3d2ea900
added data mcp tests
2025-08-12 20:22:38 +02:00
dswbx
871cec9251
Merge remote-tracking branch 'origin/release/0.17' into feat/mcp
...
# Conflicts:
# app/src/data/AppData.ts
# app/src/data/server/query.ts
# examples/cloudflare-worker/src/index.ts
2025-08-12 16:17:26 +02:00
dswbx
97d6af3792
cleaned up left over bknd/utils imports ( #235 )
2025-08-12 16:12:10 +02:00
dswbx
f40ea0ec5b
init mcp data tests, added crud for $record
2025-08-12 12:55:14 +02:00
dswbx
cb873381f1
auto generated tools docs, added stdio transport, added additional mcp config and permissions
2025-08-09 14:14:51 +02:00
dswbx
170ea2c45b
added additional permissions, implemented mcp authentication
2025-08-07 15:20:29 +02:00
dswbx
1b02feca93
added mcp tools from routes
2025-08-07 08:36:12 +02:00
dswbx
3e2938f77d
added initial $record
2025-08-05 13:20:00 +02:00
dswbx
5e5f0ef70f
fixing jsonv-ts imports
2025-08-02 16:47:24 +02:00
dswbx
ffbb61d58a
initialized mcp support
2025-08-02 16:33:05 +02:00
dswbx
a298b65abf
Release 0.16 ( #196 )
...
* initial refactor
* fixes
* test secrets extraction
* updated lock
* fix secret schema
* updated schemas, fixed tests, skipping flow tests for now
* added validator for rjsf, hook form via standard schema
* removed @sinclair/typebox
* remove unneeded vite dep
* fix jsonv literal on Field.tsx
* fix schema import path
* fix schema modals
* fix schema modals
* fix json field form, replaced auth form
* initial waku
* finalize waku example
* fix jsonv-ts version
* fix schema updates with falsy values
* fix media api to respect options' init, improve types
* checking media controller test
* checking media controller test
* checking media controller test
* clean up mediacontroller test
* added cookie option `partitioned`, as well as cors `origin` to be array, option to enable `credentials` (#214 )
* added cookie option `partitioned`, as well as cors `origin` to be array, option to enable `credentials`
* fix server test
* fix data api (updated jsonv-ts)
* enhance cloudflare image optimization plugin with new options and explain endpoint (#215 )
* feat: add ability to serve static by using dynamic imports (#197 )
* feat: add ability to serve static by using dynamic imports
* serveStaticViaImport: make manifest optional
* serveStaticViaImport: add error log
* refactor/imports (#217 )
* refactored core and core/utils imports
* refactored core and core/utils imports
* refactored media imports
* refactored auth imports
* refactored data imports
* updated package json exports, fixed mm config
* fix tests
* feat/deno (#219 )
* update bun version
* fix module manager's em reference
* add basic deno example
* finalize
* docs: fumadocs migration (#185 )
* feat(docs): initialize documentation structure with Fumadocs
* feat(docs): remove home route and move /docs route to /route
* feat(docs): add redirect to /start page
* feat(docs): migrate Getting Started chapters
* feat(docs): migrate Usage and Extending chapters
* feat(callout): add CalloutCaution, CalloutDanger, CalloutInfo, and CalloutPositive
* feat(layout): add Discord and GitHub links to documentation layout
* feat(docs): add integration chapters draft
* feat(docs): add modules chapters draft
* refactor(mdx-components): remove unused Icon import
* refactor(StackBlitz): enhance type safety by using unknown instead of any
* refactor(layout): update navigation mode to 'top' in layout configuration
* feat(docs): add @iconify/react package
* docs(mdx-components): add Icon component to MDX components list
* feat(docs): update Next.js integration guide
* feat(docs): update React Router integration guide
* feat(docs): update Astro integration guide
* feat(docs): update Vite integration guide
* fix(docs): update package manager initialization commands
* feat(docs): migrate Modules chapters
* chore(docs): update package.json with new devDependencies
* feat(docs): migrate Integration Runtimes chapters
* feat(docs): update Database usage chapter
* feat(docs): restructure documentation paths
* chore(docs): clean up unused imports and files in documentation
* style(layout): revert navigation mode to previous state
* fix(docs): routing for documentation structure
* feat(openapi): add API documentation generation from OpenAPI schema
* feat(docs): add icons to documentation pages
* chore(dependencies): remove unused content-collections packages
* fix(types): fix type error for attachFile in source.ts
* feat(redirects): update root redirect destination to '/start'
* feat(search): add static search functionality
* chore(dependencies): update fumadocs-core and fumadocs-ui to latest versions
* feat(search): add Powered by Orama link
* feat(generate-openapi): add error handling for missing OpenAPI schema
* feat(scripts): add OpenAPI generation to build process
* feat(config): enable dynamic redirects and rewrites in development mode
* feat(layout): add GitHub token support for improved API rate limits
* feat(redirects): add 301 redirects for cloudflare pages
* feat(docs): add Vercel redirects configuration
* feat(config): enable standalone output for development environment
* chore(layout): adjust layout settings
* refactor(package): clean up ajv dependency versions
* feat(docs): add twoslash support
* refactor(layout): update DocsLayout import and navigation configuration
* chore(layout): clean up layout.tsx by commenting out GithubInfo
* fix(Search): add locale to search initialization
* chore(package): update fumadocs and orama to latest versions
* docs: add menu items descriptions
* feat(layout): add GitHub URL to the layout component
* feat(docs): add AutoTypeTable component to MDX components
* feat(app): implement AutoTypeTable rendering for AppEvents type
* docs(layout): switch callouts back to default components
* fix(config): use __filename and __dirname for module paths
* docs: add note about node.js 22 requirement
* feat(styles): add custom color variables for light and dark themes
* docs: add S3 setup instructions for media module
* docs: fix typos and indentation in media module docs
* docs: add local media adapter example for Node.js
* docs(media): add S3/R2 URL format examples and fix typo
* docs: add cross-links to initial config and seeding sections
* indent numbered lists content, clarified media serve locations
* fix mediacontroller tests
* feat(layout): add AnimatedGridPattern component for dynamic background
* style(layout): configure fancy ToC style ('clerk')
* fix(AnimatedGridPattern): correct strokeDasharray type
* docs: actualize docs
* feat: add favicon
* style(cloudflare): format code examples
* feat(layout): add Github and Discord footer icons
* feat(footer): add SVG social media icons for GitHub and Discord
* docs: adjusted auto type table, added llm functions
* added static deployment to cloudflare workers
* docs: change cf redirects to proxy *.mdx instead of redirecting
---------
Co-authored-by: dswbx <dennis.senn@gmx.ch >
Co-authored-by: cameronapak <cameronandrewpak@gmail.com >
* build: improve build script
* add missing exports, fix EntityTypescript imports
* media: Dropzone: add programmatic upload, additional events, loading state
* schema object: disable extended defaults to allow empty config values
* Feat/new docs deploy (#224 )
* test
* try fixing pm
* try fixing pm
* fix docs on imports, export events correctly
---------
Co-authored-by: Tim Seriakov <59409712+timseriakov@users.noreply.github.com >
Co-authored-by: cameronapak <cameronandrewpak@gmail.com >
2025-08-01 15:55:59 +02:00
dswbx
2f684765de
libsql: update typings to allow minimal client fns (execute, batch)
2025-07-03 14:11:58 +02:00
dswbx
45138c25f0
refactor auth/media entities to separate files, suppress node:sqlite warning
2025-07-02 16:36:06 +02:00
dswbx
80034b9b0a
fix plugins imports
2025-07-02 16:13:22 +02:00
dswbx
70737c04cd
refactor console imports, added config update event
2025-07-02 14:02:50 +02:00
dswbx
d41fd5541f
rewrite libsql and cloudflare sqlite's to use the generic adapter
2025-07-02 14:02:33 +02:00
dswbx
57ae2f333c
inlined libsql dialect, rewrote d1 to use generic sqlite
2025-06-25 09:35:47 +02:00
dswbx
b2086c4da7
fix: plugin schema reconciliation
2025-06-18 10:31:40 +02:00
dswbx
3338804c34
simplify and export generic sqlite functions
2025-06-14 16:58:38 +02:00
dswbx
6b3ac9e6e2
fix toDriver mutation convertion not respecting default values, react re-renders on navigation, mutator result logging
2025-06-14 08:06:05 +02:00
dswbx
6e2596fb77
fixing tests
2025-06-14 07:08:46 +02:00
dswbx
2ada4e9f20
various fixes: refactored imports, introduced fromDriver/toDriver to improve compat
2025-06-13 21:15:29 +02:00
dswbx
96ae8f9d63
Merge remote-tracking branch 'origin/release/0.15' into feat/plugin-improvements
...
# Conflicts:
# app/package.json
# app/src/App.ts
2025-06-13 17:24:54 +02:00
dswbx
03c4c41d2d
cli now uses adapter logic, require node v22
2025-06-13 15:58:06 +02:00