Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diff between wp-fork branch and main repo's default branch #3

Draft
wants to merge 105 commits into
base: trunk-2.9.1
Choose a base branch
from

Commits on May 22, 2020

  1. Release 1.9.0

    jakub-gonet committed May 22, 2020
    Configuration menu
    Copy the full SHA
    7e621e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. add jitpack setup

    dratwas committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    0d88e03 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

  1. Configuration menu
    Copy the full SHA
    ed48f51 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. Configuration menu
    Copy the full SHA
    fff585a View commit details
    Browse the repository at this point in the history
  2. Bump RN binary to 0.64.0

    hypest committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    047ae60 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    2811e99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54ec21e View commit details
    Browse the repository at this point in the history
  3. Add -wp to version number

    ceyhun committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    1e482d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

  1. Upgrade Gradle to 7.1.1

    oguzkocer committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    e1072f2 View commit details
    Browse the repository at this point in the history
  2. Use plugin DSL

    oguzkocer committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    743da1b View commit details
    Browse the repository at this point in the history
  3. Simplify android extension

    oguzkocer committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    2af50a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a827f5 View commit details
    Browse the repository at this point in the history
  5. Update gradle.properties

    oguzkocer committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    2b720c4 View commit details
    Browse the repository at this point in the history
  6. Adds maven-publish plugin

    oguzkocer committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    4006af9 View commit details
    Browse the repository at this point in the history
  7. Remove jitpack.yml

    oguzkocer committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    5cfc32c View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. Merge pull request #4 from wordpress-mobile/upgrade-to-gradle-7.1.1

    Upgrade to gradle 7.1.1
    oguzkocer authored Aug 16, 2021
    Configuration menu
    Copy the full SHA
    4f4aa06 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2021

  1. Configuration menu
    Copy the full SHA
    43df945 View commit details
    Browse the repository at this point in the history
  2. Gradle update

    piaskowyk committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    1334c80 View commit details
    Browse the repository at this point in the history
  3. Update iOS init

    piaskowyk committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    c3bf525 View commit details
    Browse the repository at this point in the history
  4. Update cmake

    piaskowyk committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    206c77c View commit details
    Browse the repository at this point in the history
  5. Add maven repo

    piaskowyk committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    4f4e01e View commit details
    Browse the repository at this point in the history
  6. Add maven repo v2

    piaskowyk committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    023b341 View commit details
    Browse the repository at this point in the history
  7. Add gradle from master

    piaskowyk committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    a34868d View commit details
    Browse the repository at this point in the history
  8. Update package.json

    piaskowyk committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    866b76f View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Changes for new Hermes

    piaskowyk committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    1848b3b View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2021

  1. Configuration menu
    Copy the full SHA
    520f624 View commit details
    Browse the repository at this point in the history
  2. change to unque ptr

    piaskowyk committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    ccb8ab6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed2c575 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Removed pickFirst

    piaskowyk committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    560064d View commit details
    Browse the repository at this point in the history
  2. Update packae.json

    piaskowyk committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    c8d0a99 View commit details
    Browse the repository at this point in the history
  3. Update package.json

    piaskowyk committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    363d56e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa6f837 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Configuration menu
    Copy the full SHA
    12101be View commit details
    Browse the repository at this point in the history
  2. Add tarball file

    ceyhun committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    9707403 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Merge pull request #5 from wordpress-mobile/try/tarball

    Add tarball
    fluiddot authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    1e8662d View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Support for RN66

    piaskowyk committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    8a947ce View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. Release 2.2.4

    piaskowyk committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    d4026e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    902aba8 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Update to RN 0.66.2

    Routine RN package upgrade.
    dcalhoun committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    d9db520 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. Bump version

    dcalhoun committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    90fe108 View commit details
    Browse the repository at this point in the history
  2. Generate new tarball

    dcalhoun committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    22b84a2 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. Merge pull request #6 from wordpress-mobile/chore/upgrade-to-react-na…

    …tive-0.66
    
    Update to RN 0.66.2
    dcalhoun authored Nov 30, 2021
    Configuration menu
    Copy the full SHA
    e8ac7f2 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. Configuration menu
    Copy the full SHA
    c6458c7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from wordpress-mobile/update/ci-branch

    Update CI branch from master to trunk
    AliSoftware authored Dec 3, 2021
    Configuration menu
    Copy the full SHA
    c3fee6b View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Merge branch 'upstream-2.2.4' into wp-fork-2.2.4

    # Conflicts:
    #	android/build.gradle
    #	package.json
    fluiddot committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    64bb89f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11233e4 View commit details
    Browse the repository at this point in the history
  3. Generate tarball

    fluiddot committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    bd880dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2a8fca6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c998a4 View commit details
    Browse the repository at this point in the history
  6. Generate tarball

    fluiddot committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    b675a7e View commit details
    Browse the repository at this point in the history
  7. Update yarn.lock

    fluiddot committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    a72b2d6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    984cc98 View commit details
    Browse the repository at this point in the history
  9. Simplify android-npm build configuration

    The original configuration tries to fetch the RN version of the app and find a matching AAR. In our case, since we control the RN version, we can simplify the configuration by providing a single and specific RN version.
    fluiddot committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    49114ff View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    039e3c8 View commit details
    Browse the repository at this point in the history
  11. Generate tarball

    fluiddot committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    5326984 View commit details
    Browse the repository at this point in the history
  12. Remove maven-publish project

    fluiddot committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    0e90c7a View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Configuration menu
    Copy the full SHA
    6f4e0a4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #10 from wordpress-mobile/upstream-2.2.4

    Update `trunk` with upstream version `2.2.4`
    fluiddot authored Feb 28, 2022
    Configuration menu
    Copy the full SHA
    06051c0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #11 from wordpress-mobile/wp-fork-2.2.4

    Update wp-fork to version `2.2.4`
    fluiddot authored Feb 28, 2022
    Configuration menu
    Copy the full SHA
    2c4242f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1cd9fd View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Merge branch 'upstream-2.4.1' into update-version-2.4.1

    # Conflicts:
    #	.github/workflows/main.yml
    #	Common/cpp/Tools/JSIStoreValueUser.cpp
    #	Common/cpp/headers/Tools/JSIStoreValueUser.h
    #	Example/android/app/src/main/java/com/swmansion/reanimated/example/MainApplication.java
    #	Example/android/build.gradle
    #	Example/android/gradle.properties
    #	Example/android/gradle/wrapper/gradle-wrapper.properties
    #	Example/android/settings.gradle
    #	Example/ios/Podfile.lock
    #	Example/package.json
    #	Example/yarn.lock
    #	RNReanimated.podspec
    #	android-npm/build.gradle
    #	android/build.gradle
    #	android/gradle/wrapper/gradle-wrapper.jar
    #	android/gradle/wrapper/gradle-wrapper.properties
    #	android/gradlew
    #	android/gradlew.bat
    #	createNPMPackage.sh
    #	ios/native/NativeProxy.mm
    #	ios/native/REAInitializer.h
    #	ios/native/REAInitializer.mm
    #	ios/native/UIResponder+Reanimated.mm
    #	package.json
    #	src/reanimated2/js-reanimated/index.web.ts
    #	yarn.lock
    fluiddot committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    d8af169 View commit details
    Browse the repository at this point in the history
  2. Fix merge conflicts

    fluiddot committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    e3cffea View commit details
    Browse the repository at this point in the history
  3. Add reactInstanceManager getter (software-mansion#2863)

    ## Description
    This PR adds a getter for `ReactInstanceManager`. The motivation for this PR is to fix issues software-mansion#2719 and software-mansion#2801
    
    Those Android apps whose application class does not implement `ReactApplication` or simply have a different mechanism for storing a `ReactInstanceManager`, currently they have an incompatibility with `react-native-reanimated` ending in a crash when launching the app, as the issues indicates.
    Normally, those apps are where [React Native is integrated with existing Android apps](https://reactnative.dev/docs/integration-with-existing-apps)
    
    So, introducing this getter allows us to override this getter and implement a custom way to return the `ReactInstanceManager` to be used by `react-native-reanimated`.
    
    <!--
    Description and motivation for this PR.
    
    Inlude Fixes #<number> if this is fixing some issue.
    
    Fixes # .
    -->
    
    ## Changes
    - Added `getReactInstanceManager` method for android.
    <!--
    Please describe things you've changed here, make a **high level** overview, if change is simple you can omit this section.
    
    For example:
    
    - Added `foo` method which add bouncing animation
    - Updated `about.md` docs
    - Added caching in CI builds
    
    -->
    
    <!--
    
    ## Screenshots / GIFs
    
    Here you can add screenshots / GIFs documenting your change.
    
    You can add before / after section if you're changing some behavior.
    
    ### Before
    
    ### After
    
    -->
    
    ## Test code and steps to reproduce
    This is an example of how to use and override this getter. It is necessary to manually link `react-native-reanimated` before to be able to do it.
    ```java
    
    public class MainActivity extends Activity implements DefaultHardwareBackBtnHandler {
    
        private static ReactInstanceManager mReactInstanceManager;
        ...
    
        @OverRide
        protected void onCreate(Bundle savedInstanceState) {
           ...
            List<ReactPackage> packages = new PackageList(getApplication()).getPackages();
    
            // Adding manually Reanimated package here, with overriding getReactInstanceManager method
             packages.add(new ReanimatedPackage() {
                @OverRide
                public ReactInstanceManager getReactInstanceManager(ReactApplicationContext reactContext) {
                   // Implement here your way to get the ReactInstanceManager
                   return MainActivity.getReactInstanceManager();
                }
             });
    
            mReactInstanceManager = ReactInstanceManager.builder()
                    .setApplication(getApplication())
                    .setCurrentActivity(this)
                    .setBundleAssetName("index.android.bundle")
                    .setJSMainModulePath("index")
                    .setJSIModulesPackage(new ReanimatedJSIModulePackage()) // Adding ReanimatedJSIModulePackage here
                    .addPackages(packages)
                    .setUseDeveloperSupport(BuildConfig.DEBUG)
                    .setInitialLifecycleState(LifecycleState.RESUMED)
                    .build();
           
            ...
        }
    ...
    }
    ```
    <!--
    Please include code that can be used to test this change and short description how this example should work.
    This snippet should be as minimal as possible and ready to be pasted into editor (don't exclude exports or remove "not important" parts of reproduction example)
    -->
    
    ## Checklist
    
    - [x] Included code example that can be used to test this change
    - [ ] Updated TS types
    - [ ] Added TS types tests
    - [ ] Added unit / integration tests
    - [ ] Updated documentation
    - [ ] Ensured that CI passes
    wfolini authored and fluiddot committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    c9eaeb6 View commit details
    Browse the repository at this point in the history
  4. Update yarn.lock

    fluiddot committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    3038a45 View commit details
    Browse the repository at this point in the history
  5. Generate AAR file

    fluiddot committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    5d6e245 View commit details
    Browse the repository at this point in the history
  6. Generate tarball

    fluiddot committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    d12d210 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Merge pull request #13 from wordpress-mobile/update-version-2.4.1

    Update `wp-fork` to version `2.4.1`
    fluiddot authored Mar 15, 2022
    Configuration menu
    Copy the full SHA
    bc9354d View commit details
    Browse the repository at this point in the history
  2. Merge branch 'trunk' into upstream-2.4.1

    # Conflicts:
    #	.github/workflows/main.yml
    #	Common/cpp/Tools/JSIStoreValueUser.cpp
    #	Common/cpp/headers/Tools/JSIStoreValueUser.h
    #	Example/android/app/src/main/java/com/swmansion/reanimated/example/MainApplication.java
    #	Example/android/build.gradle
    #	Example/android/gradle.properties
    #	Example/android/gradle/wrapper/gradle-wrapper.properties
    #	Example/android/settings.gradle
    #	Example/ios/Podfile.lock
    #	Example/package.json
    #	Example/yarn.lock
    #	RNReanimated.podspec
    #	android-npm/build.gradle
    #	android/build.gradle
    #	createNPMPackage.sh
    #	ios/native/NativeProxy.mm
    #	ios/native/REAInitializer.h
    #	ios/native/REAInitializer.mm
    #	ios/native/UIResponder+Reanimated.mm
    #	package.json
    #	src/reanimated2/js-reanimated/index.web.ts
    #	yarn.lock
    fluiddot committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    2f34f2b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #12 from wordpress-mobile/upstream-2.4.1

    Update `trunk` with upstream version `2.4.1`
    fluiddot authored Mar 15, 2022
    Configuration menu
    Copy the full SHA
    56b511a View commit details
    Browse the repository at this point in the history
  4. Merge branch 'trunk' into wp-fork

    # Conflicts:
    #	RNReanimated.podspec
    #	android-npm/build.gradle
    #	android/build.gradle
    #	createNPMPackage.sh
    #	package.json
    #	yarn.lock
    fluiddot committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    f575b73 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. fix: android layout reanimation null pointer exception (2959) (softwa…

    …re-mansion#3162)
    
    ## Description
    ReactApplicationContext.getCurentContext sometimes return null. This causes a crash (NullPointerException) in reanimated due to not checking if context exists. As per react native's examples, we can only measure device metrics when current activity is not null (https://github.com/facebook/react-native/blob/8bd3edec88148d0ab1f225d2119435681fbbba33/ReactCommon/react/nativemodule/samples/platform/android/SampleTurboModule.java#L56)
    
    Fixes software-mansion#2959.
    
    ## Changes
    
    Check if current activity is not null before measuring the device.
    jacobarvidsson authored and fluiddot committed May 3, 2022
    Configuration menu
    Copy the full SHA
    6f900e0 View commit details
    Browse the repository at this point in the history
  2. Update aar

    fluiddot committed May 3, 2022
    Configuration menu
    Copy the full SHA
    22ef6a0 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Bump version to wp-2

    fluiddot committed May 4, 2022
    Configuration menu
    Copy the full SHA
    998fbb6 View commit details
    Browse the repository at this point in the history
  2. Update tarball

    fluiddot committed May 4, 2022
    Configuration menu
    Copy the full SHA
    9e63336 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15 from wordpress-mobile/fix-android-layout-reani…

    …mation-crash
    
    Fix crash related to Android layout reanimation due to `NullPointerException`
    fluiddot authored May 4, 2022
    Configuration menu
    Copy the full SHA
    e83e1f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. Invalidate display link instead of pausing it when invalidating the n…

    …odes manager
    
    Pausing the display link on invalidation will still make it call the onAnimationFrame selector one more time as its already schedule. When this happens animation blocks will be called and crash while accessing the jsi runtime thats already dealloced.
    Gerardo committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    ba1cf8e View commit details
    Browse the repository at this point in the history
  2. Bump package version

    fluiddot committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    4f771ab View commit details
    Browse the repository at this point in the history
  3. Generate tarball

    fluiddot committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    f3a68eb View commit details
    Browse the repository at this point in the history
  4. Merge pull request #16 from wordpress-mobile/fix/invalidation-display…

    …-link
    
    Invalidate display link instead of pausing it when invalidating the nodes manager
    fluiddot authored Jun 1, 2022
    Configuration menu
    Copy the full SHA
    0f902a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. Merge branch 'upstream-2.9.1' into wp-fork-2.9.1

    # Conflicts:
    #	RNReanimated.podspec
    #	android-npm/build.gradle
    #	android/build.gradle
    #	android/gradle.properties
    #	createNPMPackage.sh
    #	package.json
    #	yarn.lock
    Gerardo committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    f192704 View commit details
    Browse the repository at this point in the history
  2. Add React Native Reanimated 0.69 hermes binary

    Gerardo committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    1eebd5b View commit details
    Browse the repository at this point in the history
  3. Generate tarball

    Gerardo committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    c9175c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Update tarball

    Gerardo committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    8e4b343 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Configuration menu
    Copy the full SHA
    97a359d View commit details
    Browse the repository at this point in the history
  2. Bump version to wp-4

    fluiddot committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    7b1512b View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. Remove previous version tarball

    Gerardo committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    2193fe1 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Merge pull request #18 from wordpress-mobile/wp-fork-2.9.1

    Update wp-fork to version `2.9.1`
    Gerardo Pacheco authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    edab86e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #17 from wordpress-mobile/upstream-2.9.1

    Update `trunk` with upstream version `2.9.1`
    Gerardo Pacheco authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    c1e7a1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    353392d View commit details
    Browse the repository at this point in the history
  4. Update tarball

    Gerardo committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    8f6aa5a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #20 from wordpress-mobile/wp-fork-2.9.1-update-tar…

    …ball
    
    Update tarball for `2.9.1`
    Gerardo Pacheco authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    7cc8603 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Merge pull request #19 from wordpress-mobile/update/android-12

    Upgrade compile and target sdk version to Android API 31
    fluiddot authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    4810d26 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Merge branch 'wp-fork' into update-android-12-wp-fork

    # Conflicts:
    #	android-npm/expo/linking.gradle
    #	android/build.gradle
    #	package.json
    #	react-native-reanimated-2.4.1-wp-4.tgz
    fluiddot committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    3c1f3fc View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Updates createNPMPackage.sh to fix an issue after merge, it removes u…

    …nneeded code comparing the changes from the original repo's file in 2.9.1.
    Gerardo committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    ca442f7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22 from wordpress-mobile/fix/create-npm-package

    Updates createNPMPackage.sh to fix an issue after merge
    fluiddot authored Oct 18, 2022
    Configuration menu
    Copy the full SHA
    98d9719 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13348e1 View commit details
    Browse the repository at this point in the history
  4. Bump version to wp-2

    fluiddot committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    dfc2668 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #21 from wordpress-mobile/update-android-12-wp-fork

    Upgrade compile and target sdk version to Android API 31 (version 2.9.1)
    fluiddot authored Oct 18, 2022
    Configuration menu
    Copy the full SHA
    2a8952c View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Fix Jest 28+ expect.extend is not a function error (software-mansio…

    …n#3559)
    
    Reanimated is not fully compatible with Jest 28+ even after the PR software-mansion#3347. Using it with Jest 28+ leads to this error:
    
    <img width="796" alt="Ekran Resmi 2022-09-10 15 00 33" src="https://user-images.githubusercontent.com/22980987/189482337-cc2655f6-9463-4a05-9998-5fc3592f5cc0.png">
    
    The reason is, the "expect" module's export approach has changed starting from Jest 28. It used to export the `expect` function directly, as can be seen [here](https://github.com/facebook/jest/blob/v27.5.1/packages/expect/src/index.ts#L441).
    
    This means, requiring the "expect" module like this
    
    ```ts
    const expect = require('expect')
    ```
    
    was providing direct access to the `expect` function alongside with its attached methods, like `extend`.
    
    This has [changed with Jest 28](https://github.com/facebook/jest/blob/v28.0.0/packages/expect/src/index.ts#L449). `export default expect` is the new export statement, which means requiring the "expect" package returns the module object, instead of the function.
    
    software-mansion#3347 PR attempts to fix this error by assuming "expect" package should throw an error with Jest 28 and it can catch that and require the "expect" from the `@jest/globals` package for Jest 28+ project but it's not the case in reality. "expect" package is still shipped with Jest 28, so, requiring it doesn't throw an error as expected in the PR.
    
    By knowing the export difference, I checked if the value of the module is object or not after requiring it. If it's an object, it means user is on Jest 28+ codebase. The rest is the same with the previous PR. I require the "expect" function from `@jest/globals` and use it.
    
    Tested on Jest 29 and Jest 27.5.1
    
    Fixes software-mansion#3553 and software-mansion#3215.
    yusufyildirim authored and Gerardo committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    d0009ba View commit details
    Browse the repository at this point in the history
  2. Bump version to 2.9.1-wp-3

    Gerardo committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    455061b View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Merge pull request #23 from wordpress-mobile/wp-fork-add-jest-28-support

    Add support for Jest 28+
    Gerardo Pacheco authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    d1e7674 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. Configuration menu
    Copy the full SHA
    f72ca56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6984fe2 View commit details
    Browse the repository at this point in the history
  3. Bump version to wp-5

    fluiddot committed May 18, 2023
    Configuration menu
    Copy the full SHA
    7c6ac39 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Merge pull request #24 from wordpress-mobile/update/android-13

    Upgrade compile and target sdk version to Android API 33
    fluiddot authored May 22, 2023
    Configuration menu
    Copy the full SHA
    e328656 View commit details
    Browse the repository at this point in the history