Releases: odoo/owl
v1.0.6
v1.0.6
Release notes
- fix: component: concurrency issue (skipped rendering when cancelling fibers)
- fix: component: mounting component with position=self should not replace target
- fix: qweb: protect scope in recursive t-call
- fix: hooks: multiple async hooks were not properly coordinated
- fix: slots: better heuristic to determine slot content
- fix: component: allow anonymous component extensions (for template lookup)
- imp: slots: add a new t-set-slot directive
- imp: types: do not make Env an indexed type
- imp: add browser bindings to standard environment
New t-set-slot
directive
As noted above, there is now a new t-set-slot
directived, that will replace
the t-set
directive to define slots. For now, the t-set
directive still
works, but it will be removed in Owl 2.0.
New browser
bindings in Env
The Owl env is now automatically extended with a browser
key that contains
side-effectful methods coming from the browser. This change is done to
standardize this practice among all Owl libraries and applications. Also, this
is obviously very useful for testing/mocking purposes.
v1.0.5
v1.0.5
- lots of doc improvements
- qweb: ignore comments between t-if/t-elif/t-else
- qweb: support attributes with inside quotes
- component: concurrency bug fix
- component: cancel previous mounting operations if necessary
- transition: no crash if element added/removed quickly
v1.0.4
v1.0.4
- small doc improvement
- types: make
useExternalListener
useable onwindow
- components can now be mounted on different targets without explicitely
unmounting first - add single file component example on playground
Also, this is the first release made by a script.
v1.0.3
v1.0.0
The 1.0.0 release!
Owl is now quite stable. Here is a changelog for this last batch of commits:
- fix
style
tag to properly generate combined css rules qweb
: add support forin
operator in qweb expressions- fix issue with component and multiple
t-call
- fix: many subtle scoping issues in templates
- fix: debug tool do not crash on non JSON stringifiable props
style
tag: accept the&
symbol- hooks: add
useExternalListener
hook - owl: improve npm packaging
v1.0.0-beta5
This release has 2 major highlights: it is now available on npm, and it has a
new feature: inline css tag.
- prepare owl for publishing on npm
- store: prevent crash when selector returns
null
- component: fix crash when given empty props
- tag: add inline css tag
v1.0.0-beta4
Two important fixes:
- qweb: t-call properly transfer key to sub components
- qweb/component: handle nested t-foreach and components
v1.0.0-beta3
- fix: qweb
renderToString
now properly escapet-esc
code - fix: issue with
t-if
,t-call
and a body - qweb: simplify generated template code
- qweb: accept assignations in qweb expressions (
a = b
) for inline handlers - fix: qweb properly bind handlers to components, and not sub objects
- fix: qweb properly display
false
for thefalse
value - fix: qweb do not add commas when displaying
t-set
with a body - fix: can instantiate components inside
t-call
templates - fix: store: result of selector function work with
map
- qweb: accept spread operator in expressions (
...
)
v1.0.0-beta2
- qweb fix: properly handle class attribute
- portal fix: manually unmounting it works
- doc: add some information on variables and t-call
- slots/vars/scoping/t-esc/t-raw: many small fixes
- component: add position option to mount method
- qweb: add support for arrow functions in expressions
- qweb: add template name in generated compiled code
- components: slots can define default content
v1.0.0-beta1
Owl is getting more stablerer...
- doc: improve component documentation
- tooling: add debug script
- misc: add support for Portal component
- component: fix tricky concurrency issue