From 2c57d8ba505ad120db52889535074309f6cb92c4 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 29 Oct 2025 19:47:13 -0500 Subject: [PATCH 1/2] fix: exclude user password from continuum versioning --- pyproject.toml | 2 +- .../versions/989392cc191d_remove_password.py | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 src/wutta_continuum/db/alembic/versions/989392cc191d_remove_password.py diff --git a/pyproject.toml b/pyproject.toml index 6f1fe7f..f2dbec6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ requires-python = ">= 3.8" dependencies = [ "SQLAlchemy-Continuum", - "WuttJamaican[db]>=0.17.0", + "WuttJamaican[db]>=0.24.1", ] diff --git a/src/wutta_continuum/db/alembic/versions/989392cc191d_remove_password.py b/src/wutta_continuum/db/alembic/versions/989392cc191d_remove_password.py new file mode 100644 index 0000000..545f75a --- /dev/null +++ b/src/wutta_continuum/db/alembic/versions/989392cc191d_remove_password.py @@ -0,0 +1,37 @@ +"""remove password + +Revision ID: 989392cc191d +Revises: 0a5f8ac0cd06 +Create Date: 2025-10-29 19:42:52.985167 + +""" + +from typing import Sequence, Union + +from alembic import op +import sqlalchemy as sa +import wuttjamaican.db.util + + +# revision identifiers, used by Alembic. +revision: str = "989392cc191d" +down_revision: Union[str, None] = "0a5f8ac0cd06" +branch_labels: Union[str, Sequence[str], None] = None +depends_on: Union[str, Sequence[str], None] = None + + +def upgrade() -> None: + + # user + op.drop_column("user_version", "password") + + +def downgrade() -> None: + + # user + op.add_column( + "user_version", + sa.Column( + "password", sa.VARCHAR(length=60), autoincrement=False, nullable=True + ), + ) From b858ba17936f922227972cb2a5c7ccc4b306ec3b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 29 Oct 2025 19:47:34 -0500 Subject: [PATCH 2/2] =?UTF-8?q?bump:=20version=200.2.1=20=E2=86=92=200.2.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab6d44e..0e3522c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to Wutta-Continuum will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v0.2.2 (2025-10-29) + +### Fix + +- exclude user password from continuum versioning + ## v0.2.1 (2025-10-29) ### Fix diff --git a/pyproject.toml b/pyproject.toml index f2dbec6..aa500d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "Wutta-Continuum" -version = "0.2.1" +version = "0.2.2" description = "SQLAlchemy-Continuum versioning for Wutta Framework" readme = "README.md" authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]