Releases: scalacenter/tasty-query
Releases · scalacenter/tasty-query
v1.4.0
v1.3.0
v1.2.1
v1.2.0
- Fix #424: Read and handle INLINED nodes in TypeTree position. Expose them as a new class
Trees.InlinedTypeTree
. - Fix #423:
StackOverflowError
involving complicated nested refinement types. - Work around scala/scala3#19237 when reading TASTy files.
- Make reading Scala 2 pickles more robust.
v1.1.2
v1.1.1
Bug fixes:
- Fix #397: Errors while unpickling and resolving members in scalaz-core_2.13
- Fix #398: MemberNotFoundException for inherited member on PackageRef
- Fix #401: Infinite loop in resolution of symbol whose declared type is a recursive match type
- Fix #402: Cannot resolve symbol because of unknown annotation
- Fix #403: Wrong erasure of path-dependent opaque type alias
- Fix #405: Wrong erasure of parametric value classes
- Fix #407: Cannot resolve symbol of parent interface
- Fix printing of InlineMatch nodes.
v1.1.0
New features:
- Add
TermSymbol.paramSymss
: it gives access to the symbols of type and term parameters of a method (this was accessible through thetree
for Scala 3 code, but not for Scala 2 or Java). - Add
TermSymbol.isParamWithDefault
andhasParamWithDefault
to detect parameters with default values. - Read and expose annotations from Scala 2 pickles and Java class files (including for the above
paramSymss
). - Add a basic tree printer and a method
Tree.showBasic
. - Add multiline variants of printers for
TypeMappable
s andTree
s as methodshowMultiline
.
Bug fixes:
- Fix the Node.js
ClasspathLoaders
on Windows. - Work around scala/scala3#19019.
v1.0.1
v1.0.0
This release changes nothing compared to v0.11.0. The change in version number reflects the stability of the library.
From now on, patch releases will be both forward and backward binary/TASTy compatible. Minor releases will be backward binary/TASTy compatible. Major releases will only be made if absolutely necessary.
v0.11.0
This release acts as an RC for v1.0.0.
It contains major cleanups and refactorings of the API compared to v0.10.x. The most important changes are:
- Move
Contexts.init(classpath)
toContexts.Context.initialize(classpath)
. - Add
RepeatedType(elemType)
, instead of anAppliedType
with a magic class astycon
. - Split
FullyQualifiedName
intoPackageFullName
andSignatureName
, depending on use cases. - The
toString()
of object class names now includes a trailing$
(this also affects thetoString()
ofSignatureName
). - Other refactorings of the
Name
hierarchy to be more type-safe. - Rename
RealTypeBounds
intoAbstractTypeBounds
. - Rename
Binders
toTypeBinder
, along with other renamings of related traits. - Remove the dependency on
tasty-core
.
In addition, it fixes the following issues:
- Cannot read
QUALTHIS
nodes whose qualifier is aPackageRef
. - #374
Symbol.matchingSymbol
does not correctly compareMethodType
s andType
s.