Releases: cloudfoundry-community/ocf-scheduler
Releases · cloudfoundry-community/ocf-scheduler
v2.0.0
What's Changed
- Upgraded Go toolchain and module to Go 1.24.6 (from 1.22 / Docker 1.17 images).
- Updated all Dockerfiles to golang:1.24.6-alpine and modernized dependency step (go mod download).
Others
- Added pre-insert uniqueness check for Calls on (name, app_guid).
- Added ScheduleService tests, CallService duplicate-name test adjustment, GenGUID test.
- Added HTTP auth handler tests for GET /calls/:guid (401/404/200 scenarios).
- Fixed vet warning (static error strings now use errors.New).
- Improved Dockerfile package install (apk --no-cache) and removed deprecated go get ./...
Full Changelog: v1.0.3...v2.0.0
v1.0.3
What's Changed
- correct env var name by @itsouvalas in #5
Fixed
- Environment Variable Naming: Corrected the environment variable name from
workerNum(camelCase) toWORKER_NUM(uppercase). This change ensures consistency with standard environment variable naming conventions.
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
- Improve logging and worker count selection by @itsouvalas in #4
New Features
- Enhanced Logging Capabilities:
- Added
Debuglogging level toAuthServiceandLogServiceto provide more granular logging information. - Log levels can now be configured via the
LOG_LEVELenvironment variable, allowing for dynamic adjustment of logging verbosity.
- Added
Improvements
- Worker Pool Configuration:
- The number of workers in the scheduler can now be set via the
workerNumenvironment variable. Defaults to 20 if not specified.
- The number of workers in the scheduler can now be set via the
Dependency Updates
- Security and Performance Enhancements:
- Updated
github.com/labstack/echo/v4to v4.9.0. - Updated
golang.org/x/netto v0.21.0 to address known vulnerabilities. - Updated
golang.org/x/cryptoto v0.25.0. - Updated
golang.org/x/systo v0.22.0. - Updated
golang.org/x/textto v0.16.0. - Updated
gopkg.in/yaml.v3to v3.0.1.
- Updated
Bug Fixes
- Verification Process:
- Improved logging within the
AuthService.Verifymethod to include detailed debug information, aiding in troubleshooting and ensuring smoother operations.
- Improved logging within the
Configuration Changes
- Logging Configuration:
- Log levels (
debug,info,error) can now be set using theLOG_LEVELenvironment variable. Default isinfoif not specified.
- Log levels (
General Maintenance
- Module Cleanup:
- Ran
go mod tidyto clean up the module files and ensure all dependencies are correctly managed.
- Ran
Summary
This release focuses on improving logging capabilities and updating dependencies to enhance security and performance. The addition of configurable log levels and an adjustable worker pool size provides greater flexibility and control over the application’s behavior.
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- Improvements on Auth by @itsouvalas in #1
- Address performance issues by @itsouvalas in #2
New Contributors
- @itsouvalas made their first contribution in #1
Full Changelog: v0.1.0...v1.0.1
ocfp-scheduler v0.1.0
Improvements
- Recompiled against Go v1.20 on Ubuntu Jammy to resovle CVEs impacting previous versions of libraries and OS.
v1.0.0
THIS RELEASE HAS BEEN CANCELED
Improvements
- Refactored internals for improved workflow and maintainability
- Recompiled against Go v1.20 on Ubuntu Jammy to resovle CVEs impacting previous versions of libraries and OS.
Bug Fixes
- The call and job deletion routes now calls the correct workflow and reacts on the result thereof.
- Resolved the exit-after-defer issue