Skip to content

Commit

Permalink
Release version 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpeeters committed Oct 7, 2023
1 parent 6207e32 commit 0851495
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 @@ -123,7 +123,7 @@ _Note:_ Currently [Treehugger](http://eed3si9n.com/treehugger/comments.html#Scal

##### Get the dependency with:

"com.julianpeeters" %% "avrohugger-core" % "1.5.6"
"com.julianpeeters" %% "avrohugger-core" % "1.6.0"


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

##### Get the dependency with:

"com.julianpeeters" %% "avrohugger-filesorter" % "1.5.6"
"com.julianpeeters" %% "avrohugger-filesorter" % "1.6.0"


##### Description:
Expand All @@ -234,22 +234,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.6/avrohugger-tools_2.12-1.5.6-assembly.jar), or Scala [2.13](https://search.maven.org/remotecontent?filepath=com/julianpeeters/avrohugger-tools_2.13/1.5.6/avrohugger-tools_2.13-1.5.6-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.6.0/avrohugger-tools_2.12-1.6.0-assembly.jar), or Scala [2.13](https://search.maven.org/remotecontent?filepath=com/julianpeeters/avrohugger-tools_2.13/1.6.0/avrohugger-tools_2.13-1.6.0-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.6-assembly.jar generate schema user.avsc . `
`java -jar /path/to/avrohugger-tools_2.12-1.6.0-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.6-assembly.jar generate-specific schema user.avsc . `
`java -jar /path/to/avrohugger-tools_2.12-1.6.0-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.6-assembly.jar generate-scavro schema user.avsc . `
`java -jar /path/to/avrohugger-tools_2.12-1.6.0-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.3"

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

0 comments on commit 0851495

Please sign in to comment.