Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: callstack/react-native-builder-bob
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: react-native-builder-bob@0.40.6
Choose a base ref
...
head repository: callstack/react-native-builder-bob
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: react-native-builder-bob@0.40.7
Choose a head ref
  • 19 commits
  • 68 files changed
  • 5 contributors

Commits on Apr 11, 2025

  1. docs: correct flow homepage url (#814)

    <!-- Please provide enough information so that others can review your
    pull request. -->
    <!-- Keep pull requests small and focused on a single change. -->
    
    ### Summary
    
    Flow links to TypeScript homepage.
    
    ### Test plan
    
    <!-- List the steps with which we can test this change. Provide
    screenshots if this changes anything visual. -->
    finalchild authored Apr 11, 2025
    Configuration menu
    Copy the full SHA
    688e53f View commit details
    Browse the repository at this point in the history
  2. refactor: drop old arch and cpp templates (#818)

    ## Summarry
    
    The large number of templates makes it difficult to maintain and test.
    so this reduces the number of templates:
    
    - Drop old architecture templates - users can use codegen or older
    version of crnl
    - Drop cpp templates - our cpp template isn't a pure cpp template, we
    should eventually have it
    
    ## Test plan
    
    Tested building each template: turbo module, fabric view, nitro module
    and ran the example app for Android & iOS to verify it works.
    
    - Nitro fails locally on iOS due to this
    mrousavy/nitro#422, so had to force the iOS
    version to make it work
    - Turbo module works fine locally on iOS but fails on CI
    
    Both of them seem related to XCode 16 and not this change.
    satya164 authored Apr 11, 2025
    Configuration menu
    Copy the full SHA
    1706d80 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2025

  1. Configuration menu
    Copy the full SHA
    bc1b53e View commit details
    Browse the repository at this point in the history
  2. refactor: drop code for old react native versions

    we don't need them for new architecture since new architecture is not supported in those versions.
    satya164 committed Apr 13, 2025
    Configuration menu
    Copy the full SHA
    7dc0af2 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2025

  1. fix: use react native babel config for node_modules (#823)

    This uses the react native babel preset for compiling `node_modules` -
    mainly useful for tests, so that syntaxes such as Flow are handled.
    
    Related to ##747
    satya164 authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    a260218 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2025

  1. fix: migrate to babel-plugin-syntax-hermes-parser (#822)

    ### Summary
    
    Fixes compatibility of `react-native-builder-bob/babel-preset` with
    React Native versions `>= 0.76.0` — likely broken today, without user
    config modifications.
    
    - `@babel/preset-flow` is
    [discontinued](babel/babel#16264). The Flow
    language has since evolved (e.g. `as` syntax) and newer `react-native`
    versions can no longer be parsed.
    - This is succeeded by
    [babel-plugin-syntax-hermes-parser](https://github.com/facebook/hermes/tree/main/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser).
    
    Context:
    
    - facebook/react-native#50683 (comment)
    
    Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com>
    huntie and satya164 authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    a797db3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    243d862 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2025

  1. fix: fix typo in podspec

    satya164 committed Apr 17, 2025
    Configuration menu
    Copy the full SHA
    8ed72ef View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2025

  1. fix: install nitro modules dependency automatically for local modules (

    …#828)
    
    ### Summary
    
    - `create-react-native-library` will install
    `react-native-nitro-modules` automatically for local libraries.
    
    ### Test plan
    
    1. Create a new RN app
    2. Build the bob repo
    3. Link `create-react-native-library` to your RN app
    4. Run `create-react-native-library` in the app
    5. Answer yes when you're asked if you want to create a native module
    6. Select `Nitro Modules`
    7. Make sure `react-native-nitro-modules` is added to your app's
    dependencies.
    atlj authored Apr 25, 2025
    Configuration menu
    Copy the full SHA
    9ffb17c View commit details
    Browse the repository at this point in the history
  2. docs: fix dead links in documentation (#826)

    Replaced outdated links with updated working versions to improve
    navigation and prevent 404s.
    cetfu authored Apr 25, 2025
    Configuration menu
    Copy the full SHA
    97c3cc7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cffe7dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab97df6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee62040 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2025

  1. Configuration menu
    Copy the full SHA
    62c0f34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed2a30f View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2025

  1. Configuration menu
    Copy the full SHA
    da5df0b View commit details
    Browse the repository at this point in the history
  2. fix: don't ship generated code with the library (#819)

    ### Summary
    
    We currently have `includesGenerateCode: true` which ships codegen specs
    with the library. The original idea was that the generated code is
    consistent regardless of React Native version, which can lead to better
    stability.
    
    However, in a practical sense, a different React Native version may not
    support this generated code anyway, so the library may get locked to
    single React Native version anyway.
    
    > The generated code will use the React Native version defined inside
    your library. So if your library is shipping with React Native 0.76, the
    generated code will be based on that version. This could mean that the
    generated code is not compatible with apps using previous React Native
    version used by the app (e.g. an App running on React Native 0.75). -
    [Including Generated Code into
    Libraries](https://reactnative.dev/docs/the-new-architecture/codegen-cli)
    
    This has caused issues for us - breaking our template almost every React
    Native release due to API changes in the codegen script, which adds a
    maintenance burden without any concrete benefits.
    
    So, this change removes this option from the default template. The
    documentation has been updated as well with instructions on how to
    enable this.
    
    ### Test plan
    
    Generate the Turbo Module and Fabric templates and verify that the app
    builds and runs on Android & iOS.
    satya164 authored Apr 30, 2025
    Configuration menu
    Copy the full SHA
    d369d18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bec132 View commit details
    Browse the repository at this point in the history
  4. chore: publish

     - docs@0.6.5
     - create-react-native-library@0.49.9
     - react-native-builder-bob@0.40.7
    satya164 committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    92fad2c View commit details
    Browse the repository at this point in the history
Loading