Skip to content

Commit ce310b1

Browse files
authored
Release release-v1.5.0
***PUBLISH_RELEASE***
2 parents 51ee3a7 + ba48833 commit ce310b1

15 files changed

+428
-163
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github_changelog_generator

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ enhancement_labels=Type: enhancement
1010
bug_labels=Type: bug
1111
merge_prefix=**Documentation and other chores:**
1212
unreleased_label=**Changes available only in 'Preview' NuGet packages:**
13-
issue_line_labels=Breaking-Change,documentation
1413
author=false

CHANGELOG.md

Lines changed: 274 additions & 21 deletions
Large diffs are not rendered by default.

azure-pipelines.yml

Lines changed: 74 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -31,39 +31,78 @@ resources:
3131
type: github
3232
name: nanoframework/nf-tools
3333
endpoint: nanoframework
34+
35+
jobs:
3436

35-
pool:
36-
vmImage: 'VS2017-Win2016'
37-
38-
variables:
39-
solution: '**/source/*.sln'
40-
buildPlatform: 'Any CPU'
41-
buildConfiguration: 'Release'
42-
nugetPackageName: 'nanoFramework.System.Net'
43-
repoName: 'lib-nanoFramework.System.Net'
44-
45-
steps:
46-
47-
# step from template @ nf-tools repo
48-
# all build, update and publish steps
49-
- template: azure-pipelines-templates/class-lib-build.yml@templates
50-
parameters:
51-
sonarCloudProject: 'nanoframework_lib-nanoFramework.System.Net'
52-
53-
# update dependencies
54-
- task: UpdatenFDependencies@1
55-
inputs:
56-
gitHubToken: $(GitHubToken)
57-
repositoriesToUpdate: |
58-
lib-nanoFramework.System.Net.Http
59-
paho.mqtt.m2mqtt
60-
condition: or( and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ), and( succeeded(), contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***') ), eq(variables['UPDATE_DEPENDENTS'], 'true') )
61-
displayName: Update dependent class libs
62-
63-
# step from template @ nf-tools repo
64-
# report error
65-
- template: azure-pipelines-templates/discord-webhook-task.yml@templates
66-
parameters:
67-
status: 'failure'
68-
webhookUrl: '$(DiscordWebhook)'
69-
message: ''
37+
##############################
38+
- job: Build_Library
39+
condition: or( eq(variables['UPDATE_DEPENDENTS'], 'false'), eq(variables['StartReleaseCandidate'], 'true') )
40+
pool:
41+
vmImage: 'VS2017-Win2016'
42+
43+
variables:
44+
solution: '**/source/*.sln'
45+
buildPlatform: 'Any CPU'
46+
buildConfiguration: 'Release'
47+
nugetPackageName: 'nanoFramework.System.Net'
48+
repoName: 'lib-nanoFramework.System.Net'
49+
50+
steps:
51+
52+
# step from template @ nf-tools repo
53+
# all build, update and publish steps
54+
- template: azure-pipelines-templates/class-lib-build.yml@templates
55+
parameters:
56+
sonarCloudProject: 'nanoframework_lib-nanoFramework.System.Net'
57+
58+
##############################
59+
- job: Update_Dependencies
60+
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') )
61+
62+
dependsOn:
63+
- Build_Library
64+
65+
pool:
66+
vmImage: 'VS2017-Win2016'
67+
68+
steps:
69+
70+
- checkout: none
71+
72+
- task: NuGetToolInstaller@0
73+
inputs:
74+
versionSpec: '5.4.0'
75+
displayName: 'Install specific version of NuGet'
76+
77+
# update dependencies
78+
- task: UpdatenFDependencies@1
79+
inputs:
80+
gitHubToken: $(GitHubToken)
81+
repositoriesToUpdate: |
82+
lib-nanoFramework.System.Net.Http
83+
paho.mqtt.m2mqtt
84+
amqpnetlite
85+
displayName: Update dependent class libs
86+
87+
##################################
88+
# report build failure to Discord
89+
- job: Report_Build_Failure
90+
91+
dependsOn:
92+
- Build_Library
93+
- Update_Dependencies
94+
condition: or( failed('Build_Library'), failed('Update_Dependencies'))
95+
96+
pool:
97+
vmImage: 'VS2017-Win2016'
98+
steps:
99+
100+
- checkout: self
101+
102+
# step from template @ nf-tools repo
103+
# report error
104+
- template: azure-pipelines-templates/discord-webhook-task.yml@templates
105+
parameters:
106+
status: 'failure'
107+
webhookUrl: '$(DiscordWebhook)'
108+
message: ''

source/nanoFramework.System.Net.DELIVERABLES.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
<tags>
1919
</tags>
2020
<dependencies>
21-
<dependency id="nanoFramework.CoreLibrary" version="1.3.0" />
22-
<dependency id="nanoFramework.Runtime.Events" version="1.3.0" />
21+
<dependency id="nanoFramework.CoreLibrary" version="1.7.3" />
22+
<dependency id="nanoFramework.Runtime.Events" version="1.4.2" />
2323
</dependencies>
2424
</metadata>
2525
<files>

source/nanoFramework.System.Net.nuspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ This package requires a target with nanoFramework..System.Net v$nativeVersion$.<
2020
<summary>nanoFramework.System.Net assembly for nanoFramework C# projects</summary>
2121
<tags>nanoFramework C# csharp netmf netnf nanoFramework.System.Net</tags>
2222
<dependencies>
23-
<dependency id="nanoFramework.CoreLibrary" version="1.3.0" />
24-
<dependency id="nanoFramework.Runtime.Events" version="1.3.0" />
23+
<dependency id="nanoFramework.CoreLibrary" version="1.7.3" />
24+
<dependency id="nanoFramework.Runtime.Events" version="1.4.2" />
25+
<dependency id="nanoFramework.System.Text" version="1.0.0" />
2526
</dependencies>
2627
</metadata>
2728
<files>

source/nanoFramework.System.Net.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ VisualStudioVersion = 15.0.27703.2047
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "System.Net", "nanoFramework.System.Net\System.Net.nfproj", "{474A90F4-FA98-4011-AABB-7DAC8E218E6A}"
77
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{720DB1CD-932C-40AF-9B48-B7BEDB153EE9}"
9+
ProjectSection(SolutionItems) = preProject
10+
nanoFramework.System.Net.DELIVERABLES.nuspec = nanoFramework.System.Net.DELIVERABLES.nuspec
11+
nanoFramework.System.Net.nuspec = nanoFramework.System.Net.nuspec
12+
NuGet.Config = NuGet.Config
13+
version.json = version.json
14+
EndProjectSection
15+
EndProject
816
Global
917
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1018
Debug|Any CPU = Debug|Any CPU

source/nanoFramework.System.Net/NetworkInformation/Wireless80211Configuration.cs

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,25 +149,32 @@ public static Wireless80211Configuration[] GetAllWireless80211Configurations()
149149
public enum ConfigurationOptions : byte
150150
{
151151
/// <summary>
152-
/// No flags set.
152+
/// No option set.
153153
/// </summary>
154154
None = 0,
155155

156+
/// <summary>
157+
/// Disables the Wireless station.
158+
/// </summary>
159+
Disable = 0x01,
160+
156161
/// <summary>
157162
/// Enables the Wireless station.
158163
/// If not set the wireless station is disabled.
159164
/// </summary>
160-
Enable = 0x01,
165+
Enable = 0x02,
161166

162167
/// <summary>
163168
/// Will auto connect when AP is available or after being disconnected.
169+
/// This option forces enabling the Wireless station.
164170
/// </summary>
165-
AutoConnect = 0x02,
171+
AutoConnect = 0x04 | Enable,
166172

167173
/// <summary>
168-
/// Enables SmartConfig (if available) for this Wireless station
174+
/// Enables SmartConfig (if available) for this Wireless station.
175+
/// This option forces enabling the Wireless station.
169176
/// </summary>
170-
SmartConfig = 0x04,
177+
SmartConfig = 0x08 | Enable,
171178
};
172179

173180
#region native methods

source/nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,25 +211,31 @@ public void DeAuthStation(int stationIndex)
211211
public enum ConfigurationOptions : byte
212212
{
213213
/// <summary>
214-
/// No flags set.
214+
/// No option set.
215215
/// </summary>
216216
None = 0,
217217

218+
/// <summary>
219+
/// Disables the Wireless Soft AP.
220+
/// </summary>
221+
Disable = 0x01,
222+
218223
/// <summary>
219224
/// Enables the Wireless Soft AP.
220-
/// If not set the wireless Soft AP is disabled.
225+
/// If not set the Wireless Soft AP is disabled.
221226
/// </summary>
222-
Enable = 0x01,
227+
Enable = 0x02,
223228

224229
/// <summary>
225-
/// Will automatically start AP when CLR starts.
230+
/// Will automatically start the Soft AP when CLR starts.
231+
/// This option forces enabling the Wireless Soft AP.
226232
/// </summary>
227-
AutoStart = 0x02,
233+
AutoStart = 0x04 | Enable,
228234

229235
/// <summary>
230-
/// The SSID for the Soft AP will be hidden
236+
/// The SSID for the Soft AP will be hidden.
231237
/// </summary>
232-
HiddenSSID = 0x04,
238+
HiddenSSID = 0x08,
233239
};
234240

235241
#region native methods

source/nanoFramework.System.Net/Properties/AssemblyInfo.cs

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

1313
////////////////////////////////////////////////////////////////
1414
// update this whenever the native assembly signature changes //
15-
[assembly: AssemblyNativeVersion("100.1.3.0")]
15+
[assembly: AssemblyNativeVersion("100.1.3.1")]
1616
////////////////////////////////////////////////////////////////
1717

1818
// Setting ComVisible to false makes the types in this assembly not visible

0 commit comments

Comments
 (0)