Toutes les versions v0.1.2205 Sep 2026Rendu, JavaScript et JIT, API web et DOM Flux

Les notes de version sont rédigées en anglais.

Loops, clicks, and the small print of running a page

A second round of making Floati run real pages the way other browsers do. The headline is a classic: a for loop now hands each turn its own copy of the counter, so the everyday pattern of making a little function inside a loop - a click handler per row, a timer per item - remembers the right value instead of every one of them seeing the last. Real clicks now behave like real clicks: they run 'capture' listeners on the way down, report which phase they are in, and identify themselves as genuine rather than script-made, so delegation and click-guards work. Math gained the functions and constants it was missing, the error that Promise.any is meant to hand you - carrying the list of what failed - now exists, and reading an element's parent no longer stops one step short at the top of the page.

Ce qui a changé

5 changements
  1. JavaScript et JITMaking a function inside a for (let ...) loop now captures that turn's value. Every function made in the loop used to share one counter and see its final value - the most common surprise in JavaScript loops - so a row of buttons wired up in a loop all did the last row's thing. Each turn now gets its own binding, like every other browser. Plain counting loops are untouched and just as fast.
  2. API web et DOMReal clicks and key presses now run the full event path: 'capture' listeners fire on the way down, the event reports which phase it is in, and it identifies itself as a genuine user action. Code that listens on a container and works out which child was clicked, and guards that only trust real clicks, both work now.
  3. RenduMath gained its missing pieces: the inverse hyperbolic functions and every standard constant (root two, the natural logs, and the rest), so maths-heavy and feature-detecting code that reaches for them no longer trips.
  4. JavaScript et JITPromise.any now hands your catch block the proper error carrying the list of every reason that failed, instead of a bare message - the whole reason to reach for it. The error type behind it now exists in its own right.
  5. RenduReading an element's parent is correct at the very top of the page now: the generic parent-node keeps walking up to the document, while parent-element stops at the last real element, instead of the two being identical and cutting a walk-up short.
Tout depuis la v0.1.220 au même endroit

Versions

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026