Skip to content

Commit

Permalink
Release version 2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpeeters committed Sep 24, 2023
1 parent 7836b97 commit 2d18173
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ _Note:_ Currently [Treehugger](http://eed3si9n.com/treehugger/comments.html#Scal

##### Get the dependency with:

"com.julianpeeters" %% "avrohugger-core" % "1.5.3"
"com.julianpeeters" %% "avrohugger-core" % "1.5.4"


##### Description:
Expand Down Expand Up @@ -198,7 +198,7 @@ namespace rewritten. Multiple conflicting wildcards are not permitted.

##### Get the dependency with:

"com.julianpeeters" %% "avrohugger-filesorter" % "1.5.3"
"com.julianpeeters" %% "avrohugger-filesorter" % "1.5.4"


##### Description:
Expand All @@ -218,22 +218,22 @@ To ensure dependent schemas are compiled in the proper order (thus avoiding `org
#### `avrohugger-tools`


Download the avrohugger-tools jar for Scala [2.12](https://search.maven.org/remotecontent?filepath=com/julianpeeters/avrohugger-tools_2.12/1.5.3/avrohugger-tools_2.12-1.5.3-assembly.jar), or Scala [2.13](https://search.maven.org/remotecontent?filepath=com/julianpeeters/avrohugger-tools_2.13/1.5.3/avrohugger-tools_2.13-1.5.3-assembly.jar) (>30MB!) and use it like the avro-tools jar `Usage: [-string] (schema|protocol|datafile) input... outputdir`:
Download the avrohugger-tools jar for Scala [2.12](https://search.maven.org/remotecontent?filepath=com/julianpeeters/avrohugger-tools_2.12/1.5.4/avrohugger-tools_2.12-1.5.4-assembly.jar), or Scala [2.13](https://search.maven.org/remotecontent?filepath=com/julianpeeters/avrohugger-tools_2.13/1.5.4/avrohugger-tools_2.13-1.5.4-assembly.jar) (>30MB!) and use it like the avro-tools jar `Usage: [-string] (schema|protocol|datafile) input... outputdir`:


* `generate` generates Scala case class definitions:

`java -jar /path/to/avrohugger-tools_2.12-1.5.3-assembly.jar generate schema user.avsc . `
`java -jar /path/to/avrohugger-tools_2.12-1.5.4-assembly.jar generate schema user.avsc . `


* `generate-specific` generates definitions that extend Avro's `SpecificRecordBase`:

`java -jar /path/to/avrohugger-tools_2.12-1.5.3-assembly.jar generate-specific schema user.avsc . `
`java -jar /path/to/avrohugger-tools_2.12-1.5.4-assembly.jar generate-specific schema user.avsc . `


* `generate-scavro` (`@deprecated` since avrohugger v1.5.0) generates definitions that extend Scavro's `AvroSerializable`:

`java -jar /path/to/avrohugger-tools_2.12-1.5.3-assembly.jar generate-scavro schema user.avsc . `
`java -jar /path/to/avrohugger-tools_2.12-1.5.4-assembly.jar generate-scavro schema user.avsc . `


## Warnings
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val avroVersion = "1.11.2"

lazy val commonSettings = Seq(
organization := "com.julianpeeters",
version := "1.5.4-SNAPSHOT",
version := "1.5.4",
ThisBuild / versionScheme := Some("semver-spec"),
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature"),
Test / scalacOptions ++= Seq("-Yrangepos"),
Expand Down

0 comments on commit 2d18173

Please sign in to comment.