Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
07c454b
OSS CI: skip bundle size reporting for *-stable branches
fkgozali Oct 16, 2021
e18cf90
[0.67.0-rc.0] Bump version numbers
Oct 16, 2021
0073171
OSS CI: Store bundle size info for release branch as well (#32418)
fkgozali Oct 18, 2021
8c2a667
iOS Ruby Updates (#32456)
barbieri Oct 21, 2021
f6895e9
[0.67.0-rc.1] Bump version numbers
Oct 22, 2021
abe9633
Load jsc or hermes lib in static method (#30749)
iqqmuT Oct 21, 2021
eede05c
Add back Xcode_12_5_M1_post_install_workaround
Oct 25, 2021
a7d3ffe
[0.67.0-rc.2] Bump version numbers
Oct 25, 2021
218b9cd
[LOCAL] reintroduce generated codegen files
kelset Aug 11, 2021
2726b89
Extract version parsing from release script
Nov 5, 2021
20918b9
Clean up publish-npm.js and use parseVersion
Nov 5, 2021
0eadbe7
Fix npm latest tag issue when releasing patches (#32543)
Nov 5, 2021
6db77b6
Fix formatting on version-utils-test
Nov 5, 2021
f7a23a5
Revert changes in RN preprocessor
rubennorte Nov 9, 2021
4ad177e
RN: Rename `Keyboard.remove{Event =>}Listener`
yungsters Nov 9, 2021
209bb94
[0.67.0-rc.3] Bump version numbers
Nov 10, 2021
636f4c7
Revert "Quote --sourcemap-output argument during ios build (#31587)"
Nov 30, 2021
5f07417
Revert "Fix Deadlock in RCTi18nUtil (iOS) (#31032)" (#32574)
Saadnajmi Nov 15, 2021
0150836
Bump package version for Hermes on Android
neildhar Nov 16, 2021
02cc3d3
Bump package version for Hermes on iOS
neildhar Nov 30, 2021
cd8fa9d
[0.67.0-rc.4] Bump version numbers
Nov 30, 2021
16a16cf
Revert "Bump package version for Hermes on Android"
Dec 6, 2021
a510c27
Revert "Bump package version for Hermes on iOS"
Dec 6, 2021
87592fb
Fix post_install_workaround downgrading development targets (#32633)
Yonom Nov 30, 2021
9faa42e
Add getNextVersionFromTags
Dec 1, 2021
c37a83e
Extract release agnostic logic in bump-oss-version to set-rn-version
Dec 1, 2021
1de642a
Extract logic from bump-oss-version specific to prod releases
Dec 1, 2021
43eaf3c
Update CircleCI to auto-deploy release branch on push
Dec 1, 2021
1c73abb
isTaggedVersion checks if the commit has a version tag on it
Dec 3, 2021
f269c2d
Fix workflow for automating version bumps
Dec 3, 2021
73afb97
[0.67.0-rc.5] Bump version numbers
Dec 6, 2021
22e4c8e
Fix error when pod has no IPHONEOS_DEPLOYMENT_TARGET (#32746)
Yonom Dec 14, 2021
c3aa86b
[0.67.0-rc.6] Bump version numbers
Dec 14, 2021
6fc004e
Use tag to set publish version (#32757)
Dec 18, 2021
e7296d6
Remove usages of bump-oss-version from generated scripts
Dec 18, 2021
a59141f
Update comments in publish-npm and leverage isTaggedLatest
Dec 18, 2021
842aac5
Update bump-oss-version.js to guide releaser through release actions …
Dec 18, 2021
900af2b
TODO dummy commit
Jan 18, 2022
857dbd9
[0.67.0] Bump version numbers
Jan 18, 2022
218b4c1
fix(iOS): remove alert's window when call to `hide`. (#32833)
asafkorem Jan 19, 2022
96ad60e
Do not remove libjscexecutor.so from release builds (#32932)
cortinico Jan 20, 2022
25f3d31
[0.67.1] Bump version numbers
Jan 20, 2022
5590fd7
fix: find-node.sh now respects .nvmrc (#32712)
igrayson Dec 6, 2021
983f0be
fix(ios): fix `Time.h` patch not being applied (#32961)
tido64 Jan 24, 2022
d942487
Use CircleCI API to trigger releases (#32937)
Jan 24, 2022
ac810c0
fix(jest/setup): fix circular dependencies in mockModal (#32964)
Jan 27, 2022
e896d21
Android: upgrading OkHttp from 4.9.1 to 4.9.2 to fix CVE-2021-0341 (#…
owjsub Jan 27, 2022
3a67c27
Android: Fix crash when WindowInsets is null on ReactRootView (#32989)
enahum Jan 31, 2022
da420c9
[0.67.2] Bump version numbers
Jan 31, 2022
a47f2fc
fixed android missing webview package exception as the current logic …
Feb 3, 2022
fac0bdf
made catch block less generic
Feb 3, 2022
bb8b211
made check less generic
Feb 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 59 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,25 @@ jobs:
# -------------------------
# JOBS: Releases
# -------------------------
prepare_package_for_release:
parameters:
version:
type: string
latest:
type: boolean
default: false
executor: reactnativeios
steps:
- checkout
- run_yarn
- add_ssh_keys:
fingerprints:
- "1c:98:e0:3a:52:79:95:29:12:cd:b4:87:5b:41:e2:bb"
- run:
name: "Set new react-native version and commit changes"
command: |
node ./scripts/prepare-package-for-release.js -v << parameters.version >> -l << parameters.latest >>

build_npm_package:
parameters:
publish_npm_args:
Expand Down Expand Up @@ -774,13 +793,35 @@ jobs:
command: |
echo "Nightly build run"


# -------------------------
# PIPELINE PARAMETERS
# -------------------------
parameters:
run_package_release_workflow_only:
default: false
type: boolean

release_latest:
default: false
type: boolean

release_version:
default: "9999"
type: string

# -------------------------
# WORK FLOWS
#
# When creating a new workflow, make sure to include condition `unless: << pipeline.parameters.run_package_release_workflow_only >>`
# It's setup this way so we can trigger a release via a POST
# See limitations: https://support.circleci.com/hc/en-us/articles/360050351292-How-to-trigger-a-workflow-via-CircleCI-API-v2
# -------------------------
workflows:
version: 2

tests:
unless: << pipeline.parameters.run_package_release_workflow_only >>
jobs:
- test_js:
run_disabled_tests: false
Expand Down Expand Up @@ -841,11 +882,26 @@ workflows:
ignore: gh-pages
run_disabled_tests: false

releases:
# This workflow should only be triggered by release script
package_release:
when: << pipeline.parameters.run_package_release_workflow_only >>
jobs:
# This job will trigger publish_release workflow
- prepare_package_for_release:
name: prepare_package_for_release
version: << pipeline.parameters.release_version >>
latest : << pipeline.parameters.release_latest >>

publish_release:
unless: << pipeline.parameters.run_package_release_workflow_only >>
jobs:
# This job will trigger when a version tag is pushed (by package_release)
- build_npm_package:
name: build_and_publish_npm_package
publish_npm_args: --release
# CircleCI filters are OR-ed, with all branches triggering by default and tags excluded by default
# CircleCI env-vars are only set with the branch OR tag that triggered the job, not both.
# In this case, CIRCLE_BRANCH is unset, but CIRCLE_TAG is set
filters:
# Both of the following conditions must be included!
# Ignore any commit on any branch by default.
Expand All @@ -867,6 +923,7 @@ workflows:
ignore: /v[0-9]+(\.[0-9]+)*(\-rc(\.[0-9]+)?)?/

analysis:
unless: << pipeline.parameters.run_package_release_workflow_only >>
jobs:
# Run lints on every commit other than those to the gh-pages branch
- analyze_code:
Expand All @@ -887,6 +944,7 @@ workflows:
ignore: gh-pages

nightly:
unless: << pipeline.parameters.run_package_release_workflow_only >>
triggers:
- schedule:
cron: "0 20 * * *"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ package-lock.json
!/packages/rn-tester/Pods/__offline_mirrors__

# react-native-codegen
/React/FBReactNativeSpec/FBReactNativeSpec
/packages/react-native-codegen/lib
/ReactCommon/react/renderer/components/rncore/
/packages/rn-tester/NativeModuleExample/ScreenshotManagerSpec*
Expand Down
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.4)
CFPropertyList (3.0.5)
rexml
activesupport (6.1.4.1)
activesupport (6.1.4.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -15,7 +15,7 @@ GEM
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
claide (1.0.3)
claide (1.1.0)
cocoapods (1.11.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
Expand Down Expand Up @@ -56,17 +56,17 @@ GEM
colored2 (3.1.2)
concurrent-ruby (1.1.9)
escape (0.0.4)
ethon (0.14.0)
ethon (0.15.0)
ffi (>= 1.15.0)
ffi (1.15.4)
ffi (1.15.5)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.8.10)
i18n (1.9.1)
concurrent-ruby (~> 1.0)
json (2.5.1)
minitest (5.14.4)
json (2.6.1)
minitest (5.15.0)
molinillo (0.8.0)
nanaimo (0.3.0)
nap (1.1.0)
Expand All @@ -85,7 +85,7 @@ GEM
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
zeitwerk (2.4.2)
zeitwerk (2.5.4)

PLATFORMS
ruby
Expand All @@ -97,4 +97,4 @@ RUBY VERSION
ruby 2.7.4p191

BUNDLED WITH
2.2.28
2.2.27
4 changes: 2 additions & 2 deletions Libraries/Components/Keyboard/Keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ class Keyboard {
}

/**
* @deprecated Use `remove` on the EventSubscription from `addEventListener`.
* @deprecated Use `remove` on the EventSubscription from `addListener`.
*/
removeEventListener<K: $Keys<KeyboardEventDefinitions>>(
removeListener<K: $Keys<KeyboardEventDefinitions>>(
eventType: K,
listener: (...$ElementType<KeyboardEventDefinitions, K>) => mixed,
): void {
Expand Down
12 changes: 6 additions & 6 deletions Libraries/Components/ScrollView/__tests__/ScrollView-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

'use strict';

import * as React from 'react';
import ScrollView from '../ScrollView';
import * as ReactNativeTestTools from '../../../Utilities/ReactNativeTestTools';
import ReactTestRenderer from 'react-test-renderer';
import View from '../../View/View';
import Text from '../../../Text/Text';
const React = require('react');
const ScrollView = require('../ScrollView');
const ReactNativeTestTools = require('../../../Utilities/ReactNativeTestTools');
const ReactTestRenderer = require('react-test-renderer');
const View = require('../../View/View');
const Text = require('../../../Text/Text');

describe('<ScrollView />', () => {
it('should render as expected', () => {
Expand Down
8 changes: 4 additions & 4 deletions Libraries/Core/ReactNativeVersion.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/**
* @generated by scripts/set-rn-version.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @generated by scripts/bump-oss-version.js
* @flow strict
*/

exports.version = {
major: 0,
minor: 0,
patch: 0,
minor: 67,
patch: 2,
prerelease: null,
};
13 changes: 7 additions & 6 deletions Libraries/Pressability/__tests__/Pressability-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
*/

import type {PressEvent} from '../../Types/CoreEventTypes';
import * as HoverState from '../HoverState';
import Pressability from '../Pressability';
import invariant from 'invariant';
import nullthrows from 'nullthrows';
import Platform from '../../Utilities/Platform';
import UIManager from '../../ReactNative/UIManager';

const HoverState = require('../HoverState');
const Pressability = require('../Pressability').default;
const invariant = require('invariant');
const nullthrows = require('nullthrows');
const Platform = require('../../Utilities/Platform');
const UIManager = require('../../ReactNative/UIManager');

// TODO: Move this util to a shared location.
function getMock<TArguments: $ReadOnlyArray<mixed>, TReturn>(
Expand Down
12 changes: 6 additions & 6 deletions React/Base/RCTVersion.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @generated by scripts/bump-oss-version.js
* @generated by scripts/set-rn-version.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
Expand All @@ -21,11 +21,11 @@
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^(void){
__rnVersion = @{
RCTVersionMajor: @(0),
RCTVersionMinor: @(0),
RCTVersionPatch: @(0),
RCTVersionPrerelease: [NSNull null],
};
RCTVersionMajor: @(0),
RCTVersionMinor: @(67),
RCTVersionPatch: @(2),
RCTVersionPrerelease: [NSNull null],
};
});
return __rnVersion;
}
6 changes: 6 additions & 0 deletions React/CoreModules/RCTAlertController.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ - (void)show:(BOOL)animated completion:(void (^)(void))completion

- (void)hide
{
[_alertWindow setHidden:YES];

if (@available(iOS 13, *)) {
_alertWindow.windowScene = nil;
}

_alertWindow = nil;
}

Expand Down
Loading