2024-06-01 17:26:16 +02:00
|
|
|
package obioptions
|
|
|
|
|
|
2026-02-05 17:38:47 +01:00
|
|
|
// Version is automatically updated by the Makefile from version.txt
|
|
|
|
|
// The patch number (third digit) is incremented on each push to the repository
|
2024-06-01 17:26:16 +02:00
|
|
|
|
4.4.27: Static Linux builds, memory-aware batching, and build toolchain upgrades
This release includes significant improvements to resource management, build reliability, and portability.
### Memory-Aware Batching (Backward Compatible)
- Added configurable batch size and memory limits to prevent excessive memory usage during large dataset processing.
- Introduced a new `--batch-mem` command-line option (e.g., `128K`, `64M`, `1G`) to enable adaptive batching based on estimated sequence memory footprint.
- Internal batching logic now flushes batches when either size or memory thresholds are exceeded, ensuring predictable behavior.
- Conservative memory estimation and explicit garbage collection after large batch discards improve resource efficiency.
### Linux Build Enhancements
- Enabled static linking for Linux binaries using musl, producing self-contained executables with no external runtime dependencies.
- Refined cross-compilation toolchain to use architecture-specific CGO header paths, improving reliability across target architectures.
- Switched Linux builds to use Docker-based static compilation for consistency and reproducibility.
### Build System & Toolchain Improvements
- Upgraded Go toolchain to 1.26, with updated dependencies including golang.org/x/net v0.38.0.
- Fixed Makefile quoting for LDFLAGS to handle paths containing spaces.
- Enhanced build error handling to display logs before cleanup on failure.
- Improved install script with correct environment variable setup (GOROOT, GOPATH, GOTOOLCHAIN) and added progress indicators for downloads.
Note: All batching behavior remains non-breaking, with default constraints ensuring safe processing of large datasets.
2026-03-14 11:43:42 +01:00
|
|
|
var _Version = "Release 4.4.27"
|
2024-06-01 17:26:16 +02:00
|
|
|
|
|
|
|
|
// Version returns the version of the obitools package.
|
|
|
|
|
//
|
|
|
|
|
// No parameters.
|
|
|
|
|
// Returns a string representing the version of the obitools package.
|
|
|
|
|
func VersionString() string {
|
2026-02-05 17:38:47 +01:00
|
|
|
return _Version
|
2024-06-01 17:26:16 +02:00
|
|
|
}
|