Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Saurav/update to upstream #1

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open

Conversation

SauravPahadia
Copy link

No description provided.

alanjcharles and others added 30 commits January 11, 2024 12:39
* add check for same write key in multiple instances

* Active writekey fixes

---------

Co-authored-by: Brandon Sneed <brandon@redf.net>
* Fix potential concurrency issue w/ connection check.

* Slight rework
- add library tiering
…segmentio#296)

* fix: add check to drop events that return a 400 response from Segment

* add test

* add fix for linux in test

* fix tests

* remove redundant log
* Allow Codable compliant values in json's init(any).

* updated test
* Storage Refactoring

* Standardized things a little more

* fixed build issue

* tweaked some tests

* Ramp up some test values for linux

* Package rename

---------

Co-authored-by: Alan Charles <alan.charles@segment.com>
The logic for selecting the event storage directory has been updated. Previously, it was based on whether the operating system was tvOS or macOS. Now, it's determined by whether the OS is iOS or watchOS and not running in a Mac Catalyst environment. This change should improve data handling across different platforms.
* Specify NSPrivacyTracking

* Specify NSPrivacyAccessedAPITypes

* Reorder keys
* Correct privacy domains

* Removed location privacy info
Apple docs were missing from two of the track() APIs, and for another,
had been copy-pasted from identify() without being updated. This updates
it with something simple and functional.
* Add ability to control anonymousId values.

* Removed singleton aspect of the initial implementation.

* Adjusted test

* CI checking

* Another CI check

* Another CI run

* Revised failing test

* Adjusted timing based tests.
* Refactoring of flush completion.

* Catching places where groups/completions/semaphores might not get hit.

* Fixed linux tests

* Removed debug line; Added fix for long-running ios task.
bsneed and others added 7 commits April 19, 2024 11:44
* Rename JSONSafeEncoder to JSONSafeEncoding

* Update package; Bump tvOS to 13.0

* Updated release scripts.
* Version 1.5.10

* Use autorelease pools to release allocated memory on each iteration to avoid unnecessary memory consumption.

This is necessary when working with Objective-C objects (e.g. NSData).

https://stackoverflow.com/questions/25860942/is-it-necessary-to-use-autoreleasepool-in-a-swift-program/25880106#25880106

---------

Co-authored-by: Brandon Sneed <brandon@redf.net>
* Moved JSONSafeEncoding to v2.0

* Added time to iOS test until apple fixes it.

* Added stub for autoreleasepool on linux.
…egmentio#330)

* Version 1.5.10

* fix: Atomic increment is now performed within one enqueued operation

---------

Co-authored-by: Brandon Sneed <brandon@redf.net>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants