All Versions
83
Latest Version
Avg Release Cycle
12 days
Latest Release
1577 days ago

Changelog History
Page 5

  • v4.0.4 Changes

    February 26, 2019
    • ๐Ÿ’ป Instruct the browser to cache static resources with ETag for 6 months.
    • ๐Ÿ— Static resources are versioned with each goapp build.
  • v4.0.3 Changes

    February 24, 2019
    • Gzipping static resources is done by goapp.
    • Only worthy resources are gzipped.
    • ๐Ÿ– Handler serves gzipped files if they are available.
    • โšก๏ธ goapp update command is back.
  • v4.0.2 Changes

    February 22, 2019

    ๐Ÿ— The goapp cli tool come back and provides an easy way to start and build a project.

    # Get the goapp CLI tool:go get -u github.com/maxence-charriere/app/cmd/goapp# Init the project layout:goapp init -v# Builds a server ready to serve the wasm app and its resources:goapp build -v# Launches the server and app in the default browser:goapp run -v -b default# Gets help:goapp helpgoapp run -h
    
  • v4.0.1 Changes

    February 21, 2019

    Summary

    • Returned page are gzipped.
  • v4.0.0 Changes

    February 20, 2019

    โšก๏ธ Hello, it's been a while I did not pushed any update on this repository. I want to give a heads up on what is going on.

    What happened?

    ๐Ÿš€ During the past months I experimented a lot with Windows and a little bit with Linux. I was pretty close to ship a release for Windows but the reason why it did not happened was because it did not met the quality I expected: the Window driver was too hacky and too unstable.

    ๐Ÿง Beside, I experimented a little bit with Linux, it was promising but between all these cross platform developments, I realised it was too big for me alone to handle all the different abstractions.

    What's next?

    ๐Ÿ— I had been working on this repo for 3 years and honestly, I don't want to give up. I like the way it works to build apps and I believe it have the potential to be useful to a lot of people.

    ๐Ÿ“ฆ A couple of month ago, Go 1.11 was shipped with experimental support for web assembly. I gave it a try and ported the package to work with the wasm achitecture.

    I'am pretty convinced with the result and here are some points I want to highlight:

    • ๐ŸŒ Web is the only platform that works everywhere with specified standards.
    • โšก๏ธ Wasm lives in the Go repository and gonna be maintained and optimized by top engineers.
    • ๐ŸŽ This package will be focused on 1 platform and I want the best for what I use. So no inequalities between MacOS and Windows.
    • Full DOM access with syscall/js.
    • ๐Ÿ“ฆ Desktop app development will still be possible by using this package with Electron.
    • ๐ŸŽ I also built another go package based on my MacOS work that allows to run a website as an app and could be used with this repo.

    Where are we now?

    ๐Ÿ”จ The WASM refactor is already implementend and this version put it live. It provide the same api to build an UI and an http.Handler to serve the app that can be used with any http.Server.

    ๐Ÿ‘€ You can already see the result of that work there: app demo

    Here are the known issues:

    • Can trigger an Out of memory error on mobile (waiting a fix from Go 1.12).
    • Does not work with Microsot Edge (Trying to fix it but in the worst case, Edge will based on webkit soon).
    • ๐Ÿ“š Still have to write documentation about how to use it.
    • Go wasm is still experimental and syscall/js can be modified.

    A last word

    ๐Ÿ“ฆ Changing the direction of this package has been a pretty hard decision to take. I get it if it sounds less interesting.

    ๐Ÿ‘€ I just want to say that I see an oportunity with an emerging technology (wasm) and I really believe it could make a difference.

    Feedbacks are more than welcome.
    Thank you so much for following this work until now.

  • v3.3.0 Changes

    November 16, 2018

    general

    Resources directory can now be refered within compo.Render.

    func (c *Compo) Render() string {
      return `
    <div>
      <img src="{{resources "my_image.jpg"}}">
    </div>
      `
    }
    

    mac

    When using the icon attribute in menu based components, path is not resolved anymore to the resource directory. ๐Ÿ‘‰ Use <menuitem icon="{{resources "ICON_PATH"}}"></menuitem> instead.

    The reason of this change is to uniformize the way resources are accessed. ๐Ÿ Other platform (Windows) does not allow to use raw path to access resources and I prefer to stick with the mechanism of using a resource func everywhere rather than introduce hidden behaviors.

  • v3.2.12 Changes

    November 11, 2018

    general

    • 0๏ธโƒฃ Javascript files located in resources/js are included by default when javascripts page field is not set.
  • v3.2.11 Changes

    October 27, 2018

    mac

    • ๐Ÿ›  fix mac main thread assertion crash.
  • v3.2.10 Changes

    October 26, 2018

    general

    • Go dom engine has been rewritten. It is now slightly faster and more memory efficient.
    โ–ถ benchcmp bench_dom_v1.txt bench_dom_v2.txt
    benchmark          old ns/op     new ns/op     delta
    BenchmarkDom-8     101266        86335         -14.74%
    
    benchmark          old allocs     new allocs     delta
    BenchmarkDom-8     431            281            -34.80%
    
    benchmark          old bytes     new bytes     delta
    BenchmarkDom-8     44661         33773         -24.38%
    

    mac

    • โฌ‡๏ธ Dropping files from finder has been fixed.
  • v3.2.9 Changes

    September 30, 2018

    general

    • EventSource now maps source value.
    type EventSource struct {
      GoappID string
      CompoID string
      ID      string
      Class   string
      Data    map[string]string
      Value   string
    }