Skip to content

Update base version to 3.3.1-RC1 #16768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ object DottyJSPlugin extends AutoPlugin {
object Build {
import ScaladocConfigs._

val referenceVersion = "3.2.2"
val referenceVersion = "3.3.0-RC1"

val baseVersion = "3.3.0-RC1"
val baseVersion = "3.3.1-RC1"

// Versions used by the vscode extension to create a new project
// This should be the latest published releases.
Expand Down
25 changes: 22 additions & 3 deletions project/MiMaFilters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,29 @@ object MiMaFilters {
val Library: Seq[ProblemFilter] = Seq(
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.caps.unsafeBox"),
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.caps.unsafeUnbox"),
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.CanEqual.canEqualMap"),
ProblemFilters.exclude[MissingClassProblem]("scala.caps$Pure"),
ProblemFilters.exclude[MissingClassProblem]("scala.caps$unsafe$"),
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.3-migration"),
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.3"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E3$"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E3$minusmigration$"),
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.into"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$into$"),
ProblemFilters.exclude[MissingClassProblem]("scala.util.boundary"),
ProblemFilters.exclude[MissingClassProblem]("scala.util.boundary$"),
ProblemFilters.exclude[MissingClassProblem]("scala.util.boundary$Break"),
ProblemFilters.exclude[MissingClassProblem]("scala.util.boundary$Label")
)
val TastyCore: Seq[ProblemFilter] = Seq(
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyBuffer.reset"),
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.APPLYsigpoly"),
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyHash.pjwHash64"),
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.util.Util.dble")
)
val TastyCore: Seq[ProblemFilter] = Seq()
val Interfaces: Seq[ProblemFilter] = Seq(
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.dotc.interfaces.DiagnosticRelatedInformation"),
ProblemFilters.exclude[ReversedMissingMethodProblem]("dotty.tools.dotc.interfaces.Diagnostic.diagnosticRelatedInformation")
ProblemFilters.exclude[ReversedMissingMethodProblem]("dotty.tools.dotc.interfaces.Diagnostic.diagnosticRelatedInformation"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect these exclusions would disappear after the release of 3.3 - not that we would need more for previously added parts of the API

ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.dotc.interfaces.Diagnostic.diagnosticRelatedInformation"),
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.dotc.interfaces.DiagnosticRelatedInformation")
)
}
4 changes: 2 additions & 2 deletions tasty/src/dotty/tools/tasty/TastyFormat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ object TastyFormat {
* compatibility, but remains backwards compatible, with all
* preceeding `MinorVersion`.
*/
final val MinorVersion: Int = 2
final val MinorVersion: Int = 4
Copy link
Contributor Author

@Kordyjan Kordyjan Jan 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

During the merge of language-reference-stable, git somehow decided there was no conflict here.
We need to make it impossible for ports from the documentation to change anything except the documentation itself and the scaladoc. I'll try to achieve that later this week.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have been minor version 3.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acctualy, I was wrong, this was only used to release 3.4.0-RC1. Therefore the version is correct.


/** Natural Number. The `ExperimentalVersion` allows for
* experimentation with changes to TASTy without committing
Expand All @@ -305,7 +305,7 @@ object TastyFormat {
* is able to read final TASTy documents if the file's
* `MinorVersion` is strictly less than the current value.
*/
final val ExperimentalVersion: Int = 0
final val ExperimentalVersion: Int = 1

/**This method implements a binary relation (`<:<`) between two TASTy versions.
*
Expand Down