From f6e85c41420d8cc8819e4b56b844a7fb931c761c Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 11:51:05 +0200 Subject: [PATCH 01/46] Start writing release anouncement. --- ...017-05-31-first-dotty-milestone-release.md | 88 +++++++++++++++++++ docs/docs/release-notes/0.1.2.md | 0 2 files changed, 88 insertions(+) create mode 100644 docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md create mode 100644 docs/docs/release-notes/0.1.2.md diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md new file mode 100644 index 000000000000..4ebe78bfdbb1 --- /dev/null +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -0,0 +1,88 @@ +--- +layout: blog-page +title: Announcing Dotty 0.1.2, a major step towards Scala 3 +author: Dmytro Petrashko +authorImg: /images/petrashko.jpg +--- + +Today, we’re excited to release the alpha version of Dotty 0.1.2. +This release serves as a technology preview that demonstrates improvements in +compilation speed as well as new language features. + + + + +## Why is this important? + +17 month has passed since dotty has [bootstrapped](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html). +Back at the time Dotty was just an ambitious experiment. +This experiment has proved to be a major success. +Today, we are glad to announce that Scala 3.0 will be build on Dotty code. + +## How you can try it out? + +You have two alternatives: either use sbt-dotty plugin or get a standalone installation. + +In case you prefer Sbt, We provide Sbt project templates. +Using sbt version 0.13.13 or newer, do `sbt new lampepfl/dotty.g8`. +This should set-up a new Sbt project with Dotty as compiler. +For more details on how to use sbt-dotty plugin, please have a look +on [example project](https://github.com/lampepfl/dotty-example-project) + + +In case you prefer to get a standalone `dotc` script, +releases are available for download on the _Releases_ +section of Dotty repository: https://github.com/lampepfl/dotty/releases/ +We also provide a [homebrew](https://brew.sh/) package that can be installed by running + +``` +brew install lampepfl/brew/dotty +``` + + +# What’s in 0.1.2 technology preview? +Being a technology preview, we are proud to show present you new language features + that are we have been developing in preparation for Scala 3: + - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) + - [Union Types](http://dotty.epfl.ch/docs/reference/reference/union-types.html) + - [Trait Parameters](http://dotty.epfl.ch/docs/reference/reference/trait-parameters.html) + - [Enumerations](http://dotty.epfl.ch/docs/reference/reference/enums.html) + - [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/reference/adts.html) + - [By-Name Implicits](http://dotty.epfl.ch/docs/reference/reference/implicit-by-name-parameters.html) + +We also ship with tools that help you try out Dotty platform: + - [Visual Studio Code Plugin](http://dotty.epfl.ch/docs/usage/ide-support.html) + - [SBT support, including crosscompilation with Scala2](https://github.com/lampepfl/dotty-example-project) + +Full release notes are also [available](http://dotty.epfl.ch/docs/release-notes/0.1.2.html). + +## Release schedule + +We are adopting time based release schedule. +Every day we will publish a nightly, for those who want to be on the very edge of progress. + +Every 6 weeks we will cut a new milestone release. Those releases are a good place to be for library authors + as we intend to provide hot-fixes and fix regression there. + +One day, a milestone release will be promotedt to become a stable release of Dotty. + +## What are the next steps? + +Over the coming weeks and months, we plan to work on the following topics: + + - [Integrate Local optimizations developed in Dotty linker](https://github.com/lampepfl/dotty/pull/2513); + - [Add Language-level support for HMaps and HLists](https://github.com/lampepfl/dotty/pull/2199); + - [Port global optimizations from Dotty linker](https://github.com/lampepfl/dotty/pull/1840). + +If you want to get your hands dirty with any of this, now is a good +moment to get involved! Join the team of contributors, including +Dmitry Petrashko ([@DarkDimius](https://twitter.com/DarkDimius)), +Guillaume Martres ([@smarter](https://github.com/smarter)), +Felix Mulder ([@smarter](https://twitter.com/felixmulder)), +Nicolas Stucki ([@stucki_nicolas](https://twitter.com/stucki_nicolas)), +Liu Fengyun ([@olhotak](https://github.com/liufengyun)), +Olivier Blanvillain ([@olhotak](https://github.com/OlivierBlanvillain)), +and others! + + +To get started: . diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md new file mode 100644 index 000000000000..e69de29bb2d1 From c3d2f79a218c1c1429409c7dbff8ed55c024b6c7 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 12:13:49 +0200 Subject: [PATCH 02/46] Fixes to announcement. --- ...017-05-31-first-dotty-milestone-release.md | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 4ebe78bfdbb1..d780a8f35fce 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -6,8 +6,7 @@ authorImg: /images/petrashko.jpg --- Today, we’re excited to release the alpha version of Dotty 0.1.2. -This release serves as a technology preview that demonstrates improvements in -compilation speed as well as new language features. +This release serves as a technology preview that demonstrates new language features and compiler supporting them. @@ -27,7 +26,7 @@ In case you prefer Sbt, We provide Sbt project templates. Using sbt version 0.13.13 or newer, do `sbt new lampepfl/dotty.g8`. This should set-up a new Sbt project with Dotty as compiler. For more details on how to use sbt-dotty plugin, please have a look -on [example project](https://github.com/lampepfl/dotty-example-project) +at [example project](https://github.com/lampepfl/dotty-example-project) In case you prefer to get a standalone `dotc` script, @@ -41,30 +40,33 @@ brew install lampepfl/brew/dotty # What’s in 0.1.2 technology preview? -Being a technology preview, we are proud to show present you new language features +The technology preview presents you new language features that are we have been developing in preparation for Scala 3: + - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) - - [Union Types](http://dotty.epfl.ch/docs/reference/reference/union-types.html) - - [Trait Parameters](http://dotty.epfl.ch/docs/reference/reference/trait-parameters.html) - - [Enumerations](http://dotty.epfl.ch/docs/reference/reference/enums.html) - - [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/reference/adts.html) - - [By-Name Implicits](http://dotty.epfl.ch/docs/reference/reference/implicit-by-name-parameters.html) + - [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html) + - [Trait Parameters](http://dotty.epfl.ch/docs/reference/trait-parameters.html) + - [Enumerations](http://dotty.epfl.ch/docs/reference/enums.html) + - [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/adts.html) + - [By-Name Implicits](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html) + +We also ship with tools that help you try out the Dotty platform: -We also ship with tools that help you try out Dotty platform: - [Visual Studio Code Plugin](http://dotty.epfl.ch/docs/usage/ide-support.html) - [SBT support, including crosscompilation with Scala2](https://github.com/lampepfl/dotty-example-project) -Full release notes are also [available](http://dotty.epfl.ch/docs/release-notes/0.1.2.html). +See here for full [release notes](http://dotty.epfl.ch/docs/release-notes/0.1.2.html). ## Release schedule -We are adopting time based release schedule. +We are adopting a time based release schedule. Every day we will publish a nightly, for those who want to be on the very edge of progress. -Every 6 weeks we will cut a new milestone release. Those releases are a good place to be for library authors +Every 6 weeks we will cut a new milestone release. +Those releases are a good place to be for library authors as we intend to provide hot-fixes and fix regression there. -One day, a milestone release will be promotedt to become a stable release of Dotty. +At the end of 6 weeks, the milestone will be promoted to a stable release. ## What are the next steps? @@ -78,10 +80,10 @@ If you want to get your hands dirty with any of this, now is a good moment to get involved! Join the team of contributors, including Dmitry Petrashko ([@DarkDimius](https://twitter.com/DarkDimius)), Guillaume Martres ([@smarter](https://github.com/smarter)), -Felix Mulder ([@smarter](https://twitter.com/felixmulder)), +Felix Mulder ([@felixmulder](https://twitter.com/felixmulder)), Nicolas Stucki ([@stucki_nicolas](https://twitter.com/stucki_nicolas)), -Liu Fengyun ([@olhotak](https://github.com/liufengyun)), -Olivier Blanvillain ([@olhotak](https://github.com/OlivierBlanvillain)), +Liu Fengyun ([@liufengyun](https://github.com/liufengyun)), +Olivier Blanvillain ([@OlivierBlanvillain](https://github.com/OlivierBlanvillain)), and others! From 31300fef14fa543b8c56b871931b8b1393e2d95f Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 12:14:48 +0200 Subject: [PATCH 03/46] Fix lists. --- .../2017-05-31-first-dotty-milestone-release.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index d780a8f35fce..e673be66ed61 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -43,17 +43,17 @@ brew install lampepfl/brew/dotty The technology preview presents you new language features that are we have been developing in preparation for Scala 3: - - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) - - [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html) - - [Trait Parameters](http://dotty.epfl.ch/docs/reference/trait-parameters.html) - - [Enumerations](http://dotty.epfl.ch/docs/reference/enums.html) - - [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/adts.html) - - [By-Name Implicits](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html) + - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) + - [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html) + - [Trait Parameters](http://dotty.epfl.ch/docs/reference/trait-parameters.html) + - [Enumerations](http://dotty.epfl.ch/docs/reference/enums.html) + - [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/adts.html) + - [By-Name Implicits](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html) We also ship with tools that help you try out the Dotty platform: - - [Visual Studio Code Plugin](http://dotty.epfl.ch/docs/usage/ide-support.html) - - [SBT support, including crosscompilation with Scala2](https://github.com/lampepfl/dotty-example-project) + - [Visual Studio Code Plugin](http://dotty.epfl.ch/docs/usage/ide-support.html) + - [SBT support, including crosscompilation with Scala2](https://github.com/lampepfl/dotty-example-project) See here for full [release notes](http://dotty.epfl.ch/docs/release-notes/0.1.2.html). From 834ab835b1e82a5a03721e0f83de308481770915 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 13:17:28 +0200 Subject: [PATCH 04/46] Various rewordings/improvements --- ...017-05-31-first-dotty-milestone-release.md | 76 ++++++++++++------- 1 file changed, 48 insertions(+), 28 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index e673be66ed61..737e8ea22f97 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -5,43 +5,59 @@ author: Dmytro Petrashko authorImg: /images/petrashko.jpg --- -Today, we’re excited to release the alpha version of Dotty 0.1.2. -This release serves as a technology preview that demonstrates new language features and compiler supporting them. +Today, we’re excited to release the first alpha version of Dotty. +This release is a technology preview demonstrating new language features, we are +interested in feedback from both application and library authors willing to +experiment with it. ## Why is this important? -17 month has passed since dotty has [bootstrapped](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html). -Back at the time Dotty was just an ambitious experiment. -This experiment has proved to be a major success. -Today, we are glad to announce that Scala 3.0 will be build on Dotty code. +17 months have passed since Dotty first [bootstrapped](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html). +Back then, Dotty was just an ambitious experiment, but we're now feeling +confident that the underlying technology is solid, and thus are ready to +announce that Dotty will be the basis of Scala 3.0. -## How you can try it out? +## How can you try it out? -You have two alternatives: either use sbt-dotty plugin or get a standalone installation. +You have several alternatives: use the `sbt-dotty` plugin, get a standalone +installation, or try it online on [Scastie](https://scastie.scala-lang.org/). -In case you prefer Sbt, We provide Sbt project templates. -Using sbt version 0.13.13 or newer, do `sbt new lampepfl/dotty.g8`. -This should set-up a new Sbt project with Dotty as compiler. -For more details on how to use sbt-dotty plugin, please have a look -at [example project](https://github.com/lampepfl/dotty-example-project) +### sbt +Using sbt 0.13.13 or newer, do: +``` +sbt new lampepfl/dotty.g8 +``` + +This will setup a new sbt project with Dotty as compiler. For more details on +using Dotty with sbt, see the +[example project](https://github.com/lampepfl/dotty-example-project). + +### Standalone installation + +Releases are available for download on the _Releases_ +section of the Dotty repository: https://github.com/lampepfl/dotty/releases. -In case you prefer to get a standalone `dotc` script, -releases are available for download on the _Releases_ -section of Dotty repository: https://github.com/lampepfl/dotty/releases/ We also provide a [homebrew](https://brew.sh/) package that can be installed by running ``` brew install lampepfl/brew/dotty ``` +### Scastie + +[Scastie](https://scastie.scala-lang.org/), the online Scala playground, +supports Dotty. To try it out: +1. Click on `Build Settings` in the menu on the left +2. Under `Target`, click on `Dotty` +3. That's it! + -# What’s in 0.1.2 technology preview? -The technology preview presents you new language features - that are we have been developing in preparation for Scala 3: +# What’s in the 0.1.2 technology preview ? +This technology preview demonstrates new language features planned for Scala 3: - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) - [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html) @@ -59,16 +75,19 @@ See here for full [release notes](http://dotty.epfl.ch/docs/release-notes/0.1.2. ## Release schedule -We are adopting a time based release schedule. -Every day we will publish a nightly, for those who want to be on the very edge of progress. +We have decided to adopt a time-based release schedule: +- Nightly builds will be published, for those wanting to be at the forefront of + development. +- Every 6 week, a release candidate will be cut based on the last nightly build, + the release candidates let library authors test their code in advance of each + release. Multiple release candidates may be released during each 6 weeks + period to fix regressions. +- Every 6 week, the last release candidate becomes a release. -Every 6 weeks we will cut a new milestone release. -Those releases are a good place to be for library authors - as we intend to provide hot-fixes and fix regression there. - -At the end of 6 weeks, the milestone will be promoted to a stable release. +Today, we are releasing the first release candidate: 0.1.2-RC1. In 6 weeks, we +will release 0.1.2 final, as well as 0.2.0-RC1. -## What are the next steps? +## What are the next steps ? Over the coming weeks and months, we plan to work on the following topics: @@ -78,6 +97,7 @@ Over the coming weeks and months, we plan to work on the following topics: If you want to get your hands dirty with any of this, now is a good moment to get involved! Join the team of contributors, including +Martin Odersky ([@odersky](https://twitter.com/odersky)) Dmitry Petrashko ([@DarkDimius](https://twitter.com/DarkDimius)), Guillaume Martres ([@smarter](https://github.com/smarter)), Felix Mulder ([@felixmulder](https://twitter.com/felixmulder)), @@ -87,4 +107,4 @@ Olivier Blanvillain ([@OlivierBlanvillain](https://github.com/OlivierBlanvillain and others! -To get started: . +To get started, see . From 602d4af4d64371015dadd1925ad98d5e36281062 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 13:18:10 +0200 Subject: [PATCH 05/46] Fix version numbers + add a stub version numbers page. --- .../2017-05-31-first-dotty-milestone-release.md | 3 ++- docs/docs/usage/version-numbers.md | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 docs/docs/usage/version-numbers.md diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index e673be66ed61..6cc6d510683d 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -5,7 +5,7 @@ author: Dmytro Petrashko authorImg: /images/petrashko.jpg --- -Today, we’re excited to release the alpha version of Dotty 0.1.2. +Today, we’re excited to release the Dotty version 0.1.2-RC1. This release serves as a technology preview that demonstrates new language features and compiler supporting them. @@ -67,6 +67,7 @@ Those releases are a good place to be for library authors as we intend to provide hot-fixes and fix regression there. At the end of 6 weeks, the milestone will be promoted to a stable release. +See here for full [version number explanation](http://dotty.epfl.ch/docs/usage/version-numbers.html). ## What are the next steps? diff --git a/docs/docs/usage/version-numbers.md b/docs/docs/usage/version-numbers.md new file mode 100644 index 000000000000..f44dad706783 --- /dev/null +++ b/docs/docs/usage/version-numbers.md @@ -0,0 +1,14 @@ +--- +layout: doc-page +title: "Version numbers" +--- + +Dotty uses multiple schemes for version numbering. + +Stable releases have version number of form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id. + +Snapshots have a version `0.${x}.${y}-RC${z}`. When snapshot is promoted to stable it will have version `0.${x}.${y}`. +Spanshots are updated by incrementing `${z}`. + +Nightlies have a version `0.${x}.0-bin-SNAPSHOT-${sha}`. + From 0bc9f28af5a762d9346caa048569295d61859d2b Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 13:18:41 +0200 Subject: [PATCH 06/46] Version number clarifications --- .../blog/_posts/2017-05-31-first-dotty-milestone-release.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 737e8ea22f97..035cefbb0dbf 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -1,11 +1,11 @@ --- layout: blog-page -title: Announcing Dotty 0.1.2, a major step towards Scala 3 +title: Announcing Dotty 0.1.2-RC1, a major step towards Scala 3 author: Dmytro Petrashko authorImg: /images/petrashko.jpg --- -Today, we’re excited to release the first alpha version of Dotty. +Today, we’re excited to release the first alpha version of Dotty, version 0.1.2-RC1. This release is a technology preview demonstrating new language features, we are interested in feedback from both application and library authors willing to experiment with it. @@ -56,7 +56,7 @@ supports Dotty. To try it out: 3. That's it! -# What’s in the 0.1.2 technology preview ? +# What’s in the 0.1.2-RC1 technology preview ? This technology preview demonstrates new language features planned for Scala 3: - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) From bc0509b32163ad1d445ebf515c58c9104939d982 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 13:45:09 +0200 Subject: [PATCH 07/46] Improvement to version numbers --- docs/docs/usage/version-numbers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/usage/version-numbers.md b/docs/docs/usage/version-numbers.md index f44dad706783..3aea9530debf 100644 --- a/docs/docs/usage/version-numbers.md +++ b/docs/docs/usage/version-numbers.md @@ -5,10 +5,10 @@ title: "Version numbers" Dotty uses multiple schemes for version numbering. -Stable releases have version number of form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id. +Stable releases have version number of the form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id. -Snapshots have a version `0.${x}.${y}-RC${z}`. When snapshot is promoted to stable it will have version `0.${x}.${y}`. -Spanshots are updated by incrementing `${z}`. +Release candidates version numbers have the form `0.${x}.${y}-RC${z}`. Release candidates are updated by incrementing `${z}`. +When a release candidate is promoted to stable it becomes version `0.${x}.${y}`. -Nightlies have a version `0.${x}.0-bin-SNAPSHOT-${sha}`. +Nightlies have version numbers of the form `0.${x}.${y}-bin-${date}-${sha}-NIGHTLY`. From ad9d2ced5dab18da428fc3095c054e99f4e0d01c Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 13:46:52 +0200 Subject: [PATCH 08/46] version-numbers.md: Explain promotion --- docs/docs/usage/version-numbers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/usage/version-numbers.md b/docs/docs/usage/version-numbers.md index 3aea9530debf..26ba9854055c 100644 --- a/docs/docs/usage/version-numbers.md +++ b/docs/docs/usage/version-numbers.md @@ -5,10 +5,10 @@ title: "Version numbers" Dotty uses multiple schemes for version numbering. -Stable releases have version number of the form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id. +Stable releases have version numbers of the form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id. Release candidates version numbers have the form `0.${x}.${y}-RC${z}`. Release candidates are updated by incrementing `${z}`. -When a release candidate is promoted to stable it becomes version `0.${x}.${y}`. +Every 6 weeks, the latest release candidate is promoted to stable and becomes version `0.${x}.${y}`. Nightlies have version numbers of the form `0.${x}.${y}-bin-${date}-${sha}-NIGHTLY`. - +Every 6 weeks, the latest nightly is promoted to release candidate becomes version `0.${x}.${y}-RC1`. From 21cbd7da30c12e4e334a62e2d2be99dcafe00317 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 13:47:56 +0200 Subject: [PATCH 09/46] Add community build section. --- .../_posts/2017-05-31-first-dotty-milestone-release.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index a481fcd22de8..16db5379ea3a 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -104,5 +104,12 @@ Liu Fengyun ([@liufengyun](https://github.com/liufengyun)), Olivier Blanvillain ([@OlivierBlanvillain](https://github.com/OlivierBlanvillain)), and others! +## Library authors: Join our community build + +Dotty now has a set of libraries that are build with every nightly. +Currently this includes scalatest, squants and algebra. +Join our [community build](https://github.com/lampepfl/dotty-community-build) + to make sure that our regression suite includes your library. + To get started, see . From 5f8b9fef74ddd8a90b060fd5e09d3bc3723cae4f Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 13:51:18 +0200 Subject: [PATCH 10/46] Slightly improved wording --- .../2017-05-31-first-dotty-milestone-release.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 16db5379ea3a..14e3cd2b0369 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -66,24 +66,24 @@ This technology preview demonstrates new language features planned for Scala 3: We also ship with tools that help you try out the Dotty platform: - - [Visual Studio Code Plugin](http://dotty.epfl.ch/docs/usage/ide-support.html) - - [SBT support, including crosscompilation with Scala2](https://github.com/lampepfl/dotty-example-project) + - [IDE features for Visual Studio Code](http://dotty.epfl.ch/docs/usage/ide-support.html) + - [sbt support, including retro-compatibility with Scala 2](https://github.com/lampepfl/dotty-example-project) -See here for full [release notes](http://dotty.epfl.ch/docs/release-notes/0.1.2.html). +See here for the full [release notes](http://dotty.epfl.ch/docs/release-notes/0.1.2.html). ## Release schedule We are adopting a time-based release schedule: - Nightly builds will be published, for those wanting to be at the forefront of development. -- Every 6 week, a release candidate will be cut based on the last nightly build, +- Every 6 weeks, a release candidate will be cut based on the last nightly build, the release candidates let library authors test their code in advance of each release. Multiple release candidates may be released during each 6 weeks period to fix regressions. -- Every 6 week, the last release candidate becomes a release. +- Every 6 weeks, the last release candidate becomes a release. At the end of 6 weeks, the milestone will be promoted to a stable release. -See here for full [version number explanation](http://dotty.epfl.ch/docs/usage/version-numbers.html). +See here for the full [version number explanation](http://dotty.epfl.ch/docs/usage/version-numbers.html). ## What are the next steps? @@ -106,7 +106,7 @@ and others! ## Library authors: Join our community build -Dotty now has a set of libraries that are build with every nightly. +Dotty now has a set of libraries that are build against every nightly snapshot. Currently this includes scalatest, squants and algebra. Join our [community build](https://github.com/lampepfl/dotty-community-build) to make sure that our regression suite includes your library. From 154255144e126865869827c0a58b5389d8c9d330 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 14:52:48 +0200 Subject: [PATCH 11/46] Start writing release notes. --- docs/docs/release-notes/0.1.2.md | 115 +++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index e69de29bb2d1..2ea27806578c 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -0,0 +1,115 @@ +--- +layout: doc-page +title: 0.1.2 release notes +--- + +0.1.2 is the first public release of Dotty. +Being first, those notes are incomplete. + +This release ships with the following features: + + - TASTY support by @odersky, @xeno-by and @darkdimius + - HK-types support by @odesky, @smarter and @darkdmius + - Intersection and Union Types by @odersky + - Enumerations by @odersky + - Implicit By-Name Parameters by @odersky + - Miniphases-based design by @darkdimius and @odersky + - @static methods support by @darkdmius + - Non-blocking lazy vals by @darkdimius + - JVM code emission by @magarciaEPFL and @darkdimius + - efficient multi-dimensional array allocation by @darkdimius + - default-method based trait composition by @darkdimius and @odersky + - Trait parameters by @odersky + - Working contravariant implicits by @odersky + - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain + - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym + - Patter matching support by @darkdimius + - Value classes support by @smarter and @darkdimius + - Pattern matching exhaustively checks by @liufengyun + - Tailrec optimization by @darkdimius + - VS code protocol implementation by @smarter + - VS code plugin by @smarter + - Vulpix: new test-suite to replace partest by @felixmulder + - java parser by @olhotak + - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain + - sbt support by @smarter + - DottyDoc by @felixmulder + - Java parser by @olhotak + + + +The following people have contributed to this release: + +| commits | blame lines | Name | +|---------|-------------|-----------------------------| +| 4346 | 82017 | Martin Odersky | +| 1288 | 83070 | Dmitry Petrashko | +| 19 | 35382 | Samuel Gruetter | +| 826 | 20148 | Felix Mulder | +| 567 | 10454 | Guillaume Martres | +| 136 | 5311 | liu fengyun | +| 189 | 4449 | Nicolas Stucki | +| 21 | 3717 | Sébastien Doeraene | +| 30 | 1711 | Ondrej Lhotak | +| 33 | 1094 | Enno Runne | +| 47 | 735 | Olivier Blanvillain | +| 4 | 480 | Valthor Halldorsson | +| 7 | 343 | Aleksander Boruch-Gruszecki | +| 25 | 220 | VladimirNik | +| 3 | 186 | Enno | +| 8 | 143 | Clemens Winter | +| 16 | 133 | Jason Zaugg | +| 3 | 116 | Miron Aseev | +| 4 | 109 | Shane Delmore | +| 5 | 100 | Alexander Myltsev | +| 5 | 96 | Abel Nieto | +| 1 | 92 | Dmitry Melnichenko | +| 22 | 88 | Jonathan Brachthäuser | +| 5 | 87 | Guillaume Massé | +| 20 | 75 | vsalvis | +| 2 | 64 | Tobias Schlatter | +| 4 | 51 | Ólafur Páll Geirsson | +| 4 | 49 | Sebastian Harko | +| 2 | 48 | Andrew Zurn | +| 3 | 44 | jvican | +| 1 | 43 | Jarrod Janssen | +| 1 | 43 | Igor Mielientiev | +| 2 | 35 | Thiago Pereira | +| 5 | 32 | Martijn Hoekstra | +| 1 | 26 | Bartosz Krasiński | +| 1 | 24 | Adam Trousdale | +| 10 | 22 | Aggelos Biboudis | +| 12 | 20 | Paolo G. Giarrusso | +| 1 | 17 | Jon-Anders Teigen | +| 17 | 16 | Vlad Ureche | +| 1 | 16 | Jyotman Singh | +| 4 | 15 | Lucas Burson | +| 1 | 12 | Markus Hauck | +| 3 | 11 | Varunram Ganesh | +| 2 | 11 | Reto Hablützel | +| 3 | 10 | Allan Renucci | +| 4 | 9 | Sarunas Valaskevicius | +| 2 | 9 | Nikolay.Tropin | +| 1 | 9 | Csongor Kiss | +| 2 | 7 | dos65 | +| 2 | 6 | Varunram | +| 6 | 5 | Nada Amin | +| 1 | 4 | ruben | +| 1 | 4 | Kazuyoshi Kato | +| 1 | 3 | Jonathan Rodriguez | +| 1 | 3 | andreaTP | +| 1 | 1 | AlexSikia | +| 3 | 0 | Edmund Noble | +| 2 | 0 | jvican | +| 3 | 0 | Allan Renucci | +| 3 | 0 | Senia-psm | +| 2 | 0 | Lukas Rytz | +| 2 | 0 | Jan Christopher Vogt | +| 2 | 0 | Raymond Tay | +| 1 | 0 | Matthias Sperl | +| 1 | 0 | Herdy Handoko | +| 1 | 0 | Grzegorz Kossakowski | +| 1 | 0 | George Leontiev | +| 1 | 0 | Sandro Stucki | +| 1 | 0 | Adriaan Moors | +| 1 | 0 | Simon Hafner | From 21208fa336627d893353491d167d722686189aef Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 15:37:16 +0200 Subject: [PATCH 12/46] Mention @vsalvis --- docs/docs/release-notes/0.1.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 2ea27806578c..40869bafb677 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -29,7 +29,7 @@ This release ships with the following features: - Tailrec optimization by @darkdimius - VS code protocol implementation by @smarter - VS code plugin by @smarter - - Vulpix: new test-suite to replace partest by @felixmulder + - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis - java parser by @olhotak - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain - sbt support by @smarter From f1592db3d36fef0df5f1295c3da48fab5128606a Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 16:14:48 +0200 Subject: [PATCH 13/46] Start adding links to release notes. --- docs/docs/release-notes/0.1.2.md | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 40869bafb677..f876f2bbb6db 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -8,23 +8,23 @@ Being first, those notes are incomplete. This release ships with the following features: - - TASTY support by @odersky, @xeno-by and @darkdimius - - HK-types support by @odesky, @smarter and @darkdmius - - Intersection and Union Types by @odersky - - Enumerations by @odersky - - Implicit By-Name Parameters by @odersky - - Miniphases-based design by @darkdimius and @odersky - - @static methods support by @darkdmius - - Non-blocking lazy vals by @darkdimius - - JVM code emission by @magarciaEPFL and @darkdimius - - efficient multi-dimensional array allocation by @darkdimius - - default-method based trait composition by @darkdimius and @odersky - - Trait parameters by @odersky - - Working contravariant implicits by @odersky - - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain - - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym - - Patter matching support by @darkdimius - - Value classes support by @smarter and @darkdimius + - TASTY support by @odersky, @xeno-by and @darkdimius[\[1\]](https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit) + - HK-types support by @odesky, @smarter and @darkdmius[\[2\]](https://infoscience.epfl.ch/record/222780?ln=en) + - Intersection and Union Types by @odersky[\[3\]](http://dotty.epfl.ch/docs/reference/intersection-types.html) [\[4\]](http://dotty.epfl.ch/docs/reference/union-types.html) + - Enumerations by @odersky[\[4\]](http://dotty.epfl.ch/docs/reference/enums.html) [\[5\]](http://dotty.epfl.ch/docs/reference/adts.html) [\[6\]](http://dotty.epfl.ch/docs/reference/desugarEnums.html) + - Implicit By-Name Parameters by @odersky[\[7\]](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html) + - Miniphases-based design by @darkdimius, @odersky and @lhotak [\[8\]](https://infoscience.epfl.ch/record/228518) + - @static methods support by @darkdmius [\[9\]](http://docs.scala-lang.org/sips/pending/static-members.html) + - Non-blocking lazy vals by @darkdimius [\[10\]](http://docs.scala-lang.org/sips/pending/improved-lazy-val-initialization.html) + - JVM code emission by @magarciaEPFL and @darkdimius [\[11\]](http://magarciaepfl.github.io/scala/) + - efficient multi-dimensional array allocation by @darkdimius[\[12\]](https://github.com/lampepfl/dotty/commit/b2215ed23311b2c99ea638f9d7fcad9737dba588) + - default-method based trait composition @odersky and @darkdimius[\[13\]](https://github.com/lampepfl/dotty/pull/187) [\[14\]](https://github.com/lampepfl/dotty/pull/217) + - Trait parameters by @odersky[\[15\]](http://dotty.epfl.ch/docs/reference/trait-parameters.html) + - Working contravariant implicits by @odersky[\[16\]](https://github.com/lampepfl/dotty/commit/89540268e6c49fb92b9ca61249e46bb59981bf5a) + - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain[\[17\]](https://github.com/lampepfl/dotty/pull/174) + - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym[\[18\]](https://github.com/lampepfl/dotty/pull/488) + - Patter matching support by @darkdimius [\[19\]](https://github.com/lampepfl/dotty/pull/174) + - Value classes support by @smarter and @darkdimius[\[20\]](https://github.com/lampepfl/dotty/pull/411) - Pattern matching exhaustively checks by @liufengyun - Tailrec optimization by @darkdimius - VS code protocol implementation by @smarter From 395152dc3f1d2dfeeaf05a6c8d526070688d2886 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 16:21:42 +0200 Subject: [PATCH 14/46] Finish adding links. --- docs/docs/release-notes/0.1.2.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index f876f2bbb6db..801bd4a764f9 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -6,6 +6,9 @@ title: 0.1.2 release notes 0.1.2 is the first public release of Dotty. Being first, those notes are incomplete. + +# Implemented features + This release ships with the following features: - TASTY support by @odersky, @xeno-by and @darkdimius[\[1\]](https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit) @@ -25,19 +28,17 @@ This release ships with the following features: - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym[\[18\]](https://github.com/lampepfl/dotty/pull/488) - Patter matching support by @darkdimius [\[19\]](https://github.com/lampepfl/dotty/pull/174) - Value classes support by @smarter and @darkdimius[\[20\]](https://github.com/lampepfl/dotty/pull/411) - - Pattern matching exhaustively checks by @liufengyun - - Tailrec optimization by @darkdimius - - VS code protocol implementation by @smarter - - VS code plugin by @smarter - - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis - - java parser by @olhotak - - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain - - sbt support by @smarter - - DottyDoc by @felixmulder - - Java parser by @olhotak - - + - Pattern matching exhaustively checks by @liufengyun[\[21\]](https://github.com/lampepfl/dotty/pull/1364) + - Tailrec optimization by @darkdimius[\[22\]](https://github.com/lampepfl/dotty/pull/1227) [\[23\]](https://github.com/lampepfl/dotty/pull/117) + - VS code protocol implementation by @smarter[\[24\]](https://github.com/lampepfl/dotty/pull/2532) + - VS code plugin by @smarter[\[24\]](https://github.com/lampepfl/dotty/pull/2532) + - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis[\[25\]](https://github.com/lampepfl/dotty/pull/2194) + - java parser by @olhotak[\[26\]](https://github.com/lampepfl/dotty/pull/213) + - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain[\[27\]](https://github.com/lampepfl/dotty/pull/2513) + - sbt support by @smarter[\[28\]](https://github.com/lampepfl/dotty/pull/2361) + - DottyDoc by @felixmulder[\[29\]](https://github.com/lampepfl/dotty/pull/1453) +# Contributors The following people have contributed to this release: | commits | blame lines | Name | From fa04da3157710e047e880212ff21184723dc615b Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 16:31:51 +0200 Subject: [PATCH 15/46] Work on release notes. --- docs/docs/release-notes/0.1.2.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 801bd4a764f9..8619b8cc6c77 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -3,9 +3,9 @@ layout: doc-page title: 0.1.2 release notes --- -0.1.2 is the first public release of Dotty. +0.1.2 will be the first public release of Dotty. Being first, those notes are incomplete. - +This note is up-to-date based on 0.1.2-RC1 and will be updated with changes that happen during RC stabilization cycle. # Implemented features @@ -38,7 +38,24 @@ This release ships with the following features: - sbt support by @smarter[\[28\]](https://github.com/lampepfl/dotty/pull/2361) - DottyDoc by @felixmulder[\[29\]](https://github.com/lampepfl/dotty/pull/1453) +# Required Java Version + +Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlier versions of Java. + +#Using + + + + # Contributors +Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. + +Concretely, according to + + ``` + git ls-tree -r -z --name-only HEAD -- |egrep -z -Z -E '\.(scala)$'| xargs -0 -n1 git blame --line-porcelain |grep "^author "|sort|uniq -c|sort -nr + ``` +71 people contributed code, tests, and/or documentation to Dotty 0.1.2-RC1. The following people have contributed to this release: | commits | blame lines | Name | From 0f2f4cfd0256ed52be9139e31352ea73d10a0a46 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 16:38:56 +0200 Subject: [PATCH 16/46] Release notes. --- docs/docs/release-notes/0.1.2.md | 33 ++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 8619b8cc6c77..c989b033a71c 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -5,8 +5,30 @@ title: 0.1.2 release notes 0.1.2 will be the first public release of Dotty. Being first, those notes are incomplete. -This note is up-to-date based on 0.1.2-RC1 and will be updated with changes that happen during RC stabilization cycle. +This document is work in progress until 0.1.2-final is released. +This note is up-to-date based on 0.1.2-RC1 and will be updated +with changes that happen during RC stabilization cycle. +# Required Java Version + +Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlier versions of Java. + +# VS code and IDE support + + +#Reporting Bugs / Known Issues + +Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug, +please ask on Dotty [gitter channel](https://github.com/lampepfl/dotty). + +#SBT builds dotty that builds dotty + +# Colored REPL + + +# Dotty Doc + +#Other implemented features: # Implemented features This release ships with the following features: @@ -38,15 +60,6 @@ This release ships with the following features: - sbt support by @smarter[\[28\]](https://github.com/lampepfl/dotty/pull/2361) - DottyDoc by @felixmulder[\[29\]](https://github.com/lampepfl/dotty/pull/1453) -# Required Java Version - -Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlier versions of Java. - -#Using - - - - # Contributors Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. From 2ee841ec2a0afaf1e8703b4b9842afcb445e9842 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 16:51:29 +0200 Subject: [PATCH 17/46] 0.1.2.md: Fix formatting --- docs/docs/release-notes/0.1.2.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index c989b033a71c..5f155a052c3a 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -13,15 +13,14 @@ with changes that happen during RC stabilization cycle. Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlier versions of Java. -# VS code and IDE support +# IDE support for Dotty - -#Reporting Bugs / Known Issues +# Reporting Bugs / Known Issues Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug, please ask on Dotty [gitter channel](https://github.com/lampepfl/dotty). -#SBT builds dotty that builds dotty +# SBT builds dotty that builds dotty # Colored REPL From 4e5979aa4b5fd38cbbea792626734aa15da12ff4 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 16:52:07 +0200 Subject: [PATCH 18/46] release notes: Dottydoc + fixes to markdown. --- docs/docs/release-notes/0.1.2.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index c989b033a71c..5c5d6feea577 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -23,13 +23,14 @@ please ask on Dotty [gitter channel](https://github.com/lampepfl/dotty). #SBT builds dotty that builds dotty -# Colored REPL - # Dotty Doc +Dotty has added support for Dotty Doc. +Actually, the dotty documentation site [http://dotty.epfl.ch/docs/](http://dotty.epfl.ch/docs/) is generated by it. +Looks nice, doesn't it? + #Other implemented features: -# Implemented features This release ships with the following features: From 45436724a31ebad01eeac57446e529ef8aa6628c Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 16:55:47 +0200 Subject: [PATCH 19/46] Fix markdown. --- docs/docs/release-notes/0.1.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 3558290648ea..df04a743ba25 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -29,7 +29,7 @@ Dotty has added support for Dotty Doc. Actually, the dotty documentation site [http://dotty.epfl.ch/docs/](http://dotty.epfl.ch/docs/) is generated by it. Looks nice, doesn't it? -#Other implemented features: +# Other implemented features: This release ships with the following features: From 93da79a7a86aac8657a26d7d32d749d4af9feb34 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 16:56:44 +0200 Subject: [PATCH 20/46] release-notes: Slight wording improvements --- docs/docs/release-notes/0.1.2.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index df04a743ba25..636c92ed2d76 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -4,10 +4,10 @@ title: 0.1.2 release notes --- 0.1.2 will be the first public release of Dotty. -Being first, those notes are incomplete. -This document is work in progress until 0.1.2-final is released. -This note is up-to-date based on 0.1.2-RC1 and will be updated -with changes that happen during RC stabilization cycle. +Being the first, those notes are incomplete. +This document is a work in progress until 0.1.2-final is released. +These notes are up-to-date for 0.1.2-RC1 and will be updated +with changes that happen during the RC stabilization cycle. # Required Java Version @@ -61,7 +61,7 @@ This release ships with the following features: - DottyDoc by @felixmulder[\[29\]](https://github.com/lampepfl/dotty/pull/1453) # Contributors -Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. +Dotty team and contributors have closed 750 issues and has merged a total of 1258 pull requests. Concretely, according to From 3b7de6a4dbb89ea05203e94a6cce786e5e388951 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 30 May 2017 17:00:48 +0200 Subject: [PATCH 21/46] Update --- docs/docs/release-notes/0.1.2.md | 46 +++++++++++++++++--------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 636c92ed2d76..614efc16d79e 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -4,10 +4,10 @@ title: 0.1.2 release notes --- 0.1.2 will be the first public release of Dotty. -Being the first, those notes are incomplete. -This document is a work in progress until 0.1.2-final is released. -These notes are up-to-date for 0.1.2-RC1 and will be updated -with changes that happen during the RC stabilization cycle. +Being first, those notes are incomplete. +This document is work in progress until 0.1.2-final is released. +This note is up-to-date based on 0.1.2-RC1 and will be updated +with changes that happen during RC stabilization cycle. # Required Java Version @@ -29,7 +29,7 @@ Dotty has added support for Dotty Doc. Actually, the dotty documentation site [http://dotty.epfl.ch/docs/](http://dotty.epfl.ch/docs/) is generated by it. Looks nice, doesn't it? -# Other implemented features: +#Other implemented features: This release ships with the following features: @@ -42,26 +42,28 @@ This release ships with the following features: - @static methods support by @darkdmius [\[9\]](http://docs.scala-lang.org/sips/pending/static-members.html) - Non-blocking lazy vals by @darkdimius [\[10\]](http://docs.scala-lang.org/sips/pending/improved-lazy-val-initialization.html) - JVM code emission by @magarciaEPFL and @darkdimius [\[11\]](http://magarciaepfl.github.io/scala/) - - efficient multi-dimensional array allocation by @darkdimius[\[12\]](https://github.com/lampepfl/dotty/commit/b2215ed23311b2c99ea638f9d7fcad9737dba588) - - default-method based trait composition @odersky and @darkdimius[\[13\]](https://github.com/lampepfl/dotty/pull/187) [\[14\]](https://github.com/lampepfl/dotty/pull/217) - - Trait parameters by @odersky[\[15\]](http://dotty.epfl.ch/docs/reference/trait-parameters.html) - - Working contravariant implicits by @odersky[\[16\]](https://github.com/lampepfl/dotty/commit/89540268e6c49fb92b9ca61249e46bb59981bf5a) - - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain[\[17\]](https://github.com/lampepfl/dotty/pull/174) - - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym[\[18\]](https://github.com/lampepfl/dotty/pull/488) + - efficient multi-dimensional array allocation by @darkdimius [\[12\]](https://github.com/lampepfl/dotty/commit/b2215ed23311b2c99ea638f9d7fcad9737dba588) + - default-method based trait composition @odersky and @darkdimius [\[13\]](https://github.com/lampepfl/dotty/pull/187) [\[14\]](https://github.com/lampepfl/dotty/pull/217) + - Trait parameters by @odersky [\[15\]](http://dotty.epfl.ch/docs/reference/trait-parameters.html) + - Working contravariant implicits by @odersky [\[16\]](https://github.com/lampepfl/dotty/commit/89540268e6c49fb92b9ca61249e46bb59981bf5a) + - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain [\[17\]](https://github.com/lampepfl/dotty/pull/174) + - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym [\[18\]](https://github.com/lampepfl/dotty/pull/488) - Patter matching support by @darkdimius [\[19\]](https://github.com/lampepfl/dotty/pull/174) - - Value classes support by @smarter and @darkdimius[\[20\]](https://github.com/lampepfl/dotty/pull/411) - - Pattern matching exhaustively checks by @liufengyun[\[21\]](https://github.com/lampepfl/dotty/pull/1364) - - Tailrec optimization by @darkdimius[\[22\]](https://github.com/lampepfl/dotty/pull/1227) [\[23\]](https://github.com/lampepfl/dotty/pull/117) - - VS code protocol implementation by @smarter[\[24\]](https://github.com/lampepfl/dotty/pull/2532) - - VS code plugin by @smarter[\[24\]](https://github.com/lampepfl/dotty/pull/2532) - - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis[\[25\]](https://github.com/lampepfl/dotty/pull/2194) - - java parser by @olhotak[\[26\]](https://github.com/lampepfl/dotty/pull/213) - - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain[\[27\]](https://github.com/lampepfl/dotty/pull/2513) - - sbt support by @smarter[\[28\]](https://github.com/lampepfl/dotty/pull/2361) - - DottyDoc by @felixmulder[\[29\]](https://github.com/lampepfl/dotty/pull/1453) + - Value classes support by @smarter and @darkdimius [\[20\]](https://github.com/lampepfl/dotty/pull/411) + - Pattern matching exhaustively checks by @liufengyun [\[21\]](https://github.com/lampepfl/dotty/pull/1364) + - Tailrec optimization by @darkdimius [\[22\]](https://github.com/lampepfl/dotty/pull/1227) [\[23\]](https://github.com/lampepfl/dotty/pull/117) + - VS code protocol implementation by @smarter [\[24\]](https://github.com/lampepfl/dotty/pull/2532) + - VS code plugin by @smarter [\[24\]](https://github.com/lampepfl/dotty/pull/2532) + - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis [\[25\]](https://github.com/lampepfl/dotty/pull/2194) + - java parser by @olhotak [\[26\]](https://github.com/lampepfl/dotty/pull/213) + - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain [\[27\]](https://github.com/lampepfl/dotty/pull/2513) + - sbt support by @smarter [\[28\]](https://github.com/lampepfl/dotty/pull/2361) + - DottyDoc by @felixmulder [\[29\]](https://github.com/lampepfl/dotty/pull/1453) + - Implcit Function Types by @odersky [\[30\]](http://dotty.epfl.ch/docs/reference/implicit-function-types.html) + - Phantom Types by @nicolasstucki [\[31\]](https://github.com/lampepfl/dotty/pull/2136) # Contributors -Dotty team and contributors have closed 750 issues and has merged a total of 1258 pull requests. +Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. Concretely, according to From 16d06c7df03a4256783f6469084d9395aeba45f4 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 30 May 2017 17:12:59 +0200 Subject: [PATCH 22/46] Add section on IDE --- docs/docs/release-notes/0.1.2.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 614efc16d79e..754f89127c61 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -15,6 +15,13 @@ Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlie # IDE support for Dotty +Dotty now comes built-in with the Dotty Language Server, an implementation of the +[Language Server Protocol](https://github.com/Microsoft/language-server-protocol), +which means that any editor that implements the LSP can be used as a Dotty IDE. +Currently, the only IDE we officially support is +[Visual Studio Code](https://code.visualstudio.com/). For more information +see [the documentation](../usage/ide-support.md) + # Reporting Bugs / Known Issues Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug, From fb64db964d5ed24cd0d35e474c35d9839b223d3d Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 30 May 2017 17:16:15 +0200 Subject: [PATCH 23/46] Update --- docs/docs/release-notes/0.1.2.md | 93 ++++++++++++++++++++------------ 1 file changed, 59 insertions(+), 34 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 754f89127c61..5f6f6f686cb0 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -15,13 +15,6 @@ Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlie # IDE support for Dotty -Dotty now comes built-in with the Dotty Language Server, an implementation of the -[Language Server Protocol](https://github.com/Microsoft/language-server-protocol), -which means that any editor that implements the LSP can be used as a Dotty IDE. -Currently, the only IDE we officially support is -[Visual Studio Code](https://code.visualstudio.com/). For more information -see [the documentation](../usage/ide-support.md) - # Reporting Bugs / Known Issues Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug, @@ -40,34 +33,66 @@ Looks nice, doesn't it? This release ships with the following features: - - TASTY support by @odersky, @xeno-by and @darkdimius[\[1\]](https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit) - - HK-types support by @odesky, @smarter and @darkdmius[\[2\]](https://infoscience.epfl.ch/record/222780?ln=en) - - Intersection and Union Types by @odersky[\[3\]](http://dotty.epfl.ch/docs/reference/intersection-types.html) [\[4\]](http://dotty.epfl.ch/docs/reference/union-types.html) - - Enumerations by @odersky[\[4\]](http://dotty.epfl.ch/docs/reference/enums.html) [\[5\]](http://dotty.epfl.ch/docs/reference/adts.html) [\[6\]](http://dotty.epfl.ch/docs/reference/desugarEnums.html) - - Implicit By-Name Parameters by @odersky[\[7\]](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html) - - Miniphases-based design by @darkdimius, @odersky and @lhotak [\[8\]](https://infoscience.epfl.ch/record/228518) - - @static methods support by @darkdmius [\[9\]](http://docs.scala-lang.org/sips/pending/static-members.html) - - Non-blocking lazy vals by @darkdimius [\[10\]](http://docs.scala-lang.org/sips/pending/improved-lazy-val-initialization.html) - - JVM code emission by @magarciaEPFL and @darkdimius [\[11\]](http://magarciaepfl.github.io/scala/) - - efficient multi-dimensional array allocation by @darkdimius [\[12\]](https://github.com/lampepfl/dotty/commit/b2215ed23311b2c99ea638f9d7fcad9737dba588) - - default-method based trait composition @odersky and @darkdimius [\[13\]](https://github.com/lampepfl/dotty/pull/187) [\[14\]](https://github.com/lampepfl/dotty/pull/217) + - TASTY support by @odersky, @xeno-by and @darkdimius [\[1\]][1] + - HK-types support by @odesky, @smarter and @darkdmius [\[2\]][2] + - Intersection and Union Types by @odersky [\[3\]][3] [\[4\]][3] + - Enumerations by @odersky [\[4\]][4] [\[5\]][5] [\[6\]][6] + - Implicit By-Name Parameters by @odersky[\[7\]][7] + - Miniphases-based design by @darkdimius, @odersky and @lhotak [\[8\]][8] + - @static methods support by @darkdmius [\[9\]][9] + - Non-blocking lazy vals by @darkdimius [\[10\]][10] + - JVM code emission by @magarciaEPFL and @darkdimius [\[11\]][11] + - efficient multi-dimensional array allocation by @darkdimius [\[12\]][12] + - default-method based trait composition @odersky and @darkdimius [\[13\]][13] [\[14\]][14] - Trait parameters by @odersky [\[15\]](http://dotty.epfl.ch/docs/reference/trait-parameters.html) - - Working contravariant implicits by @odersky [\[16\]](https://github.com/lampepfl/dotty/commit/89540268e6c49fb92b9ca61249e46bb59981bf5a) - - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain [\[17\]](https://github.com/lampepfl/dotty/pull/174) - - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym [\[18\]](https://github.com/lampepfl/dotty/pull/488) - - Patter matching support by @darkdimius [\[19\]](https://github.com/lampepfl/dotty/pull/174) - - Value classes support by @smarter and @darkdimius [\[20\]](https://github.com/lampepfl/dotty/pull/411) - - Pattern matching exhaustively checks by @liufengyun [\[21\]](https://github.com/lampepfl/dotty/pull/1364) - - Tailrec optimization by @darkdimius [\[22\]](https://github.com/lampepfl/dotty/pull/1227) [\[23\]](https://github.com/lampepfl/dotty/pull/117) - - VS code protocol implementation by @smarter [\[24\]](https://github.com/lampepfl/dotty/pull/2532) - - VS code plugin by @smarter [\[24\]](https://github.com/lampepfl/dotty/pull/2532) - - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis [\[25\]](https://github.com/lampepfl/dotty/pull/2194) - - java parser by @olhotak [\[26\]](https://github.com/lampepfl/dotty/pull/213) - - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain [\[27\]](https://github.com/lampepfl/dotty/pull/2513) - - sbt support by @smarter [\[28\]](https://github.com/lampepfl/dotty/pull/2361) - - DottyDoc by @felixmulder [\[29\]](https://github.com/lampepfl/dotty/pull/1453) - - Implcit Function Types by @odersky [\[30\]](http://dotty.epfl.ch/docs/reference/implicit-function-types.html) - - Phantom Types by @nicolasstucki [\[31\]](https://github.com/lampepfl/dotty/pull/2136) + - Working contravariant implicits by @odersky [\[16\]][16] + - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain [\[17\]][17] + - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym [\[18\]][18] + - Patter matching support by @darkdimius [\[19\]][19] + - Value classes support by @smarter and @darkdimius [\[20\]][20] + - Pattern matching exhaustively checks by @liufengyun [\[21\]][21] + - Tailrec optimization by @darkdimius [\[22\]][22] [\[23\]][23] + - VS code protocol implementation by @smarter [\[24\]][24] + - VS code plugin by @smarter [\[24\]][24] + - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis [\[25\]][25] + - java parser by @olhotak [\[26\]][26] + - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain [\[27\]][27] + - sbt support by @smarter [\[28\]][28] + - DottyDoc by @felixmulder [\[29\]][29] + - Implcit Function Types by @odersky [\[30\]][30] + - Phantom Types by @nicolasstucki [\[31\]][31] + +[1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit +[2]: https://infoscience.epfl.ch/record/222780?ln=en +[3]: http://dotty.epfl.ch/docs/reference/intersection-types.html +[4]: http://dotty.epfl.ch/docs/reference/union-types.html +[5]: http://dotty.epfl.ch/docs/reference/adts.html +[6]: http://dotty.epfl.ch/docs/reference/desugarEnums.html +[7]: http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html +[8]: https://infoscience.epfl.ch/record/228518 +[9]: http://docs.scala-lang.org/sips/pending/static-members.html +[10]: http://docs.scala-lang.org/sips/pending/improved-lazy-val-initialization.html +[11]: http://magarciaepfl.github.io/scala/ +[12]: https://github.com/lampepfl/dotty/commit/b2215ed23311b2c99ea638f9d7fcad9737dba588 +[13]: https://github.com/lampepfl/dotty/pull/187 +[14]: https://github.com/lampepfl/dotty/pull/217 +[15]: http://dotty.epfl.ch/docs/reference/trait-parameters.html +[16]: https://github.com/lampepfl/dotty/commit/89540268e6c49fb92b9ca61249e46bb59981bf5a +[17]: https://github.com/lampepfl/dotty/pull/174 +[18]: https://github.com/lampepfl/dotty/pull/488 +[19]: https://github.com/lampepfl/dotty/pull/174 +[20]: https://github.com/lampepfl/dotty/pull/411 +[21]: https://github.com/lampepfl/dotty/pull/1364 +[22]: https://github.com/lampepfl/dotty/pull/1227 +[23]: https://github.com/lampepfl/dotty/pull/117 +[24]: https://github.com/lampepfl/dotty/pull/2532 +[25]: https://github.com/lampepfl/dotty/pull/2194 +[26]: https://github.com/lampepfl/dotty/pull/213 +[27]: https://github.com/lampepfl/dotty/pull/2513 +[28]: https://github.com/lampepfl/dotty/pull/2361 +[29]: https://github.com/lampepfl/dotty/pull/1453 +[30]: http://dotty.epfl.ch/docs/reference/implicit-function-types.html +[31]: https://github.com/lampepfl/dotty/pull/2136 # Contributors Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. From c6a26ad7fb573401f8d080c64b28250f3a3ddc67 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 30 May 2017 17:18:28 +0200 Subject: [PATCH 24/46] Polish wording --- ...017-05-31-first-dotty-milestone-release.md | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 14e3cd2b0369..15ba1f9b82d7 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -5,18 +5,25 @@ author: Dmytro Petrashko authorImg: /images/petrashko.jpg --- -Today, we’re excited to release the Dotty version 0.1.2-RC1. -This release serves as a technology preview that demonstrates new language features and compiler supporting them. +Today, we excited to release Dotty version 0.1.2-RC1. This release +serves as a technology preview that demonstrates new language features +and the compiler supporting them. ## Why is this important? -17 month has passed since dotty has [bootstrapped](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html). -Back at the time Dotty was just an ambitious experiment. -This experiment has proved to be a major success. -Today, we are glad to announce that Scala 3.0 will be build on Dotty code. +_Dotty_ is the project name for a language and compiler that +is slated to become Scala 3.0. This is an ongoing development, +developed transparently as open source software. The Dotty project +started more than 4 years ago. It reached a major milestone in 2015 by +achieving +[bootstrap](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html), +that is, showing that the new compiler could compile itself. Today we +have reached another milestone with this first release of the +codebase. Developments will not stop here, but they will in the future +all be part of regular time-based releases. ## How can you try it out? @@ -52,11 +59,11 @@ supports Dotty. To try it out: 1. Click on `Build Settings` in the menu on the left 2. Under `Target`, click on `Dotty` 3. That's it! - - + + # What’s in the 0.1.2-RC1 technology preview ? This technology preview demonstrates new language features planned for Scala 3: - + - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) - [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html) - [Trait Parameters](http://dotty.epfl.ch/docs/reference/trait-parameters.html) @@ -81,7 +88,7 @@ We are adopting a time-based release schedule: release. Multiple release candidates may be released during each 6 weeks period to fix regressions. - Every 6 weeks, the last release candidate becomes a release. - + At the end of 6 weeks, the milestone will be promoted to a stable release. See here for the full [version number explanation](http://dotty.epfl.ch/docs/usage/version-numbers.html). From cd644328a1a1239bd3996680e472afc3510a5ec9 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 30 May 2017 17:27:24 +0200 Subject: [PATCH 25/46] Update 0.1.2.md --- docs/docs/release-notes/0.1.2.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 5f6f6f686cb0..978a5c8b36ab 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -61,6 +61,7 @@ This release ships with the following features: - DottyDoc by @felixmulder [\[29\]][29] - Implcit Function Types by @odersky [\[30\]][30] - Phantom Types by @nicolasstucki [\[31\]][31] + - Functions with more than 22 parameters by @odersky [\[32\]][32] [1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit [2]: https://infoscience.epfl.ch/record/222780?ln=en @@ -93,6 +94,7 @@ This release ships with the following features: [29]: https://github.com/lampepfl/dotty/pull/1453 [30]: http://dotty.epfl.ch/docs/reference/implicit-function-types.html [31]: https://github.com/lampepfl/dotty/pull/2136 +[32]: http://dotty.epfl.ch/docs/reference/dropped/limit22.html # Contributors Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. From 1c91058cacd922e649792865cd489615ab8e60e4 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 30 May 2017 17:32:50 +0200 Subject: [PATCH 26/46] Update 0.1.2.md --- docs/docs/release-notes/0.1.2.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 978a5c8b36ab..10c491273bbd 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -62,6 +62,7 @@ This release ships with the following features: - Implcit Function Types by @odersky [\[30\]][30] - Phantom Types by @nicolasstucki [\[31\]][31] - Functions with more than 22 parameters by @odersky [\[32\]][32] + - Inline keyword [\[33\]][33] [1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit [2]: https://infoscience.epfl.ch/record/222780?ln=en @@ -95,6 +96,7 @@ This release ships with the following features: [30]: http://dotty.epfl.ch/docs/reference/implicit-function-types.html [31]: https://github.com/lampepfl/dotty/pull/2136 [32]: http://dotty.epfl.ch/docs/reference/dropped/limit22.html +[33]: http://dotty.epfl.ch/docs/reference/inline.html # Contributors Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. From 85fb63f566a2f78dcec7b0041cfdfdba3448418b Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 30 May 2017 17:33:11 +0200 Subject: [PATCH 27/46] Update 0.1.2.md --- docs/docs/release-notes/0.1.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 10c491273bbd..dd44eb2dd24e 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -62,7 +62,7 @@ This release ships with the following features: - Implcit Function Types by @odersky [\[30\]][30] - Phantom Types by @nicolasstucki [\[31\]][31] - Functions with more than 22 parameters by @odersky [\[32\]][32] - - Inline keyword [\[33\]][33] + - Inline keyword by @odesky [\[33\]][33] [1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit [2]: https://infoscience.epfl.ch/record/222780?ln=en From 9aa9b2b692c9e75c1cf764dbe1e9bea114f492c2 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 30 May 2017 18:05:51 +0200 Subject: [PATCH 28/46] Update 0.1.2.md --- docs/docs/release-notes/0.1.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index dd44eb2dd24e..bc057d842319 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -95,7 +95,7 @@ This release ships with the following features: [29]: https://github.com/lampepfl/dotty/pull/1453 [30]: http://dotty.epfl.ch/docs/reference/implicit-function-types.html [31]: https://github.com/lampepfl/dotty/pull/2136 -[32]: http://dotty.epfl.ch/docs/reference/dropped/limit22.html +[32]: https://github.com/lampepfl/dotty/pull/1758 [33]: http://dotty.epfl.ch/docs/reference/inline.html # Contributors From e7695b456551e25a141cfea742288a816f2c0c63 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 11:53:01 +0200 Subject: [PATCH 29/46] Fix github ids --- docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 15ba1f9b82d7..2d71b2c97a34 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -106,7 +106,7 @@ Martin Odersky ([@odersky](https://twitter.com/odersky)) Dmitry Petrashko ([@DarkDimius](https://twitter.com/DarkDimius)), Guillaume Martres ([@smarter](https://github.com/smarter)), Felix Mulder ([@felixmulder](https://twitter.com/felixmulder)), -Nicolas Stucki ([@stucki_nicolas](https://twitter.com/stucki_nicolas)), +Nicolas Stucki ([@nicolasstucki](https://twitter.com/stucki_nicolas)), Liu Fengyun ([@liufengyun](https://github.com/liufengyun)), Olivier Blanvillain ([@OlivierBlanvillain](https://github.com/OlivierBlanvillain)), and others! From e7d4874a8f6fa1fc14e04dee03f524e62227e784 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 11:54:50 +0200 Subject: [PATCH 30/46] Fix github ids --- docs/docs/release-notes/0.1.2.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index bc057d842319..0cf48e966d3b 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -34,12 +34,12 @@ Looks nice, doesn't it? This release ships with the following features: - TASTY support by @odersky, @xeno-by and @darkdimius [\[1\]][1] - - HK-types support by @odesky, @smarter and @darkdmius [\[2\]][2] + - HK-types support by @odersky, @smarter and @darkdimius [\[2\]][2] - Intersection and Union Types by @odersky [\[3\]][3] [\[4\]][3] - Enumerations by @odersky [\[4\]][4] [\[5\]][5] [\[6\]][6] - - Implicit By-Name Parameters by @odersky[\[7\]][7] - - Miniphases-based design by @darkdimius, @odersky and @lhotak [\[8\]][8] - - @static methods support by @darkdmius [\[9\]][9] + - Implicit By-Name Parameters by @odersky [\[7\]][7] + - Miniphases-based design by @darkdimius, @odersky and @olhotak [\[8\]][8] + - @static methods support by @darkdimius [\[9\]][9] - Non-blocking lazy vals by @darkdimius [\[10\]][10] - JVM code emission by @magarciaEPFL and @darkdimius [\[11\]][11] - efficient multi-dimensional array allocation by @darkdimius [\[12\]][12] @@ -62,7 +62,7 @@ This release ships with the following features: - Implcit Function Types by @odersky [\[30\]][30] - Phantom Types by @nicolasstucki [\[31\]][31] - Functions with more than 22 parameters by @odersky [\[32\]][32] - - Inline keyword by @odesky [\[33\]][33] + - Inline keyword by @odersky [\[33\]][33] [1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit [2]: https://infoscience.epfl.ch/record/222780?ln=en From 9943fda017af48a4e77e88ae428e33f3cc16535a Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 11:57:11 +0200 Subject: [PATCH 31/46] Fix small typos --- docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 2d71b2c97a34..43a950d747c2 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -61,7 +61,7 @@ supports Dotty. To try it out: 3. That's it! -# What’s in the 0.1.2-RC1 technology preview ? +# What’s in the 0.1.2-RC1 technology preview? This technology preview demonstrates new language features planned for Scala 3: - [Intersection Types](http://dotty.epfl.ch/docs/reference/intersection-types.html) @@ -113,7 +113,7 @@ and others! ## Library authors: Join our community build -Dotty now has a set of libraries that are build against every nightly snapshot. +Dotty now has a set of libraries that are built against every nightly snapshot. Currently this includes scalatest, squants and algebra. Join our [community build](https://github.com/lampepfl/dotty-community-build) to make sure that our regression suite includes your library. From 03a8132ed2c0856cabdeac1fa164fdbad11547f5 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 11:57:27 +0200 Subject: [PATCH 32/46] Update --- docs/docs/release-notes/0.1.2.md | 71 ++++++++++++++++++-------------- 1 file changed, 41 insertions(+), 30 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 0cf48e966d3b..1499e0f2626e 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -33,36 +33,47 @@ Looks nice, doesn't it? This release ships with the following features: - - TASTY support by @odersky, @xeno-by and @darkdimius [\[1\]][1] - - HK-types support by @odersky, @smarter and @darkdimius [\[2\]][2] - - Intersection and Union Types by @odersky [\[3\]][3] [\[4\]][3] - - Enumerations by @odersky [\[4\]][4] [\[5\]][5] [\[6\]][6] - - Implicit By-Name Parameters by @odersky [\[7\]][7] - - Miniphases-based design by @darkdimius, @odersky and @olhotak [\[8\]][8] - - @static methods support by @darkdimius [\[9\]][9] - - Non-blocking lazy vals by @darkdimius [\[10\]][10] - - JVM code emission by @magarciaEPFL and @darkdimius [\[11\]][11] - - efficient multi-dimensional array allocation by @darkdimius [\[12\]][12] - - default-method based trait composition @odersky and @darkdimius [\[13\]][13] [\[14\]][14] - - Trait parameters by @odersky [\[15\]](http://dotty.epfl.ch/docs/reference/trait-parameters.html) - - Working contravariant implicits by @odersky [\[16\]][16] - - Option-less pattern matching by @odersky, @darkdimius and @OlivierBlanvillain [\[17\]][17] - - SAM-based anonymous functions by @magarciaEPFL, @darkdimius and @retronym [\[18\]][18] - - Patter matching support by @darkdimius [\[19\]][19] - - Value classes support by @smarter and @darkdimius [\[20\]][20] - - Pattern matching exhaustively checks by @liufengyun [\[21\]][21] - - Tailrec optimization by @darkdimius [\[22\]][22] [\[23\]][23] - - VS code protocol implementation by @smarter [\[24\]][24] - - VS code plugin by @smarter [\[24\]][24] - - Vulpix: new test-suite by @felixmulder that replaces partest by @vsalvis [\[25\]][25] - - java parser by @olhotak [\[26\]][26] - - local optimizations(-optimise) by @darkdimius and @OlivierBlanvillain [\[27\]][27] - - sbt support by @smarter [\[28\]][28] - - DottyDoc by @felixmulder [\[29\]][29] - - Implcit Function Types by @odersky [\[30\]][30] - - Phantom Types by @nicolasstucki [\[31\]][31] - - Functions with more than 22 parameters by @odersky [\[32\]][32] - - Inline keyword by @odersky [\[33\]][33] + - TASTY support by [@odersky], [@xeno-by] and [@darkdimius] [\[1\]][1] + - HK-types support by [@odersky], [@smarter] and [@darkdimius] [\[2\]][2] + - Intersection and Union Types by [@odersky] [\[3\]][3] [\[4\]][3] + - Enumerations by [@odersky] [\[4\]][4] [\[5\]][5] [\[6\]][6] + - Implicit By-Name Parameters by [@odersky] [\[7\]][7] + - Miniphases-based design by [@darkdimius], [@odersky] and [@lhotak] [\[8\]][8] + - @static methods support by [@darkdmius] [\[9\]][9] + - Non-blocking lazy vals by [@darkdimius] [\[10\]][10] + - JVM code emission by [@magarciaEPFL] and [@darkdimius] [\[11\]][11] + - efficient multi-dimensional array allocation by [@darkdimius] [\[12\]][12] + - default-method based trait composition [@odersky] and [@darkdimius] [\[13\]][13] [\[14\]][14] + - Trait parameters by [@odersky] [\[15\]][15] + - Working contravariant implicits by [@odersky] [\[16\]][16] + - Option-less pattern matching by [@odersky], [@darkdimius] and [@OlivierBlanvillain] [\[17\]][17] + - SAM-based anonymous functions by [@magarciaEPFL], [@darkdimius] and [@retronym] [\[18\]][18] + - Patter matching support by [@darkdimius] [\[19\]][19] + - Value classes support by [@smarter] and [@darkdimius] [\[20\]][20] + - Pattern matching exhaustively checks by [@liufengyun] [\[21\]][21] + - Tailrec optimization by [@darkdimius] [\[22\]][22] [\[23\]][23] + - VS code protocol implementation by [@smarter] [\[24\]][24] + - VS code plugin by [@smarter] [\[24\]][24] + - Vulpix: new test-suite by [@felixmulder] that replaces partest by [@vsalvis] [\[25\]][25] + - java parser by [@olhotak] [\[26\]][26] + - local optimizations(-optimise) by [@darkdimius] and [@OlivierBlanvillain] [\[27\]][27] + - sbt support by [@smarter] [\[28\]][28] + - DottyDoc by [@felixmulder] [\[29\]][29] + - Implcit Function Types by [@odersky] [\[30\]][30] + - Phantom Types by [@nicolasstucki] [\[31\]][31] + - Functions with more than 22 parameters by [@odersky] [\[32\]][32] + - Inline keyword by [@odersky] [\[33\]][33] + +[@odersky]: https://twitter.com/odersky +[@DarkDimius]: https://twitter.com/DarkDimius +[@smarter]: https://github.com/smarter +[@felixmulder]: https://twitter.com/felixmulder +[@stuckinicolas]: https://github.com/nicolasstucki +[@liufengyun]: https://github.com/liufengyun +[@OlivierBlanvillain]: https://github.com/OlivierBlanvillain +[@lhotak]: https://plg.uwaterloo.ca/~olhotak/ +[@retronym]: https://github.com/retronym +[@xeno-by]: https://github.com/xeno-by [1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit [2]: https://infoscience.epfl.ch/record/222780?ln=en From 7ff28e917fc1b70c0dcc24ef4b70912c58c5d94e Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 11:58:18 +0200 Subject: [PATCH 33/46] Update 2017-05-31-first-dotty-milestone-release.md --- docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 43a950d747c2..0a9791cc71a7 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -106,7 +106,7 @@ Martin Odersky ([@odersky](https://twitter.com/odersky)) Dmitry Petrashko ([@DarkDimius](https://twitter.com/DarkDimius)), Guillaume Martres ([@smarter](https://github.com/smarter)), Felix Mulder ([@felixmulder](https://twitter.com/felixmulder)), -Nicolas Stucki ([@nicolasstucki](https://twitter.com/stucki_nicolas)), +Nicolas Stucki ([@nicolasstucki](https://github.com/nicolasstucki)), Liu Fengyun ([@liufengyun](https://github.com/liufengyun)), Olivier Blanvillain ([@OlivierBlanvillain](https://github.com/OlivierBlanvillain)), and others! From 787d7cca9ff03eb6a4c5557ac6d24e351ddf7919 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 11:59:31 +0200 Subject: [PATCH 34/46] Update 0.1.2.md --- docs/docs/release-notes/0.1.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 1499e0f2626e..21e2e4be9ef6 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -59,7 +59,7 @@ This release ships with the following features: - local optimizations(-optimise) by [@darkdimius] and [@OlivierBlanvillain] [\[27\]][27] - sbt support by [@smarter] [\[28\]][28] - DottyDoc by [@felixmulder] [\[29\]][29] - - Implcit Function Types by [@odersky] [\[30\]][30] + - Implicit Function Types by [@odersky] [\[30\]][30] - Phantom Types by [@nicolasstucki] [\[31\]][31] - Functions with more than 22 parameters by [@odersky] [\[32\]][32] - Inline keyword by [@odersky] [\[33\]][33] From 3b222c6c8637656050fdcd021567bb0d8c4ea21c Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 12:04:06 +0200 Subject: [PATCH 35/46] Update 0.1.2.md --- docs/docs/release-notes/0.1.2.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 21e2e4be9ef6..11fbff676dbb 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -38,7 +38,7 @@ This release ships with the following features: - Intersection and Union Types by [@odersky] [\[3\]][3] [\[4\]][3] - Enumerations by [@odersky] [\[4\]][4] [\[5\]][5] [\[6\]][6] - Implicit By-Name Parameters by [@odersky] [\[7\]][7] - - Miniphases-based design by [@darkdimius], [@odersky] and [@lhotak] [\[8\]][8] + - Miniphases-based design by [@darkdimius], [@odersky] and [@olhotak] [\[8\]][8] - @static methods support by [@darkdmius] [\[9\]][9] - Non-blocking lazy vals by [@darkdimius] [\[10\]][10] - JVM code emission by [@magarciaEPFL] and [@darkdimius] [\[11\]][11] @@ -68,12 +68,14 @@ This release ships with the following features: [@DarkDimius]: https://twitter.com/DarkDimius [@smarter]: https://github.com/smarter [@felixmulder]: https://twitter.com/felixmulder -[@stuckinicolas]: https://github.com/nicolasstucki +[@nicolasstucki]: https://github.com/nicolasstucki [@liufengyun]: https://github.com/liufengyun [@OlivierBlanvillain]: https://github.com/OlivierBlanvillain -[@lhotak]: https://plg.uwaterloo.ca/~olhotak/ +[@olhotak]: https://plg.uwaterloo.ca/~olhotak/ [@retronym]: https://github.com/retronym [@xeno-by]: https://github.com/xeno-by +[@vsalvis]: https://github.com/vsalvis +[@magarciaEPFL]: https://github.com/magarciaEPFL [1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit [2]: https://infoscience.epfl.ch/record/222780?ln=en From 5e0757cebec598e38f97cacc4312906979f15fe7 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 12:58:44 +0200 Subject: [PATCH 36/46] Update 2017-05-31-first-dotty-milestone-release.md --- .../_posts/2017-05-31-first-dotty-milestone-release.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 0a9791cc71a7..27a61ff07b96 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -54,11 +54,8 @@ brew install lampepfl/brew/dotty ### Scastie -[Scastie](https://scastie.scala-lang.org/), the online Scala playground, -supports Dotty. To try it out: -1. Click on `Build Settings` in the menu on the left -2. Under `Target`, click on `Dotty` -3. That's it! +[Scastie](https://scastie.scala-lang.org/?target=dotty), the online Scala playground, +supports Dotty. # What’s in the 0.1.2-RC1 technology preview? From e093465046dc23b2f5c346ee9ebc68a0ccd38305 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 12:59:50 +0200 Subject: [PATCH 37/46] Update 2017-05-31-first-dotty-milestone-release.md --- docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 27a61ff07b96..29eaff8ca700 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -28,7 +28,7 @@ all be part of regular time-based releases. ## How can you try it out? You have several alternatives: use the `sbt-dotty` plugin, get a standalone -installation, or try it online on [Scastie](https://scastie.scala-lang.org/). +installation, or try it online on [Scastie](https://scastie.scala-lang.org/?target=dotty). ### sbt Using sbt 0.13.13 or newer, do: From 3b8f3c77a939fbba59be983ef5680d8ad77f9dff Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 13:00:57 +0200 Subject: [PATCH 38/46] Update 2017-05-31-first-dotty-milestone-release.md --- .../_posts/2017-05-31-first-dotty-milestone-release.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 29eaff8ca700..2beee557acab 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -28,7 +28,7 @@ all be part of regular time-based releases. ## How can you try it out? You have several alternatives: use the `sbt-dotty` plugin, get a standalone -installation, or try it online on [Scastie](https://scastie.scala-lang.org/?target=dotty). +installation, or try it online on [Scastie]. ### sbt Using sbt 0.13.13 or newer, do: @@ -54,7 +54,7 @@ brew install lampepfl/brew/dotty ### Scastie -[Scastie](https://scastie.scala-lang.org/?target=dotty), the online Scala playground, +[Scastie], the online Scala playground, supports Dotty. @@ -117,3 +117,6 @@ Join our [community build](https://github.com/lampepfl/dotty-community-build) To get started, see . + + +[Scastie]: https://scastie.scala-lang.org/?target=dotty From 288042adf4f5c985168395657759aef44c2a8f1d Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 13:01:47 +0200 Subject: [PATCH 39/46] Update 2017-05-31-first-dotty-milestone-release.md --- docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 2beee557acab..211698dc7aaf 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -55,8 +55,8 @@ brew install lampepfl/brew/dotty ### Scastie [Scastie], the online Scala playground, -supports Dotty. - +supports Dotty. +You can try it out there without installing. # What’s in the 0.1.2-RC1 technology preview? This technology preview demonstrates new language features planned for Scala 3: From c458a0bf6cfd1c4148a00b2c657760e694b0af59 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 13:03:50 +0200 Subject: [PATCH 40/46] Polish --- docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 211698dc7aaf..d768b3c3826c 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -56,7 +56,7 @@ brew install lampepfl/brew/dotty [Scastie], the online Scala playground, supports Dotty. -You can try it out there without installing. +You can try it out there without installing anything. # What’s in the 0.1.2-RC1 technology preview? This technology preview demonstrates new language features planned for Scala 3: From f12ed5493c23888ba77cbd85ea59c91270e7417c Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 13:26:02 +0200 Subject: [PATCH 41/46] Update 2017-05-31-first-dotty-milestone-release.md --- .../_posts/2017-05-31-first-dotty-milestone-release.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index d768b3c3826c..50b3790708b9 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -44,7 +44,8 @@ using Dotty with sbt, see the ### Standalone installation Releases are available for download on the _Releases_ -section of the Dotty repository: https://github.com/lampepfl/dotty/releases. +section of the Dotty repository: +https://github.com/lampepfl/dotty/releases We also provide a [homebrew](https://brew.sh/) package that can be installed by running @@ -93,9 +94,9 @@ See here for the full [version number explanation](http://dotty.epfl.ch/docs/usa Over the coming weeks and months, we plan to work on the following topics: - - [Integrate Local optimizations developed in Dotty linker](https://github.com/lampepfl/dotty/pull/2513); - - [Add Language-level support for HMaps and HLists](https://github.com/lampepfl/dotty/pull/2199); - - [Port global optimizations from Dotty linker](https://github.com/lampepfl/dotty/pull/1840). + - [Integrate Local optimizations developed in Dotty linker](https://github.com/lampepfl/dotty/pull/2513) + - [Add Language-level support for HMaps and HLists](https://github.com/lampepfl/dotty/pull/2199) + - [Port global optimizations from Dotty linker](https://github.com/lampepfl/dotty/pull/1840) If you want to get your hands dirty with any of this, now is a good moment to get involved! Join the team of contributors, including From 89441d48424b39b2bab4dc01a213ec3d6afc23e4 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 13:28:15 +0200 Subject: [PATCH 42/46] Update 2017-05-31-first-dotty-milestone-release.md --- .../_posts/2017-05-31-first-dotty-milestone-release.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 50b3790708b9..a84e4aa3cd24 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -5,7 +5,7 @@ author: Dmytro Petrashko authorImg: /images/petrashko.jpg --- -Today, we excited to release Dotty version 0.1.2-RC1. This release +Today, we are excited to release Dotty version 0.1.2-RC1. This release serves as a technology preview that demonstrates new language features and the compiler supporting them. @@ -81,11 +81,11 @@ See here for the full [release notes](http://dotty.epfl.ch/docs/release-notes/0. We are adopting a time-based release schedule: - Nightly builds will be published, for those wanting to be at the forefront of development. -- Every 6 weeks, a release candidate will be cut based on the last nightly build, - the release candidates let library authors test their code in advance of each +- Every 6 weeks, a release candidate will be cut based on the latest nightly build. + The release candidates let library authors test their code in advance of each release. Multiple release candidates may be released during each 6 weeks period to fix regressions. -- Every 6 weeks, the last release candidate becomes a release. +- Every 6 weeks, the latest release candidate becomes a release. At the end of 6 weeks, the milestone will be promoted to a stable release. See here for the full [version number explanation](http://dotty.epfl.ch/docs/usage/version-numbers.html). From d2182bb09574e30274020b924bdbf684994f5bfb Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 13:30:53 +0200 Subject: [PATCH 43/46] Update 0.1.2.md --- docs/docs/release-notes/0.1.2.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 11fbff676dbb..9173533832c6 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -4,21 +4,21 @@ title: 0.1.2 release notes --- 0.1.2 will be the first public release of Dotty. -Being first, those notes are incomplete. -This document is work in progress until 0.1.2-final is released. -This note is up-to-date based on 0.1.2-RC1 and will be updated -with changes that happen during RC stabilization cycle. +Being the first one, these notes are incomplete. +This document is a work in progress until 0.1.2-final is released. +These notes are up-to-date based on 0.1.2-RC1 and will be updated +with changes that happen during the RC stabilization cycle. # Required Java Version -Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlier versions of Java. +Dotty 0.1.2 targets Java 8. We don't have plans to add support for earlier versions of Java. # IDE support for Dotty # Reporting Bugs / Known Issues Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug, -please ask on Dotty [gitter channel](https://github.com/lampepfl/dotty). +please ask on the Dotty [gitter channel](https://github.com/lampepfl/dotty). # SBT builds dotty that builds dotty From 8626416280a715e50d817a2855567f9c1cc3a98c Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 31 May 2017 13:31:01 +0200 Subject: [PATCH 44/46] Update From 1f3f7b86d7415a9c74335c064b8face1902ac6ba Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 13:36:55 +0200 Subject: [PATCH 45/46] Fixes based on feedback. --- ...017-05-31-first-dotty-milestone-release.md | 13 +++--- docs/docs/release-notes/0.1.2.md | 41 +++++++++---------- docs/docs/usage/version-numbers.md | 7 +++- 3 files changed, 29 insertions(+), 32 deletions(-) diff --git a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md index 0a9791cc71a7..0f93368a1f4b 100644 --- a/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md @@ -5,7 +5,7 @@ author: Dmytro Petrashko authorImg: /images/petrashko.jpg --- -Today, we excited to release Dotty version 0.1.2-RC1. This release +Today, we are excited to release Dotty version 0.1.2-RC1. This release serves as a technology preview that demonstrates new language features and the compiler supporting them. @@ -16,7 +16,7 @@ and the compiler supporting them. _Dotty_ is the project name for a language and compiler that is slated to become Scala 3.0. This is an ongoing development, -developed transparently as open source software. The Dotty project +transparently developed as open source software. The Dotty project started more than 4 years ago. It reached a major milestone in 2015 by achieving [bootstrap](http://dotty.epfl.ch/blog/2015/10/23/dotty-compiler-bootstraps.html), @@ -80,14 +80,11 @@ See here for the full [release notes](http://dotty.epfl.ch/docs/release-notes/0. ## Release schedule -We are adopting a time-based release schedule: +Starting from this release, we are adopting a time-based release schedule: - Nightly builds will be published, for those wanting to be at the forefront of development. -- Every 6 weeks, a release candidate will be cut based on the last nightly build, - the release candidates let library authors test their code in advance of each - release. Multiple release candidates may be released during each 6 weeks - period to fix regressions. -- Every 6 weeks, the last release candidate becomes a release. +- Every 6 weeks, a release candidate will be cut based on the latest nightly build. +- Every 6 weeks, the latest release candidate becomes a release. At the end of 6 weeks, the milestone will be promoted to a stable release. See here for the full [version number explanation](http://dotty.epfl.ch/docs/usage/version-numbers.html). diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index 21e2e4be9ef6..fea99f286399 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -4,10 +4,10 @@ title: 0.1.2 release notes --- 0.1.2 will be the first public release of Dotty. -Being first, those notes are incomplete. -This document is work in progress until 0.1.2-final is released. -This note is up-to-date based on 0.1.2-RC1 and will be updated -with changes that happen during RC stabilization cycle. +Being first one, those notes are incomplete. +This document is a work in progress until 0.1.2-final is released. +These notes are up-to-date based on 0.1.2-RC1 and will be updated +with changes that happen during the RC stabilization cycle. # Required Java Version @@ -18,18 +18,15 @@ Dotty 0.1.2 targets Java 8. We don't have plans so far to add support for earlie # Reporting Bugs / Known Issues Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug, -please ask on Dotty [gitter channel](https://github.com/lampepfl/dotty). +please ask on the Dotty [gitter channel](https://github.com/lampepfl/dotty). -# SBT builds dotty that builds dotty +# DottyDoc - -# Dotty Doc - -Dotty has added support for Dotty Doc. +Dotty has added support for DottyDoc. Actually, the dotty documentation site [http://dotty.epfl.ch/docs/](http://dotty.epfl.ch/docs/) is generated by it. -Looks nice, doesn't it? +Looks nice, doesn’t it? -#Other implemented features: +# Other implemented features: This release ships with the following features: @@ -39,24 +36,24 @@ This release ships with the following features: - Enumerations by [@odersky] [\[4\]][4] [\[5\]][5] [\[6\]][6] - Implicit By-Name Parameters by [@odersky] [\[7\]][7] - Miniphases-based design by [@darkdimius], [@odersky] and [@lhotak] [\[8\]][8] - - @static methods support by [@darkdmius] [\[9\]][9] + - `@static` methods support by [@darkdmius] [\[9\]][9] - Non-blocking lazy vals by [@darkdimius] [\[10\]][10] - JVM code emission by [@magarciaEPFL] and [@darkdimius] [\[11\]][11] - - efficient multi-dimensional array allocation by [@darkdimius] [\[12\]][12] - - default-method based trait composition [@odersky] and [@darkdimius] [\[13\]][13] [\[14\]][14] + - Efficient multi-dimensional array allocation by [@darkdimius] [\[12\]][12] + - Default-method based trait composition [@odersky] and [@darkdimius] [\[13\]][13] [\[14\]][14] - Trait parameters by [@odersky] [\[15\]][15] - Working contravariant implicits by [@odersky] [\[16\]][16] - Option-less pattern matching by [@odersky], [@darkdimius] and [@OlivierBlanvillain] [\[17\]][17] - SAM-based anonymous functions by [@magarciaEPFL], [@darkdimius] and [@retronym] [\[18\]][18] - - Patter matching support by [@darkdimius] [\[19\]][19] + - Pattern matching support by [@darkdimius] [\[19\]][19] - Value classes support by [@smarter] and [@darkdimius] [\[20\]][20] - - Pattern matching exhaustively checks by [@liufengyun] [\[21\]][21] + - Pattern matching exhaustivity checks by [@liufengyun] [\[21\]][21] - Tailrec optimization by [@darkdimius] [\[22\]][22] [\[23\]][23] - - VS code protocol implementation by [@smarter] [\[24\]][24] + - Language server protocol implementation by [@smarter] [\[24\]][24] - VS code plugin by [@smarter] [\[24\]][24] - - Vulpix: new test-suite by [@felixmulder] that replaces partest by [@vsalvis] [\[25\]][25] - - java parser by [@olhotak] [\[26\]][26] - - local optimizations(-optimise) by [@darkdimius] and [@OlivierBlanvillain] [\[27\]][27] + - Vulpix: new test-suite driver by [@felixmulder] that replaces partest by [@vsalvis] [\[25\]][25] + - Java parser by [@olhotak] [\[26\]][26] + - local optimizations (-optimise) by [@darkdimius] and [@OlivierBlanvillain] [\[27\]][27] - sbt support by [@smarter] [\[28\]][28] - DottyDoc by [@felixmulder] [\[29\]][29] - Implicit Function Types by [@odersky] [\[30\]][30] @@ -110,7 +107,7 @@ This release ships with the following features: [33]: http://dotty.epfl.ch/docs/reference/inline.html # Contributors -Dotty team and contributes have closed 750 issues and has merged a total of 1258 pull requests. +The Dotty team and contributors have closed 750 issues and have merged a total of 1258 pull requests. Concretely, according to diff --git a/docs/docs/usage/version-numbers.md b/docs/docs/usage/version-numbers.md index 26ba9854055c..c305e9d050c2 100644 --- a/docs/docs/usage/version-numbers.md +++ b/docs/docs/usage/version-numbers.md @@ -5,10 +5,13 @@ title: "Version numbers" Dotty uses multiple schemes for version numbering. -Stable releases have version numbers of the form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id. +Stable releases have version numbers of the form `0.${x}.${y}`, where `x` is a main version and `y` is a bug-fix update id. -Release candidates version numbers have the form `0.${x}.${y}-RC${z}`. Release candidates are updated by incrementing `${z}`. +Release candidates version numbers have the form `0.${x}.${y}-RC${z}`. Every 6 weeks, the latest release candidate is promoted to stable and becomes version `0.${x}.${y}`. +The release candidates let library authors test their code in advance of each +release. Multiple release candidates may be released during each 6 weeks +period to fix regressions and are differentiated by `z`. Nightlies have version numbers of the form `0.${x}.${y}-bin-${date}-${sha}-NIGHTLY`. Every 6 weeks, the latest nightly is promoted to release candidate becomes version `0.${x}.${y}-RC1`. From 53db5098c0cf87a1c88a04924735468fb5b00cd5 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 31 May 2017 13:40:47 +0200 Subject: [PATCH 46/46] Fix capitalization. --- docs/docs/release-notes/0.1.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/release-notes/0.1.2.md b/docs/docs/release-notes/0.1.2.md index ca574106ad86..2aa4c7afdc19 100644 --- a/docs/docs/release-notes/0.1.2.md +++ b/docs/docs/release-notes/0.1.2.md @@ -53,7 +53,7 @@ This release ships with the following features: - VS code plugin by [@smarter] [\[24\]][24] - Vulpix: new test-suite driver by [@felixmulder] that replaces partest by [@vsalvis] [\[25\]][25] - Java parser by [@olhotak] [\[26\]][26] - - local optimizations(-optimise) by [@darkdimius] and [@OlivierBlanvillain] [\[27\]][27] + - Local optimizations(-optimise) by [@darkdimius] and [@OlivierBlanvillain] [\[27\]][27] - sbt support by [@smarter] [\[28\]][28] - DottyDoc by [@felixmulder] [\[29\]][29] - Implicit Function Types by [@odersky] [\[30\]][30]