Skip to content

Commit 72191a3

Browse files
Saadnajmihuntiecipolleschij-piaseckireact-native-bot
authored
chore(0.83): prepare stable 0.83.0 with React Native 0.83.10 (#3022)
<!-- release-stack-tracker:start --> ## Current release stack - Tracker: #3098 - Position: **2 of 17**. - Review base: `0.83-stable`. Retarget as predecessors land; stable releases retain separate stable branches. - Current source: the PR's Commits tab tracks the latest repaired branch head. RNM 0.83.0 with RN 0.83.10. Publish and verify before the next minor. ### Validation and backups The branch-specific repaired source passed hardened immutable installation, constraints, and its complete release-helper selection. The selected 18-head packet records **1,406 passing helper tests**. Exact source-tree equivalence is used for rewritten endpoints where applicable; the two changed linear RC checkpoints were tested separately. Native/API evidence retains its recorded scope. The SwiftPM and RNTester repairs have six focused native build passes. Public stable versions and runtime/API contents were preserved except for the independently reviewed SwiftPM destination repair where applicable. Public-registry lock correction passed all 18 hosted generation, hardened immutable, constraints, and metadata-audit jobs in [run 35769816507](https://github.com/Saadnajmi/react-native-macos/actions/runs/35769816507). Only equivalent executable-path spelling changes are permitted; dependency versions, checksums, and ranges are unchanged. The previous functional test results remain applicable to this metadata-only correction. Fresh GitHub CI and review remain required. Previous heads are preserved on the same repository under `backup/pre-ci-repair-20260922/<original-branch>` and `backup/pre-public-registry-20260922/<original-branch>`; local complete-history bundles were verified as well. The 0.87 PR sequence is one first-parent path: **#3037 → #3104 → #3105 → #3106 → #3100 → #3101 → #3107**. The redundant #3102/#3103 reviews are consolidated into #3105. This section supersedes earlier stack order, source identity, and validation-status notes below. <!-- release-stack-tracker:end --> --- ## Summary - sync the 0.83 stable line through React Native 0.83.10 - restore the RedBox 2.0 CoreModules files dropped during the stable merge resolution - preserve the existing AppKit RedBox V1 behavior from #3027 - backport the production RCTUIKit compatibility primitives and RedBox 2.0 AppKit consumer from #3054 This is the single 0.83 stable-line PR for both the upstream sync and the effective RedBox 2.0/AppKit backport. It supersedes #3027. ## Provenance The four additive commits are stacked on the previously reviewed #3022 head: 1. restore the extracted upstream RedBox 2.0 CoreModules files 2. apply the focused AppKit V1 adaptation 3. add the production RCTUIKit table/label/button primitives 4. add the RedBox 2.0 AppKit consumer The V1 adaptation is byte-identical to #3027. Every other changed implementation file is byte-identical to the reviewed #3054 production stack. Native RCTUITableView tests and their project wiring are intentionally excluded, matching the repository-owner review decision on #3056. ## Validation - RNTester macOS build passed (`EXIT=0`, `** BUILD SUCCEEDED **`) - all nine changed Objective-C/Objective-C++ implementations compiled - RNTester-macOS linked, validated, and produced the app bundle - zero compile or linker errors - build log SHA-256: `d7f6c18b7d570d06a79297c774e6343a92e178910374ea9ab5a99d8ac77aad4e` - immutable install, lint, format, and focused Jest passed - TypeScript failures are pre-existing in files untouched by this PR; generated TypeScript is not configured on this stable branch - RedBox 2.0 controller fork ratio remains the reviewed `842 / 144 / 16` total lines / fork lines / top-level macOS guards manual macOS RedBox 2.0 OFF/ON verification OUTSTANDING; do not undraft until performed The bounded manual attempt could not obtain a script URL in the DerivedData-built app even with Metro ready and serving the bundle, so no manual OFF or ON behavior item is claimed as passed. --------- Co-authored-by: Alex Hunt <hello@alexhunt.dev> Co-authored-by: Riccardo Cipolleschi <cipolleschi@meta.com> Co-authored-by: Jakub Piasecki <piaseckijakub@meta.com> Co-authored-by: Jakub Piasecki <jakub.piasecki@swmansion.com> Co-authored-by: React Native Bot <bot@reactnative.dev> Co-authored-by: Christian Falch <christian.falch@gmail.com> Co-authored-by: Alex Hunt <huntie@meta.com> Co-authored-by: Luna Wei <luwe@meta.com> Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Co-authored-by: Phil Pluckthun <phil@kitten.sh> Co-authored-by: Dawid Malecki <dawid.malecki21@gmail.com> Co-authored-by: Alex Hunt <hello@alexhunt.io> Co-authored-by: Fabrizio Cucci <fabriziocucci@meta.com> Co-authored-by: Nicola Corti <ncor@meta.com> Co-authored-by: Thibault Malbranche <thibault@brigad.co> Co-authored-by: Ismar Besic <46565776+ismarbesic@users.noreply.github.com> Co-authored-by: Ben Hamilton <benhamilton@terraformation.com> Co-authored-by: LeoTM <1881059+leotm@users.noreply.github.com> Co-authored-by: Alan Hughes <alan@expo.io> Co-authored-by: Moti Zilberman <moti@meta.com> Co-authored-by: Terry Kwon <kastopia@meta.com> Co-authored-by: Radek Czemerys <7029942+radko93@users.noreply.github.com> Co-authored-by: Rubén Norte <rubennorte@gmail.com> Co-authored-by: Pieter De Baets <pieterdb@meta.com> Co-authored-by: Ruslan Lesiutin <hoxy@meta.com> Co-authored-by: Isaac Israel <isaac.israel@hibob.io> Co-authored-by: Mark Smith <mcs@pearlcrescent.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 5db893a commit 72191a3

525 files changed

Lines changed: 27032 additions & 13640 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.ado/jobs/npm-publish.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
jobs:
22
- job: NPMPublish
33
displayName: NPM Publish
4+
# Also disable direct template consumers until ADO publication is re-enabled.
5+
condition: false
46
pool:
57
name: cxeiss-ubuntu-20-04-large
68
image: cxe-ubuntu-20-04-1es-pt
@@ -34,7 +36,7 @@ jobs:
3436
displayName: Install npm dependencies
3537
3638
- script: |
37-
node .ado/scripts/configure-publish.mts --verbose --skip-auth
39+
node .ado/scripts/configure-publish.mts --verbose
3840
displayName: Verify release config
3941
4042
# Disable Nightly publishing on the main branch
@@ -52,9 +54,11 @@ jobs:
5254
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))
5355
5456
- script: |
55-
node .ado/scripts/apply-additional-tags.mjs --tags "$(additionalTags)" --token "$(npmAuthToken)"
57+
node .ado/scripts/apply-additional-tags.mjs --tags "$(additionalTags)"
5658
displayName: Apply additional dist-tags
5759
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))
60+
env:
61+
NODE_AUTH_TOKEN: $(npmAuthToken)
5862
5963
- script: |
6064
yarn config unset npmPublishAccess || true

‎.ado/publish.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@ extends:
5151
stages:
5252
- stage: NPM
5353
dependsOn: []
54+
# GitHub Trusted Publishing owns releases. Retain the ADO publication
55+
# path for explicit re-enablement after its contract/auth are reviewed.
56+
condition: false
5457
jobs:
5558
- template: /.ado/jobs/npm-publish.yml@self

‎.ado/scripts/apply-additional-tags.mjs‎

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ import * as util from "node:util";
55

66
/**
77
* Apply additional dist-tags to published packages
8-
* Usage: node apply-additional-tags.mjs --tags <tags> --token <token>
8+
* Usage: node apply-additional-tags.mjs --tags <tags>
99
* node apply-additional-tags.mjs --tags <tags> --dry-run
1010
* Where tags is a comma-separated list of tags (e.g., "next,v0.79-stable")
11+
*
12+
* Auth token is read from the NODE_AUTH_TOKEN environment variable.
1113
*/
1214

1315
const registry = "https://registry.npmjs.org/";
@@ -19,7 +21,6 @@ const packages = [
1921
/**
2022
* @typedef {{
2123
* tags?: string;
22-
* token?: string;
2324
* "dry-run"?: boolean;
2425
* }} Options;
2526
*/
@@ -28,14 +29,18 @@ const packages = [
2829
* @param {Options} options
2930
* @returns {number}
3031
*/
31-
function main({ tags, token, "dry-run": dryRun }) {
32+
function main({ tags, "dry-run": dryRun }) {
3233
if (!tags) {
3334
console.log("No additional tags to apply");
3435
return 0;
3536
}
3637

38+
const token = process.env.NODE_AUTH_TOKEN;
39+
3740
if (!dryRun && !token) {
38-
console.error("Error: npm auth token is required (use --dry-run to preview)");
41+
console.error(
42+
"Error: NODE_AUTH_TOKEN is required (use --dry-run to preview)"
43+
);
3944
return 1;
4045
}
4146

@@ -58,17 +63,10 @@ function main({ tags, token, "dry-run": dryRun }) {
5863
for (const tag of tags.split(",")) {
5964
for (const pkg of packages) {
6065
console.log(`Adding dist-tag '${tag}' to ${pkg}@${version}`);
66+
6167
const result = spawnSync(
6268
"npm",
63-
[
64-
"dist-tag",
65-
"add",
66-
`${pkg}@${version}`,
67-
tag,
68-
"--registry",
69-
registry,
70-
`--//registry.npmjs.org/:_authToken=${token}`,
71-
],
69+
["dist-tag", "add", `${pkg}@${version}`, tag, "--registry", registry],
7270
{ stdio: "inherit", shell: true }
7371
);
7472

@@ -88,9 +86,6 @@ const { values } = util.parseArgs({
8886
tags: {
8987
type: "string",
9088
},
91-
token: {
92-
type: "string",
93-
},
9489
"dry-run": {
9590
type: "boolean",
9691
default: false,

0 commit comments

Comments
 (0)