Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | :bug: Fixed bug where ffi code incorrectly imported runtime. | Hayleigh Thompson | 2024-01-30 |
| | |||
* | :truck: Move runtime module into internals/. | Hayleigh Thompson | 2024-01-27 |
| | |||
* | :sparkles: Add some debug actions to query process state. | Hayleigh Thompson | 2024-01-27 |
| | |||
* | :art: Strip whitespace because Zed said so. | Hayleigh Thompson | 2024-01-27 |
| | |||
* | :recycle: Temporarily disable a performance optimisation that caused bugs ↵ | Hayleigh Thompson | 2024-01-26 |
| | | | | with input elements. | ||
* | :fire: Remove js support from lustre/try. | Hayleigh Thompson | 2024-01-26 |
| | |||
* | :recycle: Replace data attribute with more common 'app' id. | Hayleigh Thompson | 2024-01-26 |
| | |||
* | :bug: Fixed a small logic bug checking if model did update. | Hayleigh Thompson | 2024-01-24 |
| | |||
* | :recycle: Add more context to Error type. | Hayleigh Thompson | 2024-01-23 |
| | |||
* | :recycle: Tidy up decoders. | Hayleigh Thompson | 2024-01-23 |
| | |||
* | ✨ Add universal components that can run on the server (#39) | Hayleigh Thompson | 2024-01-23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * :heavy_plus_sign: Add gleam_erlang gleam_otp and gleam_json dependencies. * :sparkles: Add json encoders for elememnts and attributes. * :sparkles: Add the ability to perform an effect with a custom dispatch function. * :construction: Experiment with a server-side component runtime. * :construction: Expose special server click events. * :construction: Experiment with a server-side component runtime. * :construction: Experiment with a server-side component runtime. * :construction: Experiment with a server-side component runtime. * :construction: Create a basic server component client bundle. * :construction: Create a basic server component demo. * :bug: Fixed a bug where the runtime stopped performing patches. * :refactor: Roll back introduction of shadow dom. * :recycle: Refactor to Custom Element-based approach to encapsulating server components. * :truck: Move some things around. * :sparkles: Add a minified version of the server component runtime. * :wrench: Add lustre/server/* to internal modules. * :recycle: on_attribute_change and on_client_event handlers are now functions not dicts. * :recycle: Refactor server component event handling to no longer need explicit tags. * :fire: Remove unnecessary attempt to stringify events. * :memo: Start documeint lustre/server functions. * :construction: Experiment with a js implementation of the server component backend runtime. * :recycle: Experiment with an API that makes heavier use of conditional complilation. * :recycle: Big refactor to unify server components, client components, and client apps. * :bug: Fixed some bugs with client runtimes. * :recycle: Update examples to new lustre api/ * :truck: Move server demo into examples/ folder/ * :wrench: Add lustre/runtime to internal modules. * :construction: Experiment with a diffing implementation. * :wrench: Hide internal modules from docs. * :heavy_plus_sign: Update deps to latest versions. * :recycle: Move diffing and vdom code into separate internal modules. * :sparkles: Bring server components to feature parity with client components. * :recycle: Update server component demo. * :bug: Fix bug where attribute changes weren't properly broadcast. * :fire: Remove unused 'Patch' type. * :recycle: Stub out empty js implementations so we can build for js. * :memo: Docs for the docs gods. * :recycle: Rename lustre.server_component to lustre.component. | ||
* | :sparkles: Always run 'gleam build' before starting lustre/try. | Hayleigh Thompson | 2024-01-10 |
| | |||
* | 🔀 Add role attribute (#34) | Christopher Dieringer | 2024-01-07 |
| | |||
* | 🔀 Add flags for configuring the server's host and port. (#33) | Hayleigh Thompson | 2024-01-05 |
| | | | | | | | | | * :sparkles: Add the option to include lustre_ui styles from a CDN. * :heavy_plus_sign: Add glint and argv as dependencies. * :sparkles: Use glint for cli args parsing. This adds support for user-configurable host and port, as well as the ability to opt-in to including lustre_ui's stylesheet with the --include-styles flag. | ||
* | 🔀 Disable caching for lustre/try (#32) | Giacomo Cavalieri | 2024-01-04 |
| | | | Co-authored-by: Hayleigh Thompson <me@hayleigh.dev> | ||
* | 🔀 Add logging to `lustre/try` (#30) | Giacomo Cavalieri | 2024-01-04 |
| | | | | | | | * :heavy_plus_sign: Add `gleam_community_ansi` dependency * :sparkles: Add log message when server is started * :sparkles: Add retry policy and logging if port is taken | ||
* | :bug: Fixed a bug where dom patching would always reconstruct the dom. | Hayleigh Thompson | 2023-12-28 |
| | |||
* | 🐛 Fixed a bug where lustre/try crashes on 404. (#24) | xhh | 2023-12-26 |
| | |||
* | :bug: Fixed a bug where event listeners weren't always removed properly. | Hayleigh Thompson | 2023-12-22 |
| | |||
* | :heavy_plus_sign: Upgrade to Gleam v0.33.0 | Hayleigh Thompson | 2023-12-22 |
| | |||
* | :sparkles: Create a simple preview server for trying out lustre. | Hayleigh Thompson | 2023-12-06 |
| | |||
* | :sparkles: Add undocumented ability to directly set an element's inner html. | Hayleigh Thompson | 2023-11-30 |
| | |||
* | :sparkles: Add the 'effect.event' constructor and use it for 'event.emit'. | Hayleigh Thompson | 2023-11-04 |
| | |||
* | :recycle: Update to Gleam v0.32 and run gleam fix.v3.0.10 | Hayleigh Thompson | 2023-11-04 |
| | |||
* | :bug: Fixed bug where ffi code was not using custom type label. | Hayleigh Thompson | 2023-11-04 |
| | |||
* | :bug: Fixed a bug where effect.map did not account for emitted events. | Hayleigh Thompson | 2023-11-04 |
| | |||
* | :bug: Fixed a bug where component attributes weren't compared for equality ↵v3.0.9 | Hayleigh Thompson | 2023-10-21 |
| | | | | properly. | ||
* | :bug: Fixed a bug where components wouldn't morph properly. | Hayleigh Thompson | 2023-10-21 |
| | |||
* | :bug: Fixed bug where attribute.to_string_builder didnt emit bool attributes ↵ | Hayleigh Thompson | 2023-10-21 |
| | | | | properly. | ||
* | :recycle: Hide the 'raw_text' parameter from string builder. | Hayleigh Thompson | 2023-10-21 |
| | |||
* | :bug: Fixed bug where morphing existing DOM nodes could cause crashes with ↵v3.0.7 | Hayleigh Thompson | 2023-10-14 |
| | | | | events. | ||
* | :sparkles: Merge style attributes at runtime. | Hayleigh Thompson | 2023-10-03 |
| | |||
* | :fire: Remove unused imports. | Hayleigh Thompson | 2023-10-02 |
| | |||
* | :recycle: Make attribute.to_string_parts return a Result instead of an Option. | Hayleigh Thompson | 2023-10-02 |
| | |||
* | 🔀 Combine class and style attributes (#15) | Danielle Maywood | 2023-10-02 |
| | | | | | | | * Create initial implementation for merging class and style attrs * Make changes according to feedback * Handle boolean attributes properly | ||
* | :recycle: Underscore arguments in js-only functions to supress pointless ↵v3.0.6 | Hayleigh Thompson | 2023-09-23 |
| | | | | compiler warnings. | ||
* | :recycle: Remove conditional compilation. | Hayleigh Thompson | 2023-09-23 |
| | | | | Some functions are now theoretically available to the erlang target, although they will no-op. This maakes development of server-friendly and client-only components in the same codebase much nicer. | ||
* | :bug: Fixed a bug where falsy text nodes were never rendered. | Hayleigh Thompson | 2023-09-22 |
| | |||
* | :bug: Fixed a bug where string attributes were not emitted properly because ↵ | Hayleigh Thompson | 2023-09-22 |
| | | | | of spacing issues. | ||
* | :memo: Update documentation links to point to lustre.buildv3.0.4 | Hayleigh Thompson | 2023-09-22 |
| | |||
* | :bug: Fixed a bug where style tag content was incorrectly escaped. | Hayleigh Thompson | 2023-09-22 |
| | |||
* | :bug: Fixed a bug that made things unhappy on erlang target. | Hayleigh Thompson | 2023-09-22 |
| | |||
* | :recycle: So long monorepo. | Hayleigh Thompson | 2023-09-19 |
| | |||
* | :truck: Shift things around to accomodate a monorepo. | Hayleigh Thompson | 2023-08-19 |
| | |||
* | :zap: Dispatching messages now synchronously calls tick and render. | Hayleigh Thompson | 2023-07-23 |
| | |||
* | :bug: Fixed a bug where dom patching would break on elements with unexpected ↵ | Hayleigh Thompson | 2023-07-23 |
| | | | | children. | ||
* | :bug: Fixed a bug where effects were passed a dispatch function with an ↵ | Hayleigh Thompson | 2023-07-23 |
| | | | | unbound 'this'. | ||
* | :sparkles: Add functions for prevent_default and stop_propagation on events. | Hayleigh Thompson | 2023-07-23 |
| | |||
* | :bug: Fixed bug where attributes would not be removed correctly during patching. | Hayleigh Thompson | 2023-07-23 |
| | |||
* | :bug: Fix bugs with vdom patching when removing elements or rendering into ↵ | Hayleigh Thompson | 2023-07-23 |
| | | | | components. |