From 1f0a234e890e4bb9291d6141f5c72b7f38ca31b7 Mon Sep 17 00:00:00 2001 From: Pooya Jaferian Date: Wed, 20 Jul 2022 12:00:31 -0700 Subject: [PATCH 01/15] Update RELEASING.md --- RELEASING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RELEASING.md b/RELEASING.md index 76b2884d..cc01a6f9 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,5 +1,9 @@ # Releasing +Pre-requisits: +Make sure to have .net installed ( download from [here](https://dotnet.microsoft.com/en-us/download/dotnet) ) + + 1. Change the version in `Analytics/Analytics.csproj`. 2. Update the version in `Analytics/Analytics.cs`. 3. `dotnet pack -o . -c Release Analytics/Analytics.csproj` to verify the build. @@ -7,3 +11,5 @@ 5. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version) 6. `dotnet pack -o . -c Release Analytics/Analytics.csproj` to build. 7. `dotnet nuget push Analytics.{X.Y.Z}.nupkg -s https://www.nuget.org/api/v2/package -k ` +8. `git push origin master` to push the last commit +9. `git push --tags` to push the release tag From 38daf57c793a37c437b8ed0450f6d483279d5c68 Mon Sep 17 00:00:00 2001 From: Pooya Jaferian Date: Wed, 20 Jul 2022 12:02:54 -0700 Subject: [PATCH 02/15] Update RELEASING.md --- RELEASING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASING.md b/RELEASING.md index cc01a6f9..a0b9854f 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -13,3 +13,4 @@ Make sure to have .net installed ( download from [here](https://dotnet.microsoft 7. `dotnet nuget push Analytics.{X.Y.Z}.nupkg -s https://www.nuget.org/api/v2/package -k ` 8. `git push origin master` to push the last commit 9. `git push --tags` to push the release tag +10. Goto [here](https://github.com/segmentio/Analytics.NET/tags) and create a release from the pushed tag From a28be2cafd8579c2f50ddb24a7f624a401bc9117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CEdson?= Date: Tue, 2 Aug 2022 21:15:55 -0500 Subject: [PATCH 03/15] Change private method to public on Analytics --- Analytics/Analytics.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Analytics/Analytics.cs b/Analytics/Analytics.cs index 768d42ca..84259e40 100644 --- a/Analytics/Analytics.cs +++ b/Analytics/Analytics.cs @@ -44,7 +44,7 @@ public static void Initialize(string writeKey, Config config) } } - internal static void Initialize(Client client) + public static void Initialize(Client client) { lock (padlock) { From 1ebd094a52cacbf7514f20713d3d1cd13181dcb0 Mon Sep 17 00:00:00 2001 From: Edson Amaya Date: Mon, 8 Aug 2022 10:45:47 -0500 Subject: [PATCH 04/15] Update documentation for method Initialize --- Analytics/Analytics.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Analytics/Analytics.cs b/Analytics/Analytics.cs index 84259e40..b9760ef2 100644 --- a/Analytics/Analytics.cs +++ b/Analytics/Analytics.cs @@ -44,6 +44,10 @@ public static void Initialize(string writeKey, Config config) } } + /// + /// Initialized the default Segment.io client with your Custom Client. + /// + /// public static void Initialize(Client client) { lock (padlock) From 79d161d25ff83d1ba5a77344a1fdff76678575b7 Mon Sep 17 00:00:00 2001 From: Edson Amaya Date: Fri, 23 Sep 2022 20:42:38 -0500 Subject: [PATCH 05/15] Update CHANAGELOG file to 3.8.2 (#201) Co-authored-by: Shane L. Duvall --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 040f5a08..f7886589 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +3.8.2 / 2022-08-11 +* [Feature](https://github.com/segmentio/Analytics.NET/pull/199): Allow a mocked Client to be used for the Analytics singleton + 3.8.1 / 2022-07-07 ================== * [Improvement](https://github.com/segmentio/Analytics.NET/pull/193): Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /Analytics From df51d909fe32fa2ab8e0b65ffb8a0dc33aff826a Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Mon, 24 Apr 2023 13:09:33 -0700 Subject: [PATCH 06/15] add info about analytics-csharp --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4f4cefc7..58280350 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ [![CircleCI](https://circleci.com/gh/segmentio/Analytics.NET.svg?style=svg&circle-token=9d5be6bcbf6f5e8c6f74025a899d1a5e04bb54e0)](https://circleci.com/gh/segmentio/Analytics.NET) [![codecov](https://codecov.io/gh/segmentio/Analytics.NET/branch/master/graph/badge.svg)](https://codecov.io/gh/segmentio/Analytics.NET) +> info "Analytics-CSharp (C#)" +> The Analytics-CSharp library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos){:target="_blank"}. Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). + Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com).
From b468bb7871ae0f4f41e14ada8e156ec88bf0fc69 Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Mon, 24 Apr 2023 13:11:07 -0700 Subject: [PATCH 07/15] remove bad formatting info box --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 58280350..36e0fa35 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![CircleCI](https://circleci.com/gh/segmentio/Analytics.NET.svg?style=svg&circle-token=9d5be6bcbf6f5e8c6f74025a899d1a5e04bb54e0)](https://circleci.com/gh/segmentio/Analytics.NET) [![codecov](https://codecov.io/gh/segmentio/Analytics.NET/branch/master/graph/badge.svg)](https://codecov.io/gh/segmentio/Analytics.NET) -> info "Analytics-CSharp (C#)" > The Analytics-CSharp library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos){:target="_blank"}. Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). From d640f02b7f5792f25ef38669a8316d4c412a3b9a Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Mon, 24 Apr 2023 13:12:25 -0700 Subject: [PATCH 08/15] format fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36e0fa35..248a5f53 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CircleCI](https://circleci.com/gh/segmentio/Analytics.NET.svg?style=svg&circle-token=9d5be6bcbf6f5e8c6f74025a899d1a5e04bb54e0)](https://circleci.com/gh/segmentio/Analytics.NET) [![codecov](https://codecov.io/gh/segmentio/Analytics.NET/branch/master/graph/badge.svg)](https://codecov.io/gh/segmentio/Analytics.NET) -> The Analytics-CSharp library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos){:target="_blank"}. Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). +> The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). From 0cc19ef4a0cb30dc11c602f881383982ed1e6840 Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Mon, 24 Apr 2023 13:13:40 -0700 Subject: [PATCH 09/15] bold the info --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 248a5f53..41682ad2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CircleCI](https://circleci.com/gh/segmentio/Analytics.NET.svg?style=svg&circle-token=9d5be6bcbf6f5e8c6f74025a899d1a5e04bb54e0)](https://circleci.com/gh/segmentio/Analytics.NET) [![codecov](https://codecov.io/gh/segmentio/Analytics.NET/branch/master/graph/badge.svg)](https://codecov.io/gh/segmentio/Analytics.NET) -> The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). +**The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/).** Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). From 3558eafc05fe91178d9b8e97f44065818b1aaaf8 Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Mon, 24 Apr 2023 13:15:19 -0700 Subject: [PATCH 10/15] format fix --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 41682ad2..5b36a06a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ Analytics.NET ============= -[![CircleCI](https://circleci.com/gh/segmentio/Analytics.NET.svg?style=svg&circle-token=9d5be6bcbf6f5e8c6f74025a899d1a5e04bb54e0)](https://circleci.com/gh/segmentio/Analytics.NET) -[![codecov](https://codecov.io/gh/segmentio/Analytics.NET/branch/master/graph/badge.svg)](https://codecov.io/gh/segmentio/Analytics.NET) -**The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/).** +### The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). From f97b7a97aa28bd0d7959757b76d1d31518bcf0ab Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Thu, 27 Apr 2023 11:32:28 -0700 Subject: [PATCH 11/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b36a06a..ed6c476c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Analytics.NET ============= -### The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). +### The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). From bd6b223172d2f11b7305d64d18e9c23fe3a5b268 Mon Sep 17 00:00:00 2001 From: Wenxi Zeng Date: Fri, 22 Sep 2023 08:24:07 -0700 Subject: [PATCH 12/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed6c476c..2f301976 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Analytics.NET ============= -### The [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is currently in beta and is governed by Segment’s [First Access and Beta terms](https://www.twilio.com/legal/tos). Learn more about the [Analytics-CSharp library](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). +### The new [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is now available! Learn more about the [Analytics-CSharp library](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). From a82f2902951272a2320fd5937b292c82d22095e0 Mon Sep 17 00:00:00 2001 From: Alan Charles <50601149+alanjcharles@users.noreply.github.com> Date: Thu, 11 Jan 2024 10:41:59 -0700 Subject: [PATCH 13/15] Update README.md add note about benefits of flagship library vs. .NET. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f301976..fef3e43e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ Analytics.NET ============= -### The new [Analytics-CSharp](https://github.com/segmentio/analytics-csharp) library is now available! Learn more about the [Analytics-CSharp library](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/). If you'd like to migrate to using Analytics-CSharp, see the [Analytics-CSharp migration guide](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/). +⚠️ **WARNING** ⚠️ + +Segment will continue to accept incoming traffic from Analytics.NET. However, we have launched our new flagship library, [Analytics-CSharp](https://github.com/segmentio/Analytics-CSharp), with new functionality such as the ability to write plugins to enrich data, drop data, and/or direct the data to a different server, etc. You can also customize your storage and httpClient, write your own flush policy, as well as choose your preferred JSON library. See the [Analytics-CSharp Migration Guide](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/) for more details. + Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). From 8fa21f8bac1772afea8ff973ba18c13aabef01c8 Mon Sep 17 00:00:00 2001 From: Alan Charles <50601149+alanjcharles@users.noreply.github.com> Date: Tue, 13 Feb 2024 09:27:14 -0700 Subject: [PATCH 14/15] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fef3e43e..de5b0b82 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@ Analytics.NET ============= -⚠️ **WARNING** ⚠️ +Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com). -Segment will continue to accept incoming traffic from Analytics.NET. However, we have launched our new flagship library, [Analytics-CSharp](https://github.com/segmentio/Analytics-CSharp), with new functionality such as the ability to write plugins to enrich data, drop data, and/or direct the data to a different server, etc. You can also customize your storage and httpClient, write your own flush policy, as well as choose your preferred JSON library. See the [Analytics-CSharp Migration Guide](https://segment.com/docs/connections/sources/catalog/libraries/server/csharp/migration-guide/) for more details. +### ⚠️ Community ⚠️ +This library is community supported. Segment does not manage or update this library. We suggest forking the repo if changes are needed for your project. +We highly recommend using our upgraded [Analytics-CSharp](https://github.com/segmentio/Analytics-CSharp) to benefit from feature enhancements and ongoing support. -Analytics.NET is a .NET / C# / F# client for [Segment](https://segment.com).
From 11f22e0e57eb6380d5e6787d3b83404401c0580d Mon Sep 17 00:00:00 2001 From: Brennan Gamwell Date: Wed, 24 Apr 2024 14:13:35 -0700 Subject: [PATCH 15/15] Update license. --- License.md | 21 +++++++++++++++++++++ README.md | 16 ---------------- 2 files changed, 21 insertions(+), 16 deletions(-) create mode 100644 License.md diff --git a/License.md b/License.md new file mode 100644 index 00000000..ed0c1cb0 --- /dev/null +++ b/License.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright 2012 Segment.io, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index de5b0b82..efebf04d 100644 --- a/README.md +++ b/README.md @@ -54,19 +54,3 @@ If you are part of a new startup (<$5M raised, <2 years since founding), ## Documentation Documentation is available at [https://segment.com/libraries/.net](https://segment.com/libraries/.net). - -## License - -``` -WWWWWW||WWWWWW - W W W||W W W - || - ( OO )__________ - / | \ - /o o| MIT \ - \___/||_||__||_|| * - || || || || - _||_|| _||_|| - (__|__|(__|__| -``` -