Skip to content

v0.2.0

Choose a tag to compare

@david1gp david1gp released this 17 Feb 15:20
· 23 commits to main since this release

[0.2.0] - 2026-02-17

🚀 Features

  • Init project, setup gitignore, package, git cliff, tsconfig
  • Add proxy implementation
  • Add wrangler example configuration file
  • Feat(ops): add ts script to deploy across all envirnments defined in
    wrangler.jsonc
  • (worker) Add upload and get upload url functionality
  • (b2) Add b2 api in more cleaner style
  • (auth) Add jwt token verification
  • (v0) Add server tauth header and token validation
  • (kv) Add kv endpoint, test how kv is handled in cloudflare
  • (auth) Use "Bearer " prefix to be more spec complient
  • (b2) Integrate b2 calls into worker server
  • (server) Add version, add as variable to worker, add api endpoint
  • (worker) Ser cors, version and timing headers, add version endpoint, add tests
  • (testing) Auto-start dev server in the bg if its not already running
  • (hono) Convert from own router to using hono, to create openapi/swagger-ui later on
  • (logo) Add logo and site webmanifest
  • (openapi) Add openapi spec and swagger-ui
  • (caddy) Add caddy entry
  • (favicon) Add favicon
  • (caching) Add caching for static assets using _headers
  • (openapi) Add auth settings, tags, remove servers section
  • (b2) Add real download handler, proxying requests to b2
  • (b2/download) Real b2 download, with b2 prefix
  • (swagger) Serve swagger from root path
  • (cors) Add cors cli command to add cors rules to bucket
  • (ci) Add npm publishing using github actions oidc
  • (release) Add release script

🐛 Bug Fixes

  • (v0) Token validation needs cloudflare env, return Result for errors
  • (kv) Add list opration
  • (test) Autostart wrangler on the right port
  • (apiB2DownloadFile) Use file that exists, after changing object storage
  • (wrangler) Remove wrangler from git, intent to provide an example wrangler file later

💼 Other

  • Merge stories into main - keep stories version

🚜 Refactor

  • (tsconfig) Use my code quality settings, add import alias, add include/exclude sections
  • (worker) Move into src dir, split functions into multiple files
  • (b2) Move file
  • (src) Rename PEER_ -> B2_
  • (b2/client) Rename to apiB2UploadViaWorker
  • (lib) Move client lib files into separate lib dir, add dedicated tsconfig files for each dir
  • (versions) Separate into v0, v1, v2 versions, v0 -> dummy, v1 - s3, v2 - future, rename lib dir to client
  • (v0) Separate handlers into files, add get/post router
  • (client/api) Simplify api, remove unnecessary fields
  • (v0) Fix tests, add env B2_BUCKET_PUBLIC_BASE_URL
  • (src) Remove v1, v2, rename v0 to server
  • (wrangler) Remove example wrangler json configs
  • (webmanifest) Put svg logo to be last in the list
  • (headers) Move into server dir
  • (client) Export all schemas, simplify kv list
  • (worker) Separate into routes into files
  • (server) Use 8702 port, to allow running multiple different cloudflare microservices without same port conflicts
  • (headers) Cleanup unused, add header_ prefix
  • (server) Remove dummy download handler, extract addRoutesServer
  • (api) Remove api prefix, add b2 prefix
  • (b2) Remove uploader code, a little to complex/abstract, wrong assumptions -> every client requires a separate/new upload url
  • (env) Use result for env access, remove try-catches, add 500 response docs
  • (env) Rename b2 account -> b2 key id

📚 Documentation

  • (readme) Add/init readme file, describing this project
  • (readme) Update variable name
  • (openapi) Update with data from readme
  • (readme) Slight change in wording
  • (readme) Rename to upper case to be recognized in npm
  • (license) Update author

⚡ Performance

  • (package) Package only dist files generated for client, simplify build
  • (deps) Optimize dependencies by moving all client to peerDependencies and server to devDependencies

🧪 Testing

  • (client) Disable api tests
  • (client) Remove, replaced by v0
  • (v0) Add logging on failed tests for ai agents debugging
  • (kv) Make more url friendly
  • Fix isOnline, fix header test
  • (kv) Remove env reading, already done by bun runtime
  • (openapi) Add openapi and swagger-ui endpoint tests
  • (client) Add client import test using regex

⚙️ Miscellaneous Tasks

  • (name) Rename project to cf-b2
  • Prepare for upload endpoint implementation
  • (tsconfig) Include test files
  • (git) Add vars
  • (name) Rename cf-b2 -> cfb2
  • Chore(migrate): migrate from adaptive-shield-matrix -> david1gp, rename
    adaptive-sm -> adaptive-ds
  • (git) Remove original plan, update ignored, remove example wrangler config
  • (logo) Remove 32px logo variant