Skip to content

Releases: scalacenter/tasty-query

v1.4.0

02 Oct 09:06
4fb1fd4
Compare
Choose a tag to compare

What's Changed

  • Upgrade to Scala 3.5.0 and support its TASTy format. by @sjrd in #443

Full Changelog: v1.3.0...v1.4.0

v1.3.0

20 Feb 12:50
a85f200
Compare
Choose a tag to compare

What's Changed

  • Upgrade to Scala 3.4.0 and support its TASTy format. by @sjrd in #437

Full Changelog: v1.2.1...v1.3.0

v1.2.1

01 Feb 10:02
ce0fdb4
Compare
Choose a tag to compare

v1.2.0

19 Dec 16:07
0f86044
Compare
Choose a tag to compare
  • 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

11 Dec 17:09
917d4d6
Compare
Choose a tag to compare
  • Fix #412: Protect the state of packages and loaders from exceptions.
  • Fix #413: Handle inner classes based on content, not names.
  • Fix #414: Define the rest of the special Predef methods.
  • Fix #415: Allow ClassTypeParamSymbols to have a UniqueName.

v1.1.1

01 Dec 12:20
06ffbf0
Compare
Choose a tag to compare

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

23 Nov 10:02
68a0413
Compare
Choose a tag to compare

New features:

  • Add TermSymbol.paramSymss: it gives access to the symbols of type and term parameters of a method (this was accessible through the tree for Scala 3 code, but not for Scala 2 or Java).
  • Add TermSymbol.isParamWithDefault and hasParamWithDefault 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 TypeMappables and Trees as method showMultiline.

Bug fixes:

v1.0.1

09 Nov 13:34
bad2ee2
Compare
Choose a tag to compare
  • Fix #380: Give the correct type to the synthetic constructor of java.lang.Enum.
  • Fix reading VALsym's without owner in the Scala 2 unpickler.

v1.0.0

02 Nov 09:05
d3bd60a
Compare
Choose a tag to compare

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

31 Oct 16:54
c6eabea
Compare
Choose a tag to compare

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) to Contexts.Context.initialize(classpath).
  • Add RepeatedType(elemType), instead of an AppliedType with a magic class as tycon.
  • Split FullyQualifiedName into PackageFullName and SignatureName, depending on use cases.
  • The toString() of object class names now includes a trailing $ (this also affects the toString() of SignatureName).
  • Other refactorings of the Name hierarchy to be more type-safe.
  • Rename RealTypeBounds into AbstractTypeBounds.
  • Rename Binders to TypeBinder, 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 a PackageRef.
  • #374 Symbol.matchingSymbol does not correctly compare MethodTypes and Types.