Start Here

What Changed

High-level changes covered by the latest GoLazy guides.

By Guillermo Alvarez - Published - Updated

v0.1.7 overview

The v0.1.7 guides focus on production asset behavior, JavaScript library generation, smoother controller rendering, and model-aware form helpers:

  • lazyforms is installed automatically by lazyapp and renders model form partials with typed field helpers.
  • lazyschema, adapted from Gorilla schema, owns form field naming and decodes lower-camel underscore form keys into structs.
  • Route-scoped method override lets POST forms target PUT, PATCH, and DELETE routes with a hidden _method field.
  • Public files now go through lazyassets, which computes content hashes, ETags, integrity values, and permanent asset URLs.
  • Templates can call asset_path for fingerprinted URLs and asset_integrity for the matching SHA-256 integrity value.
  • Permanent asset URLs use an immutable cache policy because the URL changes whenever the served bytes change.
  • Stylesheets rewrite local url(...) references to permanent asset URLs.
  • lazy js bundles manifest-declared JavaScript libraries and writes the importmap used by app-owned browser modules.
  • Controller actions can rely on automatic view rendering when they set data and return without writing a response.
  • Eligible dynamic route responses receive route-scoped ETags without buffering public asset responses.

Read Forms for form helpers and method override. Read Views and Layouts for asset helpers and rendering behavior. Read Embedding and Deployment for asset fingerprinting and cache policy. Read JavaScript Libraries for the lazy js pipeline.