Releases: NickSalA/pactus-backend
Release list
v0.10.0
v0.10.0 (2026-07-11)
Features
- Add support for TEST_DATABASE_URL environment variable to override database connection strings (
360397f)
Detailed Changes: v0.9.0...v0.10.0
v0.9.0
v0.9.0 (2026-07-11)
Features
- Implement environment mock keys for testing and restrict CI workflow execution to feat/fix commits (
a13560c)
Detailed Changes: v0.8.1...v0.9.0
v0.8.1
v0.8.1 (2026-07-11)
Bug Fixes
- Update CORS origin URL by removing trailing slash (
1cc7527)
Continuous Integration
-
Add GitHub Actions workflow for linting, type checking, and testing with Postgres service (
b97467f) -
Include develop branch in workflow triggers (
b5af5b7)
Detailed Changes: v0.8.0...v0.8.1
v0.8.0
v0.8.0 (2026-07-08)
Features
-
Add acronym matching for company name resolution in party lookup and query filters (
4361298) -
Improve party extraction to handle descriptive contract queries (
8d1050e)
Detailed Changes: v0.7.0...v0.8.0
v0.7.0
v0.7.0 (2026-07-06)
Bug Fixes
-
Delete all azure openai service references and calls (
ec16a30) -
Handle PayPal unavailable gracefully in subscription check (
10b8733) -
Implement paywall guard with router-level dependency and 10min cache (
1cd884f)
Features
-
Add AI token usage audit router and reporting endpoints (
3d8910a) -
Add ClientValidationMiddleware for enhanced request origin and security header validation (
32e08fe) -
Add health endpoint, implement Azure Key Vault secrets provider, and optimize dockerignore file (
7a909c4) -
Add paypal subscription provisioning (
599ea72) -
Add subscription validation via PayPal API on user login (
2fc8fa7) -
Implement AI token usage tracking and quota management system across core services. (
930b946) -
Persist paypal subscription on organizations (
ff74361) -
Track and accumulate token usage across agent graph states (
d811b48)
Refactoring
-
Centralize token cost calculation in the audit module and add InvalidIntegrationPayloadError (
e683343) -
Decouple job orchestration logic into a dedicated service and module structure (
1169200) -
Migrate project structure from contractai_backend to pactus_backend (
a34ef4e) -
Replace generic HTTPExceptions with domain-specific exceptions and update integration tests (
d59b28d) -
Transition to uv for dependency management, modernize Docker build process, and update internal module imports (
d0f5663) -
Update module imports to use relative paths and update project dependencies (
4d4e301) -
Update settings to resolve secrets via SecretsRegistry and simplify secret retrieval logic (
f8d3a1a)
Testing
-
Add subscription paywall and rate limit validation (
2f7e3fd) -
Cover paypal subscription confirmation (
9a55396)
Detailed Changes: v0.6.0...v0.7.0
v0.6.0
v0.6.0 (2026-06-20)
Bug Fixes
- Align audit actions with database enums (
aa6801f)
Features
-
Add contracts audit endpoint (
5d775f9) -
Add contracts audit tests (
0012e48) -
Add template activity auditing module, consolidate audit routers, and optimize database sorting queries with explicit column references (
88de974) -
Improve field type inference and placeholder generation for identifiers and monetary values (
4aa4eb5) -
Introduce BigIntBaseTable, add TemplateActivityTable, and define new audit action value objects (
df5d9aa) -
Migrate google drive provider to drive file (
f7fc31b)
Refactoring
-
Centralize template generation patterns and rules into domain module (
286a6c1) -
Centralize text normalization utilities in shared module and update template services to use them (
419273c) -
Decouple audit repositories into separate modules and implement template activity tracking service (
68826f2) -
Decouple template generation prompts into a standalone infrastructure module for improved maintainability (
f4ea7fd) -
Introduce actor-based authentication in TemplateAuthoringService and integrate template activity logging. (
1aae439) -
Migrate draft generation and reference validation logic into new dedicated service classes (
00f5d05) -
Move regex patterns to domain layer and remove unused template creation endpoints and DTOs (
52ed1eb) -
Remove token usage tracking functionality and associated dependencies (
d7c11eb) -
Simplify API error handling by delegating validation to schemas and removing redundant try-except blocks (
c082d14)
Testing
-
Add QA coverage for audit GET and Google Drive OAuth (
caeb6fe) -
Add security authorization QA coverage (
36aa66c)
Detailed Changes: v0.5.0...v0.6.0
v0.5.0
v0.5.0 (2026-06-11)
Bug Fixes
-
Avoid dynamic SQL in checkpointer setup (
2d30636) -
Fix request data from PATCH endpoint for user management (
7fdc6fa) -
Use build helper for user activity service and delete redundant routing (
c64b7cd)
Chores
Features
-
Add chatbot audit endpoint (
0cf032c) -
Add database schema constants (
b92aefc) -
Add PATCH and DELETE endpoints for user management in admin module (
6ded376) -
Add user audit endpoint (
5738958) -
Fix wrong field on chatbot audit endpoint (
fe2eed8) -
Implement soft delete functionality and custom exception for user not found (
2305dff) -
Qualify domain models with database schemas (
8ea650b) -
Use schema-qualified database operations (
c36c6fb)
Testing
Detailed Changes: v0.4.0...v0.5.0
v0.4.0
v0.4.0 (2026-06-02)
Bug Fixes
-
Address race conditions and improve job tracking in Drive imports (
fb9acf8) -
Prevent chart extraction from traversing past user messages in conversation history (
e041ba2) -
Update schemas for new fields on contracts (
bb86dda)
Features
-
Add conversation history CRUD (
f066f44) -
Add new get endpoint for job tracking (
3b74a3a) -
Implement conversation update and deletion endpoints with infrastructure repository methods (
1c2414a) -
Implement conversation update and deletion with database error handling and validation (
ccd80e3) -
Implement conversation update title and delete functionality with tests and project documentation (
c542ba2) -
Implement TokenUsageService for managing token usage analytics and update related schemas and routers (
61a2a67) -
Introduce custom exceptions for dashboard operations and update error handling (
945deb0) -
chatbot: Enhance dashboard chart functionality with new handlers and schema updates (
0cdd187) -
chatbot: Implement token usage tracking and related endpoints (
920e467) -
chatbot: Integrate dashboard chart tool and update message handling to include chart data (
3338e3e)
Refactoring
- Refactor chatbot tools and access management (
1e25bff)
Detailed Changes: v0.3.0...v0.4.0
v0.3.0
v0.3.0 (2026-05-26)
Bug Fixes
-
Adjust bd tool for new bd schema (
ebaba98) -
Modify prompt and add new DTOs for specific contracts (
b3fde95) -
Prevent null avatar_url overwrite during auth sync (#16,
e62e26f)
Features
-
Add labor retention and contract origin dashboards with associated queries and services (
7e27e61) -
Add superadmin organization magangment (
5e6b527) -
Add superadmin role (
154793a) -
Add superadmin role (
577d6f1) -
Add tests for SQLModelFolderRepository and ensure ordering in get_all method (
8e08938) -
Enhance chatbot exceptions and prompts for improved error handling and dynamic responses (
cb9d9eb) -
Enhance organization and folder repositories with pagination and filtering options (
94c3e18) -
Implement B2B client loyalty dashboard with KPIs, tenure distribution, and renewal trends (
5e91a1d) -
Implement CRUD operations for organizations with appropriate access control (
093c543) -
Introduce custom exceptions for template management and refactor error handling in services (
1d359cb) -
Provision organization admin transactionally (
e7b6584) -
Simplify organization listing by condensing service call parameters (
942181b)
Refactoring
-
Implement document access resolution and pattern matching utilities for chatbot agent (
58f553b) -
Implement PostgreSQL repository for dashboard analytics with query mixins for alerts, charts, contracts, and rankings (
80dbd05) -
Improve code structure and readability in chatbot and document modules (
8dd1cd9) -
Restructure dashboard application services with mixins for alerts, charts, contracts, and rankings (
d022c96)
Detailed Changes: v0.2.0...v0.3.0
v0.2.0
v0.2.0 (2026-05-19)
Bug Fixes
-
Allow worker to access company dashboards (
486d3bd) -
Enable from_attributes in model validation for template router responses and add corresponding unit tests (
4bc5d69)
Code Style
- Update VENCEN PROXIMOS alert colors to red palette (
06ce8b4)
Features
-
Add dashboard analytics endpoints (
38bb81c) -
Add dashboard module structure (
ce5170c) -
Add pagination support to document listing and retrieval endpoints (
9864074) -
Enhance dashboard endpoints with currency filtering and sorting options (
6ded672) -
Implement SQLModel-based document command and query repositories (
b60bd09) -
Implement TemplatePlaceholderGenerator for dynamic placeholder generation (
3ede7aa)
Refactoring
-
Move RelationalHelpersMixin to core infrastructure and update imports (
8315d6d) -
Optimize string handling and validation across multiple modules (
f868a72) -
Remove Azure Key Vault dependency in favor of environment variable configuration for application settings (
834279b) -
Streamline conditional expressions and improve readability across multiple services (
6279e49) -
Update auth service logic, improve Azure secret error handling, and adjust storage path structure (
32d26d8) -
Update Pydantic validation to use from_attributes and fix dashboard repository joins while adding folder module tests (
b6e0764) -
auth: Align user and chatbot dependencies (
28f2b8c) -
catalog: Align scoped resources with contract model (
11972bc) -
core: Centralize shared app configuration (
b717f67) -
dashboard: Update analytics for contract subtypes (
1b3da78) -
documents: Split contract details from document records (
e985a2a) -
integrations: Route imports through document composition (
37a924d) -
notifications: Decouple alerts from document entities (
5aff129) -
templates: Return generated contract document responses (
e0fcf8b)
Testing
-
Add contracts and dashboard coverage (
2daeeff) -
Add dashboard module coverage (
e6c5977) -
Update coverage for split contract backend (
f22554b) -
Update DATABASE_SSL_VERIFY default assertion to False (
267cbed)
Detailed Changes: v0.1.0...v0.2.0