dswbx
e055e477ae
chore: bump version to 0.19.0-rc.2 and remove unused server initialization callback in Cloudflare config
2025-10-28 13:14:23 +01:00
dswbx
ef41b71921
fix: add modes export, fix event firing with modes and cloudflare
2025-10-28 09:18:16 +01:00
dswbx
574b37abcd
fix: update key handling in StorageR2Adapter to conditionally prepend keyPrefix
...
- Modified getKey method to prepend keyPrefix only if it is not empty, ensuring correct key formatting.
2025-10-26 21:04:37 +01:00
dswbx
1fc6e810ae
feat: improve Deno support and enhance serveStaticViaImport function
...
- Introduced support for Deno as a runtime in the documentation.
- Updated serveStaticViaImport function to accept additional options: appendRaw and package.
- Improved error logging in serveStaticViaImport for better debugging.
- Added new Deno integration documentation with examples for serving static assets.
2025-10-24 18:22:58 +02:00
dswbx
aedae8e757
Merge pull request #285 from bknd-io/feat/mode-helpers
...
feat: introduce new modes helpers
2025-10-24 15:09:05 +02:00
dswbx
22e43c2523
feat: introduce new modes helpers
2025-10-18 16:58:54 +02:00
dswbx
27e2064f0c
Merge pull request #272 from bknd-io/feat/media-add-body-max
...
feat: add media option to module to restrict body max size
2025-10-01 09:39:38 +02:00
dswbx
5cf91bb35a
Merge pull request #273 from bknd-io/feat/schema-batch-statements
...
feat: batch schema manager statements
2025-10-01 09:39:19 +02:00
dswbx
ba9713587c
chore: update Cloudflare proxy build target to ESNext and adjust package import handling
...
Set the build target for the Cloudflare adapter to ESNext to keep json import attribute.
2025-10-01 09:00:11 +02:00
dswbx
eecaeb7c06
chore: bump version to 0.18.0-rc.11 and add cloudflare makeConfig export
...
Updated package version to 0.18.0-rc.11 and included `makeConfig` in Cloudflare adapter exports to extend configuration capabilities.
2025-09-30 13:32:57 +02:00
dswbx
55082e9d0e
feat: improve media handling
...
added local range requests, fix mime type detection, improve uploading using FormData, correctly use mime type allow list, added previews for audio, pdf and text
2025-09-29 14:55:19 +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
06d7558c3c
feat: batch schema manager statements
...
run all schema modification queries in a single batch/transaction, to enable automatic rollbacks, and to stay within cloudflare's subrequest limits in free plan.
2025-09-24 14:48:45 +02:00
dswbx
7344b1cf3d
feat: add media option to module to restrict body max size
...
updated media schema to enforce strict validation, introduced `options` for AppMedia, and added a key prefix feature for StorageR2Adapter to enhance flexibility and control.
2025-09-24 10:29:03 +02:00
dswbx
50e9be833b
chore: updated cf deps, improved vite dev
2025-09-20 13:59:41 +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
95d114ea68
test: adjust expectation for beforeBuild call count
...
Updated the test to expect `beforeBuild` to be called twice, reflecting changes in the test conditions or setup logic.
2025-09-19 11:30:38 +02:00
dswbx
91120091a3
feat: add fallback redirect for cloudflare image optimization plugin
...
Introduced `fallbackRedirect` option to enable a redirect to the original image if image optimization fails. Added logging for platform proxy usage and adjusted `beforeBuild` to handle undefined `app`. Minor improvements and process termination for clear command flow.
2025-09-19 11:28:04 +02:00
dswbx
fa8931ad15
fix: implement chunked request handling for cloudflare vite dev-fs plugin
...
Reworked the dev-fs plugin to handle chunked write requests efficiently. Added mechanisms to track, process, and validate chunks, ensuring reliable file writes even for large data. Enhanced verbose logging for better debugging.
2025-09-18 09:59:10 +02:00
dswbx
9aae6e78d6
config: allow full property usage in app function and improve type consistency
...
Added support for all properties in the `app` function configuration and ensured consistent type definitions for `BkndConfig`. Updated `makeConfig` function to reflect these changes and added relevant unit tests.
2025-09-16 16:41:16 +02:00
dswbx
317b2b50ad
fix cli for cloudflare proxy and plugins
...
- proper cli exists required for cloudflare proxy to dispose
- updated cloudflare proxy to allow proxy options (e.g. remote)
- updated config command to include proper required structure for the export on code mode
2025-09-16 16:08:01 +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
a7f6d45ca9
fix raw node execution by making sure import attributes stick on builds
2025-09-14 13:43:45 +02:00
dswbx
bdcc81b2f1
improved module manager's secrets extraction, updated plugins
2025-09-05 13:31:20 +02:00
dswbx
734235c798
cloudflare: fix missing serve export
2025-09-05 09:17:08 +02:00
dswbx
d01058595f
update system info result, fix cloudflare export
2025-09-04 20:42:19 +02:00
dswbx
fdec5f0693
adapters: remove runtime options, serve app always fresh to prevent race conditions
2025-09-04 19:36:21 +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
847f75b725
docs: update cloudflare imports
2025-09-03 17:00:24 +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
81f578895e
bump version, fix cloudflare export
2025-08-30 10:20:07 +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
9436b8bac5
cloudflare: enable fs with @cloudflare/vite-plugin ( #239 )
...
* init dev vite write plugin
* reorganized cf proxy, fixed dev write
2025-08-29 06:44:20 +02:00
dswbx
97d6af3792
cleaned up left over bknd/utils imports ( #235 )
2025-08-12 16:12:10 +02:00
dswbx
725a2d453a
adapter(cf): fix exports and type name for do db ( #232 )
2025-08-12 15:30:45 +02:00
dswbx
375d2c205f
adapter(cloudflare): removed durable mode, added withPlatformProxy ( #233 )
...
* removed `durable` mode as it requires an import from "cloudflare:" that often fails in non-cf environments
* remove worker configuration types
* add `withPlatformProxy`
* withPlatformProxy: make configuration optional
2025-08-12 15:29:09 +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
2b32a836cd
auth error should not redirect to parameter, adapter app function should fire correctly
2025-07-09 08:00:52 +02:00
dswbx
a5959acb34
fix admin's assetPath for remote static assets
2025-07-03 15:06:21 +02:00
dswbx
e6ee75c712
update edge sqlite import (libsql)
2025-07-02 16:08:33 +02:00
dswbx
56287eb05e
fixing sqlite imports, clean up bun and cf examples
2025-07-02 15:46:57 +02:00
dswbx
d1378c6c51
fix cloudflare r2 adapter range requests
2025-07-02 14:07:26 +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
a9f3a582eb
fix tests and imports
2025-06-25 09:42:25 +02:00
dswbx
57ae2f333c
inlined libsql dialect, rewrote d1 to use generic sqlite
2025-06-25 09:35:47 +02:00
dswbx
b87696a0db
init app resources
2025-06-14 16:59:03 +02:00
dswbx
3338804c34
simplify and export generic sqlite functions
2025-06-14 16:58:38 +02:00