Skip to content

Releases: icza/gowut

Gowut v1.4.0 public release

02 Oct 21:15
dd52803
Compare
Choose a tag to compare

Changes and new features in v1.4.0:

  • New SessIDCookieName() and SetSessIDCookieName() methods in Server to get / set
    the cookie name used to store the Gowut session ID. Useful if you plan to run
    multiple Gowut servers on the same computer with the same app path (on different ports);
    you can set different session ID cookie names so they won't collide (#42).

  • Added ETypeMouseDown constant, identical to ETypeMousedown.

  • Fixed an issue where Table.Clear() could panic if table contained nil components (#23).

  • Mouse coordinates in events did not take the body's scroll offset into account, this is fixed now.
    Event.Mouse() and Event.MouseWin() now return proper coordinates.

Gowut v1.3.0 public release

26 Sep 09:33
Compare
Choose a tag to compare

Changes and new features in v1.3.0:

  • Added ListBox.Values() and ListBox.SetValues() methods to read / change items of a ListBox.
  • Fixed a number of data race issues at server session handling.
  • Moved the Showcase of Features live demo to: https://gowut-demo.herokuapp.com/show

Gowut v1.2.2 public release

17 Jan 16:07
Compare
Choose a tag to compare

Changes and new features in v1.2.2:

  • Moved the Showcase of Features live demo to: http://iczapp.com:3434/gowut-demo/show
  • Added -appName, -addr and -autoOpen flags to the Showcase of Features demo.
  • Added a missing check if a Server logger is set before using it.
  • Optimized Writer.

Gowut v1.2.1 public release

17 Jan 10:18
Compare
Choose a tag to compare

Changes and new features in v1.2.1:

Gowut v1.2.0 public release

17 Jan 10:16
Compare
Choose a tag to compare

Changes and new features in v1.2.0:

  • BREAKING CHANGES! Renamed several interfaces and methods to conform to Go
    naming conventions. Gometalinter now gives 0 warnings.
    Sorry. Better sooner than later. The changes are the following:
    • Comp
      • Id() => ID()
    • Container
      • ById() => ByID()
    • HasUrl => HasURL
      • Url() => URL()
      • SetUrl() => SetURL()
    • Html => HTML
      • NewHtml() => NewHTML()
      • Html() => HTML()
      • SetHtml() => SetHTML()
    • Server
      • AppUrl() => AppURL()
      • AddRootHeadHtml() => AddRootHeadHTML()
      • RemoveRootHeadHtml() => RemoveRootHeadHTML()
    • Session
      • Id() => ID()
    • Window
      • AddHeadHtml() => AddHeadHTML()
      • RemoveHeadHtml() => RemoveHeadHTML()
      • SetFocusedCompId() => SetFocusedCompID()
  • Renamed github.com/icza/gowut/examples to _examples, making it excluded from
    build tools by default. You can still run the examples using "go run".
  • Window list has been rewritten to use Gowut components.
  • Encoded form of AppPath is used when specifying Cookie paths.
    For details, see issue #27.
  • Session creation and removal messages are now only logged with log.Println()
    if no logger is set at the Server.
    For details, see icza/gowut.dev#7
  • Development of gowut has moved from gowut.dev project to the dev branch of
    the gowut project.

Gowut v1.1.2 public release

17 Jan 10:16
Compare
Choose a tag to compare

Changes and new features in v1.1.2:

Gowut v1.1.1 public release

17 Jan 10:17
Compare
Choose a tag to compare

Changes and new features in v1.1.1:

-Improvement: HTTP request and response writers are now exposed with Events. See issue #19.
Not directly, but they are available after a type assertion. See HasRequestResponse type.

-Fix: when something was selected in a ListBox, it was impossible to deselect everything from the UI. See issue #20.

-Fix: open web page with xdg-open in linux

-Other minor changes, improvements and optimization.

Gowut v1.1.0 public release

17 Jan 10:52
Compare
Choose a tag to compare

Changes and new features in v1.1.0:

  • A new SessMonitor component which can be used to monitor and display session timeout and network connectivity at the client side without interacting with the session.
  • New method in Server: SetAppRootHandler().
    With this you can now set your own logic to provide response to the app root path (when no window name is specified).
    The default function renders the window list, including authenticated windows and session creators - with clickable links.
  • New method in Window: RemoveHeadHtml() which removes an HTML head text that was previously added with AddHeadHtml().
  • New methods in Server: AddRootHeadHtml() and RemoveRootHeadHtml().
    These are similar to Window.AddHeadHtml() and Window.RemoveHeadHtml(), but these relate to extra head HTML text that are rendered for the window list page (app root).
  • Showcase of feature demo app improvements.
  • Other minor changes, improvements and optimization.

Gowut v1.0.0 public release

17 Jan 10:51
Compare
Choose a tag to compare

Changes and new features in v1.0.0:

  • Exported a new Writer which is used to render components.
    A value of this Writer is passed to Comp.Render().
    It is now possible to use components implemented entirely by you (this Writer is the last piece that was not exported previously), or you can now change the Render() implementation.
  • Renamed all identifiers (constants and variables) to conform to the Go naming conventions (from UPPER_CASE to CamelCase).
    This is a backward incompatible change.
    Renaming rule is simple and consistent, for example CLR_RED => ClrRed, ETYPE_CLICK => ETypeClick etc.
  • New methods in Server: SetHeader() and Header().
    You can use these to set HTTP response headers that will be added to all responses.
    For antecedent, see issue #10.
  • Table.Add() now only ensures the table has enough rows, and enough cells in the row.
    Previously it called Table.EnsureSize() if the cell was nonexistent.
  • New methods in Table: Trim() and TrimRow().
    These come handy for example if the table contains cells where colspan > 1 is set.
    By calling this method we can ensure no empty cells will be rendered at the end of such rows.
    For antecedent, see issue #11.
  • Made changes to make it work on Google App Engine (GAE).
    Gowut and the Gowut "Showcase of Features" demo app can now be run on GAE.
    Live demo is available here: https://gowut-demo.appspot.com/show
  • Other minor changes, improvements and optimization.

Gowut v0.9.0 public release

17 Jan 10:49
Compare
Choose a tag to compare

Changes and new features in v0.9.0:

  • Migration from code.google.com to github.com. Changed/replaced all URLs to point to github.com.
  • Fixed issue #4.
  • Optimization.