Skip to content

Commit 9bd8b2c

Browse files
committed
#183 - FSharp.Core pinned to 5.0.2 in all lib projects
1 parent 96d1a90 commit 9bd8b2c

4 files changed

Lines changed: 54 additions & 40 deletions

File tree

Directory.Build.props

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Version>14.4.1</Version>
4+
<Version>14.4.2</Version>
55

66
<Authors>Ronald Schlenker</Authors>
77
<Copyright>Copyright 2024 Ronald Schlenker</Copyright>
@@ -16,52 +16,55 @@
1616
<FsDocsReleaseNotesLink>https://www.nuget.org/packages/FsHttp#release-body-tab</FsDocsReleaseNotesLink>
1717

1818
<PackageReleaseNotes>
19-
v14.4.1
19+
14.4.2
20+
- Pinned FSharp.Core to 5.0.2 in all library projects
21+
22+
14.4.1
2023
- Fixed missing explicit dependency on FSharp.Core
2124

22-
v14.4.0
25+
14.4.0
2326
- Fixed pre-configured requests
2427

25-
v14.3.0
28+
14.3.0
2629
- Added `GetList` JsonElement extension
2730

28-
v14.2.0
31+
14.2.0
2932
- (Breaking change) Separated Config and PrintHint (...and many more things in these domains)
3033

31-
v14.1.0
34+
14.1.0
3235
- (Breaking change) Renamed `Extensions.To...Enumerable` to `Extensions.To...Seq`
3336
- Added `toJsonList...` overloads
3437

35-
v14.0.0
38+
14.0.0
3639
- (Breaking change) Renamed types in Domain:
3740
BodyContent -> SinglepartContent
3841
RequestContent -> BodyContent
3942
FsHttpUrl -> FsHttpTarget
4043
- (Breaking change) FsHttpUrl (now FsHttpTarget) and Header restructured: method, address and queryParams are now part of the FsHttpTarget type.
4144
- Added `headerTransformers` to Config for better composability
4245

43-
v13.3.0
46+
13.3.0
4447
- (Breaking change) All `Response._TAsync` functions (task based) in F# require a CancellationToken now.
4548
- (Breaking change) Extension methods rework
4649
- (Breaking change) There's no more StartingContext, which means:
4750
we give up a little bit of safety here, for the sake of pre-configuring HTTP requests
4851
without specifying the URL. This is a trade-off we are willing to take.
4952

50-
v12.2.0
53+
12.2.0
5154
- added HttpMethods for better composability
5255

53-
v12.1.0
56+
12.1.0
5457
- net8.0
5558

56-
v12.0.0
59+
12.0.0
5760
- #137 / #102: Change the type for FsHttpUrl.additionalQueryParams from obj to string
5861
- Removed (auto opened) Async.await and Task.map/await
5962
- Moved (auto opened) Async.map to FsHttp.Helper.Async.map
6063

61-
v11.1.0
64+
11.1.0
6265
- #130 / #105: Add method for user-supplied cancellation token
6366

64-
v11.0.0
67+
11.0.0
6568
- #121 (Breaking change): Turning off debug logs in FSI (breaking change in signature / namespace)
6669
- #124: Support Repeating Query Parameters (thanks @DaveJohnson8080)
6770
- #106 (Breaking change): Allow filename metadata with other "parts" (thanks @dawedawe)
@@ -81,50 +84,50 @@
8184
-- Old release notes below --
8285
-----------------------------
8386

84-
v7.0.0
87+
7.0.0
8588
- #92: `expect` and `assert` pass through the original response instead of unit.
8689

87-
v8.0.0
90+
8.0.0
8891
- #93 (thanks @drhumlen): Changed content type 'text/json' to 'application/json'.
8992
- Http modules are always AutoOpen in both Dsl and DslCE.
9093
- No extra modules for builder methods.
9194

92-
v8.0.1
95+
8.0.1
9396
- #89: No more blocking requests using net5 with FSI.
9497

95-
v9.0.0 / v9.0.1
98+
9.0.0 / 9.0.1
9699
- Redefined builders (see README.md).
97100
- Many breaking changes (see "Migrations" sections in the docu).
98101

99-
v9.0.2
102+
9.0.2
100103
- Added JSON toArray functions
101104
- Fixed #99: Response.saveFile should create the directory if not present.
102105

103-
v9.0.3
106+
9.0.3
104107
- Supporting netstandard2.1 again.
105108

106-
v9.0.4
109+
9.0.4
107110
- Referenced lowest possible FSharp.Core and other referenced packages version.
108111

109-
v9.0.5
112+
9.0.5
110113
- Support for netstandard2.0.
111114
- New 'FsHttp.NewtonsoftJson' integration package.
112115
- More JSON functions and defaults config.
113116

114-
v9.0.6
117+
9.0.6
115118
- #100 - Removed FSI print messages.
116119

117-
v9.1.0
120+
9.1.0
118121
- Fixed naming inconsistency for 'Response.deserialize...' functions.
119122
- More C# JSON functions.
120123

121-
v9.1.1
124+
9.1.1
122125
- Fix: Using GlobalConfig.Json.defaultJsonSerializerOptions as default for jsonSerialize.
123126

124-
v9.1.2
127+
9.1.2
125128
- Fixed #103: FSI response printing and initialization doesn't work out of the box anymore.
126129

127-
v10.0.0
130+
10.0.0
128131
- .Net 7 support (thank you @Samuel-Dufour)
129132
- Breaking change: Corrected typo "guessMineTypeFromPath" -> "guessMimeTypeFromPath"
130133
- Breaking change: Module 'Helper', 'HelperInternal' and 'HelperAutos' refactored
@@ -135,15 +138,11 @@
135138
- PrintHint.printDebugMessages: Moved to FsHttp.Helper.Fsi.logDebugMessages as a global switch
136139
- #113 - Config.timeoutInSeconds bug
137140

138-
v10.1.0
141+
10.1.0
139142
- #117: Escape string for query params values (by @maciej-izak - thank you)
140143
(!!) This can be seen as breaking change.
141144
- #112: Allow to add (multiple) headers (by @Samuel-Dufour - thank you)
142145
</PackageReleaseNotes>
143146
</PropertyGroup>
144147

145-
<ItemGroup>
146-
<PackageReference Update="FSharp.Core" Version="8.0.100" />
147-
</ItemGroup>
148-
149148
</Project>

src/FsHttp.FSharpData/FsHttp.FSharpData.fsproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4-
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
54
<Configurations>Debug;Release</Configurations>
65
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
6+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
77
</PropertyGroup>
88
<PropertyGroup>
99
<Description>FSharp.Data (JSON) integration package for FsHttp</Description>
@@ -16,7 +16,6 @@
1616
</ItemGroup>
1717
<ItemGroup>
1818
<PackageReference Include="FSharp.Data" Version="6.3.0" />
19-
<PackageReference Include="FSharp.Core" Version="8.0.100" />
2019
</ItemGroup>
2120
<ItemGroup>
2221
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
@@ -25,4 +24,11 @@
2524
<ItemGroup>
2625
<ProjectReference Include="..\FsHttp\FsHttp.fsproj" />
2726
</ItemGroup>
27+
<ItemGroup>
28+
<!--
29+
We require F# Core >= 5 due to string interpolation.
30+
AND: We have this in all library projects; NOT in the test projects.
31+
-->
32+
<PackageReference Include="FSharp.Core" Version="5.0.2" />
33+
</ItemGroup>
2834
</Project>

src/FsHttp.NewtonsoftJson/FsHttp.NewtonsoftJson.fsproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4-
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
54
<Configurations>Debug;Release</Configurations>
65
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
6+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
77
</PropertyGroup>
88
<PropertyGroup>
99
<Description>JSON.Net (Newtonsoft.Json) integration package for FsHttp</Description>
@@ -24,4 +24,11 @@
2424
<ItemGroup>
2525
<ProjectReference Include="..\FsHttp\FsHttp.fsproj" />
2626
</ItemGroup>
27+
<ItemGroup>
28+
<!--
29+
We require F# Core >= 5 due to string interpolation.
30+
AND: We have this in all library projects; NOT in the test projects.
31+
-->
32+
<PackageReference Include="FSharp.Core" Version="5.0.2" />
33+
</ItemGroup>
2734
</Project>

src/FsHttp/FsHttp.fsproj

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4-
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
54
<Configurations>Debug;Release</Configurations>
65
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
6+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
77
<LangVersion>8</LangVersion>
8+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
9+
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\FsHttp.xml</DocumentationFile>
810
</PropertyGroup>
911
<PropertyGroup>
1012
<Description>A .Net HTTP client library for F#, C#, and friends</Description>
1113
<PackageId>FsHttp</PackageId>
1214
</PropertyGroup>
13-
<PropertyGroup>
14-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
15-
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\FsHttp.xml</DocumentationFile>
16-
</PropertyGroup>
1715
<ItemGroup>
1816
<Compile Include="AssemblyInfo.fs" />
1917
<Compile Include="Domain.fs" />
@@ -38,6 +36,10 @@
3836
<None Include="..\..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
3937
</ItemGroup>
4038
<ItemGroup>
41-
<PackageReference Include="FSharp.Core" Version="8.0.100" />
39+
<!--
40+
We require F# Core >= 5 due to string interpolation.
41+
AND: We have this in all library projects; NOT in the test projects.
42+
-->
43+
<PackageReference Include="FSharp.Core" Version="5.0.2" />
4244
</ItemGroup>
4345
</Project>

0 commit comments

Comments
 (0)