From f4da2c434d830d97596d8eac7137b0f305955ddb Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Fri, 1 Sep 2017 09:52:32 +0200 Subject: [PATCH 1/6] Initial draft for 0.3.0-RC1 blog post --- .../date-third-dotty-milestone-release.md | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 docs/blog/_posts/date-third-dotty-milestone-release.md diff --git a/docs/blog/_posts/date-third-dotty-milestone-release.md b/docs/blog/_posts/date-third-dotty-milestone-release.md new file mode 100644 index 000000000000..54506b43bb0b --- /dev/null +++ b/docs/blog/_posts/date-third-dotty-milestone-release.md @@ -0,0 +1,133 @@ +--- +layout: blog-page +title: Announcing Dotty 0.3.0-RC1 +author: Allan Renucci +authorImg: /images/allan.jpg +date: ??? +--- + +Today, we are excited to release Dotty version 0.3.0-RC1. This release +serves as a technology preview that demonstrates new language features +and the compiler supporting them. + +This release is based on the [previous milestone](/blog/2017/07/12/second-dotty-milestone-release.html). +The highlights of this release are: + - improvements in VS Code IDE stability + - making erasure pass `Ycheck` + + + +This is our third scheduled release according to our [6-week release schedule](http://dotty.epfl.ch/docs/usage/version-numbers.html). + +## What’s in the 0.3.0-RC1 technology preview? +The [previous technology preview](/blog/2017/07/12/second-dotty-milestone-release.html) improved +stability and reliability: + - substantial improvement of quality of generated code for pattern matching + - improvements in VS Code IDE stability + - support Windows in VS Code IDE + - improved compatibility with scalac + - initial support for reproducible builds + +This technology preview further improves stability and reliability. Some highlighted PRs are: + - IDE bug fixes: + [#2986](https://github.com/lampepfl/dotty/pull/2986), + [#2932](https://github.com/lampepfl/dotty/pull/2932), + [#2885](https://github.com/lampepfl/dotty/pull/2885), + [#2876](https://github.com/lampepfl/dotty/pull/2876), + [#2870](https://github.com/lampepfl/dotty/pull/2870), + [#2872](https://github.com/lampepfl/dotty/pull/2872) by [@odersky] and [@smarter]. + - Making erasure pass Ycheck, [#2927](https://github.com/lampepfl/dotty/pull/2927) by [@smarter]. + + +## How can you try it out? +We ship with tools that help you try out the Dotty platform: + + - [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) + + +You have several alternatives; use the `sbt-dotty` plugin, get a standalone +installation, or try it online on [Scastie]. + +### 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](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 +``` + +In case you have already installed Dotty via brew, you should instead update it: + +``` +brew upgrade dotty +``` + +### Scastie + +[Scastie], the online Scala playground, supports Dotty. +You can try it out there without installing anything. + + +## What are the next steps? + +Over the coming weeks and months, we plan to work on the following topics: + + - [Add support for using Dotty generated classes with Scala 2.12](https://github.com/lampepfl/dotty/pull/2827) + - [Add Language-level support for HMaps and HLists](https://github.com/lampepfl/dotty/pull/2199); + - Upstream more optimizations from Dotty Linker + - [Add support for existing in the same classpath with Scala 2.12](https://github.com/lampepfl/dotty/pull/2827) + - [Add native Dotty REPL](https://github.com/lampepfl/dotty/pull/2991) + +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]) +Dmitry Petrashko ([@DarkDimius]), +Guillaume Martres ([@smarter]), +Felix Mulder ([@felixmulder]), +Nicolas Stucki ([@nicolasstucki]), +Liu Fengyun ([@liufengyun]), +Olivier Blanvillain ([@OlivierBlanvillain]), +Aggelos Biboudis ([@biboudis]), +Allan Renucci ([@allanrenucci]), +and others! + +## Library authors: Join our community build + +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. + + +To get started, see [https://github.com/lampepfl/dotty](https://github.com/lampepfl/dotty). + + +[Scastie]: https://scastie.scala-lang.org/?target=dotty + +[@odersky]: https://github.com/odersky +[@DarkDimius]: https://github.com/DarkDimius +[@smarter]: https://github.com/smarter +[@felixmulder]: https://github.com/felixmulder +[@nicolasstucki]: https://github.com/nicolasstucki +[@liufengyun]: https://github.com/liufengyun +[@OlivierBlanvillain]: https://github.com/OlivierBlanvillain +[@OlivierBlanvillain]: https://github.com/OlivierBlanvillain +[@biboudis]: https://github.com/biboudis +[@biboudis]: https://github.com/biboudis +[@allanrenucci]: https://github.com/allanrenucci From 938598da6c4675f5af94a621bc5349f3b782e720 Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Tue, 5 Sep 2017 15:31:38 +0200 Subject: [PATCH 2/6] Address reviewer comments --- .../_posts/date-third-dotty-milestone-release.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/blog/_posts/date-third-dotty-milestone-release.md b/docs/blog/_posts/date-third-dotty-milestone-release.md index 54506b43bb0b..b993da7bf244 100644 --- a/docs/blog/_posts/date-third-dotty-milestone-release.md +++ b/docs/blog/_posts/date-third-dotty-milestone-release.md @@ -1,15 +1,22 @@ --- layout: blog-page -title: Announcing Dotty 0.3.0-RC1 +title: Announcing Dotty 0.3.0-RC2 author: Allan Renucci authorImg: /images/allan.jpg date: ??? --- -Today, we are excited to release Dotty version 0.3.0-RC1. This release +Today, we are excited to release Dotty version 0.3.0-RC2. This release serves as a technology preview that demonstrates new language features and the compiler supporting them. +If you’re not familiar with Dotty, it's a platform to try out new language concepts and compiler +technologies for Scala. The focus is mainly on simplification. We remove extraneous syntax +(e.g. no XML literals), and try to boil down Scala’s types into a smaller set of more fundamental +constructors. The theory behind these constructors is researched in +[DOT](https://infoscience.epfl.ch/record/215280), a calculus for dependent object types. +You can learn more about Dotty on our [website](http://dotty.epfl.ch). + This release is based on the [previous milestone](/blog/2017/07/12/second-dotty-milestone-release.html). The highlights of this release are: - improvements in VS Code IDE stability @@ -18,8 +25,6 @@ The highlights of this release are: This is our third scheduled release according to our [6-week release schedule](http://dotty.epfl.ch/docs/usage/version-numbers.html). - -## What’s in the 0.3.0-RC1 technology preview? The [previous technology preview](/blog/2017/07/12/second-dotty-milestone-release.html) improved stability and reliability: - substantial improvement of quality of generated code for pattern matching @@ -28,6 +33,7 @@ stability and reliability: - improved compatibility with scalac - initial support for reproducible builds +## What’s in the 0.3.0-RC2 technology preview? This technology preview further improves stability and reliability. Some highlighted PRs are: - IDE bug fixes: [#2986](https://github.com/lampepfl/dotty/pull/2986), @@ -36,7 +42,6 @@ This technology preview further improves stability and reliability. Some highlig [#2876](https://github.com/lampepfl/dotty/pull/2876), [#2870](https://github.com/lampepfl/dotty/pull/2870), [#2872](https://github.com/lampepfl/dotty/pull/2872) by [@odersky] and [@smarter]. - - Making erasure pass Ycheck, [#2927](https://github.com/lampepfl/dotty/pull/2927) by [@smarter]. ## How can you try it out? From fc23c1c485f8dc2334e102248ecfff90afd7fbeb Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Wed, 6 Sep 2017 16:17:27 +0200 Subject: [PATCH 3/6] Small tweaks --- docs/blog/_posts/date-third-dotty-milestone-release.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/blog/_posts/date-third-dotty-milestone-release.md b/docs/blog/_posts/date-third-dotty-milestone-release.md index b993da7bf244..11847a456f04 100644 --- a/docs/blog/_posts/date-third-dotty-milestone-release.md +++ b/docs/blog/_posts/date-third-dotty-milestone-release.md @@ -17,11 +17,6 @@ constructors. The theory behind these constructors is researched in [DOT](https://infoscience.epfl.ch/record/215280), a calculus for dependent object types. You can learn more about Dotty on our [website](http://dotty.epfl.ch). -This release is based on the [previous milestone](/blog/2017/07/12/second-dotty-milestone-release.html). -The highlights of this release are: - - improvements in VS Code IDE stability - - making erasure pass `Ycheck` - This is our third scheduled release according to our [6-week release schedule](http://dotty.epfl.ch/docs/usage/version-numbers.html). From b713109d86d0f26b34aec8184295a0b5da04ddd5 Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Wed, 6 Sep 2017 18:30:13 +0200 Subject: [PATCH 4/6] Update date --- ...e-release.md => 2017-09-07-third-dotty-milestone-release.md} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename docs/blog/_posts/{date-third-dotty-milestone-release.md => 2017-09-07-third-dotty-milestone-release.md} (99%) diff --git a/docs/blog/_posts/date-third-dotty-milestone-release.md b/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md similarity index 99% rename from docs/blog/_posts/date-third-dotty-milestone-release.md rename to docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md index 11847a456f04..f65e51e73686 100644 --- a/docs/blog/_posts/date-third-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md @@ -3,7 +3,7 @@ layout: blog-page title: Announcing Dotty 0.3.0-RC2 author: Allan Renucci authorImg: /images/allan.jpg -date: ??? +date: 2017-09-07 --- Today, we are excited to release Dotty version 0.3.0-RC2. This release From ad36f03e6bed896462b6844f7df283ed698c72d5 Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Thu, 7 Sep 2017 09:52:27 +0200 Subject: [PATCH 5/6] Add "Reporting Bugs" and "Contributing" sections --- ...017-09-07-third-dotty-milestone-release.md | 47 ++++++++++++------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md b/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md index f65e51e73686..bba78a6a7545 100644 --- a/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md @@ -61,7 +61,6 @@ 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](https://github.com/lampepfl/dotty/releases) @@ -79,13 +78,11 @@ brew upgrade dotty ``` ### Scastie - [Scastie], the online Scala playground, supports Dotty. You can try it out there without installing anything. ## What are the next steps? - Over the coming weeks and months, we plan to work on the following topics: - [Add support for using Dotty generated classes with Scala 2.12](https://github.com/lampepfl/dotty/pull/2827) @@ -94,27 +91,43 @@ Over the coming weeks and months, we plan to work on the following topics: - [Add support for existing in the same classpath with Scala 2.12](https://github.com/lampepfl/dotty/pull/2827) - [Add native Dotty REPL](https://github.com/lampepfl/dotty/pull/2991) -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]) -Dmitry Petrashko ([@DarkDimius]), -Guillaume Martres ([@smarter]), -Felix Mulder ([@felixmulder]), -Nicolas Stucki ([@nicolasstucki]), -Liu Fengyun ([@liufengyun]), -Olivier Blanvillain ([@OlivierBlanvillain]), -Aggelos Biboudis ([@biboudis]), -Allan Renucci ([@allanrenucci]), -and others! +## Reporting Bugs +If you encounter a bug, please [open an issue](https://github.com/lampepfl/dotty/issues/new). -## Library authors: Join our community build +## Contributing +Thank you to all the contributors who made this release possible! + +According to `git shortlog -sn --no-merges 0.2.0-RC1..0.3.0-RC2` these are: + +``` + 138 Martin Odersky + 36 Nicolas Stucki + 12 Guillaume Martres + 7 Dmitry Petrashko + 5 liu fengyun + 4 Allan Renucci + 4 Felix Mulder + 2 Lorand Szakacs + 1 Lukas Ciszewski + 1 Max Ovsiankin + 1 Lanny Ripple + 1 Serhii Pererva + 1 Georg Schmid +``` + +If you want to get your hands dirty with any of this, now is a good moment to get involved! +You can have a look at our [Error Messages](http://scala-lang.org/blog/2016/10/14/dotty-errors.html) +and some simple [Dotty issues](https://github.com/lampepfl/dotty/issues?q=is%3Aissue+is%3Aopen+label%3Aexp%3Anovice). +They make perfect entry-points into hacking on the compiler. +We are looking forward to having you join the team of contributors. + +## Library authors: Join our community build 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. - To get started, see [https://github.com/lampepfl/dotty](https://github.com/lampepfl/dotty). From 238300cddd89b54e996b374eb439478634466f25 Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Thu, 7 Sep 2017 16:26:17 +0200 Subject: [PATCH 6/6] Minor tweaks --- .../2017-09-07-third-dotty-milestone-release.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md b/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md index bba78a6a7545..efe2ede146a6 100644 --- a/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md +++ b/docs/blog/_posts/2017-09-07-third-dotty-milestone-release.md @@ -91,8 +91,10 @@ Over the coming weeks and months, we plan to work on the following topics: - [Add support for existing in the same classpath with Scala 2.12](https://github.com/lampepfl/dotty/pull/2827) - [Add native Dotty REPL](https://github.com/lampepfl/dotty/pull/2991) -## Reporting Bugs -If you encounter a bug, please [open an issue](https://github.com/lampepfl/dotty/issues/new). +## Questions / Reporting Bugs +If you have questions or any sort of feedback, feel free to send us a message on our +[Gitter channel](https://gitter.im/lampepfl/dotty). If you encounter a bug, please +[open an issue on GitHub](https://github.com/lampepfl/dotty/issues/new). ## Contributing Thank you to all the contributors who made this release possible! @@ -116,8 +118,9 @@ According to `git shortlog -sn --no-merges 0.2.0-RC1..0.3.0-RC2` these are: ``` If you want to get your hands dirty with any of this, now is a good moment to get involved! -You can have a look at our [Error Messages](http://scala-lang.org/blog/2016/10/14/dotty-errors.html) -and some simple [Dotty issues](https://github.com/lampepfl/dotty/issues?q=is%3Aissue+is%3Aopen+label%3Aexp%3Anovice). +You can have a look at our [Getting Started page](http://dotty.epfl.ch/docs/contributing/getting-started.html), +our [Awesome Error Messages](http://scala-lang.org/blog/2016/10/14/dotty-errors.html) or some of +the simple [Dotty issues](https://github.com/lampepfl/dotty/issues?q=is%3Aissue+is%3Aopen+label%3Aexp%3Anovice). They make perfect entry-points into hacking on the compiler. We are looking forward to having you join the team of contributors.