New Features
- #115 Add 4-argument callback utils
Bug fixes
- #110 Revert bugfixes that can cause FluxUiComponent rendering regressions:
Bug fixes
- #108: Fix case where
setState
and store trigger only result in oneFluxUiComponent
render
Dependency Updates
- w_common
^1.8.0
(was^1.6.0
) - w_flux
^2.9.0
(was^2.7.1
)
New Features
- #104: Update
UiComponent
to implementDisposableManagerV6
.
Improvements
- #103:
FluxUiComponent
redraws only once when store triggers along with ancestor rerender.
Tech Debt
- #105: Add warning for incorrect usage of
getDartComponent
.
Tech Debt
- #97: Improve some documentation comments.
- #95: Move internal test utils to over_react_test, and consume them.
New Features
- #88: Add
validateProps
method toUiComponent
- Will automatically validate props annotated with
@requiredProp
withincomponentWillMount
andcomponentWillReceiveProps
- Will automatically validate props annotated with
Tech Debt
Misc
- #73: Add callout for the OverReact Snippet VS Code Extension
Dependency Updates
- react
^3.4.3
(was^3.4.1
) - w_common
^1.6.0
(new)
New Features
- #91: Implement
DisposableManagerV3
forUiComponent
- Assists with cleaning up streams and other data structures that won't necessarily be garbage collected without some manual intervention.
Misc
- #92: Update prop error message to make it more DDC friendly
Dependency Updates
- #89: quiver
>=0.21.4 <0.26.0
(was>=0.21.4 <0.25.0
)
New Features
- #87: Make
DomProps
/SvgProps
implementUiProps
for more convenient DDC typing
Misc
Bug fixes
- Bump min source_span to version w/
SourceFile.fromString
Strong Mode / Dart Dev Compiler
- #81: Make transformer output strong mode clean.
- Closes #14
- #82: Implement workarounds necessary to make OverReact-based code able to be compiled by the Dart Dev Compiler ("DDC").
- See new transformer options documentation for more information.
Bug Fixes
- e805b7: Null-coalesce
isDisposedOrDisposing
to ease consumer test breakages.
Bug Fixes
- Revert #77: Update
FluxUiComponent
subscriptions when newprops
are received.- Reverted since this broke subclasses that weren't calling super in lifecycle methods
componentWillReceieveProps
andcomponentDidUpdate
- Keep
@mustCallSuper
annotations from this changeset
- Reverted since this broke subclasses that weren't calling super in lifecycle methods
New Features
Bug Fixes
- #77: Update
FluxUiComponent
subscriptions when newprops
are received.
Tech Debt Paid
- #75: Audit the lib for any memory leak sources, and fortify it against future ones.
Misc
- #72: Add logging message when a race condition causes
BatchedRedraws
to mount aFluxUiComponent
asynchronously after thestore
has already been disposed.- Thanks @tomconnell-wf!
Improvements
- #69: New top-level
getSelectionStart
function to normalizeselectionStart
across browsers for bothTextInputElement
s andTextAreaElement
s
Tech Debt Paid
- #68: Declare explicitly-used transitive imports in
pubspec.yaml
- #70: Don't run
ValidationUtil
-related tests in dart2js
Dependency Updates
- analyzer
>=0.26.1+3 <0.31.0
(was>=0.26.1+3 <0.30.0
)
Bug Fixes
- #66: Fix regression with transitions not completing in consumers of
AbstractTransitionComponent
that don't callsuper.componentDidMount
Improvements
- #60: Provide easy access to DOM node in
ValidationUtil.warn
messages - #61: Export some
react
library members and add capturing event handlers- Export
setClientConfiguration
andReactElement
- Export all
Synthetic*Event
classes - Add capturing event handlers supported by ReactJS
- Export
Bug Fixes
- #58: Fix issue with the
transitionend
warning (added via #55) sometimes firing when it shouldn't - #59: Ensure
AbstractTransitionComponent
does not callsetState
while in the process of unmounting- Thanks @joshbeam-wf!!!
- #65 Work around Dart 1.23 strong mode issue with
MapViewMixin
Bug Fixes
- #54: Fix strong mode warning
- #55: Fix issue with
AbstractTransitionComponent
causing components to hang when thetransitionend
event never fires.
Deprecations
- #51: Deprecate the
@Required()
annotation since it conflicts with themeta
package. Replaced by:-
arguments to the
Accessor
annotation:@Accessor(isRequired: true, isNullable: true, requiredErrorMessage: 'foo')
-
shorthand aliases:
@requiredProp
/@nullableRequiredProp
-
Bug Fixes
- #52: Eliminate dart2js warnings on component props classes
- #48: Improved
getProps()
functionality.- Allows you to traverse wrapper components by setting the named parameter
traverseWrappers
totrue
.
- Allows you to traverse wrapper components by setting the named parameter
Improvements
- #46: Add
ResizeSensorProps.quickMount
flag for better performance when sensors are mounted often - Make
getProp
,getProps
, andmodifyProps
conditional based on the named parametershouldAdd
/shouldModify
.
Dependency Updates
- Add missing quiver dependency (now depends on quiver
>=0.21.4 <0.25.0
) - Broaden analyzer dependency range to
>=0.26.1+3 <0.30.0
(was>=0.26.1+3 <0.28.0
)
#40: Sync changes from original private repo library
This is the last time we'll do this - as the original library has now been completely switched over to use
over_react
-
Switched dependency from
browser_detect
to our newplatform_detect
library! -
Improved
toString
method ofDebugFriendlyConstant
. -
Improved
setSelectionRange
polyfill to avoid dart-lang/sdk#22967 -
Added typedef for
ElementCallback
andResizeSensorHandler
. -
Added
newStyleFromProps
utility function. -
Added
getPropKey
utility function.- Allows you to get a namespaced prop key dynamically!
Miscellaneous
- #28: Run unit tests in dart2js on CI
- #37: Update formatting guidelines WRT dartfmt and trailing commas
React JS Upgrade
- #31: Upgrade to
React JS
15.4.x
via react-dart3.1.0
. - #27: Add missing SVG elements
(e.g.
Dom.foreignObject
pointed out by @kasperpeulen)
We are now on Gitter!
- #33: Implement vehicle for community discussion (on Gitter). Thanks for the suggestion @jtrunick!
Strong Mode
- #15: Make
over_react
code "strong mode" compliant!- We will be working in the near future to make the code generated by our transformer compliant as well.
Dependency Updates
Bug Fixes
- #17: Add missing
browser_detect
dependency.- Thanks @denniskaselow!
Documentation
- #16: Fix typos in readme.
- Thanks @denniskaselow / @johncblandii!
- #20: Improve PR / Issue templates.
- #6: Add contributor documentation.
- #7: Allow "unsupported" units to be passed to the
toRem
andtoPx
functions.
New Features
- #10: Add
FluxUiComponent
andFluxUiStatefulComponent
.- Enables consumers to build UI components with a uni-directional data flow via the w_flux library.
Misc
- #5: Add some Bootstrap UI components to
web/
to demonstrate what can be built using OverReact.
- Add test coverage for the
constants
,dom_util
,guid_util
andevent_helpers
libraries.
Initial public release of the library.