Skip to content

Commit

Permalink
Merge pull request #257 from fd4s/fix-deprecation-warnings
Browse files Browse the repository at this point in the history
fix version number in deprecation warnings
  • Loading branch information
bplommer authored Jan 14, 2021
2 parents ec2e78e + 81c5ab3 commit dd32f08
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/core/src/main/scala-2/AvroDoc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import scala.annotation.StaticAnnotation
* documentation when using `Codec.derive` from the
* generic module.
*/
@deprecated("Use vulcan.generic.AvroDoc from the vulcan-generic module", "1.2.0")
@deprecated("Use vulcan.generic.AvroDoc from the vulcan-generic module", "1.3.0")
final class AvroDoc(final val doc: String) extends StaticAnnotation {
override final def toString: String =
s"AvroDoc($doc)"
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/main/scala-2/AvroNamespace.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import scala.annotation.StaticAnnotation
* - Annotate a `case class` for record namespace when
* using `Codec.derive` from the generic module.
*/
@deprecated("Use vulcan.generic.AvroNamespace from the vulcan-generic module", "1.2.0")
@deprecated("Use vulcan.generic.AvroNamespace from the vulcan-generic module", "1.3.0")
final class AvroNamespace(final val namespace: String) extends StaticAnnotation {
override final def toString: String =
s"AvroNamespace($namespace)"
Expand Down
4 changes: 2 additions & 2 deletions modules/core/src/main/scala-2/vulcan/CodecCompat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private[vulcan] trait CodecCompanionCompat {
@deprecated(
"Use vulcan.generic.deriveEnum in the vulcan-generic module, " +
"or define the codec explicitly using Codec.enumeration",
"1.2.0"
"1.3.0"
)
final def deriveEnum[A](
symbols: Seq[String],
Expand All @@ -33,7 +33,7 @@ private[vulcan] trait CodecCompanionCompat {
@deprecated(
"Use vulcan.generic.deriveFixed in the vulcan-generic module, " +
"or define the codec explicitly using Codec.enumeration",
"1.2.0"
"1.3.0"
)
final def deriveFixed[A](
size: Int,
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/vulcan/Codec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ object Codec extends CodecCompanionCompat {
)
}

@deprecated("Use Codec.enumeration - enum is a keyword is Scala 3", "1.2.0")
@deprecated("Use Codec.enumeration - enum is a keyword in Scala 3", "1.3.0")
final def `enum`[A](
name: String,
namespace: String,
Expand Down

0 comments on commit dd32f08

Please sign in to comment.