aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* :rocket: Build server component runtime.Hayleigh Thompson2024-06-12
|
* :bug: Fixed a bug where updates were almost never processed. Oops.Hayleigh Thompson2024-06-12
|
* :recycle: Use wss protocol if page is served over https.Hayleigh Thompson2024-06-12
|
* :memo: Mark effect.event as internal.Hayleigh Thompson2024-06-11
|
* :memo: Mark effect.perform as internal.Hayleigh Thompson2024-06-11
|
* :wrench: Generate server component client runtime.Hayleigh Thompson2024-06-11
|
* :bug: Fixed a bug where the wrong event target was sometime sused for server ↵Hayleigh Thompson2024-06-11
| | | | component events.
* :bug: Fixed a bug with incorrect keys produced in server component diffs.Hayleigh Thompson2024-06-11
|
* :zap: Skip render if model is reference equal to last update.Hayleigh Thompson2024-06-11
|
* :bug: Fixed a bug where attributes were set even when they hadn't changed.Hayleigh Thompson2024-06-11
|
* 🐛 Update JSON structure of a Fragment to match JS structure (#142)Jacob Scearcy2024-06-09
|
* :zap: Optimise escape function (#133)Giacomo Cavalieri2024-06-05
|
* 🔀 Fix crash in is_browser (#137)Louis Pilfold2024-06-01
| | | | | | | | | | | | | | | | | | | | | | | | If not in a browser then `window` may not be defined, resulting in a crash I ran a command wrong and this happened: ``` $ gleam run -- -m lustre/dev --help Compiled in 0.04s Running app.main file:///Users/louis/src/gleam/html_lustre_converter/app/build/dev/javascript/lustre/client-runtime.ffi.mjs:170 export const is_browser = () => window && window.document; ^ ReferenceError: window is not defined at is_browser (file:///Users/louis/src/gleam/html_lustre_converter/app/build/dev/javascript/lustre/client-runtime.ffi.mjs:170:40) at Module.start (file:///Users/louis/src/gleam/html_lustre_converter/app/build/dev/javascript/lustre/lustre.mjs:101:6) at main (file:///Users/louis/src/gleam/html_lustre_converter/app/build/dev/javascript/app/app.mjs:7:19) at file:///Users/louis/src/gleam/html_lustre_converter/app/build/dev/javascript/app/gleam.main.mjs:2:1 at ModuleJob.run (node:internal/modules/esm/module_job:195:25) at async ModuleLoader.import (node:internal/modules/esm/loader:336:24) at async loadESM (node:internal/process/esm_loader:34:7) at async handleMainPromise (node:internal/modules/run_main:106:12) ```
* :art: Reformat for Gleam v1.2.0Hayleigh Thompson2024-05-30
|
* 🔀 Fix typo (#136)Ryan Moore2024-05-20
|
* :rocket: Generate server component bundle.Hayleigh Thompson2024-05-19
|
* :recycle: Don't re-set a node's property if it hasn't changed.Hayleigh Thompson2024-05-19
|
* :recycle: Don't convert width/height properties to strings.Hayleigh Thompson2024-05-19
|
* :sparkles: Emit ints and float properties.Hayleigh Thompson2024-05-19
|
* :bug: Fixed a bug where unordered patches would cause runtime errors.Hayleigh Thompson2024-05-18
|
* :bug: Fixed a bug where components would not properly report attribute changes.Hayleigh Thompson2024-05-18
|
* 🔀 Add missing dialog attribute. (#128)Mike Fitzgerald2024-05-14
|
* :bug: Fixed a bug where setting properties would cause incorrect diffs to apply.Hayleigh Thompson2024-05-11
|
* :bug: Fixed a bug where dynamic.classify has inconsistent behaviour between ↵Hayleigh Thompson2024-05-11
| | | | 0.36.0 and 0.37.0
* :bug: Fixed a bug where dynamic.classify has inconsistent behaviour between ↵Hayleigh Thompson2024-05-11
| | | | 0.36.0 and 0.37.0
* 🔀 Fix a bug where nested `Map` nodes were not morphed. (#115)Benjamin Rhodes2024-04-26
| | | | | * ensure nested subtrees are morphed * Add a test-app for nested element map bug
* :package: Generate server component runtime.Hayleigh Thompson2024-04-25
|
* :recycle: Formatting changes.Hayleigh Thompson2024-04-25
|
* :bug: Fixed a bug where element patches were sent in reverse order, breaking ↵Hayleigh Thompson2024-04-25
| | | | the client patching algorithm.
* :bug: Fixed a bug where handler keys were incorrectly missing '-' separators.Hayleigh Thompson2024-04-25
|
* 🔀 Escape attribute values when emitting static HTML. (#113)bgw2024-04-25
| | | | | * fix: add the escape function over custom attribute values * fix: update class and style attribute values to be escaped
* 🔀 Fix grammar in API reference. (#114)Brett Cannon2024-04-25
|
* 🔀 Correctly allow text content inside an SVG text element. (#112)bgw2024-04-25
|
* 🔀 Fix typos in API docs. (#102)Alex Houseago2024-04-19
|
* 🔀 Add support for element fragments. (#99)Jacob Scearcy2024-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | * #16 add fragment POC * WIP * 16 add fragment support to morph * add keys for fragments * ensure proper fragment order, refactor to handle fragment/element more similarly * fix comment typo, incorrect child typo, simplify key check * fix comment typo * add snapshot tests * flatten fragment using fold right, appending elements * doc update --------- Co-authored-by: Hayleigh Thompson <me@hayleigh.dev>
* 🔀 Fixed bug where stale model was used in ForceModel debug action. (#108)Guillaume Hivert2024-04-17
|
* :recycle: Run gleam format on v1.1.0Hayleigh Thompson2024-04-16
|
* :memo: Fix broken docs links.Hayleigh Thompson2024-04-16
|
* :sparkles: Add a new 'ForceModel' debug action to experiment with ↵Hayleigh Thompson2024-04-16
| | | | time-travel debugging.
* :bug: Fixed a bug where the 'selected' attribute was not properly applied in ↵Hayleigh Thompson2024-04-16
| | | | the DOM.
* 🐛 Fixed a bug with `Map` nodes not turning into document strings ↵Hayleigh Thompson2024-04-16
| | | | | | | correctly. (#107) * :bug: Fixed a bug where stringifying a 'Map' element produced incorrect document strings. * :bookmark: Bump to v4.1.7
* :bug: Fixed a bug where vdom incorrectly attempted keyed diffs.Hayleigh Thompson2024-04-06
|
* :bug: Fix a sneaky bug where events were gone but not forgotten.Hayleigh Thompson2024-04-04
|
* :package: Generate server component runtime.Hayleigh Thompson2024-04-01
|
* :bug: Fixed a bug where event handlers would not work on propagated events.Hayleigh Thompson2024-04-01
|
* :package: Generate server component runtime.Hayleigh Thompson2024-04-01
|
* :bug: Fixed a bug where text nodes were patched even when their content was ↵Hayleigh Thompson2024-04-01
| | | | equal.
* :package: Generate server component runtime.Hayleigh Thompson2024-03-31
|
* :bug: Fixed a bug where child nodes were incorrectly morphed for disjoint ↵Hayleigh Thompson2024-03-31
| | | | parents.
* :bug: Fixed a bug where invalid property names may be set on a node and ↵Hayleigh Thompson2024-03-31
| | | | cause a crash.