Repository navigation
chore(release): 1.2.0-rc.3 - #379
Open
LunatiqueCoder wants to merge 1 commit into
Open
LunatiqueCoder wants to merge 1 commit into
LunatiqueCoder wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LunatiqueCoder
force-pushed
the
bot/release-1.2.0-rc.3
branch
from
November 30, 2026 21:38
75c94c5 to
39c8fb9
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 posted by [drax] Release bot (automated), on behalf of @LunatiqueCoder
Release PR for 1.2.0-rc.3 (pre-release, npm dist-tag
next, never Latest). Rebased on main @ 485ab12 (#384, includes #377's CHANGELOG section). Release commit: 39c8fb9.Changes in this PR: version 1.1.0 → 1.2.0-rc.3 in
package.json,example/package.json,docs-site/package.json(same three files 1.1.0 bumped); CHANGELOG rc.3 section from #377 with: #381 web touch entry kept once (under Changed, with thelongPressDelay/ swipe-to-scroll note), gap-height fallback entry cites #351 and #352, added missing entries (#333onExternalDrop, #325, #327, #318) and PR cites (#310, #319, #326, #335, #337, #343, #344, #349); CLAUDE.md release notes. #378 is not in rc.3 (moved to 1.2.1) and the changelog doesn't mention it.Publish (after merge, by Ovidiu):
.github/workflows/publish.ymlstill doesnpm publish --provenance --access public --tag nextandgh release create --prerelease --latest=falsefor hyphenated versions, and extracts notes with awk on^## \[1.2.0-rc.3\](heading is## [1.2.0-rc.3] - 2026-11-30, extraction verified locally).Checks (on 39c8fb9)
react-native-drax-1.2.0-rc.3-39c8fb9.tgzgrep -c SoftwareSpace example/ios/build/generated/autolinking/autolinking.json)expo prebuild --clean -p ios+ pod install + fresh DerivedData build)Smoke (real touch)
Smoke apps ran the
200557dtarball;39c8fb9's tarball differs only inCHANGELOG.md(diff -rq of unpacked contents).~/Desktop/NuclearPasta/drax-bots/evidence/rc3-final/)ios-example-*.pngonExternalDroptoIndex 3), foreign-drag autoscroll + append (toIndex 21)ios-smoke-*.pngandroid-smoke-*.pngscrollYstays 0 during touch dragsweb-smoke-*.pngThe example app has no screen with
onExternalDrop, so the foreign gap/drop/autoscroll cases ran in the fresh app.Review, Bugbot, CI (on 39c8fb9)
onReorderfires"), feat(collision): opt-in 'touch' hit-test point and dragTouchPosition on drop events (#282) #335 (BREAKING-TS'touch', MIGRATION "Hit-test point"), fix(handle): grabOffset from event + handle offset in view (#305 follow-up) #319 (BREAKING-TSrootViewRef;DraxContextValueis not exported, so no migration step), plus fix(sortable): test the auto-scroll edge band at the finger, not the hover centre #346 (BREAKING). feat(sortable): foreign-drag gap, autoscroll before the jitter gate, autoScrollForeignDrags #351autoScrollForeignDragsdefaulttrue+ opt-out, fix(sortable): land foreign drops in the open gap (0.11 parity) #352 drop into the gap, fix(drag): cancel the drag when the dragged view unregisters mid-drag #363 cancel on unmount withonDragEndcancelled: true, fix(web): block page scroll during touch drag, keep swipe-to-scroll #381 web touch-action /longPressDelaynote: all present. fix(sortable): hold the post-drop flush while a touch is down in the list #378 absent.Tarball
~/Desktop/NuclearPasta/drax-bots/rc/react-native-drax-1.2.0-rc.3-39c8fb9.tgzsha256
1faa69aca430d1da2fd3eefaa8fcd7e6459fd87b1a6f431ef5c3f1bb6c4a7daf(copy verified withshasum -c). Pre-release notes draft:~/Desktop/NuclearPasta/drax-bots/rc/RC3-NOTES.md.Changelog
Added
collisionAlgorithm: 'touch'on receiving/monitoringDraxViews: hit-tests at the finger instead of the hover view's center, so the receiver under the touch point receives wherever the item was grabbed (the 0.x behavior). The default'center'is unchanged.CollisionAlgorithmgains a'touch'member, so an exhaustiveswitchover it needs a new case (Drag position is calculated from the center of the dragged item after updating to v1.x #282, feat(collision): opt-in 'touch' hit-test point and dragTouchPosition on drop events (#282) #335)dragTouchPositionon drag end event data (onDragEnd,onDragDrop,onReceiveDragDrop,onMonitorDragEnd,onMonitorDragDrop, cancelledonReceiveDragExit): the finger position at release, relative to theDraxProviderroot view.dragAbsolutePositionis unchanged (Drag position is calculated from the center of the dragged item after updating to v1.x #282, feat(collision): opt-in 'touch' hit-test point and dragTouchPosition on drop events (#282) #335)autoScrollEnabled(defaulttrue) andautoScrollInitialDelay(ms in the edge band before the first jump, default0) onDraxScrollView,useSortableListandDraxList.DraxListnow forwards all auto-scroll props touseSortableList(feat(autoscroll): configurable delay/interval/opt-out, DraxList forwarding, ignore foreign drags #326).draggedItemStyleonDraxListanduseSortableList: style of the dragged row's in-list placeholder while its hover copy moves (default{ opacity: 0 }). Pass{ opacity: 0.2 }for a faint placeholder like 0.11. The placeholder stays at its pickup slot while the finger is down and moves to the target slot on release. Use visual props only (no layout props) (feat(DraxList): add draggedItemStyle for the dragged row placeholder #344).DraxRenderContentProps.payload(dragPayload ?? payload, the value drag events carry asdragged.payload) is passed torenderContentandrenderHoverContent. Sortable rows includeitem,indexandoriginalIndex(feat(types): pass the dragged payload to render content props #349).autoScrollForeignDragsonDraxListanduseSortableList(defaulttrue): a foreign drag hovering near a list's edge auto-scrolls it, as in 0.11. Setfalse(for example on a bank that only gives items away) to auto-scroll only for the list's own rows and board transfers (feat(sortable): foreign-drag gap, autoscroll before the jitter gate, autoScrollForeignDrags #351)absoluteMeasurements,hoverMeasurementsanddraggedParentIdon drag event data (feat(events): restore absoluteMeasurements, hoverMeasurements and draggedParentId #328)onExternalDroponDraxListanduseSortableList(opt-in): fires when a foreign view (not one of the list's rows, not a board transfer) is dropped inside the list, with thetoIndex(0..data.length) where it would insert. The list does not changedata; insert the item yourself. Not called on cancel (feat(sortable): opt-in onExternalDrop with target index #333)Changed
DraxContextValue.rootViewRefis now a ReanimatedAnimatedRef<View>instead of{ current: HostInstance | null }, so the root view can be measured on the UI thread at drag start..currentstill holds the host view (fix(handle): grabOffset from event + handle offset in view (#305 follow-up) #319).autoScrollIntervalLengthis now honoured byDraxScrollViewand sortable lists (it was ignored and the interval was fixed at 250 ms) (feat(autoscroll): configurable delay/interval/opt-out, DraxList forwarding, ignore foreign drags #326).onReorderat release, as 0.11 did, instead of about 350 ms later after the snap animation. The rows still move to their new positions in the list's render at snap end, sorenderItem'sinfo.indexreflects the pre-drop order until the snap ends. Number rows from your own data (for exampledata.indexOf(item)), not frominfo.index. A drag that starts during the previous drop's snap no longer has the parent's echo applied under it (the new drag started from a mix of the old and new order and dropped in the wrong slot), and a drag that starts just after the drop's rows settle no longer measures the first row mid-animation (its slots were off by rows) (fix(sortable)!: fire onReorder at release, as 0.11 did #348).DraxView, or an item from a list outside its board) no longer tracks slots, firesonDragPositionChangeor shows the drop indicator. It still auto-scrolls the list, as in 0.11, unlessautoScrollForeignDragsisfalse. Board columns still react to items from other columns of the same board (feat(autoscroll): configurable delay/interval/opt-out, DraxList forwarding, ignore foreign drags #326, fix(sortable): keep autoscroll for foreign drags when onExternalDrop is set #337, feat(sortable): foreign-drag gap, autoscroll before the jitter gate, autoScrollForeignDrags #351).containhit test now needs the receiver's visible part to contain the dragged view's whole rect (fix: clip receivers to parent visible bounds in hit test #350).DraxScrollViewand themonitorOffset/monitorOffsetRatioevent fields are unchanged (fix(sortable): test the auto-scroll edge band at the finger, not the hover centre #346).onExternalDropopens a gap where it would drop, as 0.11 did: the rows from that index on slide aside by the dragged view's size, and a drop snaps into that gap attoIndexinstead of onto the receiving row's centre. The gap index is thetoIndexthatonExternalDropgets: an index into thedataarray, hidden (zero-size) rows included, sodata.splice(toIndex, 0, item)lands where the gap was. It opens only while one of the list's rows is the receiver, so rows that refuse the drag (receptive,dynamicReceptiveCallback) open none. Lists only, not grids. The gap closes on exit, release and cancel (feat(sortable): foreign-drag gap, autoscroll before the jitter gate, autoScrollForeignDrags #351, fix(sortable): land foreign drops in the open gap (0.11 parity) #352).touchmovelistener cancels the browser's scroll until the drag ends; before, the browser took the first move after the long-press as a scroll (touch-action: pan-y/pan-x) and sentpointercancel, so the drag never started. A draggableDraxViewwithlongPressDelay0 (theDraxViewdefault) now getstouch-action: none, since its drag activates on the first move, so a swipe that starts on it no longer scrolls the page. Set alongPressDelay(for example 250, the sortable default) to keep swipe-to-scroll on it: long-press draggables keeppan-y/pan-xand a swipe that moves before the long-press still scrolls. Receivers and monitors keeppan-y(fix(web): block page scroll during touch drag, keep swipe-to-scroll #381).?embed=1hides the header and source/docs links so the docs site can iframe a demo; MaterialCommunityIcons is replaced by a 20-glyph subset font; hashed_expo/staticandassetsfiles are cached for a year (feat(example): web embed mode, subset icon font, long cache for hashed assets #380)--tag nextand create a GitHub release with--prerelease --latest=false(ci(publish): publish prereleases to next and mark GitHub release as prerelease #362)@docusaurus/plugin-ideal-image(chore(docs-site): remove unused @docusaurus/plugin-ideal-image #357); lockfile security bumps including path-to-regexp, svgo and ws (chore(docs-site): bump docs-site-only lockfile entries for security alerts #355); forces tinypool 2.1.2 for@docusaurus/coreand requires Node 20+ (chore(docs-site): force tinypool 2.1.2 for @docusaurus/core, require Node 20+ #356); scopes js-yaml resolutions to docs-site-only parents (chore(docs-site): scope js-yaml resolutions to docs-site-only parents #358)MIGRATION.mdandCHANGELOG.md(chore(package): ship MIGRATION.md and CHANGELOG.md, drop missing native paths from files #338)Fixed
toIndexand gap on a single-column list with hidden (zero-size) rows: use each row's measured position instead of the uniform-slot path, so a drop after several hidden rows no longer lands one visible slot early (feat(sortable): foreign-drag gap, autoscroll before the jitter gate, autoScrollForeignDrags #351)onReorder: map the datatoIndexthroughcommittedOrder(order.indexOf(toIndex)) so the gap opens where the insert will land, not at the raw display index (feat(sortable): foreign-drag gap, autoscroll before the jitter gate, autoScrollForeignDrags #351)onDragEndfires withcancelled: true, autoscroll stops and the hover snaps back. Before, the drag never ended, autoscroll ran on and the next drag committed nothing. With a smallwindowSizethis can cancel a long autoscroll drag while the finger is still down; raisewindowSizeto keep the dragged row mounted (fix(drag): cancel the drag when the dragged view unregisters mid-drag #363)dragHandlesortable item with permanent shifts is grabbed by itsDraxHandle(fix(handle): grabOffset from event + handle offset in view (#305 follow-up) #319)DraxProviderinside a scrolled container no longer offsets the hover (fix(handle): grabOffset from event + handle offset in view (#305 follow-up) #319)datachanges from outside while a row is dragged (for example a quick second drop), the row's pending move is dropped. The drag stays active, but its drop is a cancel: the row snaps back to its own slot, with noonReorder. Before,onReordergot the old order mapped onto the new data, so an item was lost. A new array with the same keys (a refetch) doesn't count as a change, and rows already slid aside stay put. Rows are no longer measured with their in-flight shift (a refetch mid-drag dropped the row one slot short, and the drag after a drop could start at the wrong slot). The first row of a FlatList is measured by layout, so a quick second drag after the parent echoedonReorderno longer starts at the wrong slot with the rows collapsed (fix(sortable): cancel a row drag when the list's data changes mid-drag #347).draggableflips fromfalsetotruenow starts a drag;draggableandlongPressDelaychanges reach the pan handler in the same render (iOS Fabric (RN 0.85 + Reanimated 4.5): drag hover renders nested <Image> black; v3 path misses first touch after draggable flip #267)draggableset tofalsemid-drag) no longer reorders a sortable list: drag updates that reach JS after the drag ended are ignored (fix(gesture): apply draggable changes to the RNGH v3 handler on the first touch (#267) #336)MONITOR_HIT_TEST_PADDINGinsrc/math.ts). Leaving the list undoes the pending move and the neighbours slide back, as in 0.11; a row brought back in moves from its start slot again. A release over nothing within that 100 pt padding still counts as a drop in the list (the row takes its last hovered slot andonReorderfires), as before. Board columns are unchanged (fix(sortable): undo the pending move when the dragged item leaves its list #345).onReorderwhen the list's owner re-rendered during the drag; before, the item could snap back with noonReorder(fix(sortable): read onItemSnapEnd at call time so finalizeDrag always runs #325)valueduring component render" warning is gone (fix(sortable): read JS mirrors of shifts and scroll in onMeasure #327)onReceiveDragExitwithcancelled: trueon that receiver (it got onlyonReceiveSnapEnd) (fix(dispatch): fire onReceiveDragExit when a drag is cancelled over a receiver #318)+html.tsxnow renders server document head and body nodes, so the production demo loads again (fix(example): render Expo 58 server document nodes in +html so web demo loads #360)