Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
8ac6b39
Update sbt-http4s-org to 0.17.1 in series/0.23
http4s-steward[bot] Jun 4, 2024
c6a3b3b
Run prePR with sbt-typelevel
http4s-steward[bot] Jun 4, 2024
e03065a
Update scala-library to 2.13.14 in series/0.23
http4s-steward[bot] Jun 4, 2024
00a49b8
Regenerate GitHub Actions workflow
http4s-steward[bot] Jun 4, 2024
5c6009c
Update munit-cats-effect to 2.0.0 in series/0.23
http4s-steward[bot] Jun 4, 2024
e6393b4
Merge pull request #172 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Jun 4, 2024
13bf068
Merge pull request #168 from http4s/update/series/0.23/munit-cats-eff…
rossabaker Jun 4, 2024
8c0d783
Merge remote-tracking branch 'origin/series/0.23' into update/series/…
rossabaker Jun 4, 2024
0419096
Remove deprecated setting
rossabaker Jun 4, 2024
e9d84df
Merge pull request #161 from http4s/update/series/0.23/scala-library-…
rossabaker Jun 4, 2024
43d7918
Update sbt to 1.10.0 in series/0.23
http4s-steward[bot] Jun 3, 2024
aca7047
Merge pull request #170 from http4s/update/series/0.23/sbt-1.10.0
rossabaker Jun 4, 2024
00522d1
Update scalafmt-core to 3.8.2 in series/0.23
http4s-steward[bot] Jun 14, 2024
d0bd304
Merge pull request #174 from http4s/update/series/0.23/scalafmt-core-…
rossabaker Jun 14, 2024
f8ff24b
Update sbt to 1.10.1 in series/0.23
http4s-steward[bot] Jul 8, 2024
6e22ee3
Merge pull request #175 from http4s/update/series/0.23/sbt-1.10.1
rossabaker Jul 8, 2024
da972d1
Update sbt-http4s-org to 0.17.2 in series/0.23
http4s-steward[bot] Jul 29, 2024
be8ad13
Run prePR with sbt-typelevel
http4s-steward[bot] Jul 29, 2024
82f5aee
Merge pull request #177 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Jul 29, 2024
0e88a57
Update sbt-http4s-org to 0.17.3 in series/0.23
http4s-steward[bot] Sep 8, 2024
258a1dc
Run prePR with sbt-typelevel
http4s-steward[bot] Sep 8, 2024
2a67b83
Update http4s-core, http4s-laws, ... to 0.23.28 in series/0.23
http4s-steward[bot] Sep 10, 2024
cb48044
Update sbt to 1.10.2 in series/0.23
http4s-steward[bot] Sep 16, 2024
9649ecd
Update scala3-library to 3.3.4 in series/0.23
http4s-steward[bot] Sep 27, 2024
4b62a4c
Merge pull request #184 from http4s/update/series/0.23/scala3-library…
rossabaker Sep 30, 2024
5f492cc
Update scala-library to 2.13.15 in series/0.23
http4s-steward[bot] Sep 30, 2024
f9735c5
Merge pull request #183 from http4s/update/series/0.23/scala-library-…
rossabaker Sep 30, 2024
990c279
Update scala-library to 2.12.20 in series/0.23
http4s-steward[bot] Oct 1, 2024
4a0a3ca
Merge pull request #179 from http4s/update/series/0.23/scala-library-…
rossabaker Oct 8, 2024
030dd67
Merge pull request #178 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Oct 8, 2024
3efe43e
Merge pull request #180 from http4s/update/series/0.23/http4s-core-0.…
rossabaker Oct 8, 2024
2574960
Merge pull request #181 from http4s/update/series/0.23/sbt-1.10.2
rossabaker Oct 8, 2024
074a0b9
Update sbt-http4s-org to 0.17.4 in series/0.23
http4s-steward[bot] Oct 12, 2024
c04c315
Run prePR with sbt-typelevel
http4s-steward[bot] Oct 12, 2024
d54fff6
Merge pull request #186 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Oct 14, 2024
c03b1ed
Update sbt to 1.10.3 in series/0.23
http4s-steward[bot] Oct 20, 2024
7710aa9
Merge pull request #187 from http4s/update/series/0.23/sbt-1.10.3
rossabaker Oct 22, 2024
25f7242
Update http4s-core, http4s-laws to 0.23.29 in series/0.23
http4s-steward[bot] Oct 23, 2024
7299622
Merge pull request #188 from http4s/update/series/0.23/http4s-core-0.…
rossabaker Oct 23, 2024
a074395
Update sbt-http4s-org to 0.17.5 in series/0.23
http4s-steward[bot] Oct 24, 2024
2fec6df
Merge pull request #189 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Oct 24, 2024
9e591fa
Update sbt to 1.10.4 in series/0.23
http4s-steward[bot] Oct 28, 2024
3d3151f
Merge pull request #190 from http4s/update/series/0.23/sbt-1.10.4
rossabaker Oct 28, 2024
1f971e3
Update sbt to 1.10.5 in series/0.23
http4s-steward[bot] Nov 4, 2024
bc0b94c
Merge pull request #192 from http4s/update/series/0.23/sbt-1.10.5
rossabaker Nov 4, 2024
aa23f56
Update sbt, scripted-plugin to 1.10.6 in series/0.23
http4s-steward[bot] Nov 30, 2024
d5521c3
Update http4s-core, http4s-laws to 0.23.30 in series/0.23
http4s-steward[bot] Dec 4, 2024
c1f35ac
Merge pull request #193 from http4s/update/series/0.23/sbt-1.10.6
rossabaker Dec 5, 2024
5cbe016
Merge pull request #194 from http4s/update/series/0.23/http4s-core-0.…
rossabaker Dec 5, 2024
1f44f33
Update sbt, scripted-plugin to 1.10.7 in series/0.23
http4s-steward[bot] Dec 23, 2024
f821a00
Merge pull request #197 from http4s/update/series/0.23/sbt-1.10.7
rossabaker Dec 26, 2024
28dfb31
Update sbt-http4s-org to 0.17.6 in series/0.23
http4s-steward[bot] Dec 28, 2024
2d7cd37
Run prePR with sbt-typelevel
http4s-steward[bot] Dec 28, 2024
c515b4a
Merge pull request #198 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Jan 2, 2025
38acf7a
Update scala-library to 2.13.16 in series/0.23
http4s-steward[bot] Jan 16, 2025
22092f2
Update scalafmt-core to 3.8.5 in series/0.23
http4s-steward[bot] Jan 16, 2025
04ae3ab
Merge pull request #202 from http4s/update/series/0.23/scalafmt-core-…
rossabaker Jan 17, 2025
9c4e05b
Merge pull request #201 from http4s/update/series/0.23/scala-library-…
rossabaker Jan 17, 2025
8b8e374
Update sbt-http4s-org to 0.17.7 in series/0.23
http4s-steward[bot] Jan 23, 2025
6953cc8
Update scalafmt-core to 3.8.6 in series/0.23
http4s-steward[bot] Jan 23, 2025
16dbb0c
Merge pull request #205 from http4s/update/series/0.23/scalafmt-core-…
rossabaker Jan 23, 2025
0223550
Update munit-scalacheck to 1.1.0 in series/0.23
http4s-steward[bot] Jan 24, 2025
0d58824
Merge pull request #207 from http4s/update/series/0.23/munit-scalache…
rossabaker Jan 24, 2025
cc42dbb
Update scala3-library to 3.3.5 in series/0.23
http4s-steward[bot] Jan 29, 2025
f28b365
Merge pull request #209 from http4s/update/series/0.23/scala3-library…
rossabaker Jan 29, 2025
cfa4beb
Merge pull request #204 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Feb 13, 2025
23f7960
Update sbt-http4s-org to 0.18.0 in series/0.23
http4s-steward[bot] Mar 12, 2025
342c7c9
Update sbt, scripted-plugin to 1.10.10 in series/0.23
http4s-steward[bot] Mar 12, 2025
6dbde8d
Update scalafmt-core to 3.9.4 in series/0.23
http4s-steward[bot] Mar 12, 2025
4a7399b
Merge pull request #213 from http4s/update/series/0.23/scalafmt-core-…
rossabaker Mar 14, 2025
bdaf2ad
Merge pull request #211 from http4s/update/series/0.23/sbt-1.10.10
rossabaker Mar 14, 2025
c5c492a
Merge pull request #210 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Mar 14, 2025
d312fcc
Update sbt, scripted-plugin to 1.10.11 in series/0.23
http4s-steward[bot] Mar 17, 2025
48440c8
Merge pull request #214 from http4s/update/series/0.23/sbt-1.10.11
rossabaker Mar 27, 2025
2d6462a
Update munit-cats-effect to 2.1.0 in series/0.23
http4s-steward[bot] Mar 31, 2025
95f0269
Merge pull request #215 from http4s/update/series/0.23/munit-cats-eff…
rossabaker Mar 31, 2025
5b9c0db
Update scala3-library to 3.3.6 in series/0.23
http4s-steward[bot] May 8, 2025
0211c0e
Merge pull request #216 from http4s/update/series/0.23/scala3-library…
rossabaker May 16, 2025
74b21f4
Update sbt, scripted-plugin to 1.11.1 in series/0.23
http4s-steward[bot] Jun 2, 2025
3361413
Merge pull request #221 from http4s/update/series/0.23/sbt-1.11.1
rossabaker Jun 2, 2025
1d5c293
Update scalacheck-xml to 0.1.1 in series/0.23
http4s-steward[bot] Jun 3, 2025
e9ed128
Merge pull request #223 from http4s/update/series/0.23/scalacheck-xml…
rossabaker Jun 3, 2025
5a1620c
Update sbt-http4s-org to 2.0.0 in series/0.23
http4s-steward[bot] Jun 5, 2025
81e4c71
Merge pull request #224 from http4s/update/series/0.23/sbt-http4s-org…
rossabaker Jun 5, 2025
83698b6
Update sbt, scripted-plugin to 1.11.2 in series/0.23
http4s-steward[bot] Jun 7, 2025
139cd02
Merge pull request #225 from http4s/update/series/0.23/sbt-1.11.2
rossabaker Jun 9, 2025
ab17331
Drop scala-xml-1.x support
rossabaker Jun 13, 2025
d0ea3cf
Update to scala-xml-2.4.0
rossabaker Jun 13, 2025
41491dc
Update to scala-xml-0.24.0
rossabaker Jun 13, 2025
b66f894
Bump tlBaseVersion to 0.24
rossabaker Jun 13, 2025
e4fd236
Merge pull request #226 from http4s/scala-xml-0.24
rossabaker Jun 13, 2025
50cf840
Update sbt, scripted-plugin to 1.11.3 in series/0.24
http4s-steward[bot] Jul 5, 2025
112c0af
Merge pull request #228 from http4s/update/series/0.24/sbt-1.11.3
rossabaker Jul 28, 2025
2b46d43
Update sbt, scripted-plugin to 1.11.4 in series/0.24
http4s-steward[bot] Aug 4, 2025
5e35c56
Merge pull request #229 from http4s/update/series/0.24/sbt-1.11.4
rossabaker Aug 4, 2025
be73324
Update sbt, scripted-plugin to 1.11.5 in series/0.24
http4s-steward[bot] Aug 24, 2025
4419798
Merge pull request #230 from http4s/update/series/0.24/sbt-1.11.5
rossabaker Aug 25, 2025
c88255e
Update sbt, scripted-plugin to 1.11.6 in series/0.24
http4s-steward[bot] Sep 7, 2025
8ce72fe
Update munit-scalacheck to 1.2.0 in series/0.24
http4s-steward[bot] Sep 9, 2025
d3022e4
Merge pull request #233 from http4s/update/series/0.24/munit-scalache…
rossabaker Sep 17, 2025
23af34d
Merge pull request #231 from http4s/update/series/0.24/sbt-1.11.6
rossabaker Sep 17, 2025
582c427
Update http4s-core, http4s-laws to 0.23.31 in series/0.24
http4s-steward[bot] Sep 23, 2025
3d54186
Merge pull request #235 from http4s/update/series/0.24/http4s-core-0.…
rossabaker Sep 23, 2025
52c3db1
Update http4s-core, http4s-laws to 0.23.32 in series/0.24
http4s-steward[bot] Sep 24, 2025
c58ecba
Merge pull request #236 from http4s/update/series/0.24/http4s-core-0.…
rossabaker Sep 24, 2025
0f1e443
Update sbt-http4s-org to 2.0.1 in series/0.24
http4s-steward[bot] Oct 3, 2025
c5ba647
Run prePR with sbt-typelevel
http4s-steward[bot] Oct 3, 2025
fbfd27d
Merge pull request #238 from http4s/update/series/0.24/sbt-http4s-org…
rossabaker Oct 3, 2025
34c2a90
Update sbt, scripted-plugin to 1.11.7 in series/0.24
http4s-steward[bot] Oct 5, 2025
15dfa80
Update sbt-http4s-org to 2.0.2 in series/0.24
http4s-steward[bot] Oct 11, 2025
83d9267
Merge pull request #241 from http4s/update/series/0.24/sbt-http4s-org…
rossabaker Oct 14, 2025
f676f6e
Merge pull request #239 from http4s/update/series/0.24/sbt-1.11.7
rossabaker Oct 24, 2025
0c9f4f7
Update http4s-core, http4s-laws, ... to 0.23.33 in series/0.24
http4s-steward[bot] Nov 25, 2025
f2800bc
Update scala3-library to 3.3.7 in series/0.24
http4s-steward[bot] Nov 25, 2025
538baae
Update scalafmt-core to 3.9.10 in series/0.24
http4s-steward[bot] Nov 25, 2025
f8c0b46
Update sbt-http4s-org to 2.0.3 in series/0.24
http4s-steward[bot] Nov 25, 2025
b659d03
Run prePR with sbt-typelevel
http4s-steward[bot] Nov 25, 2025
6d9cd4d
Merge pull request #245 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Nov 25, 2025
d09b3d2
Merge pull request #244 from http4s/update/series/0.24/scala3-library…
rossabaker Nov 25, 2025
7385c0c
Merge pull request #242 from http4s/update/series/0.24/http4s-core-0.…
rossabaker Nov 25, 2025
1c9a765
Update scala-library to 2.13.18 in series/0.24
http4s-steward[bot] Nov 25, 2025
f06a3c5
Update scalafmt-core to 3.10.1 in series/0.24
http4s-steward[bot] Nov 25, 2025
000eeeb
Merge pull request #247 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Nov 25, 2025
cf9fd3e
Merge remote-tracking branch 'origin/update/series/0.24/scala-library…
rossabaker Nov 25, 2025
763a2c6
Merge remote-tracking branch 'origin/update/series/0.24/sbt-http4s-or…
rossabaker Nov 25, 2025
d900452
Merge pull request #248 from http4s/scala-2.13.18
rossabaker Nov 25, 2025
a39a233
Update scalafmt-core to 3.10.2 in series/0.24
http4s-steward[bot] Nov 26, 2025
9482250
Merge pull request #249 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Dec 5, 2025
f0e1e4d
Update scala-library to 2.12.21 in series/0.24
http4s-steward[bot] Dec 12, 2025
ce19191
Merge pull request #250 from http4s/update/series/0.24/scala-library-…
rossabaker Dec 12, 2025
1dcf1e7
Update sbt-http4s-org to 2.0.4 in series/0.24
http4s-steward[bot] Dec 20, 2025
02c460e
Run prePR with sbt-typelevel
http4s-steward[bot] Dec 20, 2025
205e5ef
Update scalafmt-core to 3.10.3 in series/0.24
http4s-steward[bot] Dec 23, 2025
1c1ca62
Merge pull request #252 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Dec 24, 2025
3e2183d
Update sbt, scripted-plugin to 1.12.0 in series/0.24
http4s-steward[bot] Jan 5, 2026
2f19bff
Merge pull request #253 from http4s/update/series/0.24/sbt-1.12.0
rossabaker Jan 6, 2026
93b29a9
Merge pull request #251 from http4s/update/series/0.24/sbt-http4s-org…
rossabaker Jan 8, 2026
1f85947
Update sbt, scripted-plugin to 1.12.1 in series/0.24
http4s-steward[bot] Jan 26, 2026
881c57d
Merge pull request #256 from http4s/update/series/0.24/sbt-1.12.1
rossabaker Jan 26, 2026
29360d0
Update scalafmt-core to 3.10.5 in series/0.24
http4s-steward[bot] Jan 28, 2026
c6e6f84
Merge pull request #257 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Jan 29, 2026
84a847f
Update scalafmt-core to 3.10.6 in series/0.24
http4s-steward[bot] Jan 31, 2026
b21fc65
Merge pull request #258 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Feb 9, 2026
feb9d7b
Update scalafmt-core to 3.10.7 in series/0.24
http4s-steward[bot] Feb 22, 2026
90d6d2c
Update sbt-http4s-org to 2.0.5 in series/0.24
http4s-steward[bot] Feb 22, 2026
9ebd885
Update sbt, scripted-plugin to 1.12.4 in series/0.24
http4s-steward[bot] Feb 23, 2026
f98ce37
Merge pull request #262 from http4s/update/series/0.24/sbt-1.12.4
rossabaker Feb 23, 2026
9cbb0c2
Merge pull request #261 from http4s/update/series/0.24/sbt-http4s-org…
rossabaker Feb 23, 2026
6f53819
Merge pull request #260 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Feb 23, 2026
51a1a2f
Update sbt, scripted-plugin to 1.12.5 in series/0.24
http4s-steward[bot] Mar 2, 2026
6c79735
Merge pull request #263 from http4s/update/series/0.24/sbt-1.12.5
rossabaker Mar 2, 2026
8665242
Update munit-cats-effect to 2.2.0 in series/0.24
http4s-steward[bot] Mar 9, 2026
b351b4e
Merge pull request #264 from http4s/update/series/0.24/munit-cats-eff…
rossabaker Mar 9, 2026
1fd8716
Update sbt, scripted-plugin to 1.12.6 in series/0.24
http4s-steward[bot] Mar 16, 2026
5f61a20
Merge pull request #265 from http4s/update/series/0.24/sbt-1.12.6
rossabaker Mar 16, 2026
b8127a9
Update sbt, scripted-plugin to 1.12.7 in series/0.24
http4s-steward[bot] Mar 24, 2026
be1868a
Merge pull request #266 from http4s/update/series/0.24/sbt-1.12.7
rossabaker Mar 24, 2026
e0391e2
Update sbt, scripted-plugin to 1.12.8 in series/0.24
http4s-steward[bot] Mar 24, 2026
19d6ac5
Merge pull request #267 from http4s/update/series/0.24/sbt-1.12.8
rossabaker Mar 26, 2026
00a884f
Update sbt, scripted-plugin to 1.12.9 in series/0.24
http4s-steward[bot] Apr 7, 2026
ea55737
Merge pull request #268 from http4s/update/series/0.24/sbt-1.12.9
rossabaker Apr 9, 2026
2be0b7e
Update http4s-core, http4s-laws, ... to 0.23.34 in series/0.24
http4s-steward[bot] Apr 10, 2026
2664768
Update munit-scalacheck to 1.3.0 in series/0.24
http4s-steward[bot] Apr 12, 2026
2ad57a2
Update scalafmt-core to 3.11.0 in series/0.24
http4s-steward[bot] Apr 13, 2026
2f0483b
Merge pull request #269 from http4s/update/series/0.24/http4s-core-0.…
rossabaker Apr 15, 2026
c61b3d4
Merge pull request #271 from http4s/update/series/0.24/munit-scalache…
rossabaker Apr 15, 2026
3294879
Merge pull request #272 from http4s/update/series/0.24/scalafmt-core-…
rossabaker Apr 15, 2026
70a337b
Update sbt, scripted-plugin to 1.12.10 in series/0.24
http4s-steward[bot] Apr 27, 2026
79262f1
Merge pull request #273 from http4s/update/series/0.24/sbt-1.12.10
rossabaker Apr 27, 2026
de9162d
Update sbt, scripted-plugin to 1.12.11 in series/0.24
http4s-steward[bot] May 2, 2026
9a96652
Merge pull request #274 from http4s/update/series/0.24/sbt-1.12.11
rossabaker May 4, 2026
ca859cb
Update scalafmt-core to 3.11.1 in series/0.24
http4s-steward[bot] May 10, 2026
5c94d9b
Merge pull request #275 from http4s/update/series/0.24/scalafmt-core-…
rossabaker May 12, 2026
cc7558c
Update sbt-http4s-org to 2.0.6 in series/0.24
http4s-steward[bot] May 22, 2026
4eaa413
Merge pull request #276 from http4s/update/series/0.24/sbt-http4s-org…
rossabaker May 26, 2026
a948f66
Update scala3-library to 3.3.8 in series/0.24
http4s-steward[bot] Jun 12, 2026
6d50ab5
Update sbt, scripted-plugin to 1.12.12 in series/0.24
http4s-steward[bot] Jun 14, 2026
db7a73c
Merge pull request #278 from http4s/update/series/0.24/sbt-1.12.12
rossabaker Jun 15, 2026
3630aad
Update sbt, scripted-plugin to 1.12.13 in series/0.24
http4s-steward[bot] Jun 22, 2026
8da3249
Merge pull request #280 from http4s/update/series/0.24/sbt-1.12.13
rossabaker Jun 22, 2026
ea63641
Merge pull request #277 from http4s/update/series/0.24/scala3-library…
rossabaker Jun 23, 2026
221e680
Merge branch 'series/0.24' into main
rossabaker Jun 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
348 changes: 188 additions & 160 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.1
version = 3.11.1

style = default

Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ libraryDependencies ++= Seq(

## `http4s-scala-xml-1`

This repository also publishes an alternate `http4s-scala-xml-1`
> [!NOTE]
> This module is available only in the 0.23 series.

This repository also published an alternate `http4s-scala-xml-1`
artifact. The Scala package is the same, so this dependency must
never be bundled with `http4s-scala-xml`. It exists because several
signficant libraries, like [Twirl], are still based on scala-xml-1.x
significant libraries, like [Twirl], are still based on scala-xml-1.x
in Scala 2. Use this library to avoid diamond dependencies, but
upgrade when you can.

Expand All @@ -34,10 +37,11 @@ libraryDependencies ++= Seq(

## Compatibility

| artifact | version | http4s-core | scala-xml | Scala 2.12 | Scala 2.13 | Scala 3 | Status | |
|:-------------------|:--------|:------------|:----------|------------|------------|---------|--------|---|
| http4s-scala-xml | 0.23.x | 0.23.x | 2.x | ✅ | ✅ | ✅ | Stable | |
| http4s-scala-xml-1 | 0.23.x | 0.23.x | 1.x | ✅ | ✅ | ❌ | Stable | |
| artifact | version | http4s-core | scala-xml | Scala 2.12 | Scala 2.13 | Scala 3 | Status |
|:-------------------|:--------|:------------|:----------|------------|------------|---------|--------|
| http4s-scala-xml | 0.24.x | 0.23.x | 2.4.x | ✅ | ✅ | ✅ | Stable |
| http4s-scala-xml | 0.23.x | 0.23.x | 2.3.x | ✅ | ✅ | ✅ | EOL |
| http4s-scala-xml-1 | 0.23.x | 0.23.x | 1.x | ✅ | ✅ | ❌ | EOL |

[scala-xml]: https://github.com/scala/scala-xml
[twirl]: https://github.com/playframework/twirl
43 changes: 18 additions & 25 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,36 @@ ThisBuild / developers := List(
)
ThisBuild / startYear := Some(2014)

val Scala213 = "2.13.12"
ThisBuild / crossScalaVersions := Seq(Scala213, "3.3.3")
val Scala213 = "2.13.18"
ThisBuild / crossScalaVersions := Seq(Scala213, "3.3.8")
ThisBuild / scalaVersion := Scala213

lazy val root = project.in(file(".")).aggregate(scalaXml2).enablePlugins(NoPublishPlugin)
lazy val root = project.in(file(".")).aggregate(scalaXml).enablePlugins(NoPublishPlugin)

val http4sVersion = "1.0.0-M44"
val scalacheckXmlVersion = "0.1.0"
val scalaXmlVersion = "2.3.0"
val munitVersion = "1.0.0"
val munitCatsEffectVersion = "2.0.0-RC1"
val scalacheckXmlVersion = "0.1.1"
val scalaXmlVersion = "2.4.0"
val munitVersion = "1.3.0"
val munitCatsEffectVersion = "2.2.0"

lazy val scalaXml2 = project
.in(file("scala-xml-2"))
lazy val scalaXml = project
.in(file("scala-xml"))
.settings(
name := "http4s-scala-xml",
description := "Provides scala-xml codecs for http4s",
tlMimaPreviousVersions ++= (0 to 11).map(y => s"0.23.$y").toSet,
libraryDependencies += "org.scala-lang.modules" %%% "scala-xml" % scalaXmlVersion,
commonSettings,
libraryDependencies ++= Seq(
"org.http4s" %%% "http4s-core" % http4sVersion,
"org.http4s" %%% "http4s-laws" % http4sVersion % Test,
"org.scala-lang.modules" %%% "scala-xml" % scalaXmlVersion,
"org.scalameta" %%% "munit-scalacheck" % munitVersion % Test,
"org.typelevel" %%% "munit-cats-effect" % munitCatsEffectVersion % Test,
"org.typelevel" %%% "scalacheck-xml" % scalacheckXmlVersion % Test,
),
)

lazy val commonSettings = Seq(
Compile / unmanagedSourceDirectories += (LocalRootProject / baseDirectory).value / "scala-xml" / "src" / "main" / "scala",
Test / unmanagedSourceDirectories += (LocalRootProject / baseDirectory).value / "scala-xml" / "src" / "test" / "scala",
libraryDependencies ++= Seq(
"org.http4s" %%% "http4s-core" % http4sVersion,
"org.http4s" %%% "http4s-laws" % http4sVersion % Test,
"org.scalameta" %%% "munit-scalacheck" % munitVersion % Test,
"org.typelevel" %%% "munit-cats-effect" % munitCatsEffectVersion % Test,
"org.typelevel" %%% "scalacheck-xml" % scalacheckXmlVersion % Test,
),
)

lazy val docs = project
.in(file("site"))
.dependsOn(scalaXml2)
.dependsOn(scalaXml)
.settings(
libraryDependencies ++= Seq(
"org.http4s" %%% "http4s-dsl" % http4sVersion,
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.9
sbt.version=1.12.13
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("org.http4s" % "sbt-http4s-org" % "0.14.13")
addSbtPlugin("org.http4s" % "sbt-http4s-org" % "2.0.6")

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import org.typelevel.scalacheck.xml.generators._
import java.nio.charset.StandardCharsets
import scala.xml.Elem

class ScalaXmlSuite extends CatsEffectSuite with ScalaCheckEffectSuite with ScalaXmlSuiteVersion {
class ScalaXmlSuite extends CatsEffectSuite with ScalaCheckEffectSuite {
def getBody(body: EntityBody[IO]): IO[String] =
body.through(utf8.decode).foldMonoid.compile.lastOrError

Expand All @@ -60,11 +60,10 @@ class ScalaXmlSuite extends CatsEffectSuite with ScalaCheckEffectSuite with Scal

test("round trips utf-8") {
forAllF(genXml) { (elem: Elem) =>
val normalized = normalize(elem).asInstanceOf[Elem]
Request[IO]()
.withEntity(normalized)
.withEntity(elem)
.as[Elem]
.assertEquals(normalized)
.assertEquals(elem)
}
}

Expand Down
Loading