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

Changelog History
Page 7

  • v3.1.0 Changes

    August 25, 2018

    general

    • ๐Ÿ†• New dom engine.

    ๐ŸŒ Web

    • Notfound component is now rendered on the client side.
  • v3.0.1 Changes

    August 24, 2018
    • ๐Ÿ— goapp mac build -bundle now produces a valid package when specifying an AppName.
  • v3.0.0 Changes

    August 07, 2018

    API changes

    general

    v2 v3
    func NewWindow(c WindowConfig) (Window, error) func NewWindow(c WindowConfig) Window
    func NewPage(c PageConfig) error func NewPage(c PageConfig) Page
    func NewContextMenu(c MenuConfig) (Menu, error) func NewContextMenu(c MenuConfig) Menu
    func NewFilePanel(c FilePanelConfig) error func NewFilePanel(c FilePanelConfig) Elem
    func NewSaveFilePanel(c SaveFilePanelConfig) error func NewSaveFilePanel(c SaveFilePanelConfig) Elem
    func NewShare(v interface{}) error func NewShare(v interface{}) Elem
    func NewNotification(c NotificationConfig) error func NewNotification(c NotificationConfig) Elem
    func MenuBar() (Menu, error) func MenuBar() Menu
    func NewStatusMenu(c StatusMenuConfig) (StatusMenu, error) func NewStatusMenu(c StatusMenuConfig) StatusMenu
    func Dock() (DockTile, error) func Dock() DockTile
    func NewAction(name string, arg interface{}) func PostAction(name string, arg interface{})
    func NewActions(a ...Action) func PostActions(a ...Action)
    func Handle(name string, h ActionHandler) func HandleAction(name string, h ActionHandler)
    func NewEventSubscriber() EventSubscriber func NewEventSubscriber() *EventSubscriber
    โœ‚ func CSSResources() []string
    func CompoNameFromURL(u *url.URL) string removed
    โœ‚ func CompoNameFromURLString(rawurl string) string
    โœ‚ func NewErrNotFound(object string) error
    โœ‚ func NotFound(err error) bool
    โœ‚ func NewErrNotSupported(feature string) error
    โœ‚ func NotSupported(err error) bool

    Window

    v2 v3
    Load(url string, v ...interface{}) error Load(url string, v ...interface{})
    Render(Compo) error Render(Compo)
    โœ‚ LastFocus() time.Time
    Reload() error Reload()
    Previous() error Previous()
    Next() error Next()
    ๐Ÿšš Move(x, y float64) error
    Center() error Center()
    Resize(width, height float64) error Resize(width, height float64)
    Focus() error Focus()
    ToggleFullScreen() error FullScreen()
    ExitFullScreen()
    ToggleMinimize() error Minimize()
    Deminimize()
    Close() error Close()

    Page

    v2 v3
    Load(url string, v ...interface{}) error Load(url string, v ...interface{})
    Render(Compo) error Render(Compo)
    โœ‚ LastFocus() time.Time
    Reload() error Reload()
    Previous() error Previous()
    Next() error Next()
    Close() error Close()

    Menu

    v2 v3
    Load(url string, v ...interface{}) error Load(url string, v ...interface{})
    Render(Compo) error Render(Compo)
    โœ‚ LastFocus() time.Time

    StatusMenu

    v2 v3
    Load(url string, v ...interface{}) error Load(url string, v ...interface{})
    Render(Compo) error Render(Compo)
    โœ‚ LastFocus() time.Time
    SetIcon(name string) error SetIcon(path string)
    SetText(text string) error SetText(text string)
    Close() error Close()

    DockTile

    v2 v3
    Load(url string, v ...interface{}) error Load(url string, v ...interface{})
    Render(Compo) error Render(Compo)
    โœ‚ LastFocus() time.Time
    SetIcon(name string) error SetIcon(path string)
    SetBadge(v interface{}) error SetBadge(v interface{})

    Misc

    • โ™ป๏ธ A lot of code has been refactored.
    • ๐Ÿšš appjs and html has been moved to internal.
  • v2.6.3 Changes

    July 14, 2018
    • Replace UUID by string (#152)
  • v2.6.2 Changes

    July 14, 2018
    • โ™ป๏ธ refactor history test (#151)
    • ๐Ÿ“ฆ Move packages to internal (#149)
  • v2.6.1 Changes

    July 13, 2018
    • interfaces and funcs renamed with shorter names:
      • interfaces:
      • Component => Compo
      • ElementWithComponent => ElemWithCompo
      • ComponentWithExtendedRender => CompoWithExtendedRender
      • functions:
      • ComponentNameFromURLString => CompoNameFromURLString
  • v2.6.0 Changes

    July 12, 2018
    • app.Element is renamed app.Elem

    • func to get an element changed.

    Old way (deprecated/deleted):

      func ElementByCompo(c Compo) (ElemWithCompo, error) { ... }
      func NavigatorByCompo(c Compo) (Navigator, error)   { ... }
      func WindowByCompo(c Compo) (Window, error)         { ... }
      func PageByCompo(c Compo) (Page, error)             { ... }
    

    New way:

      func ElemByCompo(c Compo) Elem { ... }
    

    Example:

      app.ElemByCompo(myCompo).WhenWindow(func(w app.Window) {
        w.Center()
      })
    

    See Elem definition for more info.

    • โž• Add compatibility with 10.11 (#144)

    • ๐ŸŽ MacOS driver is now compatible with MacOS El Capitan (10.11). Thanks to tectiv3

  • v2.5.1 Changes

    June 07, 2018
    • ๐Ÿ›  Fix mac dock (#140)
  • v2.5.0 Changes

    June 05, 2018
    • Status menu (#139)
  • v2.4.3 Changes

    May 27, 2018
    • ๐Ÿ›  fix + travis (#137)