Bug fixes
- #197 Mount the rem-change-detecting node for a
ResizeSensorasynchronously to prevent react from getting into a bad state
New Features
- #195: Add hooks for Flux component redraws that occur in response to store updates:
listenToStoreForRedraw/handleRedrawOn- Implements the stuff that was missed in #193
Bug fixes
- #193 Fix missing super calls in Flux component lifecycle methods that prevented disposal and prop validation
New Features
- #193:
Add hooks for Flux component redraws that occur in response to store updates:listenToStoreForRedraw/handleRedrawOn- Actually implemented via #195 in
1.29.0
- Actually implemented via #195 in
Improvements
- #192: Make return type of
getDartComponentgeneric - #190: Merge
styleprop into styles applied to the top-level ResizeSensor node
New Features
- #187: New
ResizSensorProps.onDetachedMountCheckprop callback andResizeSensorComponent.forceResetDetachedSensormethod
Improvements
- #188: Use
isNotEmptyinstead oflength == 0check- Thanks @teresy!!!
Bug fixes
- 5fb73f Make rem change sensor container is
overflow:hiddenso it doesn't interfere with the page layout
Dependency Updates
- e8fc86 Loosen lower bound of
built_value- built_value
>=4.6.1 <5.2.0(was>=5.1.3 <5.2.0)
- built_value
New Features
- #178: Automatic document root font-size change detection in Google Chrome to overcome https://bugs.chromium.org/p/chromium/issues/detail?id=429140
Dependency Updates
- 881c0c Tighten version constraints to speed up pub get
- analyzer
>=0.30.0+4 <=0.31.0(was>=0.30.0 <=0.31.0) - built_redux
^7.4.2(was^7.4.1) - built_value
>=5.1.3 <5.2.0(was>=4.2.0 <5.2.0) - js
^0.6.1+1(was^0.6.0) - logging
>=0.11.3+2 <1.0.0(was>=0.11.3+1 <1.0.0) - meta
^1.1.6(was^1.0.4) - path
^1.5.1(was^1.4.1) - react
^4.4.2(was^4.4.1) - source_span
^1.4.1(was^1.4.0) - transformer_utils
^0.1.5(was^0.1.1) - w_common
^1.13.0(was^1.10.0) - w_flux
^2.9.5(was^2.7.1) - platform_detect
^1.3.4(was^1.3.2) - quiver
>=0.25.0 <=0.28.0(was>=0.21.4 <=0.28.0)
- analyzer
Tech Debt
- #179: Update CI build
New Features
- #167: New
ClassNameBuilder.mergemethod andClassNameBuilder.mergedconstructor. - #168: Expose
react_wrapperslibrary that was previously only available via asrc/import.
Dependency Updates
- #153 react
^4.3.0(was^3.7.0) - #151
- built_redux
^7.4.1(was>=6.1.0 <8.0.0) - built_value
>=4.2.0 <5.2.0(was>=4.2.0 <6.0.0)
- built_redux
New Features
- #154: Expose
react_dom.render/react_dom.unmountComponentAtNodefrom the react library
Tech Debt
- #151 Prepare for Dart 2 SDK
- Address Dart 2.x SDK lints / warnings that do not constitute breaking changes
- Address
DisposableManagerV6deprecation UiPropsandUiStatenow extend fromMapBase
Dependency Updates
- w_common
^1.10.0(was^1.8.0) - react
^4.4.1(was^4.3.0)
Tech Debt
- Address
ReactComponentFactorydeprecation - Address
findRenderedComponentWithTypedeprecation
Dependency Updates
- #153 react
^4.3.0(was^3.7.0) - #151
- built_redux
^7.4.1(was>=6.1.0 <8.0.0) - built_value
>=4.2.0 <5.2.0(was>=4.2.0 <6.0.0)
- built_redux
New Features
- #154: Expose
react_dom.render/react_dom.unmountComponentAtNodefrom the react library
Tech Debt
- #151 Prepare for Dart 2 SDK
- Address Dart 2.x SDK lints / warnings that do not constitute breaking changes
- Address
DisposableManagerV6deprecation UiPropsandUiStatenow extend fromMapBase
Dependency Updates
- #149: Dependency Maintenance:
- Dart SDK now
>=1.24.2 <2.0.0, was>=1.24.2 - Dependencies:
- analyzer now
>=0.30.0 <=0.31.0, was>=0.30.0 <0.31.0 - barback now
>=0.15.2 <=0.15.2+14, was^0.15.0 - quiver now
>=0.21.4 <=0.28.0, was>=0.21.4 <0.26.0
- analyzer now
- Dev Dependencies:
- coverage now
>=0.7.2 <0.11.0, was^0.7.2 - dependency_validator now
^1.1.0, was^1.0.0 - mockito now
^2.0.0, was^0.11.0 - test now
^0.12.32+1, was^0.12.24
- coverage now
- Dart SDK now
Dependency Updates
- #145: Widen built_value version constraint: now
>=4.2.0 <6.0.0, was^4.2.0
New Features
- #144: Move
BuiltReduxUiComponent/BuiltReduxUiPropsout of @experimental- Warning: This will be deprecated in an upcoming release in favor of a different approach to creating a
built_reduxcomponent.
- Warning: This will be deprecated in an upcoming release in favor of a different approach to creating a
New Features
- #142: Do not execute prop validation logic in dart2js code
New Features
- #140: Add an option to make
BuiltReduxUiComponent"pure"
Tech Debt
- #137: Get rid of dart2js compiler warnings
Misc
- #133: Update logger name standard.
New Features
- #128: Add
UiPropsMapView.
Misc
- #129: Add CODEOWNERS file.
Dependency Updates
- #126: Update minimum Dart SDK version to
1.24.2.
New Features
- #118: Add
BuiltReduxUiComponentandBuiltReduxUiProps.- These classes are considered unstable and can be imported via
import "package:over_react/experimental.dart";
- These classes are considered unstable and can be imported via
Tech Debt
- #126: Use dependency_validator.
Bug fixes
- Fix regression in
prop_mixins.dartintroduced by #119.
Improvements
- #177: Improve error message when UiState classes aren't set up properly.
New Features
- #119: More convenient ubiquitous access of DOM/aria props.
- #120: Transition in/out-specific config, test attributes.
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
setStateand store trigger only result in oneFluxUiComponentrender
Dependency Updates
- w_common
^1.8.0(was^1.6.0) - w_flux
^2.9.0(was^2.7.1)
New Features
- #104: Update
UiComponentto implementDisposableManagerV6.
Improvements
- #103:
FluxUiComponentredraws 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
validatePropsmethod toUiComponent- Will automatically validate props annotated with
@requiredPropwithincomponentWillMountandcomponentWillReceiveProps
- 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
DisposableManagerV3forUiComponent- 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/SvgPropsimplementUiPropsfor 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
isDisposedOrDisposingto ease consumer test breakages.
Bug Fixes
- Revert #77: Update
FluxUiComponentsubscriptions when newpropsare received.- Reverted since this broke subclasses that weren't calling super in lifecycle methods
componentWillReceievePropsandcomponentDidUpdate - Keep
@mustCallSuperannotations from this changeset
- Reverted since this broke subclasses that weren't calling super in lifecycle methods
New Features
Bug Fixes
- #77: Update
FluxUiComponentsubscriptions when newpropsare 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
BatchedRedrawsto mount aFluxUiComponentasynchronously after thestorehas already been disposed.- Thanks @tomconnell-wf!
Improvements
- #69: New top-level
getSelectionStartfunction to normalizeselectionStartacross browsers for bothTextInputElements andTextAreaElements
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
AbstractTransitionComponentthat don't callsuper.componentDidMount
Improvements
- #60: Provide easy access to DOM node in
ValidationUtil.warnmessages - #61: Export some
reactlibrary members and add capturing event handlers- Export
setClientConfigurationandReactElement - Export all
Synthetic*Eventclasses - Add capturing event handlers supported by ReactJS
- Export
Bug Fixes
- #58: Fix issue with the
transitionendwarning (added via #55) sometimes firing when it shouldn't - #59: Ensure
AbstractTransitionComponentdoes not callsetStatewhile 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
AbstractTransitionComponentcausing components to hang when thetransitionendevent never fires.
Deprecations
- #51: Deprecate the
@Required()annotation since it conflicts with themetapackage. Replaced by:-
arguments to the
Accessorannotation:@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
traverseWrapperstotrue.
- Allows you to traverse wrapper components by setting the named parameter
Improvements
- #46: Add
ResizeSensorProps.quickMountflag for better performance when sensors are mounted often - Make
getProp,getProps, andmodifyPropsconditional 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_detectto our newplatform_detectlibrary! -
Improved
toStringmethod ofDebugFriendlyConstant. -
Improved
setSelectionRangepolyfill to avoid dart-lang/sdk#22967 -
Added typedef for
ElementCallbackandResizeSensorHandler. -
Added
newStyleFromPropsutility function. -
Added
getPropKeyutility 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.xvia react-dart3.1.0. - #27: Add missing SVG elements
(e.g.
Dom.foreignObjectpointed 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_reactcode "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_detectdependency.- 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
toRemandtoPxfunctions.
New Features
- #10: Add
FluxUiComponentandFluxUiStatefulComponent.- 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_utilandevent_helperslibraries.
Initial public release of the library.