This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
Releases: ZupIT/beagle-web-react
Releases · ZupIT/beagle-web-react
Release v1.6.0
Release notes:
- Creates a script to initialize a Beagle Project (
yarn beagle init
ornpm run beagle init
) - Enhances the error component so it shows which errors happened and shows a retry button
- Makes forms and inputs capable of validation
- Button: new attribute
enabled
. The button will show as disabled whenever this property is false. - ListView: new attribute
isScrollIndicatorVisible
. The scroll will be invisible whenever this property is false. - Fixes some accessibility issues
- Adds
isHeader
to the accessibility property of the componentes. WheneverisHeader
is true, the component's text will be interpreted as a title by the screen reader.
Release v1.5.0
Todo: release notes should go here
- First Change
- Second Change
Release v1.4.1
Release notes:
- Fixes problem where the text component would not wrap.
Release v1.4.0
- Fixed some vulnerabilities for dev dependencies (ZupIT/beagle-web-core#285).
- The
addChildren
action now works with case-insensitive modes. e.g.{ "mode": "rEplaCE" }
is correctly identified as the mode "replace" (ZupIT/beagle-web-core#287). - Fixed the component text. Now
\n
and\t
produces the expected behaviors: new line and tab (#154). - Removed the markdown component and showdown so the lib can have a smaller footprint (#159).
Release v1.3.0
- Conditional actions (ZupIT/beagle-web-core#244)
- Fixed problems where pre-fetch wouldn't work (ZupIT/beagle-web-core#249).
- Implemented navigation controllers (ZupIT/beagle-web-core#251).
- BeagleView.fetch has been deprecated (ZupIT/beagle-web-core#251).
- Fixed the replace method for the function Tree.insertIntoTree (ZupIT/beagle-web-core#251).
- Fixed problem on pre-fetched views where Beagle wouldn't attempt to load from the network if the view wasn't available (ZupIT/beagle-web-core#251).
- Made network errors visible from the ErrorComponent (ZupIT/beagle-web-core#252).
- Added compatibility for Typescript 3.1.1 and above, fixing issues with old versions of Angular (ZupIT/beagle-web-core#264).
- Improved error messages for the setContext action (ZupIT/beagle-web-core#267).
- Fixed problem in the popToView navigation where Beagle wouldn't pop to a local view, i.e., it wouldn't pop to a view defined as an embedded screen instead of a url (ZupIT/beagle-web-core#269).
- Added border styles: borderStyle and borderWidth (ZupIT/beagle-web-core#271).
- Fixed problem in the component button where a submit button wouldn't work if the onPress action was declared with an array in the original json (#142).
- Deprecated LoadParams in the BeagleView.
route
,networkOptions
andcontrollerId
should be used instead (#148).
Release v1.2.0
- Added JS docs to APIs so the documentation can be viewed directly from the IDE.
- Added support for lifecycles. Components can have their payload altered before getting rendered and the modification can be done at a specific time:
beforeStart
,beforeViewSnapshot
,afterViewSnaphot
orbeforeRender
. - Middlewares are now deprecated. Lifecycles should be instead.
- Added the
ViewContentManager
, which facilitates complex rendering behaviors for your component. - Enhanced the
BeagleView
and made it accessible by your app. - The
BeagleView
now has the methodgetRenderer()
, which can be used to better control how your components behave in regards to the Beagle renderization process. - Unresolved expressions now resolve to
null
instead of being left untouched. When inside a string, the expression resolves to an empty string. - Fixes a bug where the context priority inside an action would be calculated wrong.
- Added support for IE 9.
- Fixed a bug where options to the cache strategy would be ignored.
- Fixed a bug where
null
values would crash the parsing of expressions. - Created many utilities to help reading and manipulating the Beagle Tree structure, they are exported as
Tree
and include functions likefindById
,findByType
andforEach
. - Added the operation
union
for arrays. - Renamed the operation
includes
tocontains
- Added a feature called
implicit contexts
. This can be used to expose data contexts without messing with the contexts explicitly declared by the original JSON. It was necessary for the implementation of the new list view (coming in a future version). - Added an application level logger so we don’t have to rely on
console.log
. The logger is exported aslogger
and can be customized. - Actions can now be declared anywhere in the payload. Before, they would work only if declared at the root of a component.
- The
BeagleView
can now be destroyed to avoid memory leaks. - Fixes a bug where, when working with the global context, an exception would be raised when a component controlled by the global context was destroyed.
All new APIs and features are documented at https://docs.usebeagle.io/resources/customization/beagle-para-web/web-advanced-topics
Release v1.1.2
Fix
- Network cache strategy from the config or loadParams will now correctly be applied to the request.
Release v1.1.0
Release v1.0.2
Todo: release notes should go here
- First Change
- Second Change
Release v1.0.1
Todo: release notes should go here
- First Change
- Second Change