@@ -829,8 +829,8 @@ Then add to root aggregation: `.aggregate(..., mymodule, mymoduleJS, mymoduleNat
829829 ARM64. Removing ` inline ` fixes it; the compiler optimizes
830830 trivial delegations anyway. Filed as
831831 https://github.com/scala/scala3/issues/25306
832- 66 . ** Current release is 1.12 .1** — Patch release fixing
833- prettify formatting regressions. Supersedes 1.12.0
832+ 66 . ** Current release is 1.13 .1** — sbt-riddl bugfix release.
833+ Supersedes 1.13.0 (sbt-riddl rewrite)
83483467 . ** PrettifyPass multi-file mode** — ` PrettifyPass.Options `
835835 now carries ` topFile ` , ` outputDir ` , and ` flatten ` . When
836836 ` flatten=false ` (the new default), prettify preserves
@@ -852,11 +852,8 @@ Then add to root aggregation: `.aggregate(..., mymodule, mymoduleJS, mymoduleNat
852852 (hugo-theme-learn, redislabs-docs, hugo-theme-docdock)
853853 were causing warnings on ` git pull ` . No submodule paths
854854 were tracked in the tree; only ` .gitmodules ` remained
855- 71 . ** Current release is 1.12.1** — Patch release fixing three
856- prettify formatting regressions from 1.12.0: removed
857- commas between aggregate fields, kept ` } with { ` on same
858- line for types with metadata, preserved relative include
859- paths. Supersedes 1.12.0
855+ 71 . ** Current release is 1.13.1** — sbt-riddl ANSI fix and
856+ direct command invocation. Supersedes 1.13.0
86085772 . ** RiddlFileEmitter.trimTrailingNewline()** — Removes a
861858 trailing newline from the StringBuilder. Used in
862859 ` closeType ` to join ` } ` from ` emitFields ` with ` with { `
@@ -867,3 +864,30 @@ Then add to root aggregation: `.aggregate(..., mymodule, mymoduleJS, mymoduleNat
867864 instead of ` url.toExternalForm ` (absolute ` file:/// `
868865 URL). This preserves the original include path as written
869866 in the source model
867+ 74 . ** sbt-riddl rewritten with auto-download** — Plugin at
868+ ` sbt-riddl/src/.../RiddlSbtPlugin.scala ` now auto-downloads
869+ riddlc from GitHub releases, caches in
870+ ` ~/.cache/riddlc/<version>/ ` . Three-tier resolution:
871+ explicit path > download > PATH. Full command set:
872+ validate, parse, bastify, prettify, info, version. Batch
873+ .conf scanning with ` riddlcSourceDir ` /` riddlcConfExclusions ` .
874+ Pre-compile hook via ` riddlcValidateOnCompile ` . Curried
875+ ` riddlc() ` helper for one-line project config
876+ 75 . ** sbt plugin visibility: private[ plugin] ** — In sbt
877+ plugins (Scala 2.12), ` private def ` methods appear unused
878+ to the compiler because sbt macro-generated task bodies
879+ (` := ` ) reference them indirectly. Use ` private[plugin] def `
880+ to avoid "private method never used" errors
881+ 76 . ** riddlc commands don't need ` from <conf> ` ** — Individual
882+ commands like ` riddlc validate file.riddl ` work directly.
883+ The ` from ` command is only needed to load a full HOCON
884+ config. The sbt-riddl plugin extracts ` input-file ` from
885+ .conf files and invokes commands directly
886+ 77 . ** riddlc version emits ANSI codes** — Output includes
887+ ` \u001b[34m\u001b[1m[info] 1.13.0\u001b[0m ` . Use
888+ ` --no-ansi-messages ` flag and strip residual ANSI/` [info] `
889+ with regex before version parsing
890+ 78 . ** Scripted tests need pinned riddlcVersion** — Between
891+ releases, sbt-dynver produces snapshot versions like
892+ ` 1.13.0-2-hash-date ` which don't exist on GitHub. Pin
893+ ` riddlcVersion := "1.13.1" ` in scripted test build.sbt
0 commit comments