Skip to content

v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Mar 02:07
· 4 commits to main since this release
675b73c

Features

  • implement Rerender cmd #9 (londek)
  • pass last route along with UpdatedRouteMsg #9 (londek)
  • implement Navigate and root-level routes #9 (londek)
  • implement LastRoute() even tho it's already referenced in README #9 (londek)
  • init ruler (londek)
  • init ruler (londek)
  • init ruler (londek)
  • init ruler (londek)
  • init ruler (londek)
  • create WrappingMode (londek)
  • introduce modal (londek)
  • add props backend to BasicComponent, remove BasicPropfulComponent, add BasicProplessComponent (londek)
  • implement ModalResult (londek)
  • add Get() for syntactic sugar (londek)
  • add Get() for syntactic sugar (londek)
  • removal of props system (londek)
  • add more utilities for propless renderers (londek)
  • add StaticComponent util (londek)
  • implement BeforeUpdate() lifecycle method (londek)
  • make BeforeUpdate() lifecycle method non IO (londek)
  • return lifecycle method's cmds independently (londek)
  • removal of New() (londek)
  • removal of Execute() (londek)
  • implement modal.Get (londek)
  • update project after long inactivity (londek)

Bug Fixes

  • hotfix to remove println (londek)
  • dont reinitialize component when wildcard route is changed (londek)
  • disallow empty/non-root routes for WithRoute option #9 (londek)
  • adjust tests to new route api #9 (londek)
  • adjust examples to new route api #9 (londek)
  • make rerender return non-nil tea.Msg (londek)
  • update default globals according to new changes (londek)
  • update TestNavigate (londek)
  • tweak Navigate after failed tests (londek)
  • update interfaces to include tea.Cmd return type in Return() (londek)
  • fix concurrency in modal controller with sync.Cond (londek)
  • queue router for BeforeUpdate() before first update, otherwise we have to wait one cycle (londek)
  • logical error resulting in no cmd returned on Init()'s initRoute() (londek)
  • update router to make use of new BeforeUpdate() with cmd (londek)
  • instant execution of batch while update is blocked (londek)
  • improve internal msg handling (londek)
  • fixed concurrency issues in modal (londek)
  • handle no modal cases (londek)
  • update examples (londek)
  • update modal (londek)
  • push code (londek)

Documentation

  • fix afterUpdater to beforeUpdater (londek)
  • make readme more slick (londek)
  • fix docs (londek)

Styles

  • rename SetCurrentRoute to SetRoute #9 (londek)
  • make route related functions return tea.Cmd (londek)
  • fix few comments (londek)

Code Refactoring

  • remove ReverseSlice, it's not used (londek)
  • change renderContext to Context and add shorthand methods (londek)
  • change renderContext to Context and add shorthand methods (londek)
  • shorten function receiver names (londek)
  • remove hint, i dont even know what is this (londek)
  • rename package from ruler to render (londek)
  • revert Context shorthand to rc instead of c (londek)
  • add missing MarginAttributes and differentiate auto attributes (londek)
  • change c for Context to rc (londek)
  • make Show() accept props by default (londek)
  • change RouteInitializer, as now we dont need Init() to be called on RouteInitializer itself (londek)
  • make use of new propless renderer utility functions (londek)
  • make it caller job to call init on Controller returned by Execute() (londek)
  • move controller methods to controller file (londek)
  • fix for lint errors (londek)
  • fix for lint errors (londek)
  • removal of AfterUpdater and BeforeUpdater interfaces for sake of Components without props (londek)
  • remove after-update and before-update functionality (londek)

Tests

Chores

Reverts

  • bring NoProps back (londek)
  • make BeforeUpdate() return tea.Cmd (londek)