default – Code Guilds https://codeguilds.com Thu, 26 Nov 2026 21:59:29 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 React Native 0.87 Arrives with Strict TypeScript as Default, Experimental SwiftPM Support, and Elevated Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/#respond Thu, 26 Nov 2026 21:59:29 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/ The release of React Native 0.87 marks a significant milestone for the cross-platform framework, introducing structural improvements aimed at developer ergonomics, modern toolchain alignment, and long-term ecosystem stability. Spearheaded by a collaborative effort involving 74 contributors who authored 265 commits, this latest stable version replaces older iterations and brings critical upgrades to JavaScript type safety, build system integrations, and package management on both iOS and Android. With version 0.84 transitioning out of official support, engineering teams worldwide are encouraged to evaluate their upgrade pathways to leverage the performance and architectural enhancements baked into this release.

At the core of version 0.87 is the transition of the Strict TypeScript API to the default JavaScript interface for all newly initialized and upgraded projects. Initially introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, the Strict API brings intentional, ecosystem-wide adjustments designed to improve type correctness and code predictability. Developers will immediately notice enhanced IDE integration, featuring comprehensive documentation and type information directly within hover tooltips for core components like TextInput. While this transition introduces breaking changes across the API surface, the React Native core team has worked closely with community partners to finalize root exports and resolve incompatibilities with widely used libraries. For teams requiring additional time to refactor legacy codebases, a temporary opt-in bridge remains available through the introduction of the "react-native-legacy-deep-imports" custom condition in tsconfig.json. However, maintainers have confirmed that these legacy types will be permanently excised in the subsequent 0.88 release, signaling a decisive shift toward a fully typed ecosystem.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

On the iOS front, React Native 0.87 introduces experimental support for the Swift Package Manager (SwiftPM), providing an additive alternative to the long-standing CocoaPods dependency manager. Designed to streamline native iOS development, the SwiftPM integration relies entirely on prebuilt XCFrameworks already published by the framework, eliminating the need for Ruby, Bundler, or CocoaPods configurations. Developers can integrate SwiftPM into existing projects using a dedicated command-line interface (npx react-native spm --deintegrate), which injects package references directly into the existing .xcodeproj file without disrupting project signing, capabilities, or build phases. A notable operational benefit of this integration is the automation of native dependency management; subsequent additions or removals of native packages no longer require manual execution of pod install, as the project dynamically detects changes and handles autolinking during the build phase. To accommodate the strict structural requirements of SwiftPM regarding XCFrameworks and header locations, the core team restructured precompiled binaries, introducing new header-only frameworks and standardizing namespace resolution. Consequently, developers must update bare-form angle includes in their native code—such as changing #import <RCTAppDelegate.h> to #import <React/RCTAppDelegate.h>—to ensure seamless compilation.

Android development within the React Native ecosystem also receives a major modernization push with official support for the Android Gradle Plugin (AGP) version 9. As a foundational build system update, AGP 9 brings critical API modifications and performance optimizations to the Android build pipeline. Because AGP 9 introduces substantial alterations to Gradle build behaviors, the React Native core team currently recommends that engineering teams explicitly opt out of built-in Kotlin and the new Domain Specific Language (DSL) API behaviors by configuring specific flags within their android/gradle.properties file (android.builtInKotlin=false and android.newDsl=false). These temporary opt-out mechanisms bridge the gap for existing projects while the broader Android ecosystem adapts to the AGP 9 architecture, with plans to phase out the flags in future AGP 10 releases.

To support these advanced architectural features and ensure high execution performance, React Native 0.87 enforces elevated minimum toolchain requirements across the board. The framework now mandates Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or higher. These stringent thresholds reflect the broader industry movement toward modern JavaScript runtimes and advanced compiler infrastructures, ensuring that applications built with React Native can take full advantage of asynchronous performance gains, memory management improvements, and modern language features. Furthermore, Metro—the JavaScript bundler optimized for React Native—has been updated from version 0.84 to 0.87, delivering faster asset resolution, reduced memory overhead, and leaner compilation cycles that directly benefit local development speeds and production bundle sizes.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The transition timeline for version 0.87 follows established release cycles within the React Native community. Following its deployment as the latest stable version, legacy iterations such as version 0.84 have officially moved to unsupported status in accordance with the project’s formal support policy. To assist development teams with the upgrade process, the React Native Upgrade Helper remains the primary resource for identifying granular code differences between versions. Additionally, specialized tooling has been introduced to mitigate upgrade friction, including the /migrate-to-strict-api skill designed for agent-driven code migrations, which supplements existing ESLint fixers and comprehensive documentation. For teams operating within the Expo ecosystem, React Native 0.87 is slated for integration via upcoming expo@canary releases, paving the way for broader consumer adoption across managed workflows.

From an industry perspective, the systematic enforcement of strict typing and the embrace of native package managers like SwiftPM underscore React Native’s maturation into an enterprise-grade framework. By aligning JavaScript development patterns closer to native paradigms and eliminating legacy technical debt, the core maintainers are positioning the framework to handle increasingly complex, large-scale mobile applications. While breaking changes and elevated toolchain requirements demand careful planning during upgrade cycles, the long-term implications include superior developer productivity, enhanced application stability, and a more robust foundation for cross-platform mobile engineering. As the ecosystem continues to rally around TypeScript strictness and modern build architectures, version 0.87 serves as a crucial stepping stone toward a more predictable, high-performance future for React Native developers worldwide.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/feed/ 0
JetBrains Runtime enables Vulkan rendering by default in native Wayland sessions for Linux IDEs https://codeguilds.com/jetbrains-runtime-enables-vulkan-rendering-by-default-in-native-wayland-sessions-for-linux-ides/ https://codeguilds.com/jetbrains-runtime-enables-vulkan-rendering-by-default-in-native-wayland-sessions-for-linux-ides/#respond Sat, 21 Nov 2026 21:18:23 +0000 https://codeguilds.com/jetbrains-runtime-enables-vulkan-rendering-by-default-in-native-wayland-sessions-for-linux-ides/ The landscape of Linux desktop computing is undergoing a significant transition as the display server protocol Wayland continues to supersede the aging X11 architecture. JetBrains, a leading provider of professional development tools, has announced that its integrated development environments (IDEs) will now utilize the Vulkan graphics API as the default rendering pipeline for native Wayland sessions, effective with the release of version 2026.3. This milestone follows a sustained, years-long effort to migrate the JetBrains Runtime (JBR)—the proprietary OpenJDK distribution that powers the company’s suite of products—toward a more performant and modern graphical interface.

The Evolution of Linux Rendering at JetBrains

The integration of Vulkan into the JetBrains ecosystem represents the culmination of a deliberate strategy initiated in early 2026. Prior to this, the company’s IDEs—including IntelliJ IDEA, PyCharm, and WebStorm—relied on software rendering when running in native Wayland mode. Under the software-rendering paradigm, the system’s CPU was responsible for the exhaustive task of drawing UI elements, including lines, curves, text, and complex popups.

The timeline of this transition highlights the complexity of modernizing cross-platform software. In early 2026, JetBrains introduced native Wayland support as an experimental feature, later promoting it to a default setting in the 2026.1 release. By offloading the rendering workload from the CPU to the GPU via the Vulkan API, the development team aims to rectify the "laggy" experience often reported by Linux users, particularly those working on high-resolution displays or utilizing fractional scaling.

Technical Context: Why Vulkan Matters

To understand the necessity of this shift, one must examine the limitations of the previous software-rendering approach. When an IDE operates in a software-rendered mode, the window image is buffered in system RAM. The CPU must process every UI primitive into pixels, a task that consumes significant computational cycles. While JetBrains optimized this pipeline extensively over the last decade, the inherent bottleneck remained: CPU-bound rendering is fundamentally less efficient than GPU-accelerated rendering.

This inefficiency becomes acutely visible during high-demand operations. Actions such as rapid typing, scrolling through thousands of lines of code, or displaying context-sensitive popups require frequent screen refreshes. When fractional scaling is introduced—where the display is set to a non-integer scale factor, such as 125% or 150%—the renderer must compose a vastly higher number of pixels. Without GPU acceleration, this process can lead to stuttering and increased power consumption, as the CPU works disproportionately hard to maintain a smooth frame rate.

Vulkan is a low-overhead, cross-platform graphics API that provides high-performance access to modern GPUs. By leveraging Vulkan, JetBrains IDEs can now hand off the heavy lifting of UI composition to the graphics hardware. This does not change the visual appearance of the IDE, but it significantly enhances the responsiveness and energy efficiency of the interface, bringing the Linux experience closer to the performance standards users expect on macOS and Windows.

Implementation and User Configuration

For the majority of users running native Linux Wayland sessions, the transition to Vulkan will be seamless. As of version 2026.3, the change is automated; no configuration adjustments are necessary for standard installations. However, users who previously configured their environment to circumvent Wayland issues by forcing the use of the X11 toolkit will need to manually update their settings.

Specifically, users who previously added the -Dsun.awt.toolkit.name=XToolkit flag to their Help | Edit custom VM options file must remove this line and restart the IDE to enable native Wayland and Vulkan support. JetBrains has emphasized that this update only affects Linux users in Wayland sessions; X11 users and those on other operating systems remain on their existing rendering paths.

Vulkan Rendering Is Now The Default on Linux Wayland - The JetBrains Blog

For users who encounter issues—such as rendering artifacts, flickering, or unexpected instability—the company has provided a fallback mechanism. By adding the JVM option -Dsun.java2d.vulkan=false to their custom VM options, users can revert to the previous software rendering pipeline while maintaining a Wayland session.

Broader Implications for the Linux Ecosystem

The decision by JetBrains to adopt Vulkan as a default rendering engine carries weight beyond the immediate performance benefits for its users. It signals a broader industry trend where major software vendors are finally treating the Wayland transition as a priority rather than an experimental footnote.

Furthermore, this development highlights the evolving requirements of OpenJDK. While the current implementation is focused on JetBrains IDEs, the long-term goal of the JetBrains Runtime team is to make these Vulkan-based improvements available for broader OpenJDK use. This could potentially benefit the entire Java ecosystem, allowing other Java-based desktop applications on Linux to achieve native-level performance.

However, the transition is not without its challenges. The Linux desktop market is highly fragmented, with varying desktop environments (GNOME, KDE Plasma, Sway, etc.) and a multitude of graphics drivers (NVIDIA, AMD, Intel). Even with extensive internal testing, the diversity of hardware and software configurations means that some edge cases will inevitably arise. JetBrains has established a robust feedback loop through its YouTrack issue-tracking system, encouraging users to submit detailed reports—including logs and system information—to help developers refine the Vulkan implementation.

Future Roadmap and Continuous Improvement

Looking ahead, the roadmap for the JetBrains Runtime includes deeper integration of GPU acceleration for antialiased geometry. This is expected to further reduce the number of UI operations that fall back to the CPU, effectively offloading more of the "drawing" process to the GPU.

While Remote Development mode is currently excluded from the default Vulkan support, JetBrains has confirmed that it is actively working on compatibility updates. Plans are already in motion to integrate Vulkan into remote sessions in a forthcoming 2026.3 bug-fix release. Beyond this, the engineering team is exploring the possibility of bringing Vulkan-based rendering to X11 sessions, potentially extending the performance benefits to users who are not yet ready or able to migrate to Wayland.

The impact of this update on the average developer is expected to be a marked increase in interface fluidity. By reducing the reliance on the CPU for UI rendering, developers should observe less system-wide sluggishness during intense coding sessions. This improvement in responsiveness is a critical step in ensuring that Linux remains a competitive and viable platform for professional-grade software development.

Conclusion

The shift to Vulkan in the JetBrains Runtime is a significant technical achievement that addresses the fundamental performance challenges of the Linux Wayland desktop. By prioritizing GPU-accelerated rendering, JetBrains has demonstrated a commitment to the Linux community, ensuring that their tools can leverage modern hardware capabilities. As the ecosystem continues to stabilize, the focus will likely shift from initial implementation to optimization and compatibility, ensuring that the responsiveness of the IDE is maintained across an increasingly diverse range of hardware configurations. The success of this transition will not only define the immediate future of JetBrains IDEs on Linux but will also serve as a blueprint for how complex, high-performance applications can thrive in the modern Wayland environment.

]]>
https://codeguilds.com/jetbrains-runtime-enables-vulkan-rendering-by-default-in-native-wayland-sessions-for-linux-ides/feed/ 0
React Native 0.87 Arrives with Default Strict TypeScript, SwiftPM Support, and Elevated Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/#respond Thu, 19 Nov 2026 00:00:04 +0000 https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/ The core architecture of cross-platform mobile development is undergoing a significant evolution today with the official release of React Native 0.87. Rolled out to the global developer community, this milestone update elevates the Strict TypeScript API to the default JavaScript interface, introduces experimental support for the Swift Package Manager (SwiftPM) on iOS, and updates the Metro bundler to version 0.87. Alongside these major feature rollouts, the release enforces higher minimum toolchain benchmarks, mandating Node.js 22, Android Gradle Plugin (AGP) 9, and Kotlin 2.0 or higher. As older iterations such as version 0.84 transition out of official support, version 0.87 establishes a modernized baseline designed to enhance type safety, streamline native dependency management, and improve overall build performance.

Evolutionary Timeline: From Opt-In Preview to Default Standard

The journey toward React Native 0.87 began in earnest with the release of version 0.80, which initially introduced the Strict TypeScript API as an optional preview alongside the deprecation of deep imports. Recognizing the inherent risks of breaking changes in a vast ecosystem, the core development team deliberately chose a staged rollout. Throughout the subsequent months, maintainers collaborated closely with ecosystem partners and library authors to refine root exports, identify compatibility friction points, and build automated migration paths.

By version 0.87, this preparatory work culminates in making the Strict TypeScript API the mandatory default for all new and upgraded projects. While the transition introduces intentional breaking changes across the public API surface, it addresses long-standing developer pain points. By incorporating rich documentation comments directly onto symbols, the new types drastically improve the developer experience. Developers hovering over core components like TextInput now see comprehensive type information and inline documentation instantly, replacing the blank or minimal tooltips characteristic of legacy types.

Despite the default shift, the React Native maintainers have implemented a temporary bridge for teams requiring more time to refactor sprawling codebases. Developers can opt out of the Strict TypeScript API through version 0.88 by adding the "react-native-legacy-deep-imports" custom condition to their tsconfig.json file. However, the core team has confirmed that legacy TypeScript types will be permanently excised in the release immediately following 0.88, signaling a definitive end-of-life for the older implementation. To ease the transition, automated tooling such as specialized ESLint fixers and agent-driven migration skills remain available to the community.

Streamlining iOS Infrastructure with Experimental Swift Package Manager Support

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Perhaps the most structurally ambitious addition in React Native 0.87 is the introduction of experimental support for the Swift Package Manager (SwiftPM) on iOS. For years, CocoaPods has served as the undisputed backbone of iOS dependency management within the React Native ecosystem. While CocoaPods remains the default and fully supported path in 0.87, SwiftPM offers a compelling native alternative that eliminates external tooling dependencies like Ruby and Bundler, requiring only Xcode to function.

Implementing SwiftPM required a fundamental rethinking of how React Native distributes its precompiled binaries. Because SwiftPM enforces much stricter structural and header-location rules than CocoaPods, the core team reorganized the framework architecture. This restructuring introduced dedicated header-only XCFrameworks, standardizing header resolution through conventional framework and header search path mechanics. Consequently, developers adopting SwiftPM may need to adjust bare-form angle includes, updating imports to explicitly reference their namespaces—for instance, changing #import to #import <React/RCTAppDelegate.h>.

Integrating SwiftPM into an existing or new project has been designed to minimize friction. Developers can execute a single deintegration command—npx react-native spm –deintegrate—which injects Swift package references directly into the existing Xcode project file (.xcodeproj) without overwriting manual signing configurations, capabilities, or build phases. Crucially, unlike traditional CocoaPods workflows, developers do not need to execute a manual installation command after every native dependency modification. Subsequent builds automatically detect changes and trigger autolinking, eliminating a frequent source of developer friction.

Under-the-Hood Enhancements: Metro 0.87 and Android Gradle Plugin 9

Beyond frontend architecture and iOS tooling, React Native 0.87 brings substantial updates to the build and bundling layers of the framework. Metro, the JavaScript bundler engineered specifically for React Native, has been updated from version 0.84 to 0.87. This upgrade delivers a faster, leaner bundling pipeline, optimizing cold-start times and incremental build performance across large-scale enterprise applications.

On the Android side, version 0.87 marks the first React Native release to officially support the Android Gradle Plugin (AGP) 9. Because AGP 9 introduces significant API shifts and breaking build changes, the React Native team recommends that upgrading projects temporarily opt out of built-in Kotlin and the new DSL behavior by explicitly declaring flags within their gradle.properties files. These temporary opt-outs ensure build stability while the broader Android ecosystem prepares for native AGP 9 adoption, a transition actively coordinated through community-led Request for Comments (RFC #1006).

Elevated Toolchain Requirements and Ecosystem Implications

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The enforcement of stricter minimum toolchain requirements underscores the framework’s pivot toward modern computing standards. By establishing Node.js 22, AGP 9, and Kotlin 2.0+ as mandatory prerequisites, React Native ensures that applications benefit from the latest security patches, performance optimizations, and language features provided by upstream maintainers. However, these elevated thresholds also mean that organizations maintaining legacy infrastructure must systematically audit their continuous integration and deployment (CI/CD) pipelines prior to attempting an upgrade.

The release of version 0.87 was driven by a collaborative global effort involving 74 contributors who authored a total of 265 commits. This distributed model of open-source stewardship highlights the maturity of the React Native ecosystem, where community-driven proposals and rigorous testing cycles directly shape core framework architecture.

Broader Industry Impact and Strategic Outlook

From an industry perspective, React Native 0.87 reinforces Meta’s ongoing commitment to narrowing the performance and developer-experience gap between cross-platform frameworks and native platform development. By embracing modern TypeScript standards natively, React Native aligns closely with web development best practices, enabling safer refactoring and more predictable codebases. Simultaneously, the exploration of SwiftPM signals a pragmatic willingness to reduce reliance on legacy toolchains like Ruby on macOS, aligning mobile development workflows closer with modern Apple ecosystem standards.

As version 0.87 establishes itself as the new stable baseline and version 0.84 moves into unsupported territory, engineering teams are encouraged to leverage automated migration tools and the React Native Upgrade Helper. While upgrades involving major toolchain shifts invariably require careful coordination, the structural payoff—characterized by enhanced type safety, cleaner dependency management, and faster build times—positions React Native applications for scalable, long-term stability.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/feed/ 0
React Native 0.87 Arrives With Default Strict TypeScript, Experimental Swift Package Manager, and Major Toolchain Updates https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/ https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/#respond Tue, 10 Nov 2026 21:59:14 +0000 https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/ The React Native core team has officially announced the release of version 0.87, introducing significant foundational updates aimed at modernizing developer tooling, enforcing stricter typing ecosystems, and streamlining native dependency management across iOS and Android platforms. As the latest stable release, version 0.87 transitions the Strict TypeScript API to the default JavaScript interface, updates the Metro bundler to version 0.87, brings experimental Swift Package Manager (SwiftPM) support to iOS, and raises minimum toolchain requirements to Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0+.

This release marks a pivotal step in the ongoing evolution of the cross-platform framework, balancing developer experience with modern architectural standards. With version 0.87 now occupying the latest stable position, support for older iterations—specifically version 0.84.x—officially concludes in accordance with the project’s support lifecycle policy.

Enforcing Type Safety: Strict TypeScript API Becomes the Default

The most visible change for application developers in React Native 0.87 is the transition of the framework’s public JavaScript API to the Strict TypeScript API. Originally introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, the strict configuration is now standard for all newly initialized and upgraded projects.

This ecosystem-wide transition introduces deliberate breaking changes across the API surface, designed to eliminate ambiguous typing and drastically improve autocompletion, inline documentation, and error detection within integrated development environments (IDEs). For instance, hovering over core components like TextInput now reveals rich symbol documentation and comprehensive type information, replacing the uninformative hover states of legacy types.

To assist developers in navigating the shift, the core team collaborated closely with community partners to finalize root exports and resolve compatibility issues with widely used third-party libraries. While many applications are expected to upgrade with minimal friction, a dedicated migration guide and automated ESLint fixers are available. Furthermore, agent-driven workflows can leverage the specialized /migrate-to-strict-api skill to streamline large-scale codebase transformations.

Recognizing that complex enterprise applications may require additional time to adapt, the core team has implemented a temporary opt-out mechanism. Developers can revert to legacy typing by incorporating the "react-native-legacy-deep-imports" custom condition within their tsconfig.json file. However, this bridge is strictly temporary and will be deprecated entirely in the subsequent 0.88 release, after which legacy types will be permanently removed.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Streamlining iOS Infrastructure with Experimental Swift Package Manager Support

On the Apple ecosystem front, React Native 0.87 introduces experimental support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods. Designed to be entirely opt-in and additive, the new integration path consumes the identical prebuilt XCFrameworks published by the framework, leaving CocoaPods fully functional as the default standard.

Historically, iOS dependency management in React Native required Ruby, Bundler, and CocoaPods configurations. The SwiftPM integration simplifies this pipeline by relying exclusively on Xcode. Developers can transition an existing workspace by executing a single command—npx react-native spm --deintegrate—which non-destructively injects Swift package references directly into the existing .xcodeproj file without altering project signing, capabilities, or build phases. Reversing the operation is equally straightforward via the npx react-native spm deinit command.

A notable operational benefit of the SwiftPM implementation is the elimination of repetitive post-installation steps. Unlike traditional CocoaPods workflows that necessitate running pod install following every modification to native dependencies, the SwiftPM integration automatically detects changes and executes autolinking dynamically during the standard build process.

To achieve seamless compatibility with SwiftPM’s stringent requirements regarding XCFramework structures and header locations, the core team restructured the distribution of React Native’s precompiled binaries. This restructuring includes the introduction of dedicated headers-only frameworks, standardizing search path mechanics and assigning every namespace a unique physical location. While internal header content remains byte-identical to previous versions, developers utilizing bare-form angle includes must update their imports to include explicit namespaces, transforming statements such as #import <RCTAppDelegate.h> into #import <React/RCTAppDelegate.h>.

Elevating Android Builds Through Android Gradle Plugin 9

For Android developers, React Native 0.87 delivers foundational compatibility with the Android Gradle Plugin (AGP) version 9. As a major release introducing substantial API and Gradle build alterations, AGP 9 adoption requires specific configuration adjustments to maintain stability during the transitional phase.

To ensure a smooth upgrade path, the core team recommends explicitly opting out of built-in Kotlin and the new Domain-Specific Language (DSL) behavior introduced with AGP 9. Developers can implement this by appending specific flags—android.builtInKotlin=false and android.newDsl=false—to their android/gradle.properties files. These temporary opt-outs are projected to phase out in upcoming AGP 10 releases as the broader Android ecosystem finalizes its adoption.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Performance Enhancements and Toolchain Modernization

Accompanying these architectural shifts is an upgrade to the Metro JavaScript bundler, moving from version 0.84 to 0.87. This iteration focuses on performance optimizations, reduced memory overhead, and faster incremental build times, aligning with the framework’s broader objective of delivering a leaner development loop.

Concurrently, the minimum toolchain requirements have been elevated to reflect modern software standards. React Native 0.87 officially mandates Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or higher. These elevated baselines allow the core maintainers to leverage modern language features, enhance security postures, and remove legacy compatibility layers that previously contributed to framework bloat.

Community Collaboration and Upgrade Pathways

The release of React Native 0.87 is the collaborative product of 265 distinct commits contributed by 74 community members, reflecting the active engagement of the global open-source ecosystem.

For developers preparing to transition existing codebases, the official React Native Upgrade Helper remains the primary resource for visualizing code differences between versions. New project initialization can be executed via the updated command line interface using npx @react-native-community/cli@latest init MyProject --version latest, while projects within the Expo ecosystem can anticipate integration via upcoming expo@canary releases.

As React Native continues to refine its underlying architecture across both mobile operating systems, version 0.87 establishes a more robust, type-safe, and natively aligned foundation for cross-platform application development.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/feed/ 0
React Native 0.87 Arrives with Strict TypeScript as Default and Experimental Swift Package Manager Support https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/#respond Mon, 02 Nov 2026 22:01:08 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/ The cross-platform mobile development landscape shifted this week with the official release of React Native 0.87. This major update brings several foundational changes to how developers build applications for iOS and Android, headlined by the transition of the Strict TypeScript API into the default JavaScript interface. Alongside this modernization of type safety, the framework introduces a significant modernization of its underlying tooling, updating the Metro bundler to version 0.87, adding experimental support for the Swift Package Manager (SwiftPM) on Apple platforms, and raising minimum toolchain requirements across the board to include Node.js 22, Android Gradle Plugin (AGP) 9, and Kotlin 2.0 or higher.

The release marks the culmination of months of community collaboration, rigorous testing, and phased deprecations designed to align React Native with modern JavaScript and native ecosystem standards. According to project maintainers, version 0.87 features contributions from 74 developers who committed 265 code changes, reflecting the continued momentum of the open-source framework originally created by Meta.

Transitioning to Strict TypeScript as the Default

The most prominent developer-facing change in React Native 0.87 is the promotion of the Strict TypeScript API to the default JavaScript interface. Originally introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, the Strict API is now mandatory for all new and upgraded projects unless developers explicitly opt out.

This ecosystem-wide transition carries intentional breaking changes across the API surface, designed to improve code reliability, autocomplete accuracy, and documentation visibility within Integrated Development Environments (IDEs). For instance, hovering over core components like TextInput under the new strict types now displays comprehensive inline documentation and type signatures—a stark contrast to legacy setups where symbols often lacked detailed metadata.

To ease the migration burden for development teams, the React Native core team has worked closely with community partners to finalize root exports and resolve compatibility issues with widely used third-party libraries. Furthermore, to assist with large-scale codebases, the ecosystem has introduced automated tooling, including an agent-driven upgrade skill available via /migrate-to-strict-api, which works in tandem with existing ESLint fixers to automate much of the refactoring process.

For organizations requiring more time to adapt their codebases, maintainers have provided a temporary escape hatch. Developers can maintain legacy deep imports through the 0.88 release cycle by adding the "react-native-legacy-deep-imports" custom condition to their tsconfig.json file. However, project maintainers have emphasized that this bridge is strictly temporary, with complete removal of the legacy types scheduled for the subsequent major release.

Modernizing iOS Integration with Experimental Swift Package Manager Support

On the iOS front, React Native 0.87 introduces experimental support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods. This represents a major architectural milestone for iOS builds, offering a native dependency management solution that eliminates the need for Ruby, Bundler, and CocoaPods entirely, relying solely on Xcode.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The SwiftPM integration is implemented as an additive, opt-in feature rather than a forced replacement. Developers can transition an existing or new project by running a single command (npx react-native spm --deintegrate), which injects Swift package references directly into the existing .xcodeproj file without disrupting user-defined code signing configurations, capabilities, or custom build phases. Reversing the operation is equally straightforward via a corresponding initialization command.

A key advantage of this new integration workflow is the elimination of repetitive build commands. Unlike CocoaPods, which typically requires developers to execute pod install whenever native dependencies change, the SwiftPM integration relies on project-level detection to automatically trigger autolinking during the standard build process.

To achieve seamless compatibility with SwiftPM—which enforces stricter validation rules regarding XCFramework structures and header paths than CocoaPods—the React Native core team re-engineered how precompiled binaries are distributed. This restructure introduced new header-only XCFrameworks designed to normalize search paths and ensure every namespace maintains a single physical home. Consequently, developers adopting the new packaging may need to update their Objective-C or C++ import statements from bare-form angle brackets (such as #import <RCTAppDelegate.h>) to their fully qualified namespace equivalents (such as #import <React/RCTAppDelegate.h>).

Android Toolchain Evolution and AGP 9 Support

Android developers also see substantial changes in version 0.87, which marks the framework’s inaugural support for the Android Gradle Plugin (AGP) 9. As a major release in the Android build ecosystem, AGP 9 introduces significant API adjustments and breaking build changes.

To ensure a smooth upgrade path and prevent immediate build regressions across existing applications, the React Native team recommends that developers temporarily opt out of AGP 9’s built-in Kotlin support and new DSL behavior. By appending specific flags (android.builtInKotlin=false and android.newDsl=false) to the android/gradle.properties file, teams can maintain build stability while the broader React Native community works toward full, native adoption of AGP 9 standards, an initiative tracked publicly under RFC #1006.

Alongside AGP 9 support, version 0.87 raises baseline requirements across the entire build toolchain. Minimum supported versions now officially stand at Node.js 22 and Kotlin 2.0+, reflecting a broader industry push toward modern runtimes and language features that offer superior performance, enhanced security patches, and advanced compiler optimizations.

Performance Enhancements via Metro 0.87

Under the hood, the Metro JavaScript bundler has been upgraded from version 0.84 to 0.87. This update brings incremental performance improvements to bundling speeds, reduced memory overhead during hot reloading, and better asset resolution handling. The leaner bundling pipeline is designed to mitigate the compilation bottlenecks often encountered in large-scale enterprise applications containing thousands of modules.

Background Context and Chronology of the Release Cycle

The release of React Native 0.87 follows a predictable cadence established by the React Native release working group, which aims to deliver frequent, predictable updates that progressively modernize the framework’s core architecture. Version 0.84, which served as the previous stable standard, has now officially transitioned to unsupported status in accordance with the project’s formal support lifecycle policy.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The journey toward Strict TypeScript began in mid-2025 with version 0.80, which laid the groundwork by deprecating deep imports and introducing the preview types. Over the subsequent minor releases, feedback from major ecosystem stakeholders—including Expo, Shopify, and Microsoft—helped refine the type definitions and eliminate edge-case compilation errors.

Concurrently, the exploration of SwiftPM addresses long-standing developer pain points related to CocoaPods maintenance, Ruby environment management, and Xcode workspace synchronization issues that have historically complicated iOS onboarding for cross-platform developers.

Implications for the Cross-Platform Development Ecosystem

The enforcement of stricter type definitions and the elevation of minimum toolchain requirements signal a maturing ecosystem where developer ergonomics and build-time safety take precedence over backwards compatibility with legacy configurations.

While the transition to Strict TypeScript and AGP 9 may require engineering teams to allocate dedicated sprint time for refactoring and dependency audits, the long-term implications are overwhelmingly positive. Enhanced IDE autocomplete, fewer runtime type errors, and leaner build pipelines directly address developer productivity bottlenecks. Furthermore, the introduction of SwiftPM paves the way for a more streamlined, Ruby-free iOS build infrastructure that aligns more closely with native Apple development paradigms.

Upgrading and Availability

React Native 0.87 is available immediately as the latest stable release. Existing projects can plan their migration by utilizing the official React Native Upgrade Helper to identify targeted code changes, alongside documentation for addressing breaking changes and API removals.

For developers initiating new projects, initialization is supported via the updated command line interface (npx @react-native-community/cli@latest init MyProject --version latest). Meanwhile, users of the Expo ecosystem can expect React Native 0.87 integration to roll out through upcoming expo@canary and stable SDK release channels.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/feed/ 0
React Native 0.87 Arrives with Strict TypeScript by Default, Swift Package Manager Support, and Higher Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/#respond Sat, 24 Oct 2026 22:59:53 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/ The release of React Native 0.87 marks a significant milestone for the cross-platform framework, introducing the Strict TypeScript API as the default JavaScript environment alongside experimental support for the Swift Package Manager (SwiftPM) on iOS. This latest stable update also brings a major upgrade to Metro 0.87 and raises the foundational toolchain requirements for developers globally, phasing out support for older development environments. With 265 commits contributed by 74 developers, version 0.87 focuses heavily on type safety, modernization of native build pipelines, and ecosystem-wide alignment with contemporary mobile development standards.

Main Facts and Core Upgrades of Version 0.87

At the heart of the React Native 0.87 release is the transition of the framework’s public JavaScript API to the Strict TypeScript API. Originally introduced as an opt-in preview alongside the deprecation of deep imports in version 0.80, this strict typing system is now enabled by default for all new and upgraded projects. This ecosystem-wide shift introduces intentional breaking changes designed to clean up the API surface and provide developers with vastly improved tooling support, such as inline documentation and comprehensive type information visible upon hovering over components like TextInput.

To accommodate teams that require additional time to transition their codebases, the core maintainers have implemented a temporary opt-in bridge. Developers can revert to legacy types through version 0.88 by adding a custom condition ("react-native-legacy-deep-imports") to their tsconfig.json file. However, the legacy TypeScript types are scheduled for permanent removal in the subsequent release.

Concurrently, version 0.87 upgrades the Metro JavaScript bundler from version 0.84 to 0.87, bringing performance enhancements and a leaner execution footprint. On the mobile native side, the framework introduces experimental support for Swift Package Manager as an additive alternative to CocoaPods on iOS, alongside official support for the Android Gradle Plugin (AGP) version 9.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Chronology and Development Background

The journey toward React Native 0.87 has been shaped by a multi-phase architectural modernization effort spearheaded by Meta and the broader React Native community. The foundation for strict typing was laid several versions prior, notably in version 0.80, where deep imports were deprecated to encourage cleaner module consumption and prepare the ecosystem for strict type definitions. Throughout subsequent point releases, maintainers collaborated closely with library authors and corporate partners to resolve compatibility bottlenecks and finalize root exports.

The introduction of Swift Package Manager support stems from long-standing developer feedback regarding the complexity and friction of maintaining Ruby-based dependency management via CocoaPods in complex iOS projects. By adopting SwiftPM—which consumes the prebuilt XCFrameworks already published by React Native—the core team aims to streamline iOS project setup, requiring only Xcode without external dependencies like Ruby or Bundler.

Similarly, the integration of AGP 9 addresses the fast-moving Android build ecosystem. Because AGP 9 introduces significant API and breaking changes, the React Native team has recommended specific temporary flags (android.builtInKotlin=false and android.newDsl=false) within gradle.properties files to ensure a stable transition path ahead of AGP 10.

Raised Toolchain Requirements and Breaking Changes

To support modern language features and performance optimizations, React Native 0.87 enforces stricter minimum toolchain requirements across the board. Developers must now upgrade their development environments to Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or higher. Furthermore, version 0.84.x has officially transitioned to an unsupported status in accordance with the project’s formal support policy, making 0.87 the current baseline for enterprise and independent production applications.

The architectural changes required to support Swift Package Manager also necessitated a restructuring of how precompiled binaries are delivered. Because SwiftPM enforces stricter validation rules regarding XCFramework structures and header locations compared to CocoaPods, maintainers introduced dedicated header-only frameworks. While these files are byte-identical to their source pod counterparts, developers must update their native Objective-C/C++ imports from bare-form angle brackets (e.g., #import <RCTAppDelegate.h>) to namespace-qualified paths (e.g., #import <React/RCTAppDelegate.h>).

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Broader Impact and Implications for the Ecosystem

The enforcement of the Strict TypeScript API and the adoption of modern build tools signal a maturing ecosystem focused on long-term maintainability, developer ergonomics, and build reliability. Type-safe component props and rich IDE tooltips drastically reduce runtime errors and accelerate onboarding for developers working on large-scale applications.

The experimental integration of Swift Package Manager represents a potential paradigm shift for iOS development within the React Native ecosystem. By eliminating the necessity of CocoaPods for compatible workflows, teams can look forward to simplified continuous integration (CI) pipelines, reduced dependency resolution overhead, and a closer alignment with native Apple ecosystem tooling.

For Android developers, navigating the AGP 9 upgrade path lays the groundwork for leveraging upcoming Android Studio features and performance improvements, though migration planning remains crucial for projects with heavily customized native build scripts.

Upgrade Paths and Community Adoption

Upgrading existing projects to React Native 0.87 can be facilitated using the official React Native Upgrade Helper, which outlines necessary code modifications between versions. For automated migrations, agent-driven workflows can leverage specialized community skills such as /migrate-to-strict-api alongside standard ESLint fixers to streamline the transition to strict typing. New project initialization can be executed via the updated command line interface using npx @react-native-community/cli@latest init MyProject --version latest, while Expo users can anticipate integration through upcoming expo@canary release cycles.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/feed/ 0
React Native 0.87 Arrives with Strict TypeScript by Default, SwiftPM Support, and Raised Toolchain Baselines https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/#respond Tue, 29 Sep 2026 11:00:21 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/ The cross-platform mobile development landscape is shifting once again as the React Native core team officially announces the release of version 0.87. This major update brings several foundational changes aimed at modernizing the developer experience, improving performance, and aligning the framework with contemporary native ecosystem standards. Among the most notable updates in version 0.87 are the promotion of the Strict TypeScript API as the default JavaScript interface, an update to the Metro bundler, experimental integration for the Swift Package Manager (SwiftPM) on iOS, and essential bumps to minimum toolchain requirements across both Android and iOS environments.

As mobile applications grow increasingly complex, the demand for robust type safety, streamlined build tools, and simplified dependency management has never been higher. Version 0.87 addresses these demands head-on, reflecting months of collaborative engineering between core maintainers, community partners, and enterprise contributors. With 265 commits contributed by 74 developers, this release signifies a concerted push toward a more standardized, performant, and type-safe ecosystem.

Main Facts and Core Upgrades of Version 0.87

At the heart of the React Native 0.87 release is a series of structural enhancements designed to remove technical debt and enforce modern coding practices. The transition of the Strict TypeScript API from an opt-in preview—first introduced in version 0.80 alongside the deprecation of deep imports—to the default JavaScript API stands out as the most impactful change for application developers.

By making the Strict API the default, the core team is enforcing intentional breaking changes across the public API surface. This shift brings significant engineering payoffs, most notably enhanced IDE tooling and documentation support. Developers hovering over components such as TextInput will now see comprehensive type information and integrated documentation comments directly within their development environments, eliminating the guesswork often associated with legacy dynamic types.

To ease the transition for large-scale codebases that cannot migrate immediately, maintainers have included a temporary opt-out mechanism. By incorporating the "react-native-legacy-deep-imports" custom condition into the compilerOptions of a project’s tsconfig.json file, teams can temporarily revert to legacy types. However, this bridge is strictly temporary; the core team has confirmed that legacy TypeScript types will be permanently removed in the subsequent 0.88 release. Furthermore, agent-driven upgrades can leverage specialized migration skills, such as the /migrate-to-strict-api command, to automate the application of ESLint fixers and direct code refactoring.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

In addition to TypeScript enhancements, version 0.87 updates the Metro bundler from version 0.84 to 0.87. This update delivers a faster, leaner bundling experience, reducing build latency and improving memory efficiency during local development and production compilation cycles.

Experimental Swift Package Manager Support Transforms iOS Workflows

For iOS developers, React Native 0.87 introduces a highly anticipated experimental feature: native support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods. Historically, React Native projects on Apple platforms have relied heavily on CocoaPods for native dependency management, a system that requires Ruby, Bundler, and a separate pod install execution step after every dependency modification.

The new SwiftPM integration is fully additive and opt-in, allowing CocoaPods to remain the default supported path for the time being. However, the introduction of SwiftPM offers a streamlined alternative that interacts directly with prebuilt XCFrameworks published by React Native. By running a single command (npx react-native spm --deintegrate), developers can inject Swift package references directly into their existing .xcodeproj files without disrupting code signing, app capabilities, or build phases.

A major advantage of this experimental workflow is the elimination of repetitive dependency installation commands. Once initialized, adding or removing a native package automatically triggers autolinking during the standard build process, removing the need to remember manual post-installation steps. To accommodate this architectural shift, React Native has restructured its precompiled binaries, introducing header-only frameworks to satisfy SwiftPM’s strict requirements regarding XCFramework structure and header locations. While the content of these headers remains byte-identical to legacy pods, developers utilizing bare-form angle brackets for imports will need to update their syntax to include standard namespace prefixes (e.g., changing #import <RCTAppDelegate.h> to #import <React/RCTAppDelegate.h>).

Android Ecosystem Evolution: Android Gradle Plugin 9

On the Android side of the ecosystem, React Native 0.87 marks the official introduction of support for the Android Gradle Plugin (AGP) 9.0. As a major release from Google, AGP 9 brings a series of profound API updates and breaking changes to Gradle build mechanics.

Because AGP 9 introduces fundamental shifts in how builds are processed, the React Native core team recommends that developers temporarily opt out of built-in Kotlin and new Domain-Specific Language (DSL) behaviors shipped natively with AGP 9. Projects can achieve this stability by appending specific property flags—android.builtInKotlin=false and android.newDsl=false—into their android/gradle.properties configuration files. Maintainers have noted that these opt-out bridges will be phased out in future AGP 10.x releases as ecosystem-wide adoption solidifies.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Minimum Toolchain Requirements and Breaking Changes

To support modern APIs and performance optimizations, version 0.87 raises the minimum toolchain requirements across the board. Developers must now upgrade their development environments to meet higher baselines:

  • Node.js: Minimum version raised to Node.js 22.
  • Android Development: Android Gradle Plugin (AGP) upgraded to version 9, alongside mandatory adoption of Kotlin 2.0 or higher.
  • iOS Development: Aligned with modern Xcode toolchain standards to support SwiftPM integration.

Alongside these baseline shifts, version 0.87 implements several API removals and deprecations to clean up the framework’s internal architecture. Outdated modules and legacy bridging utilities that have lingered through previous deprecation cycles have been permanently purged. These removals are designed to reduce the overall binary footprint of React Native applications and improve runtime execution speeds on both mobile operating systems.

Chronology, Upgrade Paths, and Industry Implications

The release of React Native 0.87 follows a predictable yet accelerated release cadence maintained by the core engineering group. Following the initial preview of the Strict TypeScript API in version 0.80, community feedback and extensive testing paved the way for its mandatory default status in this current build. With version 0.87 now reigning as the latest stable release, the older 0.84.x branch has officially transitioned to an unsupported status in accordance with the project’s formal support lifecycle policy.

For engineering teams looking to adopt version 0.87, the upgrade path involves a combination of automated tooling and manual code adjustments. Existing projects are advised to utilize the official React Native Upgrade Helper to inspect exact code diffs between versions. New projects can be initialized immediately via the command line interface using npx @react-native-community/cli@latest init MyProject --version latest, while developers utilizing the Expo ecosystem can anticipate integration within upcoming expo@canary releases.

The broader implications of React Native 0.87 point toward a more disciplined, type-safe, and tooling-agnostic future for cross-platform mobile development. By embracing modern JavaScript typing standards, reducing reliance on legacy Ruby-based dependency managers on iOS, and staying synchronized with the latest Android build pipelines, the React Native maintainers are ensuring that the framework remains competitive against native development and alternative cross-platform ecosystems. As enterprises increasingly demand robust maintainability and high performance, updates like version 0.87 provide the necessary structural integrity to build scalable, long-lasting mobile applications.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/feed/ 0
React Native 0.87 Arrives with Default Strict TypeScript, Swift Package Manager Support, and Higher Toolchain Baselines https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/ https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/#respond Mon, 28 Sep 2026 23:01:27 +0000 https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/ The cross-platform mobile development landscape shifted once again as the core development team officially announced the release of React Native 0.87. This major milestone version introduces several structural enhancements aimed at modernizing the framework’s internal architecture, improving developer experience, and tightening integration with native toolchains on both iOS and Android. Among the most notable updates are the transition of the Strict TypeScript API to the default JavaScript interface, an upgrade to Metro 0.87, experimental support for the Swift Package Manager (SwiftPM), and significant bumps to minimum toolchain requirements, including Node.js 22 and Kotlin 2.0+.

The rollout of version 0.87 follows a predictable release cadence that emphasizes stability, performance, and long-term ecosystem health. As mobile operating systems evolve and developer tooling advances, frameworks like React Native must continually adapt to leverage modern language features and build systems. Version 0.87 addresses technical debt while laying the groundwork for a more streamlined, predictable development lifecycle across platforms.

Main Facts and Core Upgrades

The headline feature of React Native 0.87 is the promotion of the Strict TypeScript API to the default JavaScript interface for all new and upgraded projects. Originally introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, this strict typing model brings intentional breaking changes designed to enforce cleaner code and richer editor feedback. Developers hovering over components such as TextInput will now encounter comprehensive type information and doc comments directly within their integrated development environments (IDEs).

While the transition to the Strict TypeScript API is expected to require minor adjustments for existing codebases, the core team has provided dedicated migration documentation and an ESLint fixer. For development teams unable to migrate immediately, a temporary opt-in bridge remains available through React Native 0.88 via a custom condition ("react-native-legacy-deep-imports") in the project’s tsconfig.json file. However, legacy TypeScript types are scheduled for complete removal in the subsequent release.

Concurrently, the JavaScript bundler Metro has been updated from version 0.84 to 0.87, bringing performance optimization and enhanced bundling mechanics. This update aligns with the framework’s overarching goal of reducing build bottlenecks and accelerating iteration times for developers working on large-scale applications.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Chronology and Background Context

The journey toward React Native 0.87 began months earlier with incremental previews and community consultations. The rollout of the Strict TypeScript API first took shape in version 0.80, where developers were given their initial opportunity to test the stricter definitions and adapt their libraries. Throughout subsequent iterations, the core maintainers collaborated closely with ecosystem partners and library maintainers to refine root exports and resolve incompatibilities.

The introduction of experimental Swift Package Manager (SwiftPM) support represents another historical shift for the framework’s iOS ecosystem. For years, CocoaPods has served as the undisputed standard for dependency management in iOS React Native projects. However, managing Ruby dependencies, Bundler, and complex Podfile configurations has occasionally presented friction points for developers. By introducing an additive, opt-in SwiftPM integration path that consumes prebuilt XCFrameworks, the team is exploring a future where Xcode alone suffices for native iOS project management.

Supporting Data and Technical Specifications

React Native 0.87 is built upon a substantially raised baseline of toolchain requirements, reflecting the rapid pace of advancement in the broader software engineering ecosystem. Developers upgrading to or initiating projects on version 0.87 must ensure their environments satisfy the following minimum specifications:

  • Node.js 22
  • Android Gradle Plugin (AGP) 9
  • Kotlin 2.0+

The inclusion of AGP 9 support is particularly significant for Android developers, as AGP 9.0 introduces substantial API and build behavior alterations. Because AGP 9 brings major changes to Gradle builds, the current recommendation for React Native 0.87 projects is to explicitly opt out of built-in Kotlin and the new DSL behavior by adding specific properties (android.builtInKotlin=false and android.newDsl=false) to the android/gradle.properties file. These temporary flags are expected to be phased out in future AGP releases as ecosystem adoption matures.

On the iOS side, adopting SwiftPM required a fundamental rethinking of how precompiled binaries are distributed. SwiftPM enforces stricter rules regarding XCFramework structure and header locations than CocoaPods. To satisfy these constraints, the framework now publishes dedicated header-only XCFrameworks. Consequently, developers must update bare-form angle includes in their native code—changing imports like #import <RCTAppDelegate.h> to the namespaced format #import <React/RCTAppDelegate.h>.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Official Responses and Community Contributions

The release of React Native 0.87 was propelled by a massive collaborative effort. According to project metrics, the version incorporates 265 commits contributed by 74 distinct developers from across the global open-source community. The core team formally expressed gratitude to the community members whose dedication and significant contributions shaped the final build.

Community feedback has also driven specific tooling enhancements. For automated or agent-driven code migrations, specialized community skills such as /migrate-to-strict-api have been developed to streamline the transition process alongside standard ESLint automation. Furthermore, architectural proposals like RFC #0994 (detailing SwiftPM integration) and RFC #1006 (tracking ecosystem-wide AGP 9 adoption) continue to serve as transparent public forums for architectural debate and consensus-building.

Broader Impact and Implications

The release of React Native 0.87 carries profound implications for the mobile development community, signaling a decisive move toward stricter type safety and more modern build toolchains. By making the Strict TypeScript API the default, the framework is aligning itself with industry best practices seen in modern backend and frontend web development, where rigorous typing significantly reduces runtime errors and enhances maintainability.

Furthermore, the experimental introduction of Swift Package Manager hints at a future where iOS development within the React Native ecosystem is less reliant on Ruby-based toolchains, potentially lowering the barrier to entry for developers coming from native Swift backgrounds or web environments. While CocoaPods remains fully supported and remains the default for this release, the groundwork laid by SwiftPM support opens a viable path toward a faster, more streamlined Xcode-native workflow.

As version 0.87 takes its place as the latest stable release—thereby moving version 0.84.x into unsupported territory according to official support policies—development teams are encouraged to consult the React Native Upgrade Helper and review their project configurations. By embracing these modernizations, the React Native ecosystem continues to cement its position as a robust, enterprise-grade solution for cross-platform mobile application development.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/feed/ 0
React Native 0.87 Arrives with Strict TypeScript Default, Experimental SwiftPM Support, and Raised Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/#respond Sun, 27 Sep 2026 11:01:02 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/ The release of React Native 0.87 marks a significant milestone for the popular cross-platform mobile development framework, introducing architectural shifts, updated core tooling, and modernized baseline requirements. Announced today, version 0.87 transitions the Strict TypeScript API to the default JavaScript interface, updates Metro to version 0.87, introduces experimental support for the Swift Package Manager (SwiftPM), and elevates minimum toolchain requirements across both Android and Node.js environments. These updates collectively point toward a more robust, standardized, and performant ecosystem for mobile developers building native applications using JavaScript and TypeScript.

Background and Context of the Release

React Native has continually evolved since its open-source debut by Meta, shifting from a framework reliant on dynamic JavaScript bridges to a more strongly typed, highly optimized architecture built around the New Architecture and Fabric renderer. The journey toward strict typing began in earnest with version 0.80, which initially rolled out the Strict TypeScript API as an opt-in preview alongside the deprecation of deep imports.

Over the subsequent development cycles, the core team worked alongside community partners and library maintainers to refine root exports, eliminate compatibility roadblocks, and establish clearer boundaries for public APIs. Version 0.87 represents the culmination of this collaborative refinement, making strict typing the default standard for all fresh and upgraded projects. By enforcing strict types out of the box, the framework aims to reduce runtime errors, improve code predictability, and elevate the developer experience through comprehensive, glanceable hover documentation directly inside modern Integrated Development Environments (IDEs) like Visual Studio Code.

Strict TypeScript API Behaviours and Breaking Changes

The transition to the Strict TypeScript API as the default setting alters how developers interact with core components and symbols. Under the legacy typing system, hovering over components such as TextInput often yielded minimal or absent documentation. With the Strict API, developers gain access to full type information and rich doc comments directly within their IDE tooltips.

However, moving to a strict typing paradigm inherently introduces breaking changes across the public API surface. These changes require code modifications in existing applications, particularly for projects that previously relied on deep imports or legacy type definitions. To assist development teams with this transition, the React Native maintainers have provided detailed migration guides. Furthermore, agent-driven upgrades can leverage automated skills such as the /migrate-to-strict-api tool, which pairs direct migration instructions with existing ESLint fixers to streamline the process.

Recognizing that enterprise applications and third-party library ecosystems require time to adapt, the core team has implemented a temporary opt-out mechanism. Developers who are not yet ready to migrate can revert to the previous behavior through version 0.88 by adding the "react-native-legacy-deep-imports" custom condition to their project’s tsconfig.json file under compiler options. The React Native maintainers have explicitly stated that this opt-out bridge is temporary and that legacy TypeScript types will be permanently removed in the release following 0.88.

Experimental Swift Package Manager (SwiftPM) Integration on iOS

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

One of the most anticipated additions in React Native 0.87 is the introduction of experimental support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods on Apple’s iOS platform. CocoaPods has long served as the default dependency manager for iOS development within the React Native ecosystem, but it relies heavily on a Ruby-based toolchain that can occasionally introduce friction during environment configuration and project builds.

The new SwiftPM integration is fully opt-in and additive, meaning CocoaPods remains both the default and fully supported path for iOS builds. Crucially, the SwiftPM workflow consumes the exact same prebuilt XCFrameworks that React Native already publishes. Transitioning an existing or new application requires Xcode alone, effectively removing the dependency on Ruby, Bundler, and CocoaPods for developers opting into the new workflow.

Developers can integrate SwiftPM into their projects using a dedicated CLI command: npx react-native spm --deintegrate. This command carefully injects Swift package references directly into the existing .xcodeproj file without overwriting the project structure, ensuring that app signing, capabilities, and build phases remain untouched. Reversing the process is similarly straightforward using the corresponding deinit command.

A notable advantage of the SwiftPM implementation is its automated handling of dependency changes. Unlike traditional CocoaPods workflows that require developers to repeatedly run pod install whenever native packages are added or removed, SwiftPM detects modifications automatically during the build phase and triggers autolinking in the background.

To support SwiftPM successfully, the core engineering team had to fundamentally rethink how precompiled binaries are shipped. Because SwiftPM enforces much stricter structural requirements regarding XCFramework architecture and header locations than CocoaPods, version 0.87 introduces dedicated header-only frameworks. This ensures standard framework and header search path mechanics resolve correctly, giving every namespace a single physical home. While header contents remain byte-identical to previous source pods, developers may need to update bare-form angle includes to explicit namespace forms—for example, shifting from #import <RCTAppDelegate.h> to #import <React/RCTAppDelegate.h>.

Ecosystem Tooling Updates: Metro and Android Gradle Plugin (AGP) 9

Performance and build-system modernizations form another core pillar of the 0.87 release. Metro, the JavaScript bundler optimized for React Native, has been updated from version 0.84 to 0.87. This update brings internal performance enhancements, faster bundling speeds, and improved memoization, resulting in a leaner development loop.

On the Android side, React Native 0.87 introduces official support for the Android Gradle Plugin (AGP) 9.0. As a major release from Google, AGP 9.0 brings substantial API modifications and breaking changes to Gradle-based Android builds. To ensure a smooth transition across the ecosystem, the React Native maintainers recommend that developers temporarily opt out of built-in Kotlin and the new DSL API behaviors bundled with AGP 9. These opt-outs can be managed by adding specific flags (android.builtInKotlin=false and android.newDsl=false) to the project’s android/gradle.properties file. These compatibility flags will remain supported until AGP 10.x, giving library maintainers adequate time to refactor their Gradle scripts.

Raised Minimum Toolchain Requirements

To support modern language features, security standards, and performance optimizations, React Native 0.87 significantly raises the baseline requirements for developer toolchains. Upgrading to this release mandates the following minimum versions:

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support
  • Node.js 22 or higher
  • Android Gradle Plugin (AGP) version 9
  • Kotlin 2.0 or higher

These elevated requirements reflect the broader software industry’s movement toward modern runtime environments. Node.js 22 brings performance improvements to the build tooling, while Kotlin 2.0 provides advanced language features and compiler optimizations essential for native Android integration within modern React Native architectures.

Community Contributions and Upgrade Pathways

The delivery of React Native 0.87 is the result of a concerted community effort, incorporating 265 commits contributed by 74 individual developers. The core maintainers extended official acknowledgements to the community members who delivered significant architectural contributions, bug fixes, and documentation updates leading up to the stable launch.

With the release of version 0.87, the older 0.84.x release line officially moves to an unsupported status in accordance with React Native’s established support policy. Developers seeking to upgrade existing applications are advised to utilize the official React Native Upgrade Helper to inspect exact code diffs and configuration adjustments required for their specific project setups.

For newly initialized applications, developers can generate an 0.87 project directly using the community CLI:
npx @react-native-community/cli@latest init MyProject --version latest

Meanwhile, projects utilizing the Expo framework can expect React Native 0.87 to roll out as part of upcoming canary releases, allowing Expo developers to test the new strict types, updated Metro bundler, and experimental SwiftPM capabilities within managed workflows.

Broader Implications and Industry Outlook

The release of React Native 0.87 underscores the framework’s ongoing maturity and its alignment with modern software engineering standards. By establishing strict typing as the default, Meta and the React Native community are addressing long-standing enterprise concerns regarding code maintainability and large-scale refactoring safety.

Furthermore, the introduction of experimental Swift Package Manager support signals a pragmatic approach to reducing friction in iOS development environments. By offering an alternative to CocoaPods that relies purely on Xcode and prebuilt XCFrameworks, React Native is bridging the gap between cross-platform convenience and native Apple ecosystem tooling standards. As developers and library maintainers adopt these new standards over the coming months, version 0.87 is expected to pave the way for faster, safer, and more streamlined mobile application development across both iOS and Android platforms.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/feed/ 0
When Default Passes Mean Failure: Putting Keploy API Testing to the Test in a MERN Project https://codeguilds.com/when-default-passes-mean-failure-putting-keploy-api-testing-to-the-test-in-a-mern-project/ https://codeguilds.com/when-default-passes-mean-failure-putting-keploy-api-testing-to-the-test-in-a-mern-project/#respond Sun, 27 Sep 2026 10:22:55 +0000 https://codeguilds.com/when-default-passes-mean-failure-putting-keploy-api-testing-to-the-test-in-a-mern-project/ Software reliability engineering has long grappled with the inherent friction of test suite maintenance. Developers frequently invest significant time constructing comprehensive integration and unit tests, only to watch them degrade as codebases evolve. Recently, the open-source API testing and mocking platform Keploy has gained traction for its ability to generate automated tests and data mocks by recording real HTTP traffic and database interactions. To evaluate its practical viability, a developer integrated the tool into TaskFlow, a Node.js and Express-based MERN (MongoDB, Express, React, Node.js) project management application previously lacking an API testing harness. The subsequent audit revealed critical insights into backend performance, hidden application behavior, and potential failure modes in default testing configurations that hold substantial implications for continuous integration (CI) pipelines.

Initial Setup and Environmental Hurdles

The integration process began with an attempt to record API interactions using the foundational command keploy record -c "node server.js". Engineering best practices dictate utilizing the standard Node.js runtime rather than hot-reloading utilities like nodemon, as process restarts can severely disrupt the proxy-based recorder.

Initial execution immediately exposed environmental dependencies that highlight the nuances of recording real application traffic. The recording session hung for over five minutes without terminal output. Investigation revealed that the project directory was synchronized with cloud-based storage services, specifically Apple’s iCloud. The majority of the node_modules directory had been offloaded to cloud storage to conserve local disk space, causing the Node.js runtime to stall as it awaited file retrieval over the network. While this latency stemmed from local storage management rather than the testing utility itself, the incident underscored a limitation in early-stage feedback: the recording framework did not signal that incoming traffic listeners were inactive, leaving the developer temporarily blind to the blockage.

Diagnostic Discoveries: What Traffic Recording Unveils

Once environmental impediments were resolved and traffic recording commenced, Keploy automatically initiated a replay of the captured requests. Out of twelve recorded endpoints, seven initially failed validation. However, a manual inspection of the differences (diffs) revealed that these failures were not indicative of functional software bugs. Instead, they stemmed from dynamic data fields that naturally change across executions, such as MongoDB ObjectIds (_id), creation timestamps, JSON Web Tokens (JWTs), and HTTP entity tags (ETags).

To address this without compromising test rigor, the developer configured global noise filters using regular expression patterns. Rather than ignoring dynamic fields entirely—a practice that can mask critical regressions—regex validators were implemented to ensure that newly generated IDs and tokens conformed to expected cryptographic and structural formats (e.g., verifying that a MongoDB ID matches a 24-character hexadecimal string).

I ran Keploy on my MERN app. The scariest result was a green one.

Beyond managing dynamic test data, the recording phase provided unexpected visibility into the application’s underlying architecture and operational inefficiencies:

  1. Asynchronous Background Writes: TaskFlow computes and persists vector embeddings to MongoDB asynchronously whenever a task is created, allowing the HTTP response to return immediately without waiting for database completion. Keploy captured these background writes spilling over into the execution windows of subsequent tests. When transient anomalies occurred, the application logged a silent error message (embedding failed) and proceeded without alerting the user or failing the primary request.
  2. Excessive Database Queries: Performance profiling via recorded mocks exposed that a single PUT /api/tasks/:id endpoint triggered 33 separate database queries, whereas the next most resource-intensive endpoint required only nine. This unanticipated discovery prompted immediate plans for backend query optimization.
  3. Hidden Runtime Payloads: During initial task creation, the application dynamically downloaded a machine learning embedding model from Hugging Face. The recording utility captured every network byte of this download, resulting in a mocks.yaml file scaling to 37.7 megabytes, with the model accounting for roughly 98% of the file size. Pre-caching the embedding model externally reduced the mock file size to 286 kilobytes.

The Illusion of Green: Analyzing False Positives in CI Environments

After successfully configuring noise patterns, caching local dependencies, and introducing a startup delay (keploy test -c "node server.js" --delay 10), the test suite achieved a 12-out-of-12 passing score. A particularly beneficial feature identified during this phase was the mocking of external large language model (LLM) integrations, specifically Groq API calls. By replaying recorded LLM responses rather than hitting live endpoints during test runs, the evaluation became entirely deterministic, cost-free, and resilient to minor phrasing variations introduced by remote model updates.

However, a critical vulnerability emerged during longitudinal testing. Because TaskFlow’s authentication tokens are designed to expire after 15 minutes, re-running the test suite 16 minutes post-recording resulted in nine endpoints returning 401 Unauthorized responses instead of the expected 200 or 201 status codes.

Under default execution parameters, Keploy reported that these nine endpoints were "obsolete" rather than failed. The overall test suite summary declared a PASSED status, and the process concluded with an exit code of 0. In automated continuous integration environments, this behavior manifests as a successful build status despite nine broken API endpoints. The testing framework suggested that mocks were stale and recommended re-recording or updating test mappings—an action that, if executed blindly, would have quietly rewritten the test suite to accept unauthorized, broken behavior.

Efforts to utilize time-freezing flags (--freezeTime) to pin the application’s clock to the recording timestamp proved unsuccessful on native macOS environments, as the tool attempted to inject a Linux-compatible system library and defaulted to running standard tests upon encountering verification failures.

Mitigation Strategies for Enterprise CI/CD Pipelines

To counter the risk of false positives generated by stale mocks and expired credentials, engineering teams must adopt strict failure parameters. Comparative analysis of execution flags demonstrated distinct behavioral outcomes under identical conditions with expired tokens:

I ran Keploy on my MERN app. The scariest result was a green one.
  • Default Run: 3 passed, 0 failed, 9 obsolete. Reported as PASSED with Exit Code 0.
  • Strict Failure Mode (--strict-failure): 3 passed, 9 failed, 0 obsolete. Reported as FAILED with Exit Code 1.
  • Dependency Assertion Mode (--assert-dependencies): 3 passed, 9 failed, 0 obsolete. Reported as FAILED with Exit Code 1.

Enforcing --strict-failure or --assert-dependencies ensures that any deviation in dependency behavior or mock validation immediately breaks the build pipeline, preventing silent regressions from reaching production environments.

Security Implications and Best Practices

The integration of traffic-recording testing tools also introduces specific security considerations regarding sensitive data handling. Because tools like Keploy capture raw HTTP traffic and internal application states to build mock files, developers must exercise rigorous oversight to prevent the inadvertent leakage of credentials.

Key security protocols identified during the evaluation include:

  • Masking Authorization Headers: Ensure that bearer tokens, session cookies, and API keys are explicitly excluded or scrubbed from recorded mock files before committing them to version control repositories.
  • Environment Segregation: Restrict automated recording sessions to dedicated development or staging environments containing non-production databases and sanitized datasets.
  • Regular Mock Auditing: Periodically review generated YAML mock files to verify that personally identifiable information (PII) or internal service credentials have not been hardcoded into the test repository.

Broader Implications for Automated API Testing

The experience of integrating record-and-replay testing into the TaskFlow architecture highlights a broader lesson for software engineering organizations: green test suites do not inherently guarantee functional software health. While record-and-replay paradigms significantly lower the barrier to entry for comprehensive API testing—offering rapid generation of mocks for external services like LLMs and databases—they introduce distinct blind spots regarding time-sensitive dependencies and authentication states.

For development teams evaluating automated recording tools, the primary takeaway is the necessity of configuration hardening. Relying on default execution parameters in CI pipelines risks cultivating a false sense of security. By enforcing strict failure flags, managing data volatility through intelligent regex masking, and maintaining vigilance over captured secrets, engineering teams can leverage traffic-recording utilities to enhance application reliability without compromising pipeline integrity.

]]>
https://codeguilds.com/when-default-passes-mean-failure-putting-keploy-api-testing-to-the-test-in-a-mern-project/feed/ 0