Releases: ba-st/Willow
Releases · ba-st/Willow
v11.1.2
v11.1.1
v11.1.0
v11.0.0
Breaking Changes
- PR #128
executeOnClient:
no longer receives the script and now the block result it's automatically attached to it
Non Breaking Changes
- #128 The canvas argument in
executeOnClient:
block is now optional - #129 Improved polymorphism between Date, Number and Text Fields (Thanks @seandenigris )
- #123 Improved some comments (Thanks @seandenigris )
Migration Guide
- Replace the senders of
executeOnClient: [:script :canvas | statements . script << expression ]
with:executeOnClient: [:canvas | statements. expression ]
- If you have several statements of the form
script << expression. script << anotherExpression.
you have two options:- Change it to send several times
executeOnClient:
- Use the
,
to concatenate the expressions.
- Change it to send several times
v10.1.0
v10.0.0
Non Breaking Changes
- Fixed
ScrollIntoViewCommand
- WATagBrush improvements:
- Implemented
apply:
in the tag brushes. Now you can use the same command interface used for Willow components in standard seaside tags. For example:
html span class: WillowCssStyles loading
can be written now ashtml span apply: [ :span | span addClass loading ]
- Implemented
with:applying:
in tag brushes - Added
#interactUsing:
to tag brushes so it's easier to apply aWebInteractionInterpreter
.
- Implemented
- Lots of internal clean-up
Breaking Changes
- Updated Renoir to v6
- Removed
WillowCssStyles
andWillowConstants
- Command Building API:
setStyleTo:
in the commands now lookups the CSS property values automatically (so the second parameter in the block is no longer supported)- Access to constants in the commands now uses
>>
and symbols instead of message sending, to ease the extension in dependent projects. - Access to
cssFonts
andcolors
constants is now merged with standard css constants - Removed access to
cssMediaQuery
Migration Notes:
- If you we're directly referencing
WillowCssStyles
orWillowConstants
now you need to include theWillow
shared pool and useClassification
andConstants
, and change the message sending so, for example:
WillowCssStyles willow
turns intoClassification >> #willow
. - Change senders of constants in commands, so for example:
[:div :constants | constants willow dialogSectionName ... ]
turns into:[:div :constants | constants >> #willow >> #dialogSectionName ... ]
- Senders of
cssFonts
must useconstants >> #css
v9.0.0
v8.0.2
Changes
- Added to interaction interpreters:
show:whileCallingServerToRender:
This will replace anIdentifiedWebView contents with aRenderable in the DOM before doing the server call, and replace it again with the rendering obtained from the server call responsetransform:into:
This will replace anIdentifiedWebView content with aRenderable on the browser side
- Improve libraries test cases to verify the file contents
- Fixed #108: Senders of
#identifier
must ensure the component has assigned an id - Added FAQs to documentation
- #110 Added an easy way to add additional libraries to a WillowApplication
- Added table footer support to tables
Migration Notes
This release is backwards compatible but you can improve some of your code:
- Use
WillowApplication>>#requiredLibraries
if you're manually including libraries in theupdateRoot:
of your application. - Review senders of
executeOnClient:
and try to use the new interaction methods if possible.