@allstak/react-native 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AllStakRN.podspec +25 -0
- package/CHANGELOG.md +63 -0
- package/README.md +379 -145
- package/build-hooks/allstak-sourcemaps.gradle +132 -0
- package/build-hooks/eas-post-bundle.js +127 -0
- package/build-hooks/upload-sourcemaps.js +175 -0
- package/build-hooks/xcode-build-phase.sh +90 -0
- package/dist/build/sourcemaps.d.mts +94 -0
- package/dist/build/sourcemaps.d.ts +94 -0
- package/dist/build/sourcemaps.js +142 -0
- package/dist/build/sourcemaps.js.map +1 -0
- package/dist/build/sourcemaps.mjs +115 -0
- package/dist/build/sourcemaps.mjs.map +1 -0
- package/dist/expo-plugin.js +1 -1
- package/dist/expo-plugin.js.map +1 -1
- package/dist/expo-plugin.mjs +1 -1
- package/dist/expo-plugin.mjs.map +1 -1
- package/dist/index.d.mts +366 -29
- package/dist/index.d.ts +366 -29
- package/dist/index.js +1131 -160
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1126 -165
- package/dist/index.mjs.map +1 -1
- package/native/android/build.gradle +3 -1
- package/native/android/src/main/java/io/allstak/rn/AllStakRNModule.java +17 -0
- package/native/ios/AllStakRNModule.m +16 -0
- package/package.json +21 -3
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
|
|
3
|
+
# Root-level podspec — modern @react-native-community/cli auto-discovers
|
|
4
|
+
# the iOS native module by scanning the package root for `*.podspec`. This
|
|
5
|
+
# file simply re-exports the real spec under native/ios/.
|
|
6
|
+
|
|
7
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
8
|
+
|
|
9
|
+
Pod::Spec.new do |s|
|
|
10
|
+
s.name = "AllStakRN"
|
|
11
|
+
s.version = package["version"]
|
|
12
|
+
s.summary = "AllStak React Native — native iOS crash capture"
|
|
13
|
+
s.description = "Captures uncaught NSExceptions on iOS, persists them across launches, and exposes drainPendingCrash() to the JS layer."
|
|
14
|
+
s.homepage = package["homepage"]
|
|
15
|
+
s.license = "MIT"
|
|
16
|
+
s.authors = { "AllStak" => "hello@allstak.io" }
|
|
17
|
+
s.platforms = { :ios => "12.0" }
|
|
18
|
+
s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
|
|
19
|
+
|
|
20
|
+
# Source files live under native/ios/ to keep the package layout clean.
|
|
21
|
+
s.source_files = "native/ios/*.{h,m,mm}"
|
|
22
|
+
s.requires_arc = true
|
|
23
|
+
|
|
24
|
+
s.dependency "React-Core"
|
|
25
|
+
end
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@allstak/react-native` are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.3.1] — 2026-05-11
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Runtime `debugId` resolution per error frame via `globalThis._allstakDebugIds`.
|
|
13
|
+
- `debugMeta.images[]` aggregation in error payloads.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Error frames now include `debugId` field for precise source map matching.
|
|
18
|
+
|
|
19
|
+
## [0.3.0] — 2026-05-08
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- Full automatic HTTP instrumentation (fetch interception).
|
|
24
|
+
- Hermes source map injection and upload pipeline.
|
|
25
|
+
- Expo config plugin for automatic source map handling.
|
|
26
|
+
- EAS Build post-bundle hook for CI source map uploads.
|
|
27
|
+
|
|
28
|
+
## [0.2.0] — 2026-04-25
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- Scope management for tags, extras, and context.
|
|
33
|
+
- Distributed tracing with automatic request header propagation.
|
|
34
|
+
- Replay surrogate events for session context.
|
|
35
|
+
- Expo integration with config plugin.
|
|
36
|
+
- New Architecture (Fabric) detection.
|
|
37
|
+
- Navigation breadcrumb helpers.
|
|
38
|
+
|
|
39
|
+
## [0.1.4] — 2026-04-10
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- Standalone release on public npm as `@allstak/react-native`.
|
|
44
|
+
|
|
45
|
+
### Added
|
|
46
|
+
|
|
47
|
+
- Native crash capture via `ErrorUtils.setGlobalHandler`.
|
|
48
|
+
- Unhandled promise rejection capture.
|
|
49
|
+
- `beforeSend` callback, `sampleRate`, `setTags`/`setExtra`/`setContext`.
|
|
50
|
+
- `flush()` with bounded timeout.
|
|
51
|
+
- Hermes stack trace parsing.
|
|
52
|
+
- Android and iOS native crash handler modules.
|
|
53
|
+
|
|
54
|
+
## [0.1.1] — 2026-03-28
|
|
55
|
+
|
|
56
|
+
Initial professional release.
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
- Core error capture with React Native stack parsing.
|
|
61
|
+
- Breadcrumb ring buffer (max 50).
|
|
62
|
+
- Fail-open transport with exponential backoff.
|
|
63
|
+
- Circuit breaker on 401 responses.
|