Skip to content

Release 22.10.1 #2571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion Gemfile.lock
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GEM
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
colorator (1.1.0)
commonmarker (0.23.2)
commonmarker (0.23.4)
concurrent-ruby (1.1.9)
dotenv (2.7.6)
em-websocket (0.5.2)
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/components/actions-fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<tbody>
{% for field in action.fields %}
<tr>
<td>{{field.label}}</td>
<td>{{field.label}}{% if field.required %}<span class="required" title="This field is required">*</span>{% endif %}</td>
<td>{% if field.type %}Type: <code>{{field.type}}</code><br />{%endif%}{{field.description | markdownify}}</td>
</tr>
{%endfor%}
Expand Down
6 changes: 6 additions & 0 deletions src/_sass/components/_markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -430,3 +430,9 @@ div.highlighter-rouge {
.table-code-snippet {
max-width: 450px;
}

.required {
color: black;
font-weight: bold;
margin-left: 3px
}
2 changes: 0 additions & 2 deletions src/connections/destinations/catalog/kustomer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ rewrite: true

This destination is maintained by Kustomer. For any issues with the destination, [contact the Kustomer Support team](mailto:support@kustomer.com).

{% include content/beta-note.md %}

## Getting Started

{% include content/connection-modes.md %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ redirect_from:
With Analytics-Kotlin, you can send data using Kotlin applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics-Kotlin enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations.

> info ""
> Analytics Kotlin is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins){:target="_blank"} with Segment actively adding more to the list. If you don't see your destination, you can [build your own](#build-your-own-destination). <br>Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
> Segment supports [these destinations](#supported-destinations) with more to come. If you don't see your destination, you can [build your own](#build-your-own-destination).

> success ""
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android) or on the [server](/docs/connections/sources/catalog/libraries/server/kotlin). Segment doesn’t support device-mode destinations on the server-side.
Expand Down Expand Up @@ -42,7 +42,7 @@ To get started with the Analytics-Kotlin mobile library:

```java
// Create an analytics client with the given application context and Segment write key.
// NOTE: in android, application context is required to pass as the second parameter.
// NOTE: in android, application context is required to pass as the second parameter.
Analytics("YOUR_WRITE_KEY", applicationContext) {
// Automatically track Lifecycle events
trackApplicationLifecycleEvents = true
Expand Down Expand Up @@ -85,7 +85,7 @@ To get started with the Analytics-Kotlin mobile library:
```

5. Enable Java 8+ API desugaring.

The SDK internally uses a number of Java 8 language APIs through desugaring. Make sure your project either [enables desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring)) or requires a minimum API level of 26.

## Tracking Methods
Expand Down Expand Up @@ -447,5 +447,13 @@ Segment recommends you to test your destination implementation end-to-end. Send
## Compatibility
If you use a Java codebase, please refer to the [Java Compatibility docs](https://github.com/segmentio/analytics-kotlin/blob/main/JAVA_COMPAT.md){:target="_blank"} for sample uses.

## Supported Destinations
Segment currently supports these destinations for Analytics Kotlin and is actively adding more:
* [Amplitude](https://github.com/segment-integrations/analytics-kotlin-amplitude)
* [Appsflyer](https://github.com/segment-integrations/analytics-kotlin-appsflyer)
* [Firebase](https://github.com/segment-integrations/analytics-kotlin-firebase)
* [Mixpanel](https://github.com/segment-integrations/analytics-kotlin-mixpanel)


## Changelog
[View the Analytics-Kotlin changelog on GitHub](https://github.com/segmentio/analytics-kotlin/releases).
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ strat: kotlin
---

> info ""
> Analytics-Kotlin is in pubic beta and currently supports [these destinations](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins){:target="_blank"} with Segment actively adding more to the list. Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
> Analytics-Kotlin supports [these destinations](/docs/connections/sources/catalog/libraries/mobile/kotlin-android#supported-destinations) with more to come.

If you’re using a different library such as Analytics-Android, follow these steps to migrate to the Analytics-Kotlin library:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ redirect_from:

With Analytics-Swift, you can send data from iOS, tvOS, iPadOS, WatchOS, macOS and Linux applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics-Swift enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations. Analytics-Swift also offers default implementations to help you maintain destinations and integrations.

> info ""
> Analytics-Swift is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-swift/tree/main/Examples/destination_plugins){:target="_blank"} with Segment actively adding more to the list. Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
If you’re migrating to Analytics-Swift from a different mobile library, you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift-ios/migration/).

> info ""
> Analytics-Swift currently supports [these destinations](#supported-destinations), with more to follow.

If you’re migrating to Analytics-Swift from a different mobile library, you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift-ios/migration/).

## Getting Started
To get started with the Analytics-Swift mobile library:
Expand Down Expand Up @@ -399,5 +399,14 @@ let idfaPlugin = IDFACollection()
analytics.add(plugin: idfaPlugin)
```

## Supported Destinations
Segment supports these destinations for Analytics Swift, with more to come:
* [Amplitude](https://github.com/segment-integrations/analytics-swift-amplitude)
* [Appsflyer](https://github.com/segment-integrations/analytics-swift-appsflyer)
* [Facebook App Events](https://github.com/segment-integrations/analytics-swift-facebook-app-events)
* [Firebase](https://github.com/segment-integrations/analytics-swift-facebook-app-events)
* [Mixpanel](https://github.com/segment-integrations/analytics-swift-mixpanel)


## Changelog
[View the Analytics-Swift changelog on GitHub](https://github.com/segmentio/analytics-swift/releases).
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ strat: swift
---

> info ""
> Analytics-Swift is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-swift/tree/main/Examples/destination_plugins){:target="_blank"} with Segment actively adding more to the list. Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
> Analytics-Swift supports [these destinations](/docs/connections/sources/catalog/libraries/mobile/swift-ios#supported-destinations) with more to come.

If you’re using a different mobile library such as Analytics-iOS, follow these steps to migrate to the Analytics-Swift library:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ redirect_from:

With Analytics-Kotlin, you can send data using Kotlin applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics-Kotlin enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations.

> info ""
> Analytics-Kotlin is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins){:target="_blank"} with Segment actively adding more to the list. If you don't see your destination, you can [build your own](/docs/connections/sources/catalog/libraries/mobile/kotlin-android#build-your-own-destination). Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.

> success ""
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android) or on the [server](/docs/connections/sources/catalog/libraries/server/kotlin). Segment doesn’t support device-mode destinations on the server-side.
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android) or on the server. Segment doesn’t support device-mode destinations on the server-side.

If you’re migrating to Analytics-Kotlin from a different mobile library, you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/migration/).

Expand Down Expand Up @@ -398,5 +395,6 @@ analytics.flush("SomePlugin")
{% endcodeexampletab %}
{% endcodeexample %}


## Changelog
[View the Analytics-Kotlin changelog on GitHub](https://github.com/segmentio/analytics-kotlin/releases).
13 changes: 6 additions & 7 deletions src/connections/sources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,14 @@ analytics.identify('user_123', {

Our Mobile SDKs are the best way to simplify your iOS, Android, and Xamarin app tracking. We recommend them over server-side sources as the default installation for any mobile app.

- [iOS SDK](/docs/connections/sources/catalog/libraries/mobile/ios)
- [Android SDK](/docs/connections/sources/catalog/libraries/mobile/android)
- [Android Wear SDK](/docs/connections/sources/catalog/libraries/mobile/android/wear)
- [Xamarin SDK](/docs/connections/sources/catalog/libraries/mobile/xamarin)
- [AMP](/docs/connections/sources/catalog/libraries/mobile/amp)
- [Android](/docs/connections/sources/catalog/libraries/mobile/android)
- [Android Wear](/docs/connections/sources/catalog/libraries/mobile/android/wear)
- [iOS](/docs/connections/sources/catalog/libraries/mobile/ios)
- [Kotlin](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/)
- [React Native](/docs/connections/sources/catalog/libraries/mobile/react-native)

> info "Pilot Libraries"
> Pilot releases of the [Analytics-Swift](https://github.com/segmentio/analytics-swift) and [Analytics-Kotlin](https://github.com/segmentio/analytics-kotlin) libraries are available. This library is governed by [Segment’s First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/), and should not be used in production scenarios.
- [Swift](/docs/connections/sources/catalog/libraries/mobile/swift-ios/)
- [Xamarin](/docs/connections/sources/catalog/libraries/mobile/xamarin)

---

Expand Down
2 changes: 1 addition & 1 deletion src/getting-started/06-testing-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ The Latency view shows the end-to-end P95 latency during the time period you sel


<div class="double">
{% include components/reference-button.html href="/getting-started/05-data-to-destinations/" newtab="false" icon="symbols/arrow-left.svg" title="Sending data to Destinations" description="Unlock the power fo Segment with Destinations" variant="related" subtitle="back" %}
{% include components/reference-button.html href="/getting-started/05-data-to-destinations/" newtab="false" icon="symbols/arrow-left.svg" title="Sending data to Destinations" description="Unlock the power of Segment with Destinations" variant="related" subtitle="back" %}

{% include components/reference-button.html href="/getting-started/whats-next/" newtab="false" icon="symbols/arrow-right.svg" title="What's next?" description="Learn about what you can do next with Segment" variant="related" subtitle="next" %}
</div>