-
Notifications
You must be signed in to change notification settings - Fork 133
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
Release 1.19.0
#1267
Merged
Merged
Release 1.19.0
#1267
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
efed845
REPLAY-1523 Add text alignment support
maciejburda a335bbe
REPLAY-1523 Update snapshot
maciejburda 0324e48
REPLAY-1523 Unify strategy
maciejburda 049bd2f
REPLAY-1523 Exchange manual vertical alignment with text alignment
maciejburda 36008b0
REPLAY-1523 Fix linter warnings
maciejburda 7718366
Merge pull request #1255 from DataDog/release/1.18.0
maciejburda bd871b7
Merge pull request #1249 from DataDog/maciey/REPLAY-1523-text-alignment
maciejburda ed6c70e
RUMM-3194 add sampling rate on Tracer
xgouchet cc1ef5d
Merge pull request #1259 from DataDog/xgouchet/RUMM-3194/tracer_sampl…
xgouchet 5d4b391
RUMM-3239 Fix RUM context in Logs
maxep 35f40b3
Update CHANGELOG.md
maxep 660aa75
Update LoggerTests.swift
maxep 69ff9fe
Merge pull request #1264 from DataDog/maxep/RUMM-3239/fix-rum-context…
maxep a2b9362
Bumped version to 1.19.0
maxep 4c6a5a1
Update CHANGELOG.md
maxep 828eef9
Fix benchmark tests
maxep 753105a
Update CHANGELOG.md
maxep 6cb2a5f
Update CHANGELOG.md
maxep File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
DatadogSessionReplay/Sources/Writer/Models/SRDataModels+UIKit.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. | ||
* This product includes software developed at Datadog (https://www.datadoghq.com/). | ||
* Copyright 2019-Present Datadog, Inc. | ||
*/ | ||
|
||
import UIKit | ||
|
||
extension SRTextPosition.Alignment { | ||
/// Custom initializer that allows transforming UIKit's `NSTextAlignment` into `SRTextPosition.Alignment`. | ||
init( | ||
systemTextAlignment: NSTextAlignment, | ||
vertical: SRTextPosition.Alignment.Vertical = .center | ||
) { | ||
self.vertical = vertical | ||
switch systemTextAlignment { | ||
case .left: | ||
self.horizontal = .left | ||
case .center: | ||
self.horizontal = .center | ||
case .right: | ||
self.horizontal = .right | ||
case .justified: | ||
self.horizontal = .left | ||
case .natural: | ||
self.horizontal = .left | ||
@unknown default: | ||
self.horizontal = .left | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't be
1.19.0
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nooo! CI just passed!!