Skip to content

Commit 254e54c

Browse files
committed
Release v4.1.0
1 parent d61721b commit 254e54c

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 4.1.0 - 2021-02-26
2+
* Add upload support for files and images
3+
* Add .net core 2.1 and 3.1 support
4+
* Improve repo a bit in terms of formatting and static code analysis
5+
16
## 4.0.0. - 2021-02-05
27
* Add support for client side token
38
* Replace `CreatUserSessionToken` with `CreateUserToken`

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ var input = new Dictionary<string, object>()
171171
{"ranking", "my_ranking"}
172172
};
173173
var response = await client.Personalization.Get("my_endpoint", input);
174+
175+
// File & Image Uplaod
176+
var fileUpload = client.Files.Upload(stream, name, contentType);
177+
var imageupload = client.Images.Upload(stream, name, contentType);
178+
// Use fileUpload.File and imageUpload.File afterwards
174179
```
175180

176181
### Copyright and License Information

VERSION

0 Bytes
Binary file not shown.

appveyor.yml

0 Bytes
Binary file not shown.

src/stream-net/StreamClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Stream
77
{
88
public class StreamClient : IStreamClient
99
{
10-
static readonly string Version = "4.0.0";
10+
static readonly string Version = "4.1.0";
1111

1212
internal const string BaseUrlFormat = "https://{0}-api.stream-io-api.com";
1313
internal const string BaseUrlPath = "/api/v1.0/";

src/stream-net/stream-net.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88
<PropertyGroup>
99
<PackageId>stream-net</PackageId>
10-
<Version>4.0.0</Version>
11-
<PackageVersion>4.0.0</PackageVersion>
10+
<Version>4.1.0</Version>
11+
<PackageVersion>4.1.0</PackageVersion>
1212
<Authors>GetStream.io</Authors>
1313
<Description>Client for getstream.io. Build scalable newsfeeds and activity streams in a few hours instead of weeks.</Description>
1414
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>

0 commit comments

Comments
 (0)