I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog announcement posts.
All releases are also available on the GitHub Releases page.
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog announcement posts.
All releases are also available on the GitHub Releases page.
Fix Calendar.ISO.valid_date?/3 undefined when invoking Date.new!/3 in an action (#740)
Fix client-side Date struct rendering in templates crashing with :lists.flatten/1 error (#742)
Fix :erlang.list_to_binary/1 handling of nested improper-list iodata (#751)
Fix :erlang.iolist_to_binary/1 semantics and error handling (#752)
Fix call graph module edge handling for accurate dynamic call detection (#755)
Fix protocol dispatch edges not added for new implementations during live reload (incremental call graph patching)
Fix async MFA detection propagating Task.await/1 reachability through module vertices
Fix compiler normalizer to strip import residue aliases from block AST
Fix Erlang JS function extraction regex to handle comment lines between Start/End markers (#756)
Fix Biome formatter failing on Windows when file paths exceed cmd.exe command line length limit
Overhaul call graph traversal for protocols and structs - resulting in more accurate client-side bundles
Manually port IO.warn/1, IO.warn/2, IO.warn_once/3, and Application.get_env/3 to JavaScript to reduce client-side bundle size
Add debugging mix tasks: holo.compiler.runtime_mfa_cascades, holo.compiler.page_mfa_cascades
Include diagnostic details in Biome formatter error messages
mix holo.compiler.page_mfa_cascades and mix holo.compiler.runtime_mfa_cascades taskswith expression support (#735)Date, Time, NaiveDateTime, and DateTime modulesA quick patch for a compile-time performance problem recently reported by a user: with deeply nested templates, the Biome formatter could make compilation disproportionately slow and peg CPU. Removing it from the compiler keeps builds fast.
:string.to_graphemes/1 to JavaScript (#844):string.jaro_similarity/2 to JavaScript (#842):lists.suffix/2 to JavaScript (#851)CaseClauseError when an Erlang dependency uses Elixir-style module names, e.g. luerl (#776)<Link> for a route that declares a param (#833):erlang.div/2 raising ArgumentError instead of ArithmeticError for invalid arguments (#848)cp/1/gc/1 chardata iteration dropping multi-element improper-list tails, affecting :elixir_utils.jaro_similarity/2 (#845)crypto.randomUUID() is unavailable (#933)Reconcile the DOM by keys rather than comment markers, so served HTML and the live DOM hold only the nodes your templates describe (#1021)
Tie every action to the page it belongs to, so a dispatch can no longer resolve against a page the user has already left (#1047)
Paint a navigated page in a single round trip, so client-side navigation is no longer slower than a full document load (#1026)
Escape binaries in a single pass, removing quadratic string escaping from the term encoder (#1067)
Send a navigated page’s render as data rather than markup, shrinking the navigation payload (#1068)
Send a page’s hydration state beside its render instead of nested inside it, dropping a redundant encoding round trip (#1069)
Fix initial page load rebuilding the entire DOM instead of hydrating server-rendered markup (#926)
Fix the flash of unstyled content caused by the first render rebuilding the document head (#932)
Fix a serialized </script> in page state truncating the inline mount data script (#959)
Fix put_subscription in a command being silently dropped on a tab’s first connect (#975)
Fix :binary.replace/4 letting replacement fun errors escape instead of raising badarg (#980)
Fix a map comparing equal to any map that contains it (#986)
Fix subscriptions silently not working with more than one server instance (#992)
Fix js_import not resolving in a component referenced in broadcast code (#998)
Fix an action that runs during a render corrupting the DOM (#1001)
Fix a struct pattern in a clause head being evaluated instead of matched (#1004)
Fix client-side :maps.find/2 returning the bare value instead of {:ok, value} (#1005)
Fix actions scheduled before a navigation still running on the new page (#1006)
Fix reordering a list whose body holds a block corrupting the DOM (#1019)
Fix elements whose tag name carries case losing DOM identity on initial page load (#1024)
Fix a realtime stream that dies right after connecting being retried without backoff (#1028)
Fix realtime connections crashing for several seconds after every server start (#1029)
Fix two compilations being able to hold the compiler lock at the same time (#1032)
Fix debounced and throttled dispatches landing on the wrong side of a navigation (#1045)
Fix an inline script’s action landing on the previous page when the page is reached by a link (#1046)
Fix asset paths reaching the manifest script unescaped (#1074)
Fix interpolation inside a <script> element being made safe by altering the value (#1075)
Fix a binary that is not valid UTF-8 changing on its way to the client (#1076)
Fix CSS in an inline <style> element reaching the browser entity-encoded (#1100)
Fix an SVG element built on the client losing its tag name’s case (#1106)
Fix a prop written as literal text arriving entity-encoded on the server (#1130)
Fix an integer and a float no longer comparing equal inside a list, tuple or map (#1140)
Fix a middleware redirect reached by navigating keeping the clicked link’s URL (#1148)