Skip to content

Releases: sbt/zinc

1.4.1

19 Oct 17:14
v1.4.1
b969b72
Compare
Choose a tag to compare

1.4.0

04 Oct 17:00
v1.4.0
52c63b3
Compare
Choose a tag to compare

v1.3.5...v1.4.0

Zinc 1.4.0 is available for both Scala 2.12 and 2.13.

VirtualFile / VirtualFileRef

This is a major refactoring of Zinc internals to use an abstraction over "file" called VirtualFile (includes content) and VirtualFileRef (just the file name). They can be backed either by real NIO Paths or in-memory String. The purpose is to make the internal incremental state Analysis machine-independent.

#712 by @eed3si9n

Build pipelining

pipelining

This adds a facility to implement incremental, module-level build pipelining, which allows Scala subprojects to start compilation earlier than when the upstream compilation is complete. A build tool that wishes to implement this should implement two settings:

  • exportPipelining. The subproject with exportPipelining exports the early output (also known as pickle JAR) and early analysis, and also responsible for setting -Ypickle-java and -Ypickle-write flag.
  • usePipelining. The subproject with usePipelining must set incOptions.value.withPipelining(true). This tells Zinc to skip Java compilation.

Only Scala compiler is currently capable of pipelined compilation, so the build tool is responsible for calling compileAllJava(...) after all of upstream also have the full compilation done. Note: A single subproject may take all combinations of exportPipelining and usePipelining settings.

#744 / #843 by @eed3si9n, @dwijnand, and others.

1.4.0-M9

15 Aug 02:25
v1.4.0-M9
07d5b57
Compare
Choose a tag to compare
1.4.0-M9 Pre-release
Pre-release
v1.4.0-M9

1.4.0-M9

1.4.0-M8

08 Aug 04:46
v1.4.0-M8
2bd16be
Compare
Choose a tag to compare
1.4.0-M8 Pre-release
Pre-release
v1.4.0-M8

1.4.0-M8

1.4.0-M7

25 Jul 02:23
v1.4.0-M7
f5fb294
Compare
Choose a tag to compare
1.4.0-M7 Pre-release
Pre-release
v1.4.0-M7

1.4.0-M7

1.4.0-M2

24 Apr 16:39
v1.4.0-M2
0fcb33d
Compare
Choose a tag to compare
1.4.0-M2 Pre-release
Pre-release
v1.4.0-M2

1.4.0-M2

1.4.0-M1

14 Apr 04:48
v1.4.0-M1
Compare
Choose a tag to compare
1.4.0-M1 Pre-release
Pre-release

I've just released Zinc 1.4.0-M1. Note this is a beta release and it won't be compatible with future 1.4.x, but I chose a commit fairly close to 1.3.x so it should be usable.

1.3.5

30 Mar 20:04
v1.3.5
1e0f5df
Compare
Choose a tag to compare
v1.3.5

1.3.5

1.3.4

29 Mar 23:08
v1.3.4
77a3d47
Compare
Choose a tag to compare
v1.3.4

1.3.4

1.3.3

27 Jan 05:00
v1.3.3
2b61287
Compare
Choose a tag to compare