From 1e3d504b6bda9b2d792c42cb5e75689c34b9a075 Mon Sep 17 00:00:00 2001 From: memo Date: Mon, 25 Mar 2024 20:05:57 +0100 Subject: [PATCH] bump version to 0.4.1, bump scheme version to 3 --- CHANGELOG.md | 6 +++++- build.sbt | 2 +- src/main/scala/sc4pac/Constants.scala | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd6b70a..42a3fea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## [Unreleased] + + +## [0.4.1] - 2024-03-25 ### Added - support for extracting `.rar` files @@ -63,7 +66,8 @@ ## [0.1.5] - 2023-09-26 … -[Unreleased]: https://github.com/memo33/sc4pac-tools/compare/0.4.0...HEAD +[Unreleased]: https://github.com/memo33/sc4pac-tools/compare/0.4.1...HEAD +[0.4.1]: https://github.com/memo33/sc4pac-tools/compare/0.4.0...0.4.1 [0.4.0]: https://github.com/memo33/sc4pac-tools/compare/0.3.0...0.4.0 [0.3.0]: https://github.com/memo33/sc4pac-tools/compare/0.2.0...0.3.0 [0.2.0]: https://github.com/memo33/sc4pac-tools/compare/0.1.5...0.2.0 diff --git a/build.sbt b/build.sbt index 3b1be57..6438296 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ name := "sc4pac" ThisBuild / organization := "io.github.memo33" -ThisBuild / version := "0.4.1-SNAPSHOT" +ThisBuild / version := "0.4.1" // ThisBuild / versionScheme := Some("early-semver") diff --git a/src/main/scala/sc4pac/Constants.scala b/src/main/scala/sc4pac/Constants.scala index 8dbfb6c..ace3b98 100644 --- a/src/main/scala/sc4pac/Constants.scala +++ b/src/main/scala/sc4pac/Constants.scala @@ -14,7 +14,11 @@ object Constants { val sc4fileTypePattern = Pattern.compile("""\.dat|\.sc4model|\.sc4lot|\.sc4desc|\.sc4|\.dll$""", Pattern.CASE_INSENSITIVE) val versionLatestRelease = "latest.release" val defaultChannelUrls = Seq(MetadataRepository.parseChannelUrl("https://memo33.github.io/sc4pac/channel/").toOption.get) - val currentChannelScheme = 2 // version number (incrementing this forces everyone accessing the channel to install a newer sc4pac version) + // scheme version history: + // 1: initial version + // 2: DLL support and single-file assets + // 3: rar support + val currentChannelScheme = 3 // version number (incrementing this forces everyone accessing the channel to install a newer sc4pac version) val bufferSizeExtract = 64 * 1024 // 64 kiB, bounded by disk speed val bufferSizeDownload = 1024 * 1024 // 1 MiB, bounded by download speed val bufferSizeDownloadOverlap = 4 * 1024 // for file validity check when resuming partial download