Skip to content

Releases: flum1025/sql-enum-generator

v1.0.0

22 Sep 17:57
d0cca43

Choose a tag to compare

Summary

This version adds support for integer types in enum values, includes relevant examples, and updates the Go version.

Changes

  • Feature: Added integer type support for enum values
  • Documentation: Added integer type examples to demonstrate usage
  • Infrastructure: Updated Go version from 1.23.0 to 1.25.1

Breaking Changes ⚠️

  • Generated enum types: Previously, all enum values from database master data were generated as string types. Now, numeric values in the database will be generated as integer types instead of strings.
  • Impact: This affects any existing enums where the database master data contains numeric values. The generated Go code will change from string constants to integer constants.

Full Changelog: v0.3.2...v1.0.0

v0.3.2

10 May 15:18
eec5397

Choose a tag to compare

Update:

  • Update pg_query_go

Full Changelog: v0.3.1...v0.3.2

v0.3.1

06 Jan 16:45
afe1617

Choose a tag to compare

Add:

  • Support boolean

Full Changelog: v0.3.0...v0.3.1

v0.3.0

29 Dec 05:47
3999095

Choose a tag to compare

Add:

  • Add query-generate command
    • Added capability to export master data from database when not managed as SQL files

Change:

  • Generate schema as openapi enum with x-enum-varname

Full Changelog: v0.2.1...v0.3.0

v0.2.1

28 Dec 17:56
a84b348

Choose a tag to compare

Fixed:

  • Remove unnecessary deps

Full Changelog: v0.2.0...v0.2.1

v0.2.0

28 Dec 17:48
aada714

Choose a tag to compare

Changed

  • Output Schema Structure: The structure of the generated OpenAPI schema has been updated to improve clarity and usability.

Full Changelog: v0.1.1...v0.2.0

v0.1.1

28 Dec 17:22
d1179b4

Choose a tag to compare

Fixes:

  • NULL Column Handling: Resolved an issue that caused the application to panic when encountering columns with NULL values in the SQL statements. The application now gracefully handles NULL values during parsing.

Full Changelog: v0.1.0...v0.1.1

v0.1.0

28 Dec 17:06
f52e7c3

Choose a tag to compare

This is the initial release of sql-enum-generator, a tool designed to convert SQL INSERT statements into OpenAPI schema files.

Full Changelog: https://github.com/flum1025/sql-enum-generator/commits/v0.1.0