Skip to content

CHANGELOG

v0.22.2 (2025-08-18)

Bug Fixes

Resolves issue with mkdocs deployment by removing the mkdocs-click dependency.

v0.22.1 (2025-08-17)

Bug Fixes

Resolves GitHub Actions workflow issues that were preventing successful deployments.

v0.22.0 (2025-08-15)

Features

  • Restructure project organization and enhance logging (#91, f04d154)

Major project restructuring following Python best practices: - Moved core code under src/ directory - Reorganized modules into logical packages (core, db, utils) - Enhanced logging with better configuration options - Improved error handling and reporting

v0.21.0 (2025-08-10)

Features

  • Add option to disable Pydantic's model_ prefix protection (#90, a1aadd2)

Adds new configuration option to disable Pydantic's automatic model_ prefix for reserved keywords, allowing more direct mapping to database column names when needed.

v0.20.0 (2025-08-05)

Features

  • Improve array type handling in Pydantic models (#88, 7e0c0b9)

Enhances PostgreSQL array type detection and mapping to Python types: - Better handling of multi-dimensional arrays - Improved type annotations for arrays of complex types - Support for arrays of enums and custom types

v0.19.8 (2025-07-25)

Bug Fixes

  • Add common business terms to reserved column name exceptions (#87, da4be98)

Expands list of business terms exempted from keyword protection to prevent unnecessary model_ prefixes on common database column names.

v0.19.7 (2025-07-20)

Bug Fixes

  • Upgrade urllib3 from 2.3.0 to 2.5.0 (#83, 79c9c0c)

Security update to address vulnerabilities in urllib3.

v0.19.6 (2025-07-15)

Bug Fixes

  • Update requests to >=2.32.4 to address security vulnerability (#82, 5c77f85)

Security update to address vulnerabilities in the requests library.

v0.19.5 (2025-07-01)

Bug Fixes

Resolves an issue where a KeyError could occur during debug printing operations.

v0.19.4 (2025-05-22)

Bug Fixes

  • Incorrect tox placement in pyproject.toml (#79, 5036905)

v0.19.3 (2025-05-22)

Bug Fixes

v0.19.2 (2025-05-22)

Bug Fixes

  • gen: Gracefully handle missing ruff during code generation (#77, cec7784)

  • fix(gen): Gracefully handle missing ruff during code generation

The format_with_ruff utility now catches FileNotFoundError if the ruff executable is not found in the environment. Instead of crashing, it prints a warning and skips the formatting step.

This allows the sb-pydantic gen command to complete successfully even when ruff (a dev dependency) is not installed, improving robustness for users who install supabase-pydantic as a library.

  • refactor: Add RuffNotFoundError for catching in parent

  • fix(cli): resolve configuration loading and CLI test failures

  • Improve configuration loading to locate pyproject.toml in parent directories - Modify option defaults to avoid Click initialization errors - Fix clean command to handle configuration properly

  • Ensure CLI returns expected exit codes when invoked without commands - Restore expected output messages for test compatibility

v0.19.1 (2025-04-30)

Bug Fixes

v0.19.0 (2025-04-30)

Features

  • cicd: Integrate tox for py3.{10,11,12,13} validation in cicd (#75, efe0c88)

  • refactor: rm .python-version

  • chore: Remove poc

  • feat: Integrate tox for multiple Python versions

  • feat(cicd): Add tox action(s) for testing with multiple versions

  • fix: Potential fix for code scanning alert no. 6: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI 62310815+github-advanced-security[bot]@users.noreply.github.com

Signed-off-by: kmbhm1 kmbhm1@gmail.com

  • fix: Failing dependency install

  • fix: Remove dev dependency installation from multi-version tests

  • fix: Quotes in pip instal

  • chore: Update poetry lock


v0.18.3 (2025-04-28)

Bug Fixes

  • security: Limit GitHub Actions workflow permissions (#74, 7465830)

Adds explicit read-only permissions to the build job in python-publish.yml to follow least privilege principle and address GitHub security alert.

v0.18.2 (2025-04-28)

Bug Fixes

  • Bug Annotated imported incorrectly (#73, 41f911c)

  • fix: Incorrect Annotated addition * test: Add test for condition


... and so on. For the full changelog, please see the releases page.