-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Setup the 3.4.1 development #19321
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
Setup the 3.4.1 development #19321
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,9 +83,9 @@ object DottyJSPlugin extends AutoPlugin { | |
object Build { | ||
import ScaladocConfigs._ | ||
|
||
val referenceVersion = "3.3.1" | ||
val referenceVersion = "3.4.0-RC1" | ||
|
||
val baseVersion = "3.4.0-RC1" | ||
val baseVersion = "3.4.1-RC1" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should add some tests that check that the minor version N (3.N.X) is equal to the minor TASTy version minus one. |
||
|
||
// Versions used by the vscode extension to create a new project | ||
// This should be the latest published releases. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,66 @@ object MiMaFilters { | |
ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#TypeReprMethods.dealiasKeepOpaques"), | ||
ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#SymbolMethods.paramVariance"), | ||
ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#TypeLambdaMethods.paramVariances"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.AssignedNonLocally"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should check MiMa against |
||
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.CaptureChecked"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.reachCapability"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule.ValOrDefDefTypeTest"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule.ValOrDefDefMethods"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule#SymbolMethods.paramVariance"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule#TypeLambdaMethods.paramVariances"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule#TypeReprMethods.dealiasKeepOpaques"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.quoted.Quotes$reflectModule$ValOrDefDefMethods"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule#defnModule.FunctionClass"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule#defnModule.PolyFunctionClass"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.runtime.Tuples.reverse"), | ||
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.4-migration"), | ||
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.4"), | ||
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5-migration"), | ||
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$minusmigration$"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$minusmigration$"), | ||
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#deprecated.ascriptionVarargsUnpacking"), | ||
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$deprecated$ascriptionVarargsUnpacking$") | ||
) | ||
val TastyCore: Seq[ProblemFilter] = Seq( | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.EXPLICITtpt"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyBuffer.writeUtf8"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.AttributesSection"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.CAPTURECHECKEDattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.ELIDED"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.EXPLICITNULLSattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.JAVAattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.OUTLINEattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.SCALA2STANDARDLIBRARYattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.SOURCEFILEattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.WITHPUREFUNSattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.attributeTagToString"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.isBooleanAttrTag"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.isStringAttrTag"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.AttributesSection"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.ELIDED"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.isBooleanAttrTag"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.SCALA2STANDARDLIBRARYattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.EXPLICITNULLSattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.CAPTURECHECKEDattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.WITHPUREFUNSattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.JAVAattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.OUTLINEattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.isStringAttrTag"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.SOURCEFILEattr"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.attributeTagToString"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyHeaderUnpickler.this"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyHeaderUnpickler.this"), | ||
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.tasty.TastyHeaderUnpickler$Compatibility$"), | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyReader.readUtf8"), | ||
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.tasty.TastyVersion"), | ||
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.tasty.TastyVersion$"), | ||
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.tasty.UnpicklerConfig"), | ||
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.tasty.UnpicklerConfig$"), | ||
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.tasty.UnpicklerConfig$DefaultTastyVersion"), | ||
ProblemFilters.exclude[MissingClassProblem]("dotty.tools.tasty.UnpicklerConfig$Generic") | ||
) | ||
val Interfaces: Seq[ProblemFilter] = Seq( | ||
) | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -318,7 +318,7 @@ object TastyFormat { | |||||
* compatibility, but remains backwards compatible, with all | ||||||
* preceeding `MinorVersion`. | ||||||
*/ | ||||||
final val MinorVersion: Int = 4 | ||||||
final val MinorVersion: Int = 5 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
See #13447 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm even more confused now. We are now setting up a tasty version for the nightly releases. According to this diagram and this table, when we have a nightly version in form 3.x.y, where y > 0, tasty should have version 28.(x+1)-exp1. That means it should be 28.5-exp1 now, as we will release nightlies for 3.4.1. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, based on those diagrams the Nighlies should be on 28.5. I do not know why nightlies should have a different version. It seems it would make more sense for them to have the same version. I guess that the current check does not take this into account. @bishabosha could you clarify this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We released Scala
However I am not sure if the check would take the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should be able to update the TASTy minor version using 3.3.1 for now. See #19483. We can later update the reference version to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Nightlies should be 1 minor version ahead because experimental is treated as before the next stable version - so There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Should it be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the |
||||||
|
||||||
/** Natural Number. The `ExperimentalVersion` allows for | ||||||
* experimentation with changes to TASTy without committing | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should either wait to have
3.4.0-RC2
that has the correct minor TASTy version or keep using3.3.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be
3.4.0
? why would we start3.4.1
before3.4.0
was released?