Skip to content

Releases: zio/izumi-reflect

1.0.0-M6

01 Sep 15:56
Compare
Choose a tag to compare
  • Update to Dotty 0.26.0
  • Fix #32 resolve parameters in structural types (#66)
    This allows polymorphic usage of Tags with structural types, e.g. the following will now work correctly:
    trait Typeclass[A] { 
      type Out
    }
    
    def tagFor[A: Tag, B: Tag] = 
      Tag[Typeclass[A] { type Out = B }]
    
    tagFor[Int, String].tag == Tag[Typeclass[Int] { type Out = String }].tag // true
    // `A` & `B` type parameters were substituted for Int & String in `tagFor`
    This also allows Tags for higher-kinded TagK's, which are encoded using structural types, to be resolved correctly and allows polymorphic injection of TagK's in distage modules:
    def moduleWithTag[F[_]: TagK] = new ModuleDef {
      addImplicit[TagK[F]]
      make[Unit].fromHas(
        (tag: TagK[F]) =>
          // (tag: TagK[F]) parameter no longer causes an error 
          zio.console.putStrLn(s"Got TagK[F]=$tag")
      )
    }

1.0.0-M5

31 Jul 19:30
Compare
Choose a tag to compare
  • Fixed creation of Tags for Tuple1-22 on Dotty, now building for Dotty 0.26.0-RC1. (Fix #38 resolve tuple tags on dotty-0.26.0-RC1 (#56))

1.0.0-M4

03 Jul 12:30
Compare
Choose a tag to compare

1.0.0-M3

03 Jul 12:29
Compare
Choose a tag to compare
  • Update to dotty 0.24.0-RC1 (#37)

1.0.0-M2

17 May 20:58
Compare
Choose a tag to compare
  • Fix zio/zio#3558 flatten intersections when combining tags at runtime (#27)
  • Un-private LTTRenderables & RuntimeAPI (#34)

0.13.0-M1

22 Apr 18:03
Compare
Choose a tag to compare

First release of izumi-reflect for Dotty! 🎉

0.12.0-M1

09 Mar 12:11
Compare
Choose a tag to compare

Build for Scala.js 1.0.0