Skip to content

Releases: cloudfoundry-community/ocf-scheduler

v2.0.0

11 Aug 14:02

Choose a tag to compare

v2.0.0 Pre-release
Pre-release

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

01 Aug 10:58
7ec07b0

Choose a tag to compare

What's Changed

Fixed

  • Environment Variable Naming: Corrected the environment variable name from workerNum (camelCase) to WORKER_NUM (uppercase). This change ensures consistency with standard environment variable naming conventions.

Full Changelog: v1.0.2...v1.0.3

v1.0.2

31 Jul 13:09
ecc823c

Choose a tag to compare

What's Changed

  • Improve logging and worker count selection by @itsouvalas in #4

New Features

  • Enhanced Logging Capabilities:
    • Added Debug logging level to AuthService and LogService to provide more granular logging information.
    • Log levels can now be configured via the LOG_LEVEL environment variable, allowing for dynamic adjustment of logging verbosity.

Improvements

  • Worker Pool Configuration:
    • The number of workers in the scheduler can now be set via the workerNum environment variable. Defaults to 20 if not specified.

Dependency Updates

  • Security and Performance Enhancements:
    • Updated github.com/labstack/echo/v4 to v4.9.0.
    • Updated golang.org/x/net to v0.21.0 to address known vulnerabilities.
    • Updated golang.org/x/crypto to v0.25.0.
    • Updated golang.org/x/sys to v0.22.0.
    • Updated golang.org/x/text to v0.16.0.
    • Updated gopkg.in/yaml.v3 to v3.0.1.

Bug Fixes

  • Verification Process:
    • Improved logging within the AuthService.Verify method to include detailed debug information, aiding in troubleshooting and ensuring smoother operations.

Configuration Changes

  • Logging Configuration:
    • Log levels (debug, info, error) can now be set using the LOG_LEVEL environment variable. Default is info if not specified.

General Maintenance

  • Module Cleanup:
    • Ran go mod tidy to clean up the module files and ensure all dependencies are correctly managed.

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

14 Jun 22:22
810e867

Choose a tag to compare

v1.0.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.1.0...v1.0.1

ocfp-scheduler v0.1.0

23 Jul 21:49

Choose a tag to compare

Improvements

  • Recompiled against Go v1.20 on Ubuntu Jammy to resovle CVEs impacting previous versions of libraries and OS.

v1.0.0

13 Jul 21:48

Choose a tag to compare

v1.0.0 Pre-release
Pre-release

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