Skip to content

v0.23.0

Compare
Choose a tag to compare
@ged-odoo ged-odoo released this 16 Oct 20:41
· 929 commits to master since this release

v0.23.0

Component

  • doc: add info on svg components
  • remove t-mounted directive (breaking change)
  • support components reduced to a slot

Hooks

  • add useSubEnv hook
  • add onWillPatch and onPatched hooks
  • fix onWillUnmount bug
  • add useContext hook
  • add onWillStart and onWillUpdateProps
  • add useStore, useDispatch and useGetters hooks

QWeb

  • remove updateEnv
  • fix issue with event modifier with arg in t-foreach
  • fix: allow combining t-esc with other directives
  • fix: properly handle t-raw in various situations
  • fix: properly handle xml comments

Misc

  • add Context class
  • remove ConnectedComponent (replaced by hooks)

Playground

  • slightly improve default text
  • save changes to local storage
  • update todoapp example