Releases: react-native-community/hooks
v3.0.0
🎉 This release contains work from a new contributor! 🎉
Thank you, Babis Kanellopoulos (@kanelloc), for all your work!
Release Notes
upgrades and types (#322)
Breaking Changes
useCameraRoll
was removed. UseuseCameraRoll
from@react-native-camera-roll/camera-roll
.useClipboard
was removed. UseuseClipboard
from@react-native-clipboard/clipboard
.useDimensions
was removed. UseuseWindowDimensions
fromreact-native
.useDeviceOrientation
is now returning"portrait" | "landscape"
.
💥 Breaking Change
🚀 Enhancement
- feat: add useRefresh hook #320 (@kanelloc @pvinis)
- Deprecate hooks that use old API (fix: #267) #315 (@retyui)
🐛 Bug Fix
- Bump json5 from 2.1.2 to 2.2.3 #317 (@dependabot[bot])
- [useInteractionManager] Cleanup promise on unmount #310 (@LinusU)
- Update dependency ts-jest to v27.1.1 #296 (@renovate-bot)
- Update dependency ts-jest to v27.1.0 #294 (@renovate-bot @renovate[bot])
- Update dependency prettier to v2.5.1 #293 (@renovate-bot)
- Update dependency jest to v27.4.3 #291 (@renovate-bot @renovate[bot])
- Update dependency jest to v27.4.2 #290 (@renovate-bot @renovate[bot])
- Update dependency jest to v27.4.1 #289 (@renovate-bot @renovate[bot])
- Update react monorepo (major) #183 (@renovate-bot @renovate[bot])
- Update dependency jest to v27.4.0 #288 (@renovate-bot @renovate[bot])
- Update dependency prettier to v2.5.0 #285 (@renovate-bot @renovate[bot])
- Update rn orb to v6.0.1 #284 (@renovate-bot)
- Update rn orb to v6 #283 (@renovate-bot @renovate[bot])
- Update dependency @types/jest to v27.0.3 #281 (@renovate-bot)
- Update dependency @types/react to v16.14.21 #280 (@renovate-bot)
🔩 Dependency Updates
- Bump plist from 3.0.4 to 3.0.5 #311 (@dependabot[bot])
- Bump async from 2.6.3 to 2.6.4 #306 (@dependabot[bot])
- Bump plist from 3.0.1 to 3.0.4 #301 (@dependabot[bot])
- Bump ajv from 6.12.0 to 6.12.6 #299 (@dependabot[bot])
Authors: 7
- @dependabot[bot]
- @renovate[bot]
- Babis Kanellopoulos (@kanelloc)
- Davyd NRB (@retyui)
- Linus Unnebäck (@LinusU)
- Mend Renovate (@renovate-bot)
- Pavlos Vinieratos (@pvinis)
v2.8.1
🎉 This release contains work from a new contributor! 🎉
Thank you, WhiteSource Renovate (@renovate-bot), for all your work!
🐛 Bug Fix
- [Fix][useKeyboard] Adapt unsubscription for new EventEmitter API #279 (@retyui)
- Update dependency @types/react-native to v0.64.19 #278 (@renovate-bot)
- Update dependency @types/react to v16.14.20 #277 (@renovate-bot)
- Update dependency @types/react-native to v0.64.18 #276 (@renovate-bot)
- Update dependency @types/react to v16.14.19 #275 (@renovate-bot)
- Update rn orb to v5.6.0 #274 (@renovate-bot @renovate[bot])
- Update dependency @types/react-native to v0.64.17 #272 (@renovate-bot)
- Update dependency @types/react to v16.14.18 #271 (@renovate-bot)
Authors: 3
- @renovate[bot]
- David NRB (@retyui)
- WhiteSource Renovate (@renovate-bot)
v2.8.0
🎉 This release contains work from a new contributor! 🎉
Thank you, WhiteSource Renovate (@renovate-bot), for all your work!
🚀 Enhancement
🐛 Bug Fix
- Update dependency all-contributors-cli to v6.20.0 #182 (@renovate-bot @renovate[bot])
- Prevent "maximum update depth exceeded" error when pass image as a new object on each render #269 (@retyui)
- Update dependency eslint-plugin-prettier to v3.4.1 #219 (@renovate-bot @renovate[bot])
- Update dependency @testing-library/react-native to v8 #255 (@renovate-bot @renovate[bot])
- Update dependency jest to v27.3.1 #270 (@renovate-bot)
- Update dependency @types/react-native to v0.64.16 #265 (@renovate-bot)
- Update dependency jest to v27.3.0 #186 (@renovate-bot @renovate[bot])
Authors: 3
- @renovate[bot]
- David NRB (@retyui)
- WhiteSource Renovate (@renovate-bot)
v2.7.0
🎉 This release contains work from new contributors! 🎉
Thanks for all your work!
❤️ Thibault Maekelbergh (@thibmaek)
❤️ Gertjan Reynaert (@GertjanReynaert)
❤️ WhiteSource Renovate (@renovate-bot)
🚀 Enhancement
- Add the option to pass headers to useImageDimensions #225 (@thibmaek @GertjanReynaert)
🐛 Bug Fix
- Add useImageDimensions tests #259 (@retyui)
- Add useDimensions tests #260 (@retyui)
- Add useAppState tests #263 (@retyui)
- Add useAccessibilityInfo tests #264 (@retyui)
- Add useDeviceOrientation tests #262 (@retyui @LinusU)
- Add useKeyboard() hook tests #258 (@retyui)
- Update dependency ts-jest to v27.0.7 #256 (@renovate-bot @renovate[bot])
- Add simple tests & update dev dependencies #252 (@retyui)
- Update dependency prettier to v2.4.1 #254 (@renovate-bot)
- Update dependency @types/react to v16.14.17 #253 (@renovate-bot)
- Bump glob-parent from 5.1.0 to 5.1.2 #234 (@dependabot[bot])
Authors: 7
- @dependabot[bot]
- @renovate[bot]
- David NRB (@retyui)
- Gertjan Reynaert (@GertjanReynaert)
- Linus Unnebäck (@LinusU)
- Thibault Maekelbergh (@thibmaek)
- WhiteSource Renovate (@renovate-bot)
v2.6.1
🎉 This release contains work from new contributors! 🎉
Thanks for all your work!
❤️ Sean Holbert (@wildseansy)
❤️ WhiteSource Renovate (@renovate-bot)
❤️ Arthur Geron (@arthurgeron)
🚀 Enhancement
- Bump tmpl from 1.0.4 to 1.0.5 #250 (@dependabot[bot])
🐛 Bug Fix
- Modernize Keyboard subscription, RN v0.65+ #244 (@wildseansy)
- Update dependency @types/react to v16.14.15 #248 (@renovate-bot)
- Update dependency prettier to v2.4.0 #218 (@renovate-bot @renovate[bot])
- Update dependency @types/react to v16.14.13 #217 (@renovate-bot @renovate[bot])
- Bump path-parse from 1.0.6 to 1.0.7 #240 (@dependabot[bot])
- Update dependency typescript to v3.9.10 #237 (@renovate-bot)
- Update dependency typescript to v3.9.9 #235 (@renovate-bot)
- Update dependency react-native to v0.62.3 #232 (@renovate-bot)
- Added export of AppStateStatus #215 (arthurgeron@MacBook-Pro-de-Mac.local)
- Update dependency prettier to v2.1.2 #209 (@renovate-bot)
- Update dependency prettier to v2.1.1 #207 (@renovate-bot @renovate[bot])
- Update dependency typescript to v3.9.7 #196 (@renovate-bot)
- Update dependency @types/react-native to v0.62.18 #194 (@renovate-bot)
- Update dependency @types/react-native to v0.62.17 #192 (@renovate-bot)
- Update dependency typescript to v3.9.6 #190 (@renovate-bot)
- Update dependency @types/react-native to v0.62.16 #189 (@renovate-bot)
- Update dependency @types/react-native to v0.62.15 #188 (@renovate-bot)
- Update dependency @types/react-native to v0.62.14 #187 (@renovate-bot)
- Update dependency eslint to v7.3.1 #178 (@renovate-bot @renovate[bot])
- Update dependency eslint-plugin-prettier to v3.1.4 #185 (@renovate-bot)
- Update dependency @types/react-native to v0.62.13 #173 (@renovate-bot)
⚠️ Pushed to master
- manual bump (@pvinis)
Authors: 6
- @dependabot[bot]
- @renovate[bot]
- Arthur Geron (@arthurgeron)
- Pavlos Vinieratos (@pvinis)
- Sean Holbert (@wildseansy)
- WhiteSource Renovate (@renovate-bot)
v2.6.0
🎉 This release contains work from new contributors! 🎉
Thanks for all your work!
❤️ Alan Kenyon (@adkenyon)
❤️ WhiteSource Renovate (@renovate-bot)
🚀 Enhancement
🐛 Bug Fix
- Update dependency @types/react-native to v0.62.7 #164 (@renovate-bot)
- Update dependency typescript to v3.9.5 #180 (@renovate-bot)
- Update dependency typescript to v3.9.3 #177 (@renovate-bot)
- Update dependency @types/jest to v25.2.3 #176 (@renovate-bot)
- Update dependency @types/jest to v25.2.2 #172 (@renovate-bot)
- Update dependency @types/react-native to v0.62.8 #171 (@renovate-bot)
- Update dependency typescript to v3.9.2 #170 (@renovate-bot @renovate[bot])
- Update dependency eslint to v7 #169 (@renovate-bot @renovate[bot])
- Update dependency ts-jest to v25.5.1 #167 (@renovate-bot @renovate[bot])
- Update dependency jest to v26.0.1 #166 (@renovate-bot)
- Update dependency jest to v26 #165 (@renovate-bot @renovate[bot])
- Update dependency all-contributors-cli to v6.15.0 #179 (@renovate-bot @renovate[bot])
- Update dependency @types/react-native to v0.62.6 #163 (@renovate-bot)
- Update dependency @types/react-native to v0.62.5 #162 (@renovate-bot)
- Update dependency @types/react-native to v0.62.4 #160 (@renovate-bot)
- Update dependency @types/react-native to v0.62.3 #159 (@renovate-bot)
- Update dependency prettier to v2.0.5 #155 (@renovate-bot)
- Update dependency @auto-it/first-time-contributor to v9.28.3 #151 (@renovate-bot @renovate[bot])
- Update dependency @auto-it/all-contributors to v9.28.3 #154 (@renovate-bot)
- Update dependency @auto-it/all-contributors to v9.28.2 #150 (@renovate-bot @renovate[bot])
- Update rn orb to v4.1.1 #153 (@renovate-bot)
- Update dependency all-contributors-cli to v6.14.2 #149 (@renovate-bot)
Authors: 3
- @renovate[bot]
- Alan Kenyon (@adkenyon)
- WhiteSource Renovate (@renovate-bot)
v2.5.1
🎉 This release contains work from a new contributor! 🎉
Thank you, WhiteSource Renovate (@renovate-bot), for all your work!
🐛 Bug Fix
- [useImageDimensions] types refactored #148 (@Greg-Bush)
- Update dependency @react-native-community/eslint-config to v1.1.0 #147 (@renovate-bot @renovate[bot])
- Update dependency @auto-it/first-time-contributor to v9.27.3 #144 (@renovate-bot @renovate[bot])
- Update dependency @auto-it/all-contributors to v9.27.3 #143 (@renovate-bot @renovate[bot])
- Update dependency ts-jest to v25.4.0 #146 (@renovate-bot @renovate[bot])
Authors: 3
- @Greg-Bush
- @renovate[bot]
- WhiteSource Renovate (@renovate-bot)
v2.5.0
🎉 This release contains work from a new contributor! 🎉
Thank you, null@Greg-Bush, for all your work!
🚀 Enhancement
- useImageDimensions #87 (@Greg-Bush @pvinis @LinusU)
⚠️ Pushed to master
Authors: 3
- @Greg-Bush
- Linus Unnebäck (@LinusU)
- Pavlos Vinieratos (@pvinis)
v2.4.9
🎉 This release contains work from a new contributor! 🎉
Thank you, WhiteSource Renovate (@renovate-bot), for all your work!
🐛 Bug Fix
- Update dependency @auto-it/first-time-contributor to v9.26.4 #134 (@renovate-bot)
- add value to Coordinates when hide #120 (@Gamal-Shaban @pvinis)
- Update dependency @auto-it/all-contributors to v9.26.8 #114 (@renovate-bot @renovate[bot])
- Update dependency ts-jest to v25.3.1 #119 (@renovate-bot @renovate[bot])
- Update dependency @types/react-native to v0.62.2 #110 (@renovate-bot @renovate[bot])
- Update dependency auto to v9.26.8 #123 (@renovate-bot @renovate[bot])
- Update dependency jest to v25.3.0 #138 (@renovate-bot @renovate[bot])
- Update rn orb to v4 #141 (@renovate-bot @renovate[bot])
- Update dependency eslint-plugin-prettier to v3.1.3 #142 (@renovate-bot)
- Update dependency @auto-it/first-time-contributor to v9.26.8 #137 (@renovate-bot)
- Update dependency react-native to v0.62.2 #139 (@renovate-bot)
- Update dependency @auto-it/first-time-contributor to v9.26.6 #136 (@renovate-bot)
- Update dependency @auto-it/first-time-contributor to v9.26.5 #135 (@renovate-bot)
- Update dependency @types/jest to v25.2.1 #129 (@renovate-bot @renovate[bot])
- Update dependency @auto-it/first-time-contributor to v9.26.3 #133 (@renovate-bot)
- Update dependency @auto-it/first-time-contributor to v9.26.2 #132 (@renovate-bot)
- Update dependency prettier to v2.0.4 #131 (@renovate-bot)
- Update dependency @auto-it/first-time-contributor to v9.26.1 #115 (@renovate-bot @renovate[bot])
- Update dependency prettier to v2.0.3 #130 (@renovate-bot)
- Update dependency react-native to v0.62.1 #128 (@renovate-bot)
- Update dependency jest to v25.2.7 #127 (@renovate-bot)
- Update dependency @types/jest to v25.1.5 #126 (@renovate-bot)
- Update dependency all-contributors-cli to v6.14.1 #125 (@renovate-bot)
- Update dependency jest to v25.2.6 #124 (@renovate-bot)
- Update dependency auto to v9.22.4 #122 (@renovate-bot)
- Update dependency auto to v9.22.2 #121 (@renovate-bot)
⚠️ Pushed to master
- dont worry about canary, since we cant publish from forks (@pvinis)
Authors: 4
- @renovate[bot]
- Gamal Shaban (@Gamal-Shaban)
- Pavlos Vinieratos (@pvinis)
- WhiteSource Renovate (@renovate-bot)
v2.4.8
🎉 This release contains work from new contributors! 🎉
Thanks for all your work!
❤️ Gamal Shaban (@Gamal-Shaban)
❤️ WhiteSource Renovate (@renovate-bot)
🐛 Bug Fix
- Update dependency react-native to v0.62.0 #105 (@renovate-bot @renovate[bot])
- fix crash in android when hide keyboard #117 (@Gamal-Shaban)
- Update dependency auto to v9.22.1 #116 (@renovate-bot @renovate[bot])
- Update dependency @auto-it/first-time-contributor to v9.21.2 #112 (@renovate-bot)
- Update dependency auto to v9.21.2 #113 (@renovate-bot)
- Update dependency @auto-it/all-contributors to v9.21.2 #111 (@renovate-bot)
- Update dependency @react-native-community/eslint-config to v1 #109 (@renovate-bot @renovate[bot])
- Update dependency jest to v25.2.3 #108 (@renovate-bot)
- [META] Stop using default export internally #106 (@pvinis)
- Update dependency jest to v25.2.4 #118 (@renovate-bot)
- Update dependency jest to v25.2.2 #104 (@renovate-bot)
- Update dependency jest to v25.2.1 #103 (@renovate-bot)
- Update dependency jest to v25.2.0 #102 (@renovate-bot @renovate[bot])
- Update dependency @types/react to v16.9.25 #98 (@renovate-bot @renovate[bot])
- Update dependency @auto-it/first-time-contributor to v9.20.1 #93 (@renovate-bot)
- Update dependency auto to v9.20.1 #94 (@renovate-bot)
- Update dependency @auto-it/all-contributors to v9.20.1 #92 (@renovate-bot)
- Update react monorepo to v16.13.1 #91 (@renovate-bot)
⚠️ Pushed to master
Authors: 4
- @renovate[bot]
- Gamal Shaban (@Gamal-Shaban)
- Pavlos Vinieratos (@pvinis)
- WhiteSource Renovate (@renovate-bot)