# Neblla — Changelog

Developer-facing changelog: what changed in Neblla that affects you as a developer.
Newest first.

---

## Unreleased
- **The «signature»: Neblla's logo and a coffee cup on your app, with free-amount donations.** `neblla.signature` (or `<neblla-signature>`, or `signature: { enabled: true }` in your app settings) draws the logo and a cup at the top; the cup opens a panel and «Invite» goes to Stripe with an amount the donor chooses (suggested 3 €). New `donation` product type, no fee for Neblla. File Transfer uses it. A donation never asks for Login: a guest's donation is anonymous (limited per IP and per app), a signed-in donor's is theirs.
- **Two devices, one player: the old game no longer comes back.** `neblla.db.data` now follows the player: when another tab or device saves, or the page wakes up from sleep, your data changes by itself and `neblla.db.on('merged')` says why (`reason: 'elsewhere'`, `'resync'` or `'reconnect'`). If a save lands on data another device had already changed, `neblla.db.on('conflict')` gives you both versions. With a stored session, `onNeblla` waits for the login (up to 15 s), so `db.data` is the player's from the first moment. Features › Data shows how many conflicts your app had in the last 24 h. The solo-save starter handles all of this out of the box.
- **«My apps» is easier to sort.** Folders are compact (a slim row in the list, a tile with a mosaic in the icon view that opens like a folder on a phone), the list uses two columns on a wide screen, and you can select several apps at once (Select, Ctrl/Shift+click, long press on a phone) to move them to a folder, favourite them or set their category, with Undo. On a computer you can also drag apps onto a folder. «What is it?» is now «Category» and only shows when an app has none, and Projects moved to Account › Projects.
- **Save files in your users' Google Drive or Dropbox, or in yours (`neblla.cloud`).** A new optional module: `neblla.cloud.put(...)` saves a video, a PDF or an original photo in the person's own cloud (they say yes once per app in a Neblla window; the app never sees a token), and `{ to: 'app' }` / `putToApp` saves in the cloud you connect in Connections › «Your cloud» (or with `neblla_projects` `connect_cloud`): signed consents, reports. The bytes never pass through Neblla, each app only writes in its own folder `Neblla/<app>`, and the SDK checks a hash end to end (`cloud_checksum_mismatch` deletes the bad copy). Players' devices can save in your cloud only if you allow it (`cloud_settings`, off by default, logged in by default, with limits). Guide: `nube.txt`.
- **Neblla now counts its own pages, without cookies.** We measure how many people see the front page and press Start, per day, with no cookie, no browser storage and no way to tell who anybody is until they create an account. It is off with Do Not Track, and the privacy policy says so.
- **A Neblla update no longer throws your players out of their room.** The old process hands the live rooms to the new one: within seconds each phone is back in its room, still logged in and with the state up to date (a game of tic-tac-toe goes on across the update). Someone who arrives at that moment waits an instant; if the Fog in charge does not return in about 10 s, another phone carries on with its copy. A crash with no notice still closes ephemeral rooms (`room.on('closed')`, `reason: 'server_restart'`).
- **The gallery now sorts by «Relevance» by default.** It mixes what is opened these days, what people like, what is new and well-made listings, and the developer's own visits and their team's do not count. The «?» next to «Sort» explains it, and on a phone it opens with a tap. «Newest» now means the date an app entered the gallery.
- **The developer page answers the questions people ask.** What can I make, how free is it (with a short animation of how Neblla shares its backend and how you bring your own), is what I make mine and can I take it with me, and how do I start. The menu follows.
- **The developers page opens with the slogan in motion, and «Let's make it» starts you with your AI.** A drawn field types ideas; «Let's make it», «How do I start?» and «See step-by-step guides» open a window that asks «Which AI do you use?»: Claude (free plan), ChatGPT (paid, with an honest note about which plans allow your own connectors), other AIs, tools for developers (Claude Code, Cursor, Visual Studio Code) or no AI at all. The home's «Start» button opens the same question.
- **New slogan: Your idea. Let's make it.** The site, the developer page, the guide for AIs and the share image say it.
- **Nuevo logo: la niebla baja a la montaña.** Icono, cabeceras e imagen al compartir estrenan el símbolo nuevo.
- **Publish a new version of an instrument from Eco or from the author's screen.** An instrument you sold from Eco now remembers the creation of your account it came from. When it is on sale, Eco's button says «Publish new version»: it asks for a note, replaces the file and the hearing copy of the same product and leaves it at the next version (1.0 → 1.1), which those who bought it see in their songs. From `/author`, «New version» on an instrument asks for the new whole file and the note. An instrument you changed after saving it asks to be kept in your account first.
- **A browser without WebRTC is told it was left out.** Before, a device with no WebRTC at all (a hardened browser, some webviews) threw an error in the SDK and, in an app with `connections: 'p2p'`, never got `room.on('leftOut')` nor the notice. Now it does, and with `connections: 'all'` it keeps receiving everything through Neblla. The whiteboard recipe in the rooms guide also repaints when the room's snapshot arrives after entering, so whoever joins late right after a hand-over sees every stroke.
- **Signed outgoing webhooks.** Every outgoing webhook now carries `Neblla-Signature: t=<unix>,v1=<hex HMAC-SHA256 of "t.body">`, keyed by a signing key of your app (`neblla_webhook_signing`: `status` or `rotate`, the owner only). Checking it is optional. Neblla also refuses more spellings of private addresses (IPv6 forms that wrap an IPv4) as the base URL of an API secret.
- **The doll's body, in your player's account.** In Creator's «Doll» page each person can now soften their doll's shape with three sliders (Man ↔ Woman, Slight ↔ Strong, Thin ↔ Chubby, up to ±0.25). `neblla.avatar.get()` brings it as `shape: { gender, strength, weight }` (only when they changed it), and `world.avatar(look)` applies it: it only changes the flesh, never the skeleton, the capsule, how high they jump or how fast they run.
- **`{ final: true }` is final for real.** The Fog in charge confirms each state and server message once the window of the message that produced it has passed. If an earlier message arrives late inside the window and the rollback undoes it, it is never confirmed. Before, the client only delayed the same event by one window.
- **A wolf for your game, made in Mundo.** Creator's Mundo makes creatures with a skeleton of their own: a bone template (quadruped, biped, bird, snake, spider), automatic skin weights, one-click walk/run/attack animations at the engine's speed, and a glb that `world.add({ creature })` plays. There is a short tutorial («A wolf for your game») in the help, and `mundo.txt` explains what the engine reads from the file (state clips named like the state, in place, `extras.neblla.moves`).
- **Folders and a ⋯ menu in My Apps.** With 8 apps or more, each app has a ⋯ menu: mark it as a favorite, move it to a folder of yours (or make a new one), say whether it is a game, an app or a web, and open its web. A folder folds, renames and deletes from its heading; deleting it never deletes an app. Favorites and folders are yours: your team does not see them.
- **Eco and «Animate» on the home.** The «Creator» section of the home now has a fourth card, Eco (music, game effects, recordings, instruments and selling your sounds), and a bubble for «Animate» in Mundo (the doll's moves) and in Flat (frames and key positions). Each has its picture in the ten languages, and the pictures of Mundo and Flat were redone because their bars now have the «Model | Animate» and «Draw | Animate» switches.
- **Sell sounds and moves, and play Eco's songs in your games.** The store now takes sounds, instruments, 2D art and moves for the doll. In Eco (songs, effects, instruments), Mundo's «Animate» mode and Flat there is a «Sell» button that makes the draft and opens the author screen, with a hearing copy of up to 30 s for buyers to listen to before buying. In a game, `world.sound('song.json')` plays what Eco exports: it picks the lightest file the device can play and loops at the points you marked. An app can let players bring the moves they own to its dolls (`playerMoves` in `neblla_publish_app`). Two new short tutorials: «Your first song» in Eco and «A greeting for your doll» in Mundo.
- **Animate in Flat, and sprites with states.** Creator's Flat has an «Animate» mode with the common timeline at the bottom: drag cells to move them, `Alt` + drag to link them, and **key positions** that move, turn, scale or fade any layer between two frames with a smooth, linear or bounce curve (the GIF, WebP and atlas come out with the worked-out frames). Tag the frames (`walk`, `jump`) and export Atlas → «Sprite with states»: you get a `.nbsprite` (also an Aseprite atlas, Phaser 3 opens it) and a small player to use it in a game: `import { sprite } from 'https://neblla.com/sdk/neblla-sprite.js'`, `p.play('walk', { flip: true })`, `p.on('step', fn)`, `p.draw(ctx, x, y)`.
- **Moves of your own for the doll.** Make a move in Creator's Mundo (new «Animate» mode: pose the doll with the gizmo, pin hands and feet, or «Make a dance» from poses) and save it as a `glb`. In your game: `await doll.learn('my-dance', '/media/my-dance.glb')` and then `doll.play('my-dance')`. The move is checked (the doll's bones, up to 30 s, 500 KB) and fitted to each body, like the 23 that come with it; an invalid one fails with `world_bad_move` saying why.
- **Gallery filters: game, app or website, how it is used, and what it is about.** Publishing in the gallery now asks three things: what it is (`kind`: game, app or web), how it is played or used (`modes`, several: single player, online, shared screen like Kahoot, co-op, shared world; for you, live with others, community, for a business; showcase, shop, bookings, members) and what it is about (`themes`, 1 to 3 of 23: puzzle, education, music…). `section` is gone: `neblla_publish_app` and `/apps/publish` refuse it and name the new fields; `modes` are suggested from the app when you leave them out, and `neblla_get_app` shows the suggestion. The gallery lets visitors filter by type, mode and theme, and combine them (`?type=game&mode=party&theme=education`), showing only what has apps. The MCP is now 2.5.0.
- **Creator on the developers home, and Flat text fixed.** The home now has a «Creator» section with three cards (Mundo, Flat and Templates): tap one and a window floats its things (make a model, try it on your doll, sell it; draw pixel art, layers, text; a builder with a phone, tablet and computer preview), each with a real screenshot, a sentence and an «Open it in Creator» button, in the ten languages. Also fixed: Flat's text tool did not draw text in some cases because Google sent the font in a format the browser could not read.
- **Two Mundo examples on the home.** «What for» now has «A 3D game in the browser, with your doll» (a tag game in a Madrid park) and «An obby like the ones in Roblox» (the whole course is one JSON file). Each opens its live example and its code, with a picture per tool: the game being played, the player's saved record, Mundo switched on in your app's modules, and the gallery's «Your doll is in it» filter.
- **Neblla's store never opens empty.** At `creator.neblla.com/store`, below the authors' products there is now «From Neblla, free»: in «For your apps», Mundo's catalogue of CC0 pieces (with the `world.load("catalog:…")` line to use each), and in «For your doll», Neblla's molds, which open in Mundo already added. «Sell» links straight to connecting your payout account, and `/familia` explains to an adult with nobody linked how the invitation works.
- **Mundo: stickers and «Try it in my game».** In `creator.neblla.com/mundo`, «Stickers» (in Color) sticks a picture from Flat on one face of a piece, with its size, place and turn; it shows in the view and comes out in the exported `glb` as its own transparent material. The new «Try it in my game» button opens the exported file in Neblla's engine with its physics: a doll that walks, jumps and bumps into your piece (or wears it, for a piece for the doll) on a test course or on the `glb` of your own scene.
- **Flat: cut out a figure, keep text in your PSD.** In `creator.neblla.com/flat`, «Remove background» can now recognise the figure: backdrops with two tones or a soft gradient go, and loose specks are cleared (also in the batch, which shows the first three photos as they will come out; the Photo view has its own panel with both). PSD files keep a single text as real text and colour adjustments as Photoshop adjustment layers. SVG files with clip paths open cut and editable, texts of several lines stay together, the letter finder takes a sample text, text can align to its «start» (left or right by language), and where the browser cannot write WebP (Safari) Flat offers GIF and PNG instead.
- **Flat: find any font, write Arabic, sell your assets.** In `creator.neblla.com/flat` the text tool has an «Aa» button that opens every Google Fonts family with a search, each name shown in its own letters. Arabic and right-to-left text are joined and read in the right order. SVG files with a `<style>` sheet, `<use>` copies, text or a gradient on the border now open as editable vectors. The parallax window lists the layers inside a group, the atlas can turn tall drawings to fit more (`rotated`) and keep several named anchors per sprite (a hand, a muzzle), and the export window has «Sell», like Mundo.
- **Templates: your own blocks, a QR for members and forms that save.** In `creator.neblla.com/templates`, tick several blocks in «Layers» and press «Make a block»: they become one block with a name and the settings you choose, saved in «My blocks» for your other templates. The member card now draws a QR of the member code. A form with a `table` saves each row with `neblla.db.save` (and says so if it could not), and the shop's buy and pay buttons call `neblla.shop.buy`; an app that wants to handle those events itself listens to `nb:submit`, `nb:buy` or `nb:pay` and calls `preventDefault()`. Game templates get a ▶ that simulates a match (the clock, the coins, the lives and the players coming in). The web, app and shop blocks were missing from the «Add» list and now show.
- **Neblla's store, for your doll and your apps.** At `creator.neblla.com/store` developers sell things made in Mundo (caps, wings, backpacks), pieces for games and Templates' templates, blocks and packs. A person buys a thing for their doll and wears it in every game; a developer buys the developer licence and uses it in all their apps with `world.load('store:<id>')`. Every thing is checked before it is published, on five different bodies in every pose, and says which body, pose and part fails. Sales go straight to the author's Stripe account; Neblla keeps 30 % on a person's licence and a curve (2 % at 1 € up to 30 % from 50 €) on a developer's. A thing can give a power (faster, higher, fly) that counts only in games that turn on `sandbox`, in the app or in one room (`rooms.book({ config: { sandbox: false } })`). Anything in the store can be reported, and a sexual-content report takes it down at once. For now it sells in Stripe's test mode.
- **Change your app's look from Templates, without touching its code.** In `creator.neblla.com/templates` the Look panel gives you 12 palettes (light, dark, Mediterranean), your own colours, six pairs of typefaces, neon glow, large clear text in four levels, corners, borders and shadows, and saved looks («Normal», «Christmas»). It warns you of text that is hard to read (in light and in dark), images with no description and screens that search engines would see with no title; each screen has its own title, description and share image. «In my app» puts the look on your app's draft (nobody else sees it), publishes it after telling you everyone will see it at once, and takes it off again. Add `// @neblla-ids …` to `client.js` and paint with the `--nb-*` variables so a template can never break your app; the guide for Claude now says so.
- **Neblla Creator, where things are made.** `creator.neblla.com` now opens with «What do you want to create?»: your doll (now at `/doll`) and, with a developer account, the studios to make templates and blocks, 2D drawings and 3D objects for your games, apps and webs (they arrive one by one; for now they say «Soon»). «My creations» keeps whatever you make there, with its versions, and exports it to the Media of one of your apps, in the `creator` collection.
- **Your players' own dolls.** Every person with a Neblla account makes their doll once in Neblla Creator (`creator.neblla.com`): skin, hair, eyes and the colours of their clothes. Your game shows it with `await neblla.avatar.doll(world)` (or reads the look with `neblla.avatar.get()`, also for another player in the room); guests get the default doll. Publish with `avatar: true` to get the «compatible con Mundo» seal and appear under the gallery's «Your doll is in it» filter; Neblla checks that your published code really uses it.
- **Mundo's pieces and its doll.** `world.catalog.search('gold coin')` (or «monedas», in Spanish) finds ready-made low-poly pieces, 148 of one style, all CC0 and in metres: blocks, platforms, trees, coins, keys, doors, spikes, springs, flags. `world.load('catalog:tree-pine')` loads one; your agent finds them with `neblla_assets`, no account needed. `world.doll({ height, width, legs, torso, arms, head })` gives you Neblla's standard doll, and `world.add({ doll })` makes it a character that walks, runs, jumps, falls, lands and swims by itself as it moves; `doll.play('wave')` plays any of its moves on top. Also fixed: a character standing still no longer sinks slowly into the floor.
- **Mundo, a 3D engine for your app.** Turn on the `world` module and `await neblla.world.create({ container })` gives you a 3D world that looks good with nothing set: sky, light and soft shadows, six camera presets (side, top, isometric, third and first person, chase) that glide into each other, keyboard, mouse, gamepad and touch controls, characters that climb steps and jump with margin, deterministic physics, sensors, coins and fixed events (`touch`, `enter`, `leave`, `collect`, `fall`), timers, `glb` models from your Media with their collision, and automatic quality on slow phones. For a game, an app or a web: a product viewer is a few lines. The engine downloads only when a page calls it. In the guide: mundo.txt.
- **Many sellers, each paid what is theirs.** A club, an artist or an author in your app links their own Stripe account (`neblla.business.sellers.connect()` in the app, or `neblla_business` op `sellerLink`). A product with `seller`, or a booking service with `seller: 'site'`, is charged on their account: refunds and disputes come out of their balance, Neblla keeps its usual fee and you keep your commission (`business.sellers.fee`, percent and/or fixed). Sales can be filtered by seller. In the panel, Business › Sellers lists each seller with their Stripe state, opens their sign-up on the spot, sets who charges each product and service, and your commission. Resale between users is still not supported.
- **A device that joins the game half-way no longer stops the room.** When another device becomes one of the room's servers (a handover, a new replica) while the others are in the middle of a step, its No-code calls now wait for the same call from the servers already running: the same one gets the same answer; a different one leaves the room going, and that device starts over from where the room is. So the top of `room.js` can finish a step that was cut short. Before, the newcomer could take a call number the others needed and the room stopped with `divergent_call`. In servidor.txt, «Booting with the game under way».
- **A blank app starts with only what it uses.** `neblla_create_app` with no `decisions` and no `template` now gives an app with `auth` and `db` only (before, almost every module was on); with `template`, the modules of that page. The answer lists them in `modules`; turn on the rest with `neblla_update_app({ features })`. «I already have one» in the wizard keeps the modules it had, for the code you bring.
- **A link or a text as what you sell.** A one-time product or a subscription can carry private content: up to 10 links or texts (a Canva template, a hidden video, a game code, a Discord invite). `neblla.media.mine()` gives it as `content` to whoever holds the product, for good after a purchase or while a subscription lives; the public catalogue never shows it. Set it in Products › «What the buyer gets» or with `content` in `neblla_create_product`.
- **Sample sales.** A sample user can now buy any product, with a date and an amount, so an example shop shows real-looking sales: marked «Sample» in Sales and in their card, counted apart in Statistics, with the `purchase` webhook (`sample: true`) and a refund that runs like a real one. They never reach the CSV or get an invoice.
- **Tables only Neblla writes.** Mark a table `write: 'neblla'` (or tick «Only Neblla writes it» in Functions › Data): your users still read their rows, but their devices cannot write them (`table_read_only`), so nobody gives themselves the legendary card or 9,999 coins. Draws, trades, your real server, the admin API, the MCP and the panel still write them.
- **Fair draws.** Card packs, chests, prize wheels: declare the cards and their copies, how many per opening, the price in credits and free openings every few hours (`draws`, or Functions › Data › Packs and draws). `neblla.db.draw('pack')` shuffles the whole deck, charges and writes the cards into the user's collection before showing them; `neblla.db.drawInfo('pack')` gives each card's chance. `neblla_draws` shows the log of openings.
- **Duels with your own deck.** A No-code deck `fromRows: { table, min, max }`: each player brings their own rows (Neblla checks they are theirs) and plays from a secret pile nobody else sees, not even the server: `tools.deck.bring`, `draw`, `hand`, `play`, `counts`, `deal`; your server file hears each card played with `neblla.tools.on('event')`.
- **One fixed place, several timetables.** A fixed place (`business.standing`) can now offer several repeating sessions in one product: `series: [ids]`, «2 classes a week» at three times, a gym's mornings or evenings, a car park's morning pass. The client picks one when buying (`neblla.shop.buy(productId, 1, { series })`), changes it without paying again (`neblla.business.booking.changeStanding(productId, series, { when: 'now' | 'next' })`: from now only if every case left has a place), and each renewal books the one chosen. A service with `moveHours` lets the client move one booking to another session with a place, themselves and for free (`neblla.business.booking.move(set, slotId, toSlotId)`). One id still works as before.
- **Publish settings with no files in Neblla.** An app whose front lives somewhere else (a Shopify shop that uses Neblla only for accounts and tables, a site with the SDK tag on its own page, a repo not synced yet) can now publish its settings: «Publish» sends roles, rooms, tables and the rest to pro with nothing to deploy (`files: 0`). Before, it answered «There are no files yet: there is nothing to publish» and the changes stayed in the draft. `no_index` only applies when the app has files and none is `index.html`.
- **Straight to the section.** The web opened on a section (say `#pricing`) lands there as soon as the page is read, without waiting for the last image or sliding down from the top. Changing the panel's language keeps the activity log you had loaded.
- **A draft before anything goes out.** Every change to files or settings, from your AI or the panel, lands first in a draft nobody sees. «Publish» (`neblla_promote({ action: 'publish' })`) sends it whole, all files together; «Discard» throws it away. After 5 minutes without changes it is saved, so it never gets lost, and nothing publishes on its own. Your AI's reads see the draft; the editor's preview shows it.
- **Pro by default, pre when you want it.** A new app is live in pro from the start. «Switch to pre» (`action: 'to_pre'`) sends each publish only to your private pre; «Upload to pro» (`action: 'promote'`) takes all of pre to pro at once, and «Discard pre» (`action: 'reset'`) goes back to pro without sending it.
- **The panel in one language.** A page of the panel drawn before its language arrived (Business › Agenda, for instance) stayed in English inside a Spanish panel; now the whole panel is in your language from the first moment, and a change of language redraws the page you are on. Dropdowns use the panel's font.
- **Hand over or move an app that sells.** An app with paid products or live subscriptions can now go to another developer, to a project with another Stripe, or stay while its project changes Stripe. Its products wait hidden until the new Stripe takes money and then publish by themselves; its live subscriptions keep charging on the Stripe they were born on until each customer cancels, and new ones go to the new Stripe. Neblla cancels nothing: if you prefer to cut, cancel them yourself and tell your users.
- **Sell files.** Make the original of a media item (or a whole collection) private: the public sees it only up to the width you choose (say 1600 px), and the original lives in a bucket that is not public. A one-time product, a live subscription or a credit of a kind that unlocks the collection gives the right to it; the buyer gets `neblla.media.download(id)`, a link of five minutes straight from storage, a new one on every click. A photo in high resolution, a score in PDF, an ebook, a pack of HD textures. `neblla_media` `private`, `link`, `holders`; Build › Media.
- **Subscriptions that fill up.** A subscription tied to credits can add each period (as before) or fill up to a maximum: «20 downloads every month», without piling up. `business.credits.<kind>.products.<id> = { n, mode: 'fill' }`.
- **Units for sale.** Give a product `stock: { units: 10 }`: the catalogue says how many are left, a unit is held while the buyer pays and comes back if they leave, and a refund puts it back on sale unless you say otherwise. Never sells the last one twice.
- **Physical products and orders.** Give a product shipping zones («Spain €15, rest of Europe €35»): Stripe's checkout asks for the address and charges the postage. Each sale is an order in Money › Sales with its status (paid, shipped with carrier and tracking, delivered, returned); every change reaches the buyer's inbox, and the order shows the 14-day withdrawal period. `neblla_orders`, `neblla.shop.orders()`. Multi-item carts, labels and warehouses stay with Shopify.
- **Example apps that never charge.** Mark an app as an example (Publish, or `neblla_update_app({ example: true })`): its address ends in `-example`, it always sells in Stripe's test mode with your test account, `neblla.shop.testMode` gives the test card to tell your visitors, and every publish puts its code in a public GitHub repo of yours (`neblla-examples`, secrets left out) for others to read and copy.
- **A welcome for every new user.** Credits each new user gets once (`business.credits.<kind>.welcome`, «your first class free», or coins in a game) and a message in their inbox (`inbox.welcome`, in their language, with their `{name}`).
- **A notice in a session before anyone books.** `neblla_booking` `chatPost` now writes in a session's chat with nobody booked yet; whoever books later sees it.
- **Closed days.** Close a day or a stretch for the whole business, a site, a room or a professional (Business › Agenda › Closed days, or `neblla_business` `close`): the sessions it reaches cancel themselves and give back credits and payments (a fixed place gets nothing back unless the service has `recoverStanding`), new sessions there are refused, and opening it again brings back the ones nobody had booked. Your users see cancelled sessions with the reason, and `neblla.booking.closures()` lists the closed days.
- **Every failed purchase says why.** `neblla.shop.buy()` and `shop.manage()` reject with a `code` (`product_waiting`, `payouts_not_ready`, `invalid_amount`, `popup_blocked` with its `url`…), and `shop.products()` marks with `waiting: true` a product still waiting for your payout account, so you can show «coming soon».
- **Projects: your apps, grouped, and the quota is your account's.** Every account starts with the project «Explorer» (rename it as you like) and your apps are there: if you touch nothing, nothing changes. The free quota is now your account's, shared by your apps: 1,000 credits a day, 50 MB of database and 300 files, with an optional cap per app; making more apps no longer multiplies it. Pro is per project (still €10 a month): its apps share 2,000 credits a day, 100 MB, 600 files and 2 GB of media, and leave your free quota whole for the rest. Packs and automatic top-up go to the quota the project draws from. Apps → Projects in the panel, or `neblla_projects` (`create`, `rename`, `delete`, `move`, `set_app_caps`). An app that was Pro becomes a Pro project of its own, by itself.
- **Connections once, for every app.** Cloudflare, Stripe and your own database are connected on your account and every app uses them; a project can put its own and keep the rest («Ajedrez» sells with another Stripe and keeps the account's Cloudflare). Two businesses are two projects, each with its Stripe, with no second Neblla account. Apps sharing your database each get their own table prefix (`ajedrez_matches`). `neblla_projects` `connect_cloudflare`, `connect_db`, `use_own_stripe`.
- **Move an app to another project.** It is a real move: the quota counts there from then on, its data moves if the new project keeps it in another database (Neblla asks first), its own server box is deployed again with that project's Cloudflare, and an app that sells does not move to a project with another Stripe. `neblla_projects({ action: 'move', appId, projectId })`.
- **Very big photos: Neblla tells you, and you decide.** A photo is kept as it came. When it is bigger than a screen needs (over 2560 px on its long side), the upload says so with numbers: what it takes, what it would take reduced, and how many more would fit in your space. Your AI asks you instead of deciding (a texture or an original to print may need every pixel). Reduce at upload (`resize: true`) or later (`neblla_media` `shrink`, one photo or a whole collection), or with the button in Build › Media; the big original is then gone.
- **Media, apart from your files.** Photos, textures, sounds, videos and 3D models, many of them, in collections with their own order and a card each (title, text, alt and your own fields, like year, size or price). Upload them in Build › Media or ask your AI (`neblla_media`, up to 50 at a time, by URL or base64); no versions and nothing to publish: your app reads them with `neblla.media.collection('Work')` and sees a change on its next read. Every image keeps its original and gets WebP sizes (320 to 2048) for `srcset`. The space is a bag of your account: 100 MB among the apps of your free projects, 2 GB for each Pro project.
- **What Stripe still needs, in words.** `neblla_payments_account status` (and Settings › Account › Stripe) says what is missing grouped by thing («your bank account (IBAN), your date of birth and accepting Stripe's terms»), what Neblla already filled in, what Stripe could not verify and why it paused the account. If Stripe does not answer, it says so; if the stored account no longer exists on Neblla's platform, it says why and the next setup opens a new one. One account for all your apps.
- **Your studio page.** `play.neblla.com/studio/<short name>` shows your published apps with their rating, reviews and subscription, plus your presentation, web and links. The «by …» on every gallery card leads there, and it is the web on your Stripe account. Edit it in Settings › Account › Studio or with `neblla_developer_profile`.
- **The bank statement says your studio and the app.** «GRACIA* AJEDREZ» on card charges and bookings, «GRACIA AJEDREZ» on subscriptions, and Stripe's receipt names the app. Change the prefix in Settings › Account › Stripe or with `neblla_payments_account({ action: 'set_descriptor', prefix })`.
- **Hand an app to another developer.** Invite them as owner in Business › Your team (or `neblla_team` with `owner: true`); when they accept, the app is theirs and you stay as a partner until you leave. Not yet while the app sells something.
- **A repeating session keeps its studio's hour.** A repetition with no `timeZone`, an RRULE string too, now takes its site's zone (or its professional's hours') instead of UTC, so «Tuesdays 18:00» in Madrid stays at 18:00 after the clocks change.
- **Try your bookings in pre before publishing.** `neblla_booking`, `neblla_business` and `neblla_credits` take `env: "pre"`: your draft's services and settings, on its own data. Asked on the published app, a service that only your draft has answers `unknown_booking_set` with `inPre: true` and what to do. The pre id (`_<id>`) as `appId` works the same as `env: "pre"`.
- **A chat for each session.** Tick «Each session has a chat» on a service and every session gets a private chat with whoever is booked in it: booking puts the client in, cancelling takes them out. `reserve`, `mine` and `slots` give its `room` for `neblla.rooms.join(room)`, and you write in it from Business › Agenda (or `neblla_booking` `chat` / `chatPost`).
- **Fixed places, month after month.** Money › Products › Fixed places ties a product to a repeating session («Yoga, Mondays 18:00»): buying it books the client in every case of the month (a one-time product) or of each paid period (a subscription), with no credits. A full day is left out and the client is told; `neblla.business.booking.standing()` lists theirs.
- **What each paper can use, in the docs.** `neblla_get_llms({ section: 'access', appId })` lists, for each role of your app and each group of your team, what works and what answers `not_allowed`, made from the same rules the server applies. Someone on your team gets their own, with the tools chapter cut to what they can use.
- **Move an app to a new one in a few calls.** `neblla_copy_files` copies all the files of one of your apps to another; `neblla_copy_community_entries` copies its community entries with their content; `neblla_copy_app_config` now takes apps from before the modules and says what it could not copy (`skipped`) instead of failing.
- **Old SDK code is said.** If what your users have still calls the SDK from before the modules (`sendMessage`, `joinRoom`…), your app gets an urgent alert and `neblla_get_app` lists each call with its new name under `legacy`.
- **A lost file says so.** If a file's content was lost (saved just before a Neblla deploy), `neblla_get_file` and `neblla_edit_file` answer `file_bytes_lost`, «upload it again», instead of `server_error`. Your gallery cover no longer depends on that: it is kept apart and survives any deploy.
- **A contact form for your web, into your Inbox.** Add `<script src="https://neblla.com/js/contact-form.js" data-app="<your app>">` and a link with `data-nb-contact`: whoever writes, even without an account, lands in People › Inbox marked «no account», and your answer reaches them by email (Reply-To `inbox.replyTo`, or your email). They are not users: they stay out of People › Users, the counts and «Write to everyone».
- **`neblla_list_apps` is short.** One line per app (id, name, slug, plan, archived, files, last edit, address); each app's configuration is in `neblla_get_app`.
- **A reminder in each client's inbox.** Give a service `remindHours` (24: the day before) and each booking gets, once, a message from the business in the client's inbox in your app, in their language and with their name: "Hi Marta! Reminder: Yoga with Ana, tomorrow at 08:00 PM (Room 1)…". `remindText` puts it in your own words, with `{name}`, `{service}`, `{day}`, `{time}`, `{staff}`, `{site}` and `{for}`. Business › Services › «Remind (hours before)».
- **Your users' language is their browser's.** Each user's language is now taken from their browser when they sign in (it stayed 'en'), so what Neblla writes to them arrives in it.
- **Each client's card.** People › the user's card shows their bookings of every service (cancel from there) and your private notes about them, which they never see; a name in the Agenda or in Bookings opens that card. Also through `neblla_business` (`userBookings`, `userNotes`, `userNote`, `removeUserNote`).
- **The agenda keeps its days across the clock change.** Business › Agenda and Bookings count weeks in calendar days: after the last Sunday of October each column showed the day before (Monday's class under «Sun»).
- **Your AI can set what a service needs.** `neblla_update_app({ business })` keeps each service's name, minutes, min and max places, confirmHours, resources, staff, steps and book; before, the MCP dropped them, so making a service paid at booking from your AI left it without its name, places or room.
- **Your team, in groups.** Business › Your team and Business › Groups: each group says what it can see and change in the panel, and someone in several groups gets all of it (a partner who also teaches is in «Partners» and «Professionals»). The old roles are example groups to start from. Invite by looking up the address: with no Neblla account yet, pre-register them and the invitation waits until they sign up; or pick a friend of yours on Neblla. Also through `neblla_team` (`groups`, `group_save`, `group_delete`, `lookup`, `friends`).
- **Bookings from your app: services, free times, for someone else, your own match.** `neblla.business.booking.services()` lists what the business offers with its sites and professionals; `times(set)` gives the free times of a service booked at a time, and `reserveAt(set, { start })` books one (a groomer's appointment, a table, or a padel match others join with `reserve`). `reserve` and `cancel` take `{ for, party }`: a mother books for her daughter, a table for 4.
- **A Business tab, and a team made of your business's people.** Bookings for any business (classes, appointments, courts): sites, resources and professionals with their hours, a weekly calendar, who is coming, and what you owe each professional, in the new Business tab and in `neblla_business`. Invite anyone with a Neblla account, not only developers: the new **Professional** paper lets a teacher see and run only their own sessions and hours. An invitation you do not want goes to «Banned», and its owner cannot send it again.
- **A calmer private area.** The panel reads like plain language: users, products and classes by name instead of ids, one date format everywhere, no codes in the logs (they wait under «Details for your AI»), prices typed in euros, and the user's card shows the passes they hold («8 of 10 left»). Community gets a «Reported» filter, and an erasure request reaches you in the user's language, saying who asks.
- **The panel says who each user is.** Bookings, groups, moderators, community posts and rooms show each user by name and email, and you pick a person by searching their name. Ban messages reach each user in their own language.
- **A webhook when someone books.** New outgoing webhook event `booking`: when a user books a place (with credits, free, or once the payment is confirmed), your endpoint hears who, which class and when.
- **Trades between users.** `db.offer({ to, give, get })`: one user offers rows of a table or units of a product for something of the other's, and when the other accepts everything moves at once, or nothing does. You choose what can be traded with `neblla_update_app({ trade })`; `neblla_trades` shows the log.
- **See what another user shows.** Mark which parts of a user's saves and which tables others can see (everyone or friends) with `visible`, and read them with `db.dataOf(user)` and `db.loadOf(user, …)`. Nothing unmarked ever comes out.
- **Rankings you can trust in single-player games.** `neblla.scores.start('wordle')` starts the run on Neblla (its time and seed, or the day's), `submit` sends the result once, and what your limits call impossible (too fast, below the minimum…) never reaches the ranking. Your own check can be an endpoint of yours. `top` and `mine` read it; `neblla_scores` in the MCP.
- **Votes in the community.** `community.vote(id, 1)` (or `-1` if the app turns on votes against, `null` to take it back); each entry shows its votes and `sort: 'votes'` puts the most voted first. Votes of a banned user stop counting.
- **Everything your AI can set up, now in the panel too.** Bookings (appointment types, passes, a user's balance), tables and their rows, user groups and their roles, community moderation, rooms and connection, webhooks and keys, the user card (use a purchase, credits, erase), Pro renewal and auto top-up with a cap, your own login (JWT providers), Google Play and your account's taxes. What is better done by your AI (a new table, a custom screen, an automation) comes with the sentence to copy and ask it.
- **Your own domain, from the panel.** Publish › Custom address: type `mygame.com`, see the CNAME to add and whether it is live yet, check it, or remove it. Before, only through `neblla_update_app({ customDomain })`.
- **Private messages between friends.** `neblla.rooms.direct(friend)` opens a private room for two, the same one every time; only friends can open one and nobody else gets in. Recipe in the rooms guide.
- **Follow a room.** `rooms.follow(name)`: while you are not inside, you hear `followedMessage` when someone writes, and on coming back `rooms.following` says how many are new.
- **Each room, its own deletion time.** `room.persist({ ttlInactivity })` in days (0 = never), over the app's value for that room type. Also in `neblla_create_room` and `neblla_update_room`.
- **See what went wrong.** Build › Logs shows, per app and for the draft or the published app, the errors your own code threw (in the browser and in your room's server files, with file and line), the webhooks that failed, and what Neblla refused your app and why (quota, data rules, AI). Live while open, kept 7 days. `neblla_get_logs` in the MCP.
- **Help, from anywhere in the panel.** The Help menu asks an AI that knows your app (its settings and the right docs; it never changes anything, and uses your own Claude key), writes to a person at Neblla, or opens the docs.
- **Saved replies in the Inbox.** Save answers you give often ("Class times") and drop one in when replying. Also through `neblla_update_app({ savedReplies })`.
- **A new private area.** Each app now opens on Home, with eight tabs by what you want to do (Home, Statistics, People, Features, Money, Build, Publish, Settings), one page per feature, each saying what it is for, and a search box that understands synonyms. A bar stays on top: switch apps, see how many changes are unpublished, open the app, and choose whose data you're looking at. Old links still land in the right place. The panel now says "draft" and "published" (your AI and the API still say pre and pro).
- **Your team, with roles.** Invite people to an app by email as Partner (everything but money, the plan and deleting the app), Community and support (the app's people and moderation, sales to read), View only, or One screen (as before). The invitation expires if not accepted; you can resend, change or remove it, and people can leave. The server applies the role on every panel route and MCP tool, and the activity log shows it.
- **Write to all your users.** One message to everyone in the app, or to a group, delivered to their inbox (live if they're connected). You see what it will cost before sending; it stops before going over your quota and you can resume it. `neblla_broadcast` in the MCP.
- **Sales, refunds and CSV.** A list of your app's sales with the amount and the buyer, a full refund from the sale, Stripe's receipt or invoices, and CSV downloads of sales and users. `neblla_sales` in the MCP. Purchases now keep what was paid; older ones show no amount.
- **Statistics.** Active and new users, where they came from (referrer and `utm_*` campaigns), whether they come back after 1, 7 and 30 days, time spent, money and class occupancy, with a 30-day chart, weekly totals and CSV. Off by default; the panel says what turning it on would cost. `neblla_get_stats` in the MCP.
- **Restore a backup of your app.** The daily backups now keep an index per app, so you can see the last 7 days and bring back the published app or its draft as it was that day. Users erased since then stay erased and purchases are never touched. `neblla_backups` in the MCP.
- **See what your app's AI spends.** Calls, tokens in and out, refusals with their reason, provider errors and credits, per day, split between your key, your users' own keys and the community check. In `neblla_get_app` as `aiUsage`.
- **An activity log for each app.** Who in your team changed what and when, from the panel or the MCP, with the new value of plain settings ("set the AI limit to 20,000"; never keys or webhooks), plus your moderators' actions with their names. Kept 90 days. `neblla_get_activity_log` in the MCP.
- **Your app's alerts in one place.** Everything you need to know about your app (storage full, your database not answering, a migration paused, quota out or close to it, saves in a loop, legal notices, a paused community, erasure requests, unanswered reviews, a failed publish, auto-recharge) is now one list per app, in plain words: what is happening, what your users notice and what to do. You choose who in your team gets each one and how: email, Slack or Discord. Urgent ones go by email by default. Also `neblla_alerts` in the MCP and `alerts` in `neblla_get_app`.
- **Leaving your own database brings everything back.** "Back to Neblla's database" in the panel (or `neblla_byodb({ action: 'to_neblla' })`) is now a migration like the way in: saves, rooms, inbox, community, tables, chat, player records, purchases and the rest come back to Neblla, with the same short lock at the end. If your database no longer answers, you can start from scratch instead. Migrations, both ways, now spend your app's quota: when it runs out the copy pauses and carries on by itself after the daily reset (the final lock always finishes). The panel and the MCP show how far it got and what is left.
- **Slots repeat like calendar events.** `booking.createSlot({ repeat })` takes a calendar rule: every N days, weeks, months or years, on chosen weekdays, a day of the month or "the second Tuesday", until a date or N times, with exceptions (an RRULE string works too; `{ weekly: true }` still does). The whole series, one case or "this and following" can be changed or deleted; bookings on cases that stay are kept. No more 104-slot cap.
- **Booking panels show the free slots.** A panel over a booking set lists every slot in its range: free, or one row per booking with the places left.
- **One room example, three recipes.** New apps with rooms start from a single example (the server sets the state, the clients paint it and talk through `message`) instead of asking how a room works. The three shapes, a referee (chess, cards), a big screen with phones as controllers, and everyone on the same surface (a whiteboard), are now recipes in the rooms guide. The board and the director are still asked. Old template keys are read as `rooms`.
- **Your app's moderators are a group.** They are the members of the reserved `moderators` group, kept with the app's data, so pre with its own data has its own moderators: add yourself (or anyone) there to try moderation in pre. Only a player of the app can be named moderator (`invalid_user`, `user_not_found`); `neblla_set_moderator` and `neblla_list_moderators` take `env: 'pre'`.
- **Player statistics pay from your quota.** Each visit "Player statistics" writes now costs your app what any write to its tables costs; with the day's quota used up, that visit is not written.
- **"Send to pro" is free.** It no longer costs 10 credits: the deployment batches are Neblla's, and a send only joins the next one. The month's deployment cap still sets their pace.
- **Quota: fairer charges and the full table.** Coming back to a room now charges the state it sends you, as the docs said. Requests that have an answer (reading a community entry, a key, a table row, `neblla.api.call`) pay the request once and the answer once, not the answer twice; a file Neblla serves is not charged when the browser already has it. The cost table in `publicar.txt` now lists everything that spends quota.
- **Faster second visits.** The socket.io client the SDK loads is now one minified file (47 KB instead of 156 KB) that the browser keeps for good, instead of a fresh copy on every visit. Nothing changes in your page.
- **Several apps on one site, without the id in the tag.** When two apps list the same site among their domains, the tag without the id now tells them apart by the page's path: the entry with the longest path the page is under wins (`example.com/chess` over `example.com`). If their entries tie, the page carries the id (`/connect/app/<id>`).
- **The SDK's fixed part comes from Cloudflare.** Once switched on, the shared library your tag leads to is served from `neblla.app/sdk/`, kept by Cloudflare's edge for good, instead of from Neblla's server. Nothing changes in your page.
- **Turnstile before a new guest, if you want it.** Settings → Domains → *Turnstile for new guests* (or `neblla_update_app({ turnstile: true })`) makes the SDK pass Cloudflare Turnstile, invisible for almost everyone, before Neblla creates a new guest, so a script cannot create them in bulk. Neblla's widget works on your app's `<app>.neblla.app`; on a domain of your own, paste your own widget's keys (`{ siteKey, secretKey }`; the secret is stored encrypted and never shown). Returning users and compiled apps are not asked. A page that does not pass gets the boot error `refused` with `reason: 'turnstile_failed'`.
- **The SDK tag no longer needs your app's id.** `<script src="https://neblla.com/connect/app.js"></script>` works on any page Neblla hosts (it writes the id in as it serves or deploys the page) and on a site of your own, where the app's modules come from the page's address. New apps' templates use it. The tag with the id keeps working everywhere, and a page on localhost (pre, with its local key) or a compiled app still carries it.
- **Localhost opens your app's pre, with its local key; compiled apps get their own switch.** A page on `localhost` no longer reaches your app as its users see it: it opens only the app's pre, and only with the tag that carries the app's local key, `<script src=".../connect/app/_<id>?pa=<key>">` (Back office → Pre, or `neblla_pre_access`, which now returns `local: { key, tag }` and renews it with `renewLocalKey`). Never publish that tag; renewing the key shuts the old one out at once. The `sandbox` setting is gone, and `localhost` can no longer be added as a domain. Apps built with Capacitor, Ionic, Tauri or Electron arrive without a domain: switch on *Compiled app* in Settings → Domains (or `neblla_update_app({ compiled: true })`) and pro takes their origins (`capacitor://localhost`, `https://localhost`, `null`…), with at most 20 new guests per address and hour. `neblla.app.devPreview` is now true in pre and never in pro.
- **Your server code is cached by the browser.** `server/lobby.js`, `gathering.js` and `room.js` no longer travel inside every visit's config: each is its own file, named by its content, so a returning user's browser keeps it until your next release (a pre's file is never cached and opens only with the pre's key). Saving server code that looks like it holds a key now shows a warning in the dashboard editor too, not only in the MCP's answer.
- **New apps start with example code for every module they have.** The template now comes from the app's modules: bookings, community, groups, dice (`tools`, rolled by `server/room.js`), anti-cheat witnesses and API keys join the sign-in, shop, AI, friends and inbox examples, and a module the app does not have brings nothing. An app, shop or business on one device starts from a new `home` page with what it is about in the middle. What the shop sells (one-off items, subscriptions or packs) picks the purchase example, and a business starts with a set of appointments its booking example already shows. From the MCP, `neblla_create_app` gets the same through two new decisions, `sells` and `bookingPay`. The store example now shows prices in their currency (they are stored in cents).
- **Bookings paid at booking, without credits.** A booking set can now charge a one-time product each time: `{ cancelHours, pay: 'booking', product }`. `neblla.business.booking.reserve` holds the place for 30 minutes and opens Stripe's checkout; `booking.on('update')` says when the payment made it the user's. Paid too late with no place left, or paid twice, the money goes back on its own; cancelling in time refunds it in Stripe (Neblla's fee too), and a refund made in Stripe cancels the booking. The wizard's "At booking" answer now sets this up.
- **Apps linked to their own repo are edited like any other.** `neblla_upload_file`, `neblla_edit_file`, `neblla_move_file` and `neblla_delete_file` no longer answer `git_linked`: each call is a commit on pre's branch of the developer's repo, then synced back (`git_conflict` if the file changed on GitHub since the last sync). `neblla_git` `commit` takes `deletes`, and `neblla_versions` reads and restores that repo's pre and pro branches. In the dashboard editor the same happens for creating, uploading, renaming, moving and deleting, and a new live preview shows the app's pre next to the code, reloaded after every save.
- **Rooms by invitation, play now, and sharing a room.** `rooms.book({ guests })` books a game only the people on the list can enter (others get `not_invited`; those connected now hear `rooms.on('invite')`); `rooms.play()` drops the user into the fullest gathering room with a seat and the same config, or a new one; `rooms.link()`, `rooms.qr()` and `rooms.linked()` share a room by link or QR and read the code a page was opened with.
- **Back office: who is connected now.** A new Live now section lists every session in your app by room (the busiest first), with its `publicInfo`, flags, ban state and latency, and refreshes every 5 seconds while it is open; a signed-in user opens their card. Servers are counted apart. The back office sidebar also has a shortcut to Publish, with a dot when pre has changes your users don't have yet.
- **Moderation: flags by hand, and a ban message per state.** From a user's card in the back office (or `neblla_flag_user` in the MCP) you add a flag to them, as the anti-cheat does, or take one back; it never bans and the user is not told, and your `flag` webhook hears it with `by: 'developer'`. The ban screen now has a message for banned users (who can still write to you below it) and another for terminated ones (who cannot): `neblla_ban_settings({ bannedMessage, terminatedMessage })`, or Back office → Settings. `defaultMessage` is gone; an app that had one keeps it for both until it writes its own.
- **Your community rules, accepted by each user.** If your app's community has rules (`community.rules`), a user's first entry (and the first after you change the rules) opens a small Neblla popup with them, in the user's language; the entry goes out once they accept. You program nothing. `publish()` / `update()` can now reject with `rules_declined` (the popup was closed) or `popup_blocked` (with `err.url`). Private entries, and you publishing through the MCP or your server, are not asked.
- **An archived app's data is sealed with it.** When a long-silent app is archived, its users' saves, inbox, community and table rows in Neblla's store (and its pre's) now go into the encrypted archive with its files, and leave the active store; opening the app brings them back as they were. Apps on their own database keep their data there.
- **Products: euros by default, and Stripe's rules checked up front.** A product without a `currency` is now in `eur` (it was `usd`). Only currencies Stripe charges in are accepted, with its rules for the amount (whole units for JPY and other zero-decimal currencies; thousandths ending in 0 for BHD, JOD, KWD, OMR and TND), and a price under Stripe's minimum charge (0.50 EUR/USD; for a consumable, its smallest purchase) is refused with `invalid_price` when you create or edit the product, instead of failing at checkout. When the user gave your app their email, Stripe sends them the receipt.
- **A purchase can raise the per-user cap.** `limits: { vip: { playerQuota: 50 } }` in `neblla_update_app` lets whoever owns `vip` spend up to 50 % of the app's day instead of the app's `playerQuota` (0 = no cap). The products tab in the dashboard sets it too, along with the save size a product raises. Owning several products, the most generous counts.
- **MCP: `neblla_edit_file` edits a file by pieces.** Send `oldText` → `newText` pairs instead of the whole file; each `oldText` must appear once (or pass `replaceAll: true`), and all the edits land together or none does. `neblla_get_file` now returns the file's `version`: pass it as `baseVersion` and the edit fails with `version_changed` if the file changed since you read it. Each edit is one more version, like an upload.
- **Deleting an app asks you to type its name.** In the dashboard's Danger zone, *Delete app* now opens a box where you type the app's name, as on GitHub; *Delete forever* only works with the exact name.
- **`@neblla/server` is MIT-licensed.** The package now ships a `LICENSE` file (MIT); the SDK will carry the same license when it reaches npm.
- **Each app gets its own address: `<short name>.neblla.app`.** Every app will live at its own origin (`<short name or id>.neblla.app`, or your custom domain), so no other app's page can read its users' storage or pass as it. Until the switch, nothing changes; after it, `play.neblla.com/<app>/` sends users on to the new address and brings their session and saves with them, its files redirect, and your pre lives at `/pre/` on the app's own address. Short names now need at least 5 characters and can never equal an app id; an old short name stays reserved for your app and keeps leading to it. `neblla_get_app_url` and the dashboard always show the current address.
- **The SDK now loads in two parts, and a page that is turned away costs you nothing.** The `<script src=".../connect/app/<id>">` tag stays the same; it now leads to a fixed library shared by every app with the same modules, cached by the browser for good and never charged. Your app's settings come next from `POST /connect/live`, which works out the app from the page's origin, and only a visit that is let in is charged. Requests that end in an error are no longer charged. Two new boot error codes on `neblla.app.on('error')`: `not_found` (no app for this page) and `refused` (with a `reason`, such as a full store). Saving server code (`server/lobby.js`, `gathering.js`, `room.js`) that looks like it holds a secret key now answers with a `warnings` list: that code reaches every page, so keep keys in `neblla_set_api_secret` and call them through `neblla.api`.
- **Only your app's pages can open its socket.** When a page connects, Neblla now checks that its origin is one of your app's (its domain list, a custom domain, Neblla's own hosting, or localhost for a sandbox app), as `/connect/auth` already did. The SDK's own calls no longer send cookies, and a preview link's key for your app's pre works only from the address it was opened at.
- **AI: with your key, only the listed models.** When you pay, an OpenAI or DeepSeek call that asks for a model outside the provider's list (`gpt-5`, `gpt-5-mini`, `gpt-5-nano`; `deepseek-chat`, `deepseek-reasoner`) is refused with `model_not_allowed`, so a newer, dearer model cannot slip past your ceiling. Calls made from the browser with the user's own key now use your `ai.maxOutputTokens` instead of a fixed 1024.
- **Your database also gets the anti-cheat cases and the legal notices.** With your own database, every Fogs' disagreement case (`neblla_nb_fog_cases`, with the states compared), every purchase-fabrication report (`neblla_nb_fraud_reports`) and every formal notice about your community (`neblla_nb_legal_notices`, without the claimant's contact details) is copied there and kept current; moving your app copies the ones Neblla already had.
- **Your copy of the purchases stays current.** With your own database, `neblla_app_purchases` now also has `product_type`, `remaining` and `ended_at`, and is updated when a user spends units and when a subscription changes or ends. The rankings `game.dailyTournament` keeps and the bookings `booking.reminder` already reminded now live in your app's store (`neblla_nb_tournaments`, `neblla_nb_reminded` in your database).
- **With your own database, your rooms' chat is yours too.** Connected with `neblla_byodb`, a room's chat history goes to your database, table `neblla_nb_room_messages`, in clear, with the user's id in your app; Neblla keeps no copy. Moving the app there moves the history (same message ids) and removes the users' saves Neblla still held. Erasing a user removes their lines, and deleting a room removes its chat. If your database does not answer, a chat line or an inbox message waits in Neblla and is written when it is back.
- **Spending reaches all of a user's devices.** `neblla.shop.consume()` (and a consume from the back office or `neblla_consume_purchase`) now fires `neblla.shop.on('purchase')` with `type: 'consume'` on every device of that user, not only the one that spent, so none is left with an old `remaining`.
- **`neblla.shop.validate()` from a client checks only its own user.** Asked about another user from the browser, it answers `{ valid: false, error: 'not_allowed' }`; checking another user's purchase is for `room.js`.
- **OpenAI and DeepSeek in `neblla.ai`, beside Claude.** Pick the provider in Config > AI or with `neblla_update_app({ ai: { provider: 'openai', model: 'gpt-5-mini' } })` (`'claude'` stays the default). `neblla.ai.prompt(text, { provider?, model?, preset?, userToken? })` works the same with the three, with the same ways of paying, presets, per-user limits and quota. When you pay, Neblla uses your key for that provider (OpenAI's and DeepSeek's are saved from their card in Config > AI) and only the app's provider; a user with their own key can pick any. DeepSeek is not called from the browser: with users' own keys, use the `server` mode.
- **"Users", not "players".** The MCP's tool descriptions and the dashboard now speak of your app's users, keeping "player" for what is about games. The MCP's opening line is now "AI builds it in minutes, Neblla keeps it alive for years".
- **Moderation log, optional.** Off by default, so it costs nothing unless you want it. Switch it on in the back office (Moderators) or with `neblla_update_app({ moderationLog: true })`, and Neblla writes down who named or removed a moderator (of the app or of a room), each ban, and every room message, inbox message or community entry someone other than its author took down, with who did it and when. Read it in the back office or with the new MCP tool `neblla_get_moderation_log`. Each line costs 64 units plus its bytes and takes room in your app's store; with your own database (BYODB) it goes there, in the table `nb_modlog`.
- **Friendlier defaults for new apps.** What costs nothing and helps is now on: Fog takes a room while your own server is away (`server: { fallback: null }` turns it off); rooms start with no-code matchmaking, the way the template's rooms start (a shared canvas with the first one in, a board with phones on "Start"), and the template's `server/gathering.js` is the one those rules generate (set `matchmaking.mode: 'custom'` before writing it by hand); the AI you pay for caps each user at 10,000 tokens a day (`ai.limitsEnabled: false` turns it off); and a repo you link by hand syncs on every push, like one Neblla moved there. What spends quota stays off (TURN, anticheat, latency watch, persistent rooms).
- **More settings in the dashboard.** Config gets a **Tables** section (which tables your server writes for a user), **Groups** (users make their own, and the creator's role), **Shop**, the most one user may save (Capacity), the latency watch (P2P) and the Fog fallback for your own server (Rooms). The dashboard now shows the server's own defaults: the inbox cap is your plan's (100 free, 2000 Pro), and a community payload of 0 means no limit instead of turning into 64 KB.
- **Buying without signing up is now on by default.** A guest buys leaving only their email at Stripe's checkout and gets a light account on that device; `neblla.shop.restore(email)` brings the purchases to another device. To sell only to signed-in users, switch it off in Config → Shop (new) or with `neblla_update_app({ purchases: { emailCheckout: false } })`: then a guest's `neblla.shop.buy()` asks them to sign in, in the same checkout window, and goes on to the payment once they are in, instead of rejecting with `login_required`. It still rejects with `login_required` if they close the window without signing in.
- **The MCP's notice channel needs your token.** `GET /mcp` (the server-sent events stream) now answers 401 with the same `WWW-Authenticate` challenge as a protected tool when there is no token, so your client signs in first. `initialize`, `tools/list`, `ping` and the three open tools still need none.
- **What a user buys stays theirs.** A user's purchases no longer travel to the rest of their room: `neblla.shop.on('purchase')` fires only on the buyer's devices, and `publicInfo` never carries them. To check another user's purchase, use `neblla.shop.validate(userId, productId)` (also from `room.js`). The SDK's peer-to-peer purchase check is gone with it; Neblla's own check stays, and when a device claims a purchase Neblla never made, Backoffice → Anticheat now lists who, what they claimed and what they really have. It is a notice only: the user's flag count goes up, nothing more.
- **`db.save()` returns a promise and takes the time of the change.** It resolves once the save is stored with `{ data, mode, pending }` (what `db.on('merged')` carries) and rejects with a code: `save_too_large`, `invalid_save`, `invalid_at` or `login_required`. Without a login it resolves at once. Awaiting it is optional; the events still fire, and an unawaited failure is not an uncaught error. New `opts.at` (a `Date` or ms): send late what a device did offline, and field by field the newest change wins rather than the last to arrive. It turns `crdt` on and works with `mode: 'over'`. A `crdt` write's time may now be any time in the past (it only loses); it still cannot be more than 60 s ahead.
- **A full store no longer loses what is going on.** When your app's store in Neblla (5 MB free, 100 MB Pro) is full, the writes of the users already inside do not fail: each one is noted as it came, in order (`db.save()` of their document, a table row, a `db.delete()`), the user sees their data with the queue on top, and the answer carries `pending: true` (`neblla.db.pending` on the client). Meanwhile no new user comes in (`storage_full` on `neblla.app.on('error')`). You get an email on the first day, the fifth and the eve of the seventh; make room, go Pro or connect your own database and the writes are done in order by themselves. After 7 days without room they are thrown away. Your tables' rows now count against the store like the saves.
- **`auth.on('login')` now carries `appUserId`,** the player's id in your app: the same on all their devices, the one the back office, `neblla_list_users` and the ID token's `sub` use. The guide's identity chapter now tells it apart from the session id that rooms use (`auth.me.id`).
- **Guide corrections.** `neblla_publish_app` does translate the listing languages you leave out. `room.setData` merges keys rather than replacing, and only clients call it. A `tools.counter` is added to by the Fog only, unless you create it with `player: 'add|read'`. The player field is `flags`, not `flagCount`. `neblla.app.permission`, `devPreview`, `dashboardUrl` and `debugging` are now documented. A Neblla Cloud box stays awake while a room is open. A self-hosted server runs sandboxed, with no `require`, `fs` or `process`.
- **Switching on the `ai` module now sets AI up.** From the create wizard, Config → Modules or `neblla_update_app({ features: { ai: true } })`, the app gets the same AI settings as Config → AI's own switch (you pay with your Claude key), so `neblla.ai.prompt()` works at once instead of answering `ai_not_configured`. AI settings you already had are kept. An empty app from the wizard now starts with no optional module.
- **Fog on phones: a hidden page hands the room over.** When the device running your server file locks its screen, goes to the background or sleeps its tab, the SDK tells Neblla, and a replica on a visible device takes over (or a visible device starts it fresh if there is none). A hidden replica gives its seat to a visible player. Leaders and replicas are picked among visible devices first. The guide's server chapter now explains what happens on phones: a lost connection is noticed in about 45 s, and networks that block P2P go through the relay, which counts against your quota (`neblla_update_app({ p2p: { turn: true } })` turns on TURN).
- **Fixed: `neblla.room.masterProtected` and `neblla.room.me.alias`.** The first was documented but missing from the SDK; the second stayed undefined in anonymous matches. Both now work.
- **New tutorial: connect Claude to Neblla.** A step-by-step page for adding Neblla's MCP to Claude on the web, the desktop app or Claude Code (`claude mcp add --transport http neblla https://neblla.com/mcp`).
- **A new way to create an app in the dashboard.** The create wizard now starts with what you are making (a game, an app, a shop, a booking business, your own pick, one you already have, or an empty one) and asks a few plain questions about it. Each answer turns `neblla.*` modules on or off, and before creating you see a summary with a card per module and what it does, where you can add or remove any of them. The configuration wizard is gone: "Rooms only for players with a login" now sits in Config → Rooms, and "Fall back through the Neblla server" (`connections`) in Config → P2P.
- **Give your app's pre a database of its own.** With your own database (`neblla_byodb`), pre's data goes to the same one by default, apart under pre's id, and now moves with it when you migrate the app. To give pre another database of yours, pick "Environment: Pre" in Settings → Database, or call `neblla_byodb` with `env: 'pre'`: the usual three-phase migration moves only pre's data, and from then on the app's settings and migrations leave pre's database alone. `migrate` with `follow: true` takes pre back to the app's database. Only for a pre with its own data.
- **See your pre's players in the Backoffice.** A "Data of: Pro | Pre" switch at the top of the Backoffice shows the messages, players, rooms, community and anticheat cases of your app's pre instead of your players'. The MCP tools that read players and their data (`neblla_list_users`, `neblla_search_users_by_email`, `neblla_get_user`, `neblla_export_users`, `neblla_list_communications`, `neblla_list_community_entries`, `neblla_get_community_entry`) take `env: 'pre'` for the same. When pre plays with pro's data, both show your players.
- **Your app's pre sells in Stripe's test mode.** Pre sells your app's products (one catalogue), and by default through Stripe's test mode: testers pay with Stripe's test cards (`4242 4242 4242 4242`) and nothing is charged. In that mode pre also lists the products you have not published yet, so you can try them before players see them. Test purchases go to a Stripe test account of yours, opened once from the Backoffice ("Purchases in pre") with the test data Stripe offers, and are marked as test ones: pro never counts them, not even when pre plays with pro's data, and there they give no credits. Turn it off in the Backoffice or with the MCP's `neblla_pre_stripe_test` to make pre charge for real, like pro. The `purchase` webhook of a test purchase carries `test: true`.
- **Choose which data your app's pre plays with.** By default pre has its own players, saves, tables, inbox and community, empty at first and apart from your players'. On the Backoffice tab ("Which data pre uses") or with the MCP's `neblla_pre_data`, switch it to pro's: pre then reads and writes your players' real data, for real. Rooms are always pre's own, so testers never share a live game with your players. Switching signs out whoever is signed in to pre. With your own MongoDB, pre's persistent rooms no longer share the names of pro's.
- **Each environment is a git branch.** In your own repo (linked with `neblla_git` or the editor), pre follows the branch you link and "Send to pro" merges the commit pre was synced from into a pro branch (`proBranch`, default `neblla-pro`, created the first time). Without a repo, Neblla keeps both branches for you: the editor's version history and `neblla_versions` show `pre` (every save) or `pro` (every "Send to pro"), and restore from either. Moving the app into your own repo (`neblla_versions` `migrate`) now carries its whole history, both branches, and links the app to it.
- **Choose who else sees your app's pre.** On the Backoffice tab ("Who sees pre") or with the MCP's `neblla_pre_access`, let in Neblla accounts by email, who sign in on the pre page, or create links with a password for people without an account (the password is shown once). Either can expire on a date. Whoever gets in stays in for 4 hours even after signing out, so they can play as a guest. Nobody else can open pre's page or its SDK.
- **Every app now has two environments: pre and pro.** Everything you change, from the dashboard, the MCP or a git sync, lands in the app's **pre**, which you try at a private link ("Pre ↗" in the dashboard, or `neblla_get_app_url`); the link opens it for 10 minutes and your browser stays in for 4 hours. Your players keep playing **pro**, which only changes when you **send pre to pro**: "Send to pro" on the Publish tab, or `neblla_promote({ appId, action: 'promote' })`. Files, server code and settings arrive at once, so nobody plays half a change. Each send is a deployment and costs 10 credits; `diff` shows what would change and `reset` throws pre's changes away. The name, slug, gallery listing, moderators and bans are shared and change at once. This replaces drafts (`neblla_draft`), snapshots (`neblla_snapshot`), the git test branch (`<appId>_test`) and the manual freeze/warm buttons, which are gone. Your apps are moved over as they are: what they serve today becomes their pro.
- **Your Stripe receipts can follow your new primary email.** When you make another address primary, the dashboard asks whether to update your email in Stripe too (where your Pro receipts go); only a yes changes it, and your payout account in Stripe is never touched. From the MCP, `neblla_developer_profile` says `stripeEmailDiffers` and `neblla_developer_email({ action: 'update_stripe_email' })` updates it after asking you.
- **The MCP now asks by modules.** `neblla_validate_requirements` offers the `neblla.*` modules as one decision, `modules` (a list, `[]` included), each with what it does, what it needs and what it costs, for your agent to decide with you. A combination that does not hold (a room module in a one-device app, `rooms` in a lobby-only app) comes back in `problems` and blocks `neblla_create_app`; what you should know about the choice (a Stripe account to sell, moderating a community) comes back in `notes`. The old `login`/`friends`/`purchases`/`ai`/`communications` decisions are still read, as the modules they were.
- **An app is now a set of `neblla.*` modules.** The six feature switches are replaced by one switch per SDK module in `features`: `auth` and `db` are always on; `message`, `state`, `room` and `rooms` are what multiplayer means; `social`, `shop`, `inbox`, `ai`, `api`, `anticheat`, `groups`, `community`, `business` and `tools` are yours to choose (dashboard → Config → Modules, or `neblla_update_app({ features: { shop: true } })`). Switching one on brings what it needs; switching one off takes what needs it. Whatever is off is not in the SDK your app downloads, the server refuses it with `feature_disabled` and a `module` field naming it, the backoffice hides its tabs, and `neblla_get_llms({ appId })` serves the guide cut to your modules. Your existing apps keep exactly what they had; the old names (`multiplayer`, `friends`, `purchases`, `communications`, `login`) are now refused with `unknown_module`, and the login is always available. `neblla_get_app` returns the app's `modules`.
- **Stripe's setup now happens inside neblla.com.** Setting up your payout account (from your dashboard account, from a product waiting for Stripe, or from the MCP's `connectUrl` / `onboarding_link`) shows Stripe's own form right in the dashboard, with your email, name and app web already filled in. Your bank details and documents go straight to Stripe: Neblla never sees nor keeps them, and the MCP never asks you for them. Finishing takes you back to the app's products, where a waiting product publishes itself.
- **Publishing a paid product before Stripe is set up now takes you there.** In the dashboard, turning on a product without a payout account offers to set up Stripe right then: the product is saved, and Stripe brings you back to it. Through the MCP, `neblla_create_product` / `neblla_update_product` answer `connectRequired: true` with a `connectUrl` (a neblla.com page that opens Stripe's setup from your session). Either way the product waits, hidden, and publishes by itself as soon as your account is active. `neblla_payments_account` `onboarding_link` now returns that same page instead of Stripe's single-use link.
- **No more dropped connections right after loading.** A browser could lose its connection a moment after joining the lobby and end in "could not start: timeout": its first clock samples reached Neblla before the session existed. The SDK now waits for its session before sending them, and Neblla ignores anything that arrives while it is still signing the socket in.
- **Running out of quota lands softly.** When your app spends its day, bank and packs, games in progress no longer freeze: rooms already running go on, and only what would open something new (a room, a booking, a new player) is refused with `quota_exceeded`, which now carries `stage` and `resetsAt`. A margin of 10 % of the day lets them finish; past it, the rooms close once with a new `room.on('closed')` event and everyone goes back to the lobby at 00:00 UTC or as soon as a pack comes in. Saving (`db.save`, tables) is never cut by the quota, nor by the per-player cap: only the store limits it. Events that wait for an answer now get the refusal instead of hanging.
- **The SDK is now grouped into modules.** Nothing hangs off the root of `neblla` any more: every call lives in the module it belongs to. Messages: `neblla.message.send(data)` and `neblla.message.to(target, data)` (an id, a list, `'server'`, `'presenter'`, `'master'`, `'board'` or a group), all heard with one `message.on(cb)`. Room state: `neblla.state.get()` and `state.on(cb)`; in the server file, `state.set()` and `state.merge()`. Your room: `neblla.room` (`room.leave()`, `room.start()`, `room.users`, `room.me`, `room.now()`); all rooms: `neblla.rooms` (`rooms.book()`, `rooms.join()`, `rooms.list()`). Login: `neblla.auth` (`auth.login()`, `auth.me`). Data: `neblla.db` (`db.save()`, `db.load()`, `db.delete()`, `db.data`). Purchases: `neblla.shop` (`shop.buy()`, `shop.consume()`, `shop.purchases`). Then `neblla.social` (friends), `neblla.inbox` (messages with you), `neblla.api` (`api.call()`, `api.key()`), `neblla.anticheat` and `neblla.ai.prompt(text)`. Events go through each module's `.on` / `.off` (`room.on('joined')`, `shop.on('purchase')`, `auth.on('login')`), and `neblla.on` is gone. The old names are removed, with no aliases: code that still calls `neblla.sendMessage` or `neblla.buy` has to move to the new names. The full old → new map is in the SDK reference in the dashboard and in `neblla_get_llms({ section: 'referencia' })`.
- **Removed: the `infra` and `wasm` server modes, and the example apps.** No code of yours runs on Neblla's own servers any more. `serverMode: 'infra'` is refused (`invalid_server_mode`), and apps that had it now run their server files on a player's device (Fog); for a server of your own, use `own` or `cloud` (below). WebAssembly is gone too (no `wasm` mode, compiler or `.ts` templates): server files are JavaScript. The website's example apps are replaced by the templates in the create wizard.
- **Fog: your server file runs on three players at once.** One device leads and two replicas follow. If the leader leaves, a replica takes over without restarting. State and messages travel P2P between them, and Neblla only relays to devices without P2P. The replicas compare fingerprints of their state; when one disagrees, the majority wins, the odd one resyncs and its player is flagged. You see each case in Backoffice → Anticheat (or with `neblla_list_fog_cases` / `neblla_decide_fog_case`) and pass the flag on or cancel it. Messages to the server are applied in time order, with rollback inside a window (`fog: { window }`, 1000 ms by default; per room in its config). `state.on(cb, { final: true })` hears only what is past that window. `room.now()` is the same clock on every device. `anticheat.confirm()` witnesses are judged by Neblla, never by a player.
- **No-code tools for the server file.** `neblla.tools` gives the server file pieces that Neblla keeps, so no player can cheat with them: `tools.random` (dice and ranges, with a daily seed nobody knows), `tools.counter` (caps per player or room, per match, per day or for ever), `tools.score` (maximum and maximum per second), `tools.deck` (decks, hands, stacks with permissions, show and muck), `tools.envelope` (values sealed now and opened later; in `p2p` mode the key never leaves the device) and `tools.zones` (who is near whom, as a graph or in 1D/2D/3D, with `precision` and zoom `levels`). `message.send(data, { zone })` reaches only the players in your zone. The tools survive a Neblla restart.
- **Anonymous matches.** In the server file, `tools.anonymize()` (3 players or more) gives each player an alias for the match: the server file sees only aliases, and `message.to(alias, data)` reaches that player. `tools.unmask(userId)` needs two Fogs to agree. `tools.announce(alias, data, { within })` asks that player to say something in public under their own name (`room.on('announce')`); if they don't, Neblla says it and flags the room. What players tell the server is sealed and bounces between players, so neither the host nor Neblla learns who is who.
- **Run your server file on your own server or in Neblla's cloud.** With `serverMode: 'own'`, create a key with `neblla_server_key` and run `npx @neblla/server --app <appId> --key $NEBLLA_SERVER_KEY ./server`. It calls Neblla (no open ports, no public URL) and joins each room as its only server, invisible to players, running the same SDK they do. The package is not on npm yet. `neblla_byos` deploys that same server to your own Cloudflare account: Cloudflare bills you, and Neblla charges only for the relay. `serverMode: 'cloud'` runs it in Neblla's cloud: one box per app that sleeps when idle, billed by awake time and messages, redeployed whenever you save a `server/` file (while it is not switched on, it answers `server_mode_unavailable`). `server: { fallback: 'fog' }` lets the players run the file when your server is down; it is off by default.
- **Player tables.** Declare tables with typed fields and indexes (`neblla_update_app({ tables })`). A signed-in player writes and reads only their own rows: `neblla.db.save(data, { table, id? })`, `neblla.db.load({ table, where, orderBy, limit })` and `neblla.db.delete({ table, id })`. With your own database they are real tables. To query across players, use `db.load` in the server file (on Fog, counts only: `{ count: true }`), the admin API with the server key (`POST /api/apps/<appId>/tables/<table>/query`) or the MCP (`neblla_table_query`, `neblla_table_row`). A table with `server: 'write'` lets your own server, the cloud and the admin API write a player's rows (`db.save(data, { table, user })`). `db.watch({ table }, cb)` hears rows being saved or removed, live; each notice counts as a message. `db.shareLink({ table, where, expires })` makes a read-only link for someone without an account (`db.openLink()`, `db.links()`, `db.revokeLink()`).
- **Groups and roles.** Roles give rights per table (`neblla_update_app({ roles })`). Groups hold players, each with a role (`neblla_group`, the admin API, `neblla.groups` in the server file), and rows can belong to a group: `db.save(data, { table, group })`, read and written as each member's role allows. Where the app allows it, players handle their own groups: `neblla.groups.mine()`, `create()`, `invite()` (a link), `join()`, `leave()`, `members()`.
- **Save with modes.** `db.save(data, { mode })`: `over` (the default: what you send overwrites, the rest stays), `under` (fills only what is empty, for defaults), `full` (replaces everything) or `delete` (removes the fields you name). `empty` and `arrays` (`push`, `pull`, `complete`, `unique`, `sort`) fine-tune it, and `crdt: true` keeps the newest value per field across devices. Only what you send travels and is charged. In the server file, `state.merge(obj, { mode })` takes the same modes.
- **Bookings, credits, custom panels and your team.** Bookings with capacity and prepaid credits: players use `neblla.business.booking` (`slots()`, `reserve()`, `cancel()`, `mine()`) and `neblla.business.credits.balance()`. You set them up with `neblla_update_app({ business })` and manage them with `neblla_booking` / `neblla_credits` or `POST /api/apps/<appId>/admin/<tool>/<op>`, and a product can top up credits. Build Backoffice panels ("Today's bookings") with `neblla_set_panel` and try them with `neblla_run_panel`: a view of a table, a booking set or a credit kind, with columns, filters and buttons such as "Cancel booking". `neblla_team` invites people by email (a studio owner, the teachers); they sign in to the dashboard and see only their panels, with a role if you give them one.
- **Automations, webhooks, external APIs and keys.** Automations are scheduled actions with no server (`neblla_set_automation`, or Backoffice → Config → Automations). They run once, every N minutes, or daily at a time in your time zone, and can open a room with its config, hand data to a live room's server file, or call one of your API secrets. Ready-made templates: `booking.reminder`, `community.digest`, `game.dailyTournament`. `neblla.api.call(name, path, body)` calls an external API with a secret you stored (`neblla_set_api_secret`), from the server file or, if you allow it, the client. Outgoing webhooks (`neblla_update_app({ webhooks: [{ event, secret, path }] })`) post `purchase`, `refund`, `register`, `erasure_request`, `ban`, `flag`, `community_report` and `subscription_end` to your endpoint (`neblla_list_webhook_deliveries` shows the last ones). Incoming webhooks (`neblla_create_hook`) give a third party a URL to call, and its body reaches a room's server file (`room.on('hook')`) or one player. For flows across your other tools, connect n8n, Make or Zapier through the webhooks and the admin API. `neblla.api.key(name)` reads values you set in Backoffice → Config → Keys or with `neblla_update_app({ keys })` (text, number, yes/no or JSON), always the current one.
- **Subscriptions, and purchases that follow the player.** A new product type, `subscription` (price per period, `interval: 'month' | 'year'`, optional `trialDays`), from the dashboard or `neblla_create_product`. Stripe charges each period on your payout account, with Neblla's 1 % per invoice. `neblla.shop.manage(id)` opens Stripe's portal for the subscriber, each renewal arrives as a `purchase`, and the end arrives as the `subscription_end` webhook. Purchases now belong to the player, on all their devices: reading and spending them needs a login (`shop.consume()` answers `login_required` to a guest). `neblla_update_app({ limits })` gives owners of a product more storage (`maxBytesPerUser`) or more rows in a table (`maxRowsPerPlayer`). With `purchases: { emailCheckout: true }` (off by default), a guest can buy with just the email Stripe asks for, and `neblla.shop.restore(email)` brings the purchase to another device. Prices include taxes by default; `neblla_tax` with `inclusive: false` adds them on top. Neblla's 1 % is always taken on the amount before tax.
- **Use your own login.** If your app already has users, your server calls `POST /api/apps/<appId>/auth/token` with the app's secret login key (`neblla_auth_secret`, or Backoffice settings). It gets back a one-use token valid for a minute, which the page passes to `neblla.auth.login({ token })`. With an identity provider and no server of your own, set `neblla_update_app({ auth: { issuer, jwksUrl?, audience? } })` and call `neblla.auth.login({ jwt })`. Either way, the player is the same on all their devices. Listen for `auth.on('tokenExpired')` and `auth.on('switch')`. `auth.login({ silent: true })` signs in only if it can do so without a popup.
- **Logins and rooms.** `rooms.book({ requireLogin: true })`, or "Rooms only for players with a login" in Config → Rooms, keeps guests out (`rooms.on('joinError')` with `login_required`); `guestTtl` is gone. Every "needs a login" error is now `login_required` (`not_logged_in` is gone). Room moderators now work on all of a player's devices.
- **Messages, P2P and the relay.** `message.to(userId, data)` reaches only that member, P2P when there is a channel, and is not kept in the room's history. A message everyone gets by P2P costs no quota. `connections` (`all | p2p | server | none`) is now enforced, and without the relay the SDK gets no TURN credentials. The relay itself is now Cloudflare's, with credentials per app.
- **Quota, storage and prices.** Quota follows the real cost: 64 plus the message's bytes (UTF-8), for each message and for each recipient it reaches through Neblla. Direct P2P is free, and answers that carry data count too. One storage cap per app covers saves, rooms and community (5 MB free, 100 MB Pro). A player's `db.save` is capped at 10 KB by default (`saves.maxBytesPerUser`, 0 for no limit). Pro is €10 a month per app in Europe and $10 elsewhere, taxes included. A quota pack is 14,000 credits for €10, and each pack lasts six months. Every module is available on every plan. `neblla_billing` `auto_recharge { enabled, monthlyCap }` (optional) buys another pack with the card of your last one when the app runs out, up to a monthly cap in euros. Git sync is charged in credits.
- **Your own domain, and Google Play.** `neblla_update_app({ customDomain: 'mygame.com' })` answers with the CNAME to point there. Neblla gets the certificate and serves the app on your domain; `null` removes it. `neblla_publish_store` puts your app on Google Play as your own app, under your developer account: set the package name and a Play service account, then `build` uploads it to the track you choose. iOS comes later.
- **Community: privacy, your own fields and replies.** Entries can be `public`, `protected` (only their group) or `private`: private entries are encrypted end to end in the browser, the share link carries the key, and `community.deviceLink()` opens your private entries in another browser of yours. Declare your own typed fields (`neblla_update_app({ community: { fields, index } })`) and filter by range with `community.list({ where, orderBy })`. Authors reply to reviews with `community.reply()` (`neblla_reply_community_review`). Entries count their uses (`sort: 'used'`), and an entry's `image` shows on its public card.
- **Players can ask to be erased.** `neblla.auth.requestErasure()` opens a Neblla window where the player confirms. The request lands in your inbox, marked important, with a "Delete this player" button, and in `neblla_list_erasure_requests`; `neblla_erase_user` carries it out. Turn this off with `erasureWindow: false`. Deleting a Neblla account no longer deletes what that person left in each app. With your own database, the app's users, purchases, bans, flags and friendships are written there too.
- **DPA, terms and signing up from an agent.** Your first app asks you once to accept the data processing agreement and the terms of use: a click in the dashboard, or `acceptDpa` in the MCP. Both are public at `/legal/dpa`, `/legal/subprocessors`, `/legal/terms` and `/legal/privacy`. A change of subprocessors is announced 30 days ahead, in your inbox (`neblla_developer_notices`) and by email. An AI agent can now open your developer account without forms (`/auth.md`): you only read it the six-digit code Neblla emails you.
- **The guide now says when to use Neblla, not just how.** A new first chapter, `empezar` (English: `/llms/en/empezar.txt`, web: `/docs/empezar`, MCP: `neblla_get_llms({ section: 'empezar' })`), carries the decision rule — reach for Neblla when an app has more than one device at a time, state that must outlive the tab, player accounts, payments or user-published content, and reach for a plain `index.html` when it does not. It also spells out why not to roll your own socket server (authority, host handover, reconnection, room codes, lying clients, accounts), which app shapes fit, what Neblla is **not** (no engine, no general backend, no CDN for heavy assets, no player-to-player resale), and an honest maturity map of what is covered by the test suite versus what is beta. The index, the `core` chapter, the MCP server card and the landing now lead with the same framing: you write the app, Neblla is the part that lives between the devices.
- **Easier for AI agents to find and use Neblla.** New `/docs` (the whole guide as web pages), `/openapi.json` (the public HTTP API), `/.well-known/mcp.json` (MCP server card with the live tool list and OAuth details), `robots.txt` and `sitemap.xml`; unknown `/api/*` routes answer JSON instead of an HTML page.
- **Neblla is heading into its beta.** A small, closable banner on the site, the dashboard and the gallery says "Anything at all, get in touch": its "Contact us" opens a form right on the page, which reaches us at hello@neblla.com.
- **GitHub: sign in, pick a repo, push to deploy.** Sign in with GitHub on the dashboard, pick one of your repositories and choose auto sync: Neblla registers the webhook for you and every push to the branch goes live (only the files that changed are downloaded). While an app follows a repo, saving a file in Neblla’s editor commits and pushes it to your repository — with your own GitHub token, so GitHub decides what you are allowed to write — and then syncs back. Creating, deleting and renaming files still has to happen in the repo. Also available through MCP (`neblla_git`).
- **`neblla.buy()` is more reliable.** It opens the checkout window inside the click (no popup blocker), and rejects with the real reason (`login_required`, `feature_disabled`…) instead of a generic error. It resolves when the window opens — the purchase itself still arrives as the `purchase` event.
- **MCP first: everything from the developer dashboard, from your AI.** New MCP tools for rooms and moderators, player bans and purchases, gallery reviews and replies, snapshots and drafts, git sync, bring-your-own-database, your payout account and your profile; `neblla_update_app` now takes every app setting the dashboard has (server mode, rooms policy, P2P, theme…) and `neblla_get_app` returns one app with all its URLs. See `llms/mcp.txt`.
- **Community: list and revoke your share links.** `neblla.community.links({ entryId? })` lists the signed-in user's links (uses left, expiry); `neblla.community.revokeLink(id)` kills one. Expired and spent links are now cleaned up automatically, together with their throwaway entries.
- **Choose the length of room codes.** `neblla.bookRoom({ length: 3 })` (and the legacy `createRoom({ length })`) return a code with that many characters, 3–12 (default 5). Handy when your UI has a fixed number of code boxes.
- **Community (beta): user-published content, no database required.** A new `neblla.community` namespace lets your signed-in users publish *entries* (any JSON payload you define, plus indexed title/summary/category/tags/contentType) and lets everyone list, search, facet and read them. Three moderation modes (`open`, `review`, `closed`), a moderation queue in the backoffice and via MCP, a new per-user "mute community" state, threads via `parentId`, and a dedicated storage cap per app (20 MB free / 200 MB Pro) separate from user saves. Opt-in: turn on **Community** in Settings → Features. Guide: `llms/comunidad.txt`.
- **Community: share privately by link.** Publish an entry with `visibility: 'private'` (never listed) and mint a link with `neblla.community.shareLink(id, { uses, expiresInDays, deleteEntry })`; the recipient opens it signed in with `neblla.community.openLink(token)`. Single-use by default, 256-bit tokens, only the hash is stored in your database.
- **Community: favorites, ratings, reviews and reports.** Signed-in users can favorite, rate (1–5) and review entries with `neblla.community.relate()`, list their favorites and read public reviews; entries carry the aggregates and `sort: 'popular' | 'top'` uses them. `neblla.community.report()` lets users flag an entry (one report each); at the app's threshold (3 by default) it goes back to review automatically. MCP: `neblla_publish_community_entry` seeds your community as yourself.

## Build 29 — 2026-05-31
- **File transfers are now integrity-checked.** `sendFile` sends the file's SHA-256 in the header and the receiver verifies it against the reassembled blob before delivering. If it doesn't match (a truncated or corrupted transfer, or a wrong declared size) you now get a `fileError` event (`{reason: 'checksum_mismatch' | 'size_mismatch'}`) instead of a silently broken file. Documented in `llms.txt`.

## Build 28 — 2026-05-31
- **Developer portal login fixed.** Register, forgot-password, password-reset and resend-confirmation on the developer portal's login modal were hitting a route that wasn't mounted and failing — they now work.
- **Mid-day quota packs apply instantly.** Buying an extra-quota pack while your app is already at its daily limit now lifts the ceiling immediately, instead of staying blocked until the next daily reset.
- **Board role can't become the server.** A `board` (screen/scoreboard) participant is now excluded from server-peer selection in peer-JS mode, with a fallback if every member is a board.
- **App config changes apply immediately.** Updating your app (server mode, room policy, moderators, feature switches) now takes effect right away instead of waiting ~10s for the config cache to expire.
- **File transfer size limit enforced on send.** `sendFile` now rejects files larger than 100MB at the sender (previously only the receiver checked), and file IDs use a more robust generator.
- **Paid products stay hidden until you can get paid.** Without an active payouts account (Stripe Connect), paid products can be created but are kept out of the catalog until you connect — previously they could be published and the buy button would fail at payment. The API response now includes `connectRequired`.

## Build 27 — 2026-05-30
- **Backoffice user sorting fixed.** Ordering users in your backoffice by number of flags or by ban status now works correctly (it was silently ignoring the chosen order).
- **Moderator removal now takes effect immediately.** Removing a moderator now revokes their permissions right away, instead of leaving them active until the next config reload.
- **OAuth loopback redirects on IPv6 fixed.** Registered `http://[::1]:<port>/…` redirect URIs are now accepted during the OAuth/MCP flow (they were being wrongly rejected).

## Build 24 — 2026-05-30
- **Google sign-in fixed.** Signing in with Google on the developer portal and the gallery now works again (it was failing with a server error).

## Build 23 — 2026-05-30
- **Pro now raises your daily quota.** An active Pro subscription lifts the app's daily SDK credit ceiling (free 100 → Pro 2000 credits/day), on top of the existing higher communications and AI caps.
- **Extra quota packs work.** A purchased extra-quota pack now actually raises your ceiling. It's a one-time buffer for spikes — consumed as you use it, and not refilled on the daily reset.
- **Clear "quota exceeded" signal.** When an app runs out of daily quota the SDK now fires a catchable `error` event (code `quota_exceeded`) and logs a console warning, instead of events silently going dead.
- **Session-expiry signal.** The SDK now emits `sessionExpired` when a logged-in user's 30-day SSO session lapses, not only on a short-session reconnect failure.
- **Mundo speaks all ten languages.** The new mesh-editing, UV, texture-painting, skeleton, skin, weights, animation and sculpting texts of Creator's Mundo (and the wolf tutorial) are now translated into French, German, Italian, Japanese, Korean, Chinese and Arabic as well as Spanish, English and Brazilian Portuguese.
- **Templates keep their pictures everywhere.** The logo and photos of a template now travel with it: they are files of your app when you apply it, they show in the review link, and they come with the copy for your client. When you sell a template, one box ("I hold the rights to the images and give the buyer the right to use them") decides it: ticked, the pictures go with the product and the shop can filter by them; unticked, it is sold without pictures and the buyer is told.
- **Try a template before you take it, and update a pack without losing your changes.** The preview of a template in the store works like the published page: its menu changes page inside the window. A review link has a "Try it" mode that works the page on a phone (menu, carousel, forms) and a "Comment" mode, and "Ask for help" shows a QR of the link. "Take my copy" opens the copy you already have instead of making another. When the author publishes a new version of a pack, one button updates all its parts; where you and the author changed the same thing (a dish price, say) you see both values and choose "Mine" or "The author's" (yours by default), and what the author added still arrives.
