Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/nitro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.6

- **Ecosystem sync** — Updated annotations and generator support.

## 0.4.5

- **Ecosystem sync** — Aligned with `nitro_annotations`, `nitro_generator`, and `nitrogen_cli` 0.4.5.
Expand Down
2 changes: 1 addition & 1 deletion packages/nitro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In your plugin's `pubspec.yaml`:

```yaml
dependencies:
nitro: ^0.4.5
nitro: ^0.4.6
```

Then run:
Expand Down
6 changes: 3 additions & 3 deletions packages/nitro/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: nitro
description: >
High-performance Native Modules for Flutter (Nitro Modules equivalent).
Runtime support for .native.dart spec generated bridges.
version: 0.4.5
version: 0.4.6
homepage: https://nitro.shreeman.dev
repository: https://github.com/Shreemanarjun/nitro_ecosystem
issue_tracker: https://github.com/Shreemanarjun/nitro_ecosystem/issues
Expand All @@ -26,15 +26,15 @@ dependencies:
sdk: flutter
ffi: ^2.1.3
plugin_platform_interface: ^2.0.2
nitro_annotations: ^0.4.5
nitro_annotations: ^0.4.6
meta: ^1.17.0

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
build_runner: ^2.15.0
nitro_generator: ^0.4.5
nitro_generator: ^0.4.6
test: ^1.31.1

# For information on the generic Dart part of this file, see the
Expand Down
4 changes: 4 additions & 0 deletions packages/nitro_annotations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.4.6

- **New Annotations** — Added `@NitroVariant`, `@NitroResult`, `@nitroNativeAsync`, `@zeroCopy`, and `@NitroOwned`.

# 0.4.5

- **Ecosystem sync** — Aligned with `nitro`, `nitro_generator`, and `nitrogen_cli` 0.4.5.
Expand Down
8 changes: 3 additions & 5 deletions packages/nitro_annotations/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: nitro_annotations
description: >
Annotations package for Nitro Modules (Nitrogen).
Provides the @NitroModule, @HybridRecord, and other annotations used by the nitro_generator.
version: 0.4.5
description: "Pure-Dart annotations and enums for the Nitrogen ecosystem. Zero dependencies — compatible with Flutter, Dart Server, and CLI."
homepage: https://nitro.shreeman.dev
repository: https://github.com/Shreemanarjun/nitro_ecosystem
repository: https://github.com/Shreemanarjun/nitro_ecosystem/tree/main/packages/nitro_annotations
version: 0.4.6

environment:
sdk: ^3.11.3
Expand Down
4 changes: 4 additions & 0 deletions packages/nitro_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.6

- **New Annotations** — Added generation support for `@NitroVariant`, `@NitroResult`, `@nitroNativeAsync`, `@zeroCopy`, and `@NitroOwned`.

## 0.4.5

- **Fixed: `@NitroOwned` Swift bridge emits `return nil` instead of `return ()`** — `_emitSyncBody` in `swift_function_emitter.dart` now checks `isNativeHandle` before the `isVoid` branch. Previously a `NativeHandle<T>`-returning function fell through to the `void` default and emitted `return ()`, causing a compile-time type error (`cannot convert '()' to 'UnsafeMutableRawPointer'`).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '../bridge_spec.dart';

const nitroGeneratorVersion = '0.4.5';
const nitroGeneratorVersion = '0.4.6';

String generatedFileHeader(String commentPrefix, {required String sourceUri}) {
final sourceName = sourceUri.split('/').last;
Expand Down
6 changes: 3 additions & 3 deletions packages/nitro_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: nitro_generator
description: >
Code generator for Nitro Modules (Nitrogen).
Converts *.native.dart specs to Dart FFI, Kotlin, Swift, and C++ bindings.
version: 0.4.5
version: 0.4.6
homepage: https://nitro.shreeman.dev
repository: https://github.com/Shreemanarjun/nitro_ecosystem
issue_tracker: https://github.com/Shreemanarjun/nitro_ecosystem/issues
Expand All @@ -26,12 +26,12 @@ dependencies:
source_gen: ^4.2.3
dart_style: ^3.1.7
path: ^1.9.0
nitro_annotations: ^0.4.5
nitro_annotations: ^0.4.6

dev_dependencies:
build_test: ^3.5.0
build_runner: ^2.15.0
test: ^1.25.0
lints: ^6.0.0
nitro: ^0.4.5
nitro: ^0.4.6
ffi: ^2.1.3
4 changes: 4 additions & 0 deletions packages/nitrogen_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.6

- **Ecosystem sync** — Aligned with `nitro`, `nitro_annotations`, and `nitro_generator` 0.4.6.

## 0.4.5

- **Ecosystem sync** — Aligned with `nitro`, `nitro_annotations`, and `nitro_generator` 0.4.5.
Expand Down
2 changes: 1 addition & 1 deletion packages/nitrogen_cli/lib/version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:io';
/// The hardcoded baseline version.
/// In a true "automatic" setup, this could be updated by a build script,
/// but here we use it as a fallback if pubspec detection fails.
const String nitrogenVersion = '0.4.5';
const String nitrogenVersion = '0.4.6';

/// Dynamically resolves the version of nitrogen from its own pubspec.yaml.
/// This works even when globally activated by looking near the script file.
Expand Down
2 changes: 1 addition & 1 deletion packages/nitrogen_cli/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nitrogen_cli
description: "CLI for Nitrogen Modules. Scaffold new Flutter FFI plugins and generate native bridge code."
version: 0.4.5
version: 0.4.6
homepage: https://nitro.shreeman.dev
repository: https://github.com/Shreemanarjun/nitro_ecosystem
issue_tracker: https://github.com/Shreemanarjun/nitro_ecosystem/issues
Expand Down
Loading