Skip to content

Commit

Permalink
bump version to 0.4.1, bump scheme version to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
memo33 committed Mar 25, 2024
1 parent 0149f63 commit 1e3d504
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

## [Unreleased]


## [0.4.1] - 2024-03-25
### Added
- support for extracting `.rar` files

Expand Down Expand Up @@ -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
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 @@ name := "sc4pac"

ThisBuild / organization := "io.github.memo33"

ThisBuild / version := "0.4.1-SNAPSHOT"
ThisBuild / version := "0.4.1"

// ThisBuild / versionScheme := Some("early-semver")

Expand Down
6 changes: 5 additions & 1 deletion src/main/scala/sc4pac/Constants.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e3d504

Please sign in to comment.