Skip to content

Commit 65a60ec

Browse files
Merge remote-tracking branch 'upstream/master' into master
2 parents 3ec37f5 + 50cc7dc commit 65a60ec

File tree

6 files changed

+125
-19
lines changed

6 files changed

+125
-19
lines changed

docs/build-tools/sbt.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ Here's a list of bloop commands you can run next to start playing with bloop:
8888

8989
## Next steps after installation
9090

91-
Use an IDE such as [Metals](docs/ides/metals) or
92-
[IntelliJ](docs/ides/intellij) to write code or play with the
93-
[CLI](docs/cli/tutorial) if you want to explore what CLI options are
91+
Use an IDE such as [Metals](/bloop/docs/ides/metals) or
92+
[IntelliJ](/bloop/docs/ides/intellij) to write code or play with the
93+
[CLI](/bloop/docs/cli/tutorial) if you want to explore what CLI options are
9494
available.
9595

9696
If you need help, you can always come over to our [Discord

frontend/src/main/scala/bloop/data/Project.scala

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,15 @@ final case class Project(
251251
getJavaVersionFromJavaHome(f.javaHome)
252252
)
253253
.getOrElse(Properties.javaVersion)
254-
255-
compareVersions(compileVersion, version) >= 0
254+
.split("-")
255+
.head // needed for versions like 17-ea
256+
try {
257+
compareVersions(compileVersion, version) >= 0
258+
} catch {
259+
case NonFatal(_) =>
260+
logger.error(s"Invalid Java number $compileVersion")
261+
false
262+
}
256263
}
257264
}
258265

frontend/src/test/scala/bloop/dap/DebugAdapterConnection.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private[dap] final class DebugAdapterConnection(
152152
object DebugAdapterConnection {
153153
def connectTo(uri: URI)(scheduler: Scheduler): DebugAdapterConnection = {
154154
val socket = new Socket()
155-
socket.connect(new InetSocketAddress(uri.getHost, uri.getPort), 500)
155+
socket.connect(new InetSocketAddress(uri.getHost, uri.getPort), 10000)
156156

157157
val proxy = DebugAdapterProxy(socket)
158158
proxy.startBackgroundListening(scheduler)

frontend/src/test/scala/bloop/dap/DebugServerSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ object DebugServerSpec extends DebugBspBaseSuite {
478478
assert(debuggeeCanceled, serverClosed)
479479
}
480480

481-
TestUtil.await(FiniteDuration(5, SECONDS), ExecutionContext.ioScheduler)(test)
481+
TestUtil.await(FiniteDuration(20, SECONDS), ExecutionContext.ioScheduler)(test)
482482
}
483483
}
484484

notes/v1.4.12.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# bloop `v1.4.12`
2+
3+
Bloop v1.4.12 is a bugfix release.
4+
5+
## Installing Bloop
6+
7+
For more details about installing Bloop, please see [Bloop's Installation Guide](https://scalacenter.github.io/bloop/setup))
8+
9+
## Merged pull requests
10+
11+
Here's a list of pull requests that were merged:
12+
13+
- CompierCache - fix patmat [#1653]
14+
- Add tests for Scala version 2.13.8 [#1629]
15+
- Fork JavaCompiler in case if there are `-J` flags [#1652]
16+
- Launcher 213 [#1646]
17+
- Fix gradle211 compilation errors [#1645]
18+
- [Java] Don't pass `--add-export` semanticdb flags to jdk8 [#1647]
19+
- Bump actions/download-artifact from 2.0.10 to 2.1.0 [#1640]
20+
- Bump actions/setup-node from 2.5.0 to 2.5.1 [#1639]
21+
- Fix JS compilation errors [#1638]
22+
- [Maven] Make sure correct classifier is used when downloading artifacts. [#1634]
23+
- Fix fish completions error [#1633]
24+
- Fix typo in discord URL [#1628]
25+
- Update sbt to 1.4.9 and remove offloading [#1623]
26+
- Handle gradle project-sourceset name clashes [#1625]
27+
- Add exports for Semanticdb plugin on Java 17 [#1622]
28+
- Send TestResult to Debugee Listener [#1607]
29+
- Ignore hydra tests [#1619]
30+
- Fix regex used for HydraCompileSpec [#1618]
31+
- Ignore Hydra license output in tests [#1617]
32+
- Bump actions/checkout from 2.3.5 to 2.4.0 [#1616]
33+
- Bump actions/setup-node from 2.4.1 to 2.5.0 [#1615]
34+
- Clean-up [#1610]
35+
- Use coursier-interface rather than coursier [#1612]
36+
37+
38+
[#1653]: https://github.com/scalacenter/bloop/pull/1653
39+
[#1629]: https://github.com/scalacenter/bloop/pull/1629
40+
[#1652]: https://github.com/scalacenter/bloop/pull/1652
41+
[#1646]: https://github.com/scalacenter/bloop/pull/1646
42+
[#1645]: https://github.com/scalacenter/bloop/pull/1645
43+
[#1647]: https://github.com/scalacenter/bloop/pull/1647
44+
[#1640]: https://github.com/scalacenter/bloop/pull/1640
45+
[#1639]: https://github.com/scalacenter/bloop/pull/1639
46+
[#1638]: https://github.com/scalacenter/bloop/pull/1638
47+
[#1634]: https://github.com/scalacenter/bloop/pull/1634
48+
[#1633]: https://github.com/scalacenter/bloop/pull/1633
49+
[#1628]: https://github.com/scalacenter/bloop/pull/1628
50+
[#1623]: https://github.com/scalacenter/bloop/pull/1623
51+
[#1625]: https://github.com/scalacenter/bloop/pull/1625
52+
[#1622]: https://github.com/scalacenter/bloop/pull/1622
53+
[#1607]: https://github.com/scalacenter/bloop/pull/1607
54+
[#1619]: https://github.com/scalacenter/bloop/pull/1619
55+
[#1618]: https://github.com/scalacenter/bloop/pull/1618
56+
[#1617]: https://github.com/scalacenter/bloop/pull/1617
57+
[#1616]: https://github.com/scalacenter/bloop/pull/1616
58+
[#1615]: https://github.com/scalacenter/bloop/pull/1615
59+
[#1610]: https://github.com/scalacenter/bloop/pull/1610
60+
[#1612]: https://github.com/scalacenter/bloop/pull/1612
61+
62+
63+
## Contributors
64+
65+
According to `git shortlog -sn --no-merges v1.4.11..v1.4.12`, the following people have contributed to
66+
this `v1.4.12` release: Kamil Podsiadlo, Tomasz Godzik, dependabot[bot], Vadim Chelyshov, Alexander Anohin, Alexandre Archambault, Arthur McGibbon.

website/yarn.lock

Lines changed: 45 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,9 +1159,9 @@ babylon@^6.18.0:
11591159
integrity sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==
11601160

11611161
balanced-match@^1.0.0:
1162-
version "1.0.0"
1163-
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
1164-
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
1162+
version "1.0.2"
1163+
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
1164+
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
11651165

11661166
base64-js@^1.0.2:
11671167
version "1.3.1"
@@ -2952,7 +2952,19 @@ glob-to-regexp@^0.3.0:
29522952
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
29532953
integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=
29542954

2955-
glob@^7.0.0, glob@^7.0.5, glob@^7.1.2, glob@^7.1.3, glob@^7.1.6, glob@~7.1.1:
2955+
glob@^7.0.0, glob@^7.0.5, glob@^7.1.2, glob@^7.1.3, glob@^7.1.6:
2956+
version "7.2.0"
2957+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
2958+
integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==
2959+
dependencies:
2960+
fs.realpath "^1.0.0"
2961+
inflight "^1.0.4"
2962+
inherits "2"
2963+
minimatch "^3.0.4"
2964+
once "^1.3.0"
2965+
path-is-absolute "^1.0.0"
2966+
2967+
glob@~7.1.1:
29562968
version "7.1.6"
29572969
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
29582970
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
@@ -3393,9 +3405,9 @@ [email protected]:
33933405
through "^2.3.6"
33943406

33953407
interpret@^1.0.0:
3396-
version "1.2.0"
3397-
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
3398-
integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==
3408+
version "1.4.0"
3409+
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e"
3410+
integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
33993411

34003412
into-stream@^3.1.0:
34013413
version "3.1.0"
@@ -3480,6 +3492,13 @@ is-color-stop@^1.0.0:
34803492
rgb-regex "^1.0.1"
34813493
rgba-regex "^1.0.0"
34823494

3495+
is-core-module@^2.8.0:
3496+
version "2.8.1"
3497+
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211"
3498+
integrity sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==
3499+
dependencies:
3500+
has "^1.0.3"
3501+
34833502
is-data-descriptor@^0.1.4:
34843503
version "0.1.4"
34853504
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
@@ -4709,7 +4728,7 @@ path-key@^2.0.0, path-key@^2.0.1:
47094728
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
47104729
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=
47114730

4712-
path-parse@^1.0.6:
4731+
path-parse@^1.0.6, path-parse@^1.0.7:
47134732
version "1.0.7"
47144733
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
47154734
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
@@ -5498,7 +5517,16 @@ resolve-url@^0.2.1:
54985517
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
54995518
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
55005519

5501-
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2:
5520+
resolve@^1.1.6:
5521+
version "1.21.0"
5522+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.21.0.tgz#b51adc97f3472e6a5cf4444d34bc9d6b9037591f"
5523+
integrity sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==
5524+
dependencies:
5525+
is-core-module "^2.8.0"
5526+
path-parse "^1.0.7"
5527+
supports-preserve-symlinks-flag "^1.0.0"
5528+
5529+
resolve@^1.10.0, resolve@^1.3.2:
55025530
version "1.17.0"
55035531
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
55045532
integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
@@ -5692,9 +5720,9 @@ [email protected]:
56925720
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
56935721

56945722
shelljs@^0.8.3:
5695-
version "0.8.4"
5696-
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
5697-
integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
5723+
version "0.8.5"
5724+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c"
5725+
integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==
56985726
dependencies:
56995727
glob "^7.0.0"
57005728
interpret "^1.0.0"
@@ -6069,6 +6097,11 @@ supports-color@^7.1.0:
60696097
dependencies:
60706098
has-flag "^4.0.0"
60716099

6100+
supports-preserve-symlinks-flag@^1.0.0:
6101+
version "1.0.0"
6102+
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
6103+
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
6104+
60726105
svgo@^1.0.0, svgo@^1.3.2:
60736106
version "1.3.2"
60746107
resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.3.2.tgz#b6dc511c063346c9e415b81e43401145b96d4167"

0 commit comments

Comments
 (0)