Repository navigation
Releases: kaizen-network/cloudshort
Releases · kaizen-network/cloudshort
Release list
Cloudshort 0.2.1
Fixed
- Reject whitespace inside destination URLs after trimming surrounding whitespace.
- Enforce the five-failure login limit for parallel requests and remove expired login attempts on each login.
- Prefer
LINKS_KV, thenworker-LINKS_KV, before other prefixed namespace names during setup. - Ignore
apps/*/wrangler.toml.bakconfig backups in Git.
Cloudshort 0.2.0
A setup that works on a fresh Cloudflare account, safer login and input checks, and dashboard fixes.
Added
- Editing a link's destination without changing its slug.
- Automated tests for the redirector, the admin API, and the setup scripts, run on every push by GitHub Actions.
- Database migrations in
migrations/, applied by setup and tracked by Cloudflare. - A login lockout: after 5 wrong passwords, an IP waits up to 15 minutes.
- A confirmation dialog before deleting a link.
- New docs, an icon, and screenshots.
Changed
pnpm run project:setupnow writes bothwrangler.tomlfiles, applies the migrations to the live database, creates the Pages project, and sets the admin password and session secret.- The
wrangler.tomlfiles are no longer in the repository. They are made fromwrangler.example.toml. - Wrangler 4 and Node.js 22 or newer.
- Deleting a link also deletes its click history.
- On phones, the top bar shows icons only, and link actions are always visible. Long destination URLs wrap instead of overflowing.
Fixed
- Setup on a new account used the IDs from the repository instead of your own, and created the tables only locally.
- Sorting by date was overridden by click order.
- An expired login showed an empty list instead of the login screen.
- The dashboard's local API did not start.
- The server now checks slugs and URLs itself, so a link can no longer overwrite a setting or point to a
javascript:URL. - Error responses no longer include internal details.
Upgrading from 0.1.0
Your links and clicks are kept. From your cloudshort folder:
- Move
apps/redirector/wrangler.tomlandapps/dashboard/wrangler.tomlout of the folder. They were made by 0.1.0. - Run
git pullandpnpm install. - Run
pnpm run project:setup. It finds your existing database and storage, writes newwrangler.tomlfiles with the same IDs, and applies the migrations. AnswerYto keep your password. - Run
pnpm run project:deploy.
Cloudshort 0.1.0
First version.
Added
- Redirects from KV, with click counting in D1.
- A password-protected dashboard to create and delete links, sorted by date or clicks.
- Click analytics per link: clicks per day, countries, and referrers.
- Settings for the root redirect, the 404 redirect, and the short link domain.