Repository navigation
v4.14.0 — Uploads that tell the truth and can be cancelled, limits the database holds, and failures that reach Sentry
Uploads tell the truth, and can be stopped. On production, where R2 is off, files go to Supabase Storage and images to Cloudinary, and that path was the unfinished one. Its progress bar was drawn, 10% before the request and 100% after it; it is what the browser measures now. Pause showed for every file from 16 MB and did nothing; it shows now only where the provider can continue an upload. No size was asked first, so a 12 MB photo went to Cloudinary's 10 MB plan and a 60 MB PDF to Supabase's 50, each in full, was refused, and was sent twice more. Each provider's limit is asked before a byte is sent now. A file too large for every provider here goes to a connected Google Drive. Without one, the page offers to connect Drive, or to upload the rest and leave the large file with its reason. An upload whose connection died held the queue until a reload. Every uploader gives up now once nothing has moved for a minute, and that is retried like a network error. Every upload that cannot be paused has Cancel, which stops that file alone, and a failed file can be retried once the queue has stopped. An empty file can be uploaded, and a name the database would refuse is refused before the bytes travel.
A deploy no longer breaks an open tab, and a new version asks first. A deploy renames every page's chunk. A tab opened before it, and not under the service worker, such as a private window, asked for the old names, was handed the app shell in their place, marked immutable for a year, and showed "Something went wrong". A chunk that is not there is a 404 now, and a page that cannot load reloads the tab, once for each build. The "New version available" toast had never shown: the worker took over by itself and reloaded every open tab without asking, and a name half typed in a dialog went with the reload. A new version now waits until Update is pressed.
The database holds the limits.
- The storage quota. Rows of
filesare written by the browser, and an account could rewrite its own. On production, in a transaction that was rolled back, setting a 300 MB row's size to 0 brought the counter back to 0 while the bytes stayed in the bucket. Migration 018 lets an account change a row's name and nothing else. It refuses a negative size, an unknown provider and a name over 255 characters, and keeps folders and files within their account. Storage refuses a file over 50 MB, and an upload into a folder nested in the owner's, which the account erase did not reach. The size an upload states is still the browser's word; confirming uploads on the server is the next step. - What search by meaning may spend. Describing a file is a paid call to Claude and one to Voyage, and the only limits were per minute, held in one function's memory. A file already indexed by this model gets its description back without a paid call now. Every paid call first claims a unit of a daily budget kept in the database (migration 017): 100 descriptions and 300 searches a day per account, and 300 and 5,000 for the deployment. Files are described by Claude Opus 5.5 now. Search by meaning has no keys in production, so nothing was spent.
- The demo. Anyone can open a demo account with no address behind it, and one address could open twenty an hour, each with 500 MB, or 5 GB through the test card. A share link is a page on this project's domain, which is where a phishing page would go. A demo account stores 10 MB now on either plan, and no more than twenty exist at once (migration 019). It cannot create share links. Every shared page has Report this file, and the terms say what may not be shared.
Deleting. Erasing an account left three things behind: the Stripe customer of a demo account the daily sweep removed, objects in folders inside the account's Storage folder, and Cloudinary videos. It leaves none of them now. A file kept in Google Drive could not be deleted once Drive's hour was up, and neither could a folder holding one. The deletion now asks to connect Drive again, or to take the file off the list and leave it in Drive. Deleting an account no longer promises to delete the files in the person's own Drive or Dropbox. The sign-in page it ends on says the account is gone, and whether some files could not be erased straight away.
Money. Two checkouts started together each created a Stripe customer, and a subscription paid through the one the profile did not keep found no account: Pro never came. The customer and the session are created under idempotency keys now. The webhook finds the account of a customer the profile does not name, and reports an account that pays twice rather than retrying it. Production bills in Stripe's test mode, so no real payment was involved.
What the functions report. The functions wrote their failures to the console, and Vercel keeps a Hobby project's logs for an hour. Each 500, each provider an erase could not reach and the day an AI budget runs out go to Sentry now. It is one POST rather than the Node SDK, and it scrubs addresses and file names as the browser does (decision 0015). Reviewing it found that a failed Cloudinary call during an erase printed Cloudinary's API key and secret to that log, for the project's members to see. It no longer does. Sentry also took a preview for production, since the build's mode is production for both; the browser reads Vercel's name for the environment now. Every failed query and mutation reaches Google Analytics now. No failed query ever had, and neither had four of the dashboard's mutations.
The functions run in Frankfurt, beside the database. They ran in Washington, Vercel's default. A query from a function costs about 66 ms now, where it cost about 290.
A first eval of search by meaning. evals/, in Python, measures retrieval as the app runs it. It has 60 files and 120 queries in English, Spanish and Russian, 65 of which can only be answered across languages. It scores recall@5, MRR and nDCG@10 from vectors kept in the repository, so CI needs no key. There is no number yet: the metrics are specified by tests and are next to write.
Dependencies. An update is proposed a week after its release rather than three days, since a version published from a stolen account is usually pulled within days. Dependabot's security updates skip that wait, and they are on now.
What it costs: the first load is 376.9 kB gzipped, 0.6 kB over 4.13.0, and all assets are 471.9 kB. The unit tests went from 1,520 to 1,802, and the site's from 71 to 74. The end-to-end suite passed 48 of 48 on each of the 28 runs on main; on one merge, one test passed only on a retry.