Skip to content

Releases: com-lihaoyi/sourcecode

0.4.3-M1

11 Sep 16:00
1dae28d
Compare
Choose a tag to compare
use new rather than apply in Scala 3 (#176)

Scala 2 macros expand to e.g. `new sourcecode.Line(2)`.

To maintain compatibility with other tools such as Mill's CodeSig
analyzer, we should directly call the constructor, rather than the
companion's `apply` method e.g. `sourcecode.Line.apply(2)`

0.4.2

24 May 08:34
Compare
Choose a tag to compare

Merged Pull Requests

  • Fix NullPointerException when using sourcecode.File in Scala 3 repl by @fachammer in #161
  • Correctly handle backticked macro keyword in Scala 3 by @KacperFKorban in #163

New Contributors

Full Changelog: 0.4.1...0.4.2

0.4.1

15 Apr 23:07
Compare
Choose a tag to compare

Merged Pull Requests

  • Restrict Mima to just JVM builds by @lihaoyi in #155
  • Fix NullPointerException when using fileName under Scala 3 repl by @hearnadam in #153

New Contributors

Full Changelog: 0.4.0...0.4.1

0.4.0

14 Apr 13:42
Compare
Choose a tag to compare

Merged Pull Requests

New Contributors

Full Changelog: 0.3.1...0.4.0

0.3.1

22 Sep 06:22
3232f77
Compare
Choose a tag to compare

Merged Pull Requests

New Contributors

Full Changelog: 0.3.0...0.3.1

0.3.0

08 Jul 14:10
fcd4da7
Compare
Choose a tag to compare
deps: update all sorts of stuff (#121)

This pr goes through and makes the various updates:
  - Bumps mill to the latest 0.10.5
  - Bumps to the latest Scala versions for 2 and latest 3.1.x version
  - Drops 0.x support for ScalaJS
  - Move Scala native to 0.4.x
  - Adds in dependabot
  - Starts to cross test on 8 and 17
  - Updates checkout and java actions

0.2.8

24 Jan 14:42
42abf8e
Compare
Choose a tag to compare
Support Scala Native - Scala 3 (#119)

* Support Scala Native - Scala 3

- Update Mill to 10.0.0

* Skip docJar in Scala 3 Scala Native

0.2.7

13 May 23:27
390425f
Compare
Choose a tag to compare
Merge pull request #114 from com-lihaoyi/version-0.2.7

Version 0.2.7

0.2.6

20 Apr 03:53
0.2.6
6e9c8d2
Compare
Choose a tag to compare

Add support for Scala 3.0.0-RC3

v0.1.6

05 Apr 12:02
32c21e8
Compare
Choose a tag to compare
  • Add Automatic-Module-Name for Java 9 compatibility
  • Add Scala 2.13.0-RC1 support