Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Releases: olenbetong/react-data-object-connect

v5.3.0

11 Apr 14:43
Compare
Choose a tag to compare

@olenbetong/react-data-object-connect@5.3.0

🚀 Enhancements

  • New hooks to simplify connecting buttons to the data object
    • useCancelButton
    • useDeleteButton
    • useRefreshButton
    • useRefreshRowButton
    • useSaveButton

v5.2.8

11 Apr 11:33
Compare
Choose a tag to compare

react-data-object-connect@5.2.8

🚀 Enhancements

  • Added React 18 to peer dependencies

5.0.0

14 Oct 09:50
Compare
Choose a tag to compare

@olenbetong/react-data-object-connect@5.0.0

🧨 Breaking changes

  • Removed connect/connectRow API

🚀 Enhancements

  • Added useField and useDataObject hooks, and DataObjectProvider context

4.10.3

26 Nov 08:20
Compare
Choose a tag to compare

react-data-object-connect@4.10.3

🐛 Bugfix

  • Fixed current row not refreshed properly if save fails

4.10.0

19 Aug 12:11
Compare
Choose a tag to compare

react-data-object-connect@4.10.0

🚀 Enhancements

  • useDataWithFilter now supports an option object as the second parameter. This will also be passed to the underlying useData

🐛 Bugfix

  • Fix useDirty when used with newer versions of the DataObject class

4.9.2

31 Mar 14:00
Compare
Choose a tag to compare

react-data-object-connect@4.9.2

🚀 Enhancements

  • Add support for @olenbetong/data-object >= 0.7.0

4.9.0

20 Dec 21:44
Compare
Choose a tag to compare

react-data-object-connect@4.9.0

🚀 Enhancements

  • useProcedure now returns an execute function to enable manual execution
  • useProcedure now takes a third option argument. If the option 'removeInvalidParameters' is set to true, any invalid parameters will be removed before executing the procedure. This way the user can make the procedure execute again based on other dependencies than the parameters. If this option isn't set to true, the procedure will fail and return an error. Default is false to avoid breaking changes, but in a v5 release, it will probably default to true.

4.8.1

12 Nov 08:16
Compare
Choose a tag to compare

react-data-object-connect@4.8.1

🐛 Bugfix

  • Fixed Cannot access 'recordUpdateEvents' before initialization error in useCurrentRow

4.8.0

11 Nov 18:47
Compare
Choose a tag to compare

react-data-object-connect@4.8.0

🚀 Enhancements

  • Added option whether dirty data should be included or not in useData

4.7.0

16 Oct 13:12
Compare
Choose a tag to compare

react-data-object-connect@4.7.0

🚀 Enhancements

  • useData/useDataWithFilter can now handle both dynamic and normal data objects. usePagedData/usePagedDataWithFilter are now just aliases for those hooks
  • useData for dynamic data objects will not return an empty array if a page hasn't been loaded, but instead wait until the page is ready.