Skip to content

Commit ade5fa0

Browse files
kshyjuazfuncgh
andauthored
Hotfix 4.1040.300 (#11124)
* Update version to 4.1040.300 * Clear release notes * Make deserialization case insensitive. (#11123) --------- Co-authored-by: Azure Functions Release <[email protected]>
1 parent ab8ce91 commit ade5fa0

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

release_notes.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
<!-- Please add your release notes in the following format:
44
- My change description (#PR)
55
-->
6-
- Fix Instance Manager for CV1 Migration (#11072)
7-
- Avoid setting up OTel and AzMon exporter in the placeholder mode. (#11090)
8-
- Update Java Worker Version to [2.19.1](https://github.com/Azure/azure-functions-java-worker/releases/tag/2.19.1)
6+
7+
- Make serialization case insensitive (#11123)

src/Directory.Version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionPrefix>4.1040.200</VersionPrefix>
3+
<VersionPrefix>4.1040.300</VersionPrefix>
44
<UpdateBuildNumber>true</UpdateBuildNumber>
55
</PropertyGroup>
66
</Project>

src/WebJobs.Script/Workers/Rpc/Configuration/RpcWorkerConfigFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ internal WorkerProcessCountOptions GetWorkerProcessCount(JsonElement workerConfi
272272

273273
if (workerConfig.TryGetProperty(WorkerConstants.ProcessCount, out var processCountElement))
274274
{
275-
workerProcessCount = processCountElement.Deserialize<WorkerProcessCountOptions>();
275+
workerProcessCount = processCountElement.Deserialize<WorkerProcessCountOptions>(_jsonSerializerOptions);
276276
}
277277

278278
workerProcessCount ??= new WorkerProcessCountOptions();

test/WebJobs.Script.Tests/Workers/Rpc/RpcWorkerConfigFactoryTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ public void GetWorkerProcessCount_Tests(bool defaultWorkerConfig, bool setProces
226226
writer.WritePropertyName(WorkerConstants.ProcessCount);
227227
writer.WriteStartObject();
228228

229-
writer.WriteNumber("ProcessCount", minProcessCount);
229+
writer.WriteNumber("processcount", minProcessCount);
230230
writer.WriteNumber("MaxProcessCount", maxProcessCount);
231-
writer.WriteString("ProcessStartupInterval", processStartupInterval);
232-
writer.WriteBoolean("SetProcessCountToNumberOfCpuCores", setProcessCountToNumberOfCpuCores);
231+
writer.WriteString("processStartupInterval", processStartupInterval);
232+
writer.WriteBoolean("SETPROCESSCOUNTTONUMBEROFCPUCORES", setProcessCountToNumberOfCpuCores);
233233

234234
writer.WriteEndObject();
235235
}

0 commit comments

Comments
 (0)