Skip to content

Releases: BeardedWonderDev/st-migrate-go

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 11 Dec 23:24

v0.2.4 - 2023-10-01

This release introduces a new no-close store wrapper, enhancing the flexibility of database management in your application.

Added

  • Added a SkipCloseDB option for SQLite, allowing users to avoid unnecessary closing of the database connection.
  • Implemented a no-close store wrapper to streamline database operations without enforced closure.
  • Built a migrate driver from the configuration database and added helper constructors for improved migrations.

Changed

  • Enhanced interaction models for database operations to better support the new no-close functionalities.

Deprecated

  • None.

Removed

  • None.

Fixed

  • None.

Security

  • None.

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 11 Dec 20:02

v0.2.3 - 2023-10-15

This release enhances the stability and security of the migration process by normalizing the migration handling of versions and improving the initialization safeguards for supertokens.

Changed

  • Normalized handling of nil versions during migration to ensure consistent behavior across the application.
    • Commit: d060c8381edf9c74b117126585154a8862529a04

= Security

  • Implemented guard mechanisms during the initialization of supertokens to prevent incorrect configurations that could lead to security vulnerabilities.
    • Commit: d060c8381edf9c74b117126585154a8862529a04

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 11 Dec 18:58

v0.2.2 - 2023-10-15

This release includes enhancements to the migration functionality, particularly around error handling and custom table support, improving the overall user experience during database migrations.

Added

  • Add helper to build migrate drivers with custom table
    • 88febc5: Add helper to build migrate drivers with custom table ( <>)

Changed

  • Test wrap migrate database helper errors
    • 601e475: Test wrap migrate database helper errors ( <>)

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 11 Dec 17:19

v0.2.1 - 2023-10-15

This release introduces structured logging and error reporting, enhancing the visibility of the application's operational behavior and improving the user experience with clearer error messages.

Added

  • Structured logging capabilities to the application, allowing for better tracking and understanding of events during execution.
    • 6f1082d: Add structured logging and error reporting

Fixed

  • Corrected the license link in the README to properly reference the Apache License 2.0.

Security

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 11 Dec 04:02

v0.2.0 - 2023-10-20

This release introduces the new migrate-to-version command and API, enhancing the functionality of the migration tool and improving environment variable handling.

Added

  • Implemented the migrate-to-version command and its corresponding API to allow users to specify target migration versions.
    • c0ea78b: feat: add migrate-to-version command and API

Fixed

  • Corrected issues with environment variable handling to ensure proper functionality across different setups.

v0.1.0

Choose a tag to compare

@BeardedWonderDev BeardedWonderDev released this 11 Dec 01:18

[0.1.0] - 2025-12-11

Added

  • SDK exposing migration runner with schema-versioned parsing and SuperTokens executor.
  • CLI (cmd/st-migrate-go) with up/down/status/create commands, default file source, file-based state store, and registered migrate drivers for postgres/mysql/sqlite.
  • Durable file-backed state store plus in-memory option and migrate driver adapter for state.
  • Schema registry with v1 parser and migration runner aligned to golang-migrate ordering.
  • Scaffolding helper for paired up/down YAML migrations.
  • GitHub Actions workflow to run ok github.com/BeardedWonderDev/st-migrate-go/cmd/st-migrate-go (cached)
    ? github.com/BeardedWonderDev/st-migrate-go/internal/create [no test files]
    ? github.com/BeardedWonderDev/st-migrate-go/internal/executor [no test files]
    ok github.com/BeardedWonderDev/st-migrate-go/internal/migration (cached)
    ok github.com/BeardedWonderDev/st-migrate-go/internal/schema (cached)
    ? github.com/BeardedWonderDev/st-migrate-go/internal/state [no test files]
    ? github.com/BeardedWonderDev/st-migrate-go/internal/state/file [no test files]
    ? github.com/BeardedWonderDev/st-migrate-go/internal/state/memory [no test files]
    ? github.com/BeardedWonderDev/st-migrate-go/sdk [no test files] on pushes/PRs.

Changed

  • README rewritten to match template style, documenting CLI/SDK usage and driver wrapping example.
  • Docs plan updated to reflect implemented components and defaults.

Removed

  • Template placeholder files (BLANK_README.md, LICENSE.txt) from the repo root.