Commit Graph
26 Commits
Author SHA1 Message Date
Marc Rousavy 312f8a2aed chore: release 0.26.0 2025-06-05 10:22:55 +02:00
Marc Rousavy 02c7c75377 chore: release 0.25.2 2025-03-19 21:39:47 +09:00
Marc Rousavy f39246332c chore: release 0.25.1 2025-03-10 12:36:30 +01:00
Marc Rousavy 2336120832 chore: release 0.25.0 2025-03-06 15:40:17 +01:00
Marc Rousavy a6a9472b5b chore: release 0.24.1 2025-02-24 17:05:11 +01:00
Marc Rousavy 1361e29d81 chore: release 0.24.0 2025-02-24 15:42:03 +01:00
Marc Rousavy 9cb081820e chore: release 0.23.0 2025-02-21 16:32:15 +01:00
Marc RousavyandGitHub 28f9c4acd6 feat: Nitro Views!!!!!!!!! 🥳 (#512)
* feat: Upgrade to react-native 0.78

* Bump target SDK to 35

* fix: Remove if guards for RN 78 version check

* fix: Use proper type to fix build for RN78

* feat: Create View Screen

* feat: Add Views logo

* feat: Actually render the view

* feat: It extends ViewProps

* feat: Style it better

* Blue light :)

* fix: Separate border and shadow

* fix: Set Folly flags

* fix: Fix build for Android by tweaking state getter

* WOOOHOOO IT WORKS ON ANDROID!!!!!!

* background color in android?

* chore: Rename to `isBlue`

* Update ViewScreen.tsx

* fix: `isX` for boolean getters

* fix: Also register view component in J View

* Revert "fix: `isX` for boolean getters"

This reverts commit 1ce5f31e06697f9c1dd0731c5903f0ae9797299b.

* feat: Pass environment to setter names

* fix: Fix stupid kotlin props being prefixed differently

* Update HybridTestView.kt

* feat: Add `beforeUpdate()` and `afterUpdate()` to Android

* indent

* feat: Unmount custom view when navigating away

* perf: Only override `adopt()` on Android

* perf: Make state updater `internal`

* add button to start/stop updating props

* Add infinite mount example

* chore: Rebuild lockfiles

* Update HybridTestViewSpec_cxx.swift

* feat: Upgrade to 78 stable

* lockfiles

* fix: Update RN Screens and Safe Area Context

* fix: Upgrade to RN Screens 4.9.0-beta.0 (for RN 78 support)
2025-02-19 21:01:26 +01:00
Marc Rousavy 92256f0fa1 chore: Release 0.22.1 2025-02-06 15:21:13 -08:00
Marc RousavyandGitHub 68e324f192 fix: Fix cxxreact module import (#525) 2025-02-06 15:19:39 -08:00
Marc Rousavy 6308017e64 chore: release 0.22.0 2025-02-03 14:54:03 +01:00
Marc RousavyandGitHub 35a4efb6a0 chore: Import react-native version from ReactNativeVersion.h (#505)
* feat: Import react-native version from `ReactNativeVersion.h`

* fix: Use NitroDefines import

* chore: Use actual types
2025-01-21 15:22:48 +01:00
Marc Rousavy 347fa02a7d chore: release 0.21.0 2025-01-09 19:44:01 +01:00
Marc Rousavy 72076b2b64 chore: release 0.20.1 2024-12-22 14:00:09 +01:00
Marc Rousavy c72e23de4a chore: release 0.20.0 2024-12-20 12:56:47 +01:00
Marc RousavyandGitHub 196fc9d0e0 perf: Mark all types that are used only in std::shared_ptr<T> as SWIFT_NONCOPYABLE (#435)
* fix: Mark all types that are used only in `std::shared_ptr<T>` as `SWIFT_UNSAFE_REFERENCE`

* Update AnyMap.hpp

* fix: Add `SWIFT_PRIVATE`

* fix: Use `SWIFT_NONCOPYABLE` instead!! THAT WORKS
2024-12-20 10:11:25 +01:00
Marc Rousavy 82ccff24bc chore: release 0.19.0 2024-12-18 16:59:06 +01:00
Marc Rousavy 10e24b0b3d chore: release 0.18.2 2024-12-05 15:03:56 +01:00
Marc RousavyandGitHub 04e73d8c1d feat: Add native NITRO_VERSION to C++ codebase and warn if it's out of sync (#398)
* feat: Add `NITRO_VERSION` to NitroDefines.hpp and update it post bump

* feat: Log warning if nitro versions don't match
2024-12-05 15:01:37 +01:00
Marc RousavyandGitHub 7afac07a83 fix: Fix NONNULL function pointers (#250)
* fix: Fix `NONNULL` function pointers

* Revert "fix: Fix `NONNULL` function pointers"

This reverts commit 5a3acb46d0.

* fix: Replace `NONNULL` with `_Nonnull` compiler keyword

* fix: Format
2024-10-22 11:52:03 +02:00
Marc RousavyandGitHub 6803be8cd9 fix: Add _Nonnull modifier to void* types for Swift (#231) 2024-10-15 20:39:45 +02:00
Marc Rousavy 89a5995dd9 fix: Explicitly check against NDEBUG on Android 2024-09-17 15:14:58 +02:00
Marc RousavyandGitHub 03e1a716cf fix: Fix NITRO_DEBUG debug/release preprocessor directive (#132)
* fix: Use `NITRO_DEBUG` flag to predictably run debug/release code

* feat: Add `NitroModules.buildType`

* fix: Style `debug` label
2024-09-16 16:18:05 +02:00
Marc RousavyandGitHub 0dd63227d8 fix: Fix Swift umbrella header includes (#19)
* feat: Try bridge more Swift

* Make all Promises `async` in swift

* Rename `Promise` to `JSPromise`

* Update JSPromise.hpp

* Update JSICache.cpp

* fix import

* fix: Init props

* fix: Remove AnyMap and ArrayBuffer apis for now

* fix import

* no more async? idk

* feat: Convert `std::optional<T>` to `swift::Optional<T>`

* Remove all funcs except hello

* fix: Generate Swift Umbrella header

* fix: Organize

* fix: Hardcode forward-decl

* feat: Properly generate umbrella header from known types

* fix: Fix indentation

* order

* feat: Try bridging some primitives over...

* Update NitroDefines.hpp

* Update Property.ts

* fallthrough looks better

* better error

* fix: Fix wrong enum `maxLength`

* feat: Try `CarSwift` experiment

* Revert "feat: Try `CarSwift` experiment"

This reverts commit 7794f38271.
2024-08-12 14:18:13 +02:00
Marc Rousavy 9d69ba04ab chore: Run clang format 2024-07-31 17:39:56 +02:00
Marc Rousavy 786f2e9f13 fix: Use shared NitroDefines 2024-07-29 12:03:06 +02:00