This repository was archived by the owner on May 14, 2025. It is now read-only.
Repository navigation
Releases
Releases · onegreyonewhite/easyrest-plugin-postgres
v0.5.3
Changelog:
- Update: Upgrade easyrest dependency to v0.8.8 for enhanced functionality.
- Update: Upgrade golang.org/x/crypto to v0.38.0, golang.org/x/net to v0.40.0, golang.org/x/sync to v0.14.0, golang.org/x/sys to v0.33.0, and golang.org/x/text to v0.25.0 for improved performance and security.
- Update: Upgrade google.golang.org/genproto/googleapis/rpc to v0.0.0-20250505200425-f936aa4a68b2 for better compatibility.
v0.5.2
Changelog:
- Update: Upgrade easyrest dependency to v0.8.7 for improved functionality.
- Update: Upgrade google.golang.org/genproto/googleapis/rpc to v0.0.0-20250428153025-10db94c68c34.
- Refactor: Replace getTxPreference function with easyrest.GetTxPreference in TableCreate, TableUpdate, and TableDelete methods for better code organization.
v0.5.1
Changelog:
- Update: Increment version in postgres_plugin.go to v0.5.1.
- Update: Refactor SQL queries in getRPCSchema and related tests to exclude functions dependent on extensions for improved accuracy and performance.
- Test: Enhance TestGetSchema and TestGetSchemaComprehensive to reflect updated SQL query structure.
v0.5.0
Changelog:
- Update: Upgrade easyrest dependency to v0.8.3 for enhanced functionality.
- Update: Replace go-sqlmock with pgxmock for improved PostgreSQL testing.
- Update: Refactor database connection handling to utilize pgxpool for better performance and resource management.
- Update: Enhance connection parameter parsing to support additional configurations.
- Update: Increment version in postgres_plugin.go to v0.5.0.
- Test: Add comprehensive tests for connection parameter parsing and cache management.
v0.4.0
Changelog:
- Update: Upgrade easyrest dependency to v0.8.2 for enhanced functionality.
- Update: Upgrade google.golang.org/genproto/googleapis/rpc to v0.0.0-20250422160041-2d3770c4ea7f.
- Update: Upgrade google.golang.org/grpc to v1.72.0.
- Update: Refactor SQL query construction in TableGet, TableCreate, TableUpdate, and TableDelete methods for improved performance and readability.
- Fix: Enhance timezone handling by implementing a cache in the pgPlugin structure.
v0.3.3
Changelog:
- Update: Increment version in postgres_plugin.go to v0.3.3.
- Feature: Add transaction preference handling in TableCreate, TableUpdate, and TableDelete methods to support 'commit' or 'rollback' behavior.
- Update: Refactor transaction management to ensure proper rollback or commit based on user preference.
- Update: Add getTxPreference function to extract transaction preference from context.
- Update: Include goccy/go-json v0.10.5 dependency for improved JSON handling.
v0.3.2
Changelog:
- Update: Increment version in postgres_plugin.go to v0.3.2.
- Feature: Add autoCleanup parameter handling in pgCachePlugin for improved cache management.
- Update: Modify test_config.yaml to include autoCleanup parameter in the connection URI.
v0.3.0
Changelog:
- Update: Upgrade Go version to 1.24.0.
- Update: Upgrade easyrest dependency to v0.6.0.
- Feature: Implement pgCachePlugin for caching functionality with expiration management.
- Test: Add comprehensive tests for pgCachePlugin methods including Set, Get, and expiration handling.
- Chore: Update CI workflows to use Go 1.24 for testing and release processes.
v0.2.6
Changelog:
- Update: Upgrade easyrest dependency to v0.5.1.
- Update: Upgrade golang.org/x/net to v0.39.0.
- Update: Upgrade golang.org/x/text to v0.24.0.
- Update: Upgrade google.golang.org/genproto/googleapis/rpc to v0.0.0-20250407143221-ac9807e6c755.
- Update: Refactor schema.sql to drop existing triggers and functions before creating new ones for better management.
v0.2.5
Changelog:
- Update: Modify CallFunction to support SELECT * FROM funcName(...) syntax for better handling of function return types.
- Update: Enhance error handling and logging in CallFunction for improved debugging.
- Update: Change get_my_products function to return SETOF products instead of JSON.
- Update: Increment version in postgres_plugin.go to v0.2.5.