Skip to content

Commit 1afdbc7

Browse files
authored
Merge pull request #249 from nanoframework/release-v1.3.6
release-v1.3.6
2 parents d3dbe7b + 2f1a8d4 commit 1afdbc7

19 files changed

+267
-207
lines changed

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,67 @@
11
# Changelog
22

3+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.6-preview.12...HEAD)
4+
5+
**Documentation and other chores:**
6+
7+
- Bumps nanoFramework.System.Net from 1.7.1-preview.15 to 1.7.1-preview.17 [\#240](https://github.com/nanoframework/System.Net.Http/pull/240)
8+
- Update 2 NuGet dependencies [\#239](https://github.com/nanoframework/System.Net.Http/pull/239)
9+
10+
## [v1.3.6-preview.12](https://github.com/nanoframework/System.Net.Http/tree/v1.3.6-preview.12) (2021-12-02)
11+
12+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.6-preview.10...v1.3.6-preview.12)
13+
14+
**Documentation and other chores:**
15+
16+
- Update 2 NuGet dependencies [\#238](https://github.com/nanoframework/System.Net.Http/pull/238)
17+
18+
## [v1.3.6-preview.10](https://github.com/nanoframework/System.Net.Http/tree/v1.3.6-preview.10) (2021-12-01)
19+
20+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.6-preview.7...v1.3.6-preview.10)
21+
22+
**Documentation and other chores:**
23+
24+
- Bumps nanoFramework.System.Net from 1.7.1-preview.13 to 1.7.1-preview.15 [\#237](https://github.com/nanoframework/System.Net.Http/pull/237)
25+
- Update 5 NuGet dependencies [\#236](https://github.com/nanoframework/System.Net.Http/pull/236)
26+
- Update 5 NuGet dependencies [\#235](https://github.com/nanoframework/System.Net.Http/pull/235)
27+
28+
## [v1.3.6-preview.7](https://github.com/nanoframework/System.Net.Http/tree/v1.3.6-preview.7) (2021-12-01)
29+
30+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.6-preview.1...v1.3.6-preview.7)
31+
32+
**Documentation and other chores:**
33+
34+
- Update 5 NuGet dependencies [\#234](https://github.com/nanoframework/System.Net.Http/pull/234)
35+
- Update 2 nuget dependencies [\#233](https://github.com/nanoframework/System.Net.Http/pull/233)
36+
37+
## [v1.3.6-preview.1](https://github.com/nanoframework/System.Net.Http/tree/v1.3.6-preview.1) (2021-11-11)
38+
39+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.5-preview.8...v1.3.6-preview.1)
40+
41+
**Implemented enhancements:**
42+
43+
- Added support for chunked transfer encoding in HTTP response [\#232](https://github.com/nanoframework/System.Net.Http/pull/232)
44+
45+
## [v1.3.5-preview.8](https://github.com/nanoframework/System.Net.Http/tree/v1.3.5-preview.8) (2021-10-22)
46+
47+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.5-preview.5...v1.3.5-preview.8)
48+
49+
**Documentation and other chores:**
50+
51+
- Update 2 NuGet dependencies [\#231](https://github.com/nanoframework/System.Net.Http/pull/231)
52+
53+
## [v1.3.5-preview.5](https://github.com/nanoframework/System.Net.Http/tree/v1.3.5-preview.5) (2021-10-18)
54+
55+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.4...v1.3.5-preview.5)
56+
57+
**Documentation and other chores:**
58+
59+
- Update 2 nuget dependencies [\#229](https://github.com/nanoframework/System.Net.Http/pull/229)
60+
61+
## [v1.3.4](https://github.com/nanoframework/System.Net.Http/tree/v1.3.4) (2021-07-16)
62+
63+
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.4-preview.78...v1.3.4)
64+
365
## [v1.3.4-preview.78](https://github.com/nanoframework/System.Net.Http/tree/v1.3.4-preview.78) (2021-07-16)
466

567
[Full Changelog](https://github.com/nanoframework/System.Net.Http/compare/v1.3.4-preview.76...v1.3.4-preview.78)

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
54
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5+
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
66
</packageSources>
77
</configuration>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.System.Net.Http&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.System.Net.Http) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.System.Net.Http&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.System.Net.Http) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Net.Http.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net.Http/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
22

3-
![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png)
3+
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
44

55
-----
66

7-
### Welcome to the **nanoFramework** System.Net.Http Library repository!
7+
### Welcome to the .NET **nanoFramework** System.Net.Http Library repository
88

99
## Build status
1010

@@ -34,7 +34,7 @@ The **nanoFramework** Class Libraries are licensed under the [MIT license](LICEN
3434

3535
## Code of Conduct
3636

37-
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
37+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
3838
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
3939

4040
### .NET Foundation

assets/nf-logo.png

4.95 KB
Loading

assets/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
===================================================================================
88

9-
API docs: https://docs.nanoframework.net/api/nanoFramework.Sytem.Net.Http.html
9+
API docs: https://docs.nanoframework.net/api/System.Net.html
1010

1111
Browse our samples repository: https://github.com/nanoframework/samples
1212

azure-pipelines.yml

Lines changed: 32 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ trigger:
22
branches:
33
include: [main, develop, "release-*" ]
44
paths:
5-
exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
5+
exclude: [README.md, CHANGELOG.md, CODE_OF_CONDUCT.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
66
tags:
77
include: ["v*"]
88

99
# PR always trigger build
10+
pr:
11+
autoCancel: true
1012

1113
# add nf-tools repo to resources (for Azure Pipelines templates)
1214
resources:
@@ -21,7 +23,7 @@ pool:
2123

2224
variables:
2325
DOTNET_NOLOGO: true
24-
solution: '**/*.sln'
26+
solution: 'nanoFramework.System.Net.Http.sln'
2527
buildPlatform: 'Any CPU'
2628
buildConfiguration: 'Release'
2729
nugetPackageName: 'nanoFramework.System.Net.Http'
@@ -49,66 +51,15 @@ steps:
4951

5052
- template: azure-pipelines-templates/class-lib-publish.yml@templates
5153

52-
# need to push remaining packages to NuGet individually because the template above can only push one package (happens on tag builds for any branch)
53-
- task: NuGetCommand@2
54-
inputs:
55-
command: push
56-
nuGetFeedType: external
57-
allowPackageConflicts: true
58-
packagesToPush:
59-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Client.$(MY_NUGET_VERSION).nupkg
60-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Client.$(MY_NUGET_VERSION).snupkg
61-
publishFeedCredentials: 'AzureArtifacts-$(System.TeamProject)'
62-
includeSymbols: true
63-
condition: and( succeeded(), ne( variables['StartReleaseCandidate'], true ) )
64-
continueOnError: true
65-
displayName: Push "Client" variant NuGet package to Azure Artifacts
66-
67-
- task: NuGetCommand@2
68-
inputs:
69-
command: push
70-
nuGetFeedType: external
71-
allowPackageConflicts: true
72-
packagesToPush:
73-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Server.$(MY_NUGET_VERSION).nupkg
74-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Server.$(MY_NUGET_VERSION).snupkg
75-
publishFeedCredentials: 'AzureArtifacts-$(System.TeamProject)'
76-
includeSymbols: true
77-
condition: and( succeeded(), ne( variables['StartReleaseCandidate'], true ) )
78-
continueOnError: true
79-
displayName: Push "Server" variant NuGet package to Azure Artifacts
80-
81-
- task: NuGetCommand@2
82-
inputs:
83-
command: push
84-
nuGetFeedType: external
85-
allowPackageConflicts: true
86-
packagesToPush:
87-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Client.$(MY_NUGET_VERSION).nupkg
88-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Client.$(MY_NUGET_VERSION).snupkg
89-
publishFeedCredentials: 'NuGet-$(System.TeamProject)'
90-
includeSymbols: true
91-
condition: and( succeeded(), ne(variables['Build.Reason'], 'PullRequest'), ne( variables['StartReleaseCandidate'], true ) )
92-
continueOnError: true
93-
displayName: Push "Client" variant NuGet package to NuGet
94-
95-
- task: NuGetCommand@2
96-
inputs:
97-
command: push
98-
nuGetFeedType: external
99-
allowPackageConflicts: true
100-
packagesToPush:
101-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Server.$(MY_NUGET_VERSION).nupkg
102-
$(Build.ArtifactStagingDirectory)/nanoFramework.System.Net.Http.Server.$(MY_NUGET_VERSION).snupkg
103-
publishFeedCredentials: 'NuGet-$(System.TeamProject)'
104-
includeSymbols: true
105-
condition: and( succeeded(), ne(variables['Build.Reason'], 'PullRequest'), ne( variables['StartReleaseCandidate'], true ) )
106-
continueOnError: true
107-
displayName: Push "Server" variant NuGet package to NuGet
108-
10954
# create or update GitHub release
11055
- task: GithubRelease@1
111-
condition: and( succeeded(), eq(variables['System.PullRequest.PullRequestId'], ''), not( startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ), ne( variables['StartReleaseCandidate'], true ) )
56+
condition: >-
57+
and(
58+
succeeded(),
59+
eq(variables['System.PullRequest.PullRequestId'], ''),
60+
not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v')),
61+
eq(variables['StartReleaseCandidate'], false)
62+
)
11263
displayName: Create/Update GitHub PREVIEW release
11364
inputs:
11465
gitHubConnection: 'github.com_nano-$(System.TeamProject)'
@@ -124,7 +75,13 @@ steps:
12475

12576
# create or update GitHub release ON tags from release or main branches
12677
- task: GithubRelease@1
127-
condition: and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), not(contains(variables['Build.SourceBranch'], 'preview') ), ne( variables['StartReleaseCandidate'], true ) )
78+
condition: >-
79+
and(
80+
succeeded(),
81+
startsWith(variables['Build.SourceBranch'], 'refs/tags/v'),
82+
not(contains(variables['Build.SourceBranch'], 'preview')),
83+
eq(variables['StartReleaseCandidate'], false)
84+
)
12885
displayName: Create/Update GitHub stable release
12986
inputs:
13087
action: edit
@@ -142,11 +99,24 @@ steps:
14299
# update dependents
143100
- task: UpdatenFDependencies@1
144101
displayName: Update dependent class libs
145-
condition: or( and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['StartReleaseCandidate'], 'false') ), and( succeeded(), contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***'), eq(variables['StartReleaseCandidate'], 'false') ), eq(variables['UPDATE_DEPENDENTS'], 'true') )
102+
condition: >-
103+
or(
104+
and(
105+
succeeded(),
106+
startsWith(variables['Build.SourceBranch'], 'refs/tags/v'),
107+
eq(variables['StartReleaseCandidate'], 'false')),
108+
and(
109+
succeeded(),
110+
contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***'),
111+
eq(variables['StartReleaseCandidate'], 'false')
112+
),
113+
eq(variables['UPDATE_DEPENDENTS'], 'true')
114+
)
146115
inputs:
147116
gitHubToken: $(GitHubToken)
148117
repositoriesToUpdate: |
149118
nanoFramework.WebServer
119+
nanoFramework.Azure.Devices
150120
151121
# step from template @ nf-tools repo
152122
# report error

nanoFramework.System.Net.Http-client/System.Net.Http-client.nfproj

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
4+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
55
</PropertyGroup>
66
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
77
<PropertyGroup>
@@ -37,23 +37,6 @@
3737
<InProject>false</InProject>
3838
</NFMDP_PE_ExcludeClassByName>
3939
</ItemGroup>
40-
<ItemGroup>
41-
<NFMDP_PE_LoadHints Include="..\packages\nanoFramework.CoreLibrary.1.10.5\lib\mscorlib.dll">
42-
<InProject>false</InProject>
43-
</NFMDP_PE_LoadHints>
44-
<NFMDP_PE_LoadHints Include="..\packages\nanoFramework.Runtime.Events.1.9.1\lib\nanoFramework.Runtime.Events.dll">
45-
<InProject>false</InProject>
46-
</NFMDP_PE_LoadHints>
47-
<NFMDP_PE_LoadHints Include="..\packages\nanoFramework.System.Collections.1.2.0\lib\nanoFramework.System.Collections.dll">
48-
<InProject>false</InProject>
49-
</NFMDP_PE_LoadHints>
50-
<NFMDP_PE_LoadHints Include="..\packages\nanoFramework.System.Text.1.1.1\lib\nanoFramework.System.Text.dll">
51-
<InProject>false</InProject>
52-
</NFMDP_PE_LoadHints>
53-
<NFMDP_PE_LoadHints Include="..\packages\nanoFramework.System.Net.1.7.0\lib\System.Net.dll">
54-
<InProject>false</InProject>
55-
</NFMDP_PE_LoadHints>
56-
</ItemGroup>
5740
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
5841
<ItemGroup>
5942
<Compile Include="..\nanoFramework.System.Net.Http\Http\System.Net.Http.Constants.cs">
@@ -147,24 +130,24 @@
147130
<Folder Include="Properties\" />
148131
</ItemGroup>
149132
<ItemGroup>
150-
<Reference Include="mscorlib, Version=1.10.5.4, Culture=neutral, PublicKeyToken=c07d481e9758c731">
151-
<HintPath>..\packages\nanoFramework.CoreLibrary.1.10.5\lib\mscorlib.dll</HintPath>
133+
<Reference Include="mscorlib, Version=1.11.7.2, Culture=neutral, PublicKeyToken=c07d481e9758c731">
134+
<HintPath>..\packages\nanoFramework.CoreLibrary.1.11.7\lib\mscorlib.dll</HintPath>
152135
<Private>True</Private>
153136
</Reference>
154-
<Reference Include="nanoFramework.Runtime.Events, Version=1.9.1.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
155-
<HintPath>..\packages\nanoFramework.Runtime.Events.1.9.1\lib\nanoFramework.Runtime.Events.dll</HintPath>
137+
<Reference Include="nanoFramework.Runtime.Events, Version=1.9.2.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
138+
<HintPath>..\packages\nanoFramework.Runtime.Events.1.9.2\lib\nanoFramework.Runtime.Events.dll</HintPath>
156139
<Private>True</Private>
157140
</Reference>
158-
<Reference Include="nanoFramework.System.Collections, Version=1.2.0.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
159-
<HintPath>..\packages\nanoFramework.System.Collections.1.2.0\lib\nanoFramework.System.Collections.dll</HintPath>
141+
<Reference Include="nanoFramework.System.Collections, Version=1.3.0.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
142+
<HintPath>..\packages\nanoFramework.System.Collections.1.3.0\lib\nanoFramework.System.Collections.dll</HintPath>
160143
<Private>True</Private>
161144
</Reference>
162-
<Reference Include="nanoFramework.System.Text, Version=1.1.1.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
163-
<HintPath>..\packages\nanoFramework.System.Text.1.1.1\lib\nanoFramework.System.Text.dll</HintPath>
145+
<Reference Include="nanoFramework.System.Text, Version=1.1.2.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
146+
<HintPath>..\packages\nanoFramework.System.Text.1.1.2\lib\nanoFramework.System.Text.dll</HintPath>
164147
<Private>True</Private>
165148
</Reference>
166-
<Reference Include="System.Net, Version=1.7.0.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
167-
<HintPath>..\packages\nanoFramework.System.Net.1.7.0\lib\System.Net.dll</HintPath>
149+
<Reference Include="System.Net, Version=1.7.1.3, Culture=neutral, PublicKeyToken=c07d481e9758c731">
150+
<HintPath>..\packages\nanoFramework.System.Net.1.7.1\lib\System.Net.dll</HintPath>
168151
<Private>True</Private>
169152
</Reference>
170153
</ItemGroup>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="nanoFramework.CoreLibrary" version="1.10.5" targetFramework="netnanoframework10" />
4-
<package id="nanoFramework.Runtime.Events" version="1.9.1" targetFramework="netnanoframework10" />
5-
<package id="nanoFramework.System.Collections" version="1.2.0" targetFramework="netnanoframework10" />
6-
<package id="nanoFramework.System.Net" version="1.7.0" targetFramework="netnanoframework10" />
7-
<package id="nanoFramework.System.Text" version="1.1.1" targetFramework="netnanoframework10" />
3+
<package id="nanoFramework.CoreLibrary" version="1.11.7" targetFramework="netnanoframework10" />
4+
<package id="nanoFramework.Runtime.Events" version="1.9.2" targetFramework="netnanoframework10" />
5+
<package id="nanoFramework.System.Collections" version="1.3.0" targetFramework="netnanoframework10" />
6+
<package id="nanoFramework.System.Net" version="1.7.1" targetFramework="netnanoframework10" />
7+
<package id="nanoFramework.System.Text" version="1.1.2" targetFramework="netnanoframework10" />
88
<package id="Nerdbank.GitVersioning" version="3.4.220" developmentDependency="true" targetFramework="netnanoframework10" />
99
</packages>

0 commit comments

Comments
 (0)