@tugboat-ai/react-native 0.0.0-stage → 0.0.8

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/CHANGELOG.md ADDED
@@ -0,0 +1,86 @@
1
+ # Changelog
2
+
3
+ ## 0.0.8
4
+
5
+ - Renamed to `@tugboat-ai/react-native` (was `@tugboat/react-native`), the name it
6
+ is published under on npm. Import from the new name; the API is unchanged.
7
+ - The package can be published: it is no longer `private`, and it ships its
8
+ license (AGPL-3.0-only) and this changelog. Releases come from the tag
9
+ `react-native-v<version>` (see `docs/releases/process.md`).
10
+
11
+ ## 0.0.7
12
+
13
+ - Android and iOS: collector requests send `X-Sdk-Version` = this package's version
14
+ (they sent the native host's, `0.1.0`), as Flutter sends its package version.
15
+ The native hosts take it through the new optional `TugboatConfig.sdkVersion`.
16
+ - Android: a drag that starts while a list is still flinging is a `scroll` with that
17
+ list as target (it was a target-less `swipe`), and an edge hit after a fling
18
+ carries `overscrollCount`, as in Flutter. The fix is in `tugboat-android`.
19
+
20
+ ## 0.0.6
21
+
22
+ - Android: a drag on a `ScrollView`, `FlatList`, carousel or pager is recorded as
23
+ a `scroll` with the list's anchor, as in Flutter (it was a target-less `swipe`
24
+ for lists on screens opened after startup). The fix is in `tugboat-android`;
25
+ the JavaScript API and this package's sources are unchanged.
26
+
27
+ - iOS: remote `<Image>` downloads are no longer recorded as `network_call`
28
+ (Flutter and Android record nothing for image loads). The HTTP handler skips
29
+ requests React Native's image loader tags (`trackingName` `RCTImageLoader`), so
30
+ they go to React Native's default handler unrecorded. A `fetch` or
31
+ `XMLHttpRequest` of an image URL is still recorded; it is told apart by the
32
+ tag, not by the response's content type. The JavaScript API and the Android
33
+ library are unchanged.
34
+
35
+ ## 0.0.5
36
+
37
+ - iOS event shape, to match Android and Flutter: a launch while the app is active
38
+ records `app_foregrounded`; a 4xx/5xx response with no body records an empty
39
+ `errorResponseBody` (as Android and Dio); a named view's anchor carries
40
+ `actions` and `enabled`. The JavaScript API and the Android library are
41
+ unchanged.
42
+
43
+ ## 0.0.4
44
+
45
+ - iOS support. The same `NativeTugboat` spec is implemented over the Swift host
46
+ (`platforms/apple`): `start`, `activate`, `deactivate`, `stop`, `setUserId`,
47
+ `setTraits`, `setScreen`. `<Tugboat.Sensitive>` is a Fabric view that the host
48
+ masks with its whole subtree. `fetch` and `XMLHttpRequest` are recorded through
49
+ a request handler built on `Tugboat.instrumentedSession` (URL path as route,
50
+ once per call). A `testID` is the view's `accessibilityIdentifier`: a named
51
+ view is a tap target, its name the anchor's tag and alias. React Native's text
52
+ and image views are masked whole. JavaScript names every screen: no view
53
+ controller is a route, and the first screen named is the session's initial route
54
+ (`session_start`, with a frame of its own), as on Android and in Flutter.
55
+ - The Swift host comes in as local pods (`TugboatSessionEngine`,
56
+ `TugboatCaptureRuntime`, `Tugboat`, from the repository root); see the README.
57
+ - Needs the seams added to the Swift host in this tree
58
+ (`TugboatAdapters.setScreen`, `setViewNameProvider`, `setViewRoleClassifier`,
59
+ `markSensitive`).
60
+ - Android is unchanged.
61
+
62
+ ## 0.0.3
63
+
64
+ - Anchors match Flutter (needs the `tugboat-android` of this tree): a `Switch` reports role
65
+ `switch`, a text field reports actions `["input"]`, and a `testID` containing `%`, `#` or `/` is
66
+ percent-escaped in the canonical path.
67
+ - `ScrollView` and `FlatList` report an overscroll when dragged past an edge, as in Flutter (needs the `tugboat-android` of this tree).
68
+ - Taps carry `routeKey`, as in the Flutter SDK (needs the `tugboat-android` of this tree).
69
+ - One initial route: the activity is no longer a route of its own, so the first
70
+ route is the first screen named by `setScreen` / `trackNavigation`, reported as
71
+ the session's initial route (`session_start`, with a frame of that screen), as
72
+ in Flutter (it was the activity, then that screen). An app that never names a
73
+ screen reports no routes.
74
+
75
+ ## 0.0.2
76
+
77
+ - Early start: a content provider installs activity observation before the first
78
+ activity, so frames and `session_start` begin at cold launch.
79
+ - `Tugboat.setScreen(name, instanceId?)` and `Tugboat.trackNavigation(navigationRef)`:
80
+ one `route_change` per navigation, named by the focused route path.
81
+ - `testID` is the view's tag and fingerprint name; `react-native-screens`
82
+ fragments produce no routes of their own.
83
+
84
+ ## 0.0.1
85
+
86
+ - First Android-only build: start, activate, `Sensitive`, network capture.