v3.1.0 - Release version 3.1.0#152
Merged
Merged
Conversation
added 30 commits
April 8, 2026 20:20
Port the initializationSql feature from mysql-mcp for cross-project parity. - Add initializationSql?: string[] to ConnectionPoolConfig - Track initialized connections via WeakSet<PoolClient> for zero-GC dedup - Add applyInitializationSql() that runs SQL once per connection lifetime - Hook into getConnection() to apply init before returning client - Reroute query() through getConnection() for full init coverage - Fix 2 existing query error tests (mockPoolQuery → mockClientQuery) - Add 5 new unit tests: no-op, once-per-conn, query path, failure, empty - Update UNRELEASED.md and code-map.md documentation
…rectory Move migration Zod schemas to dedicated schemas/migration/ directory. Update imports in core-exports.ts and introspection barrel. Completes migration tool group restructuring for mysql-mcp parity.
Add 9 security tools: pg_security_audit, pg_security_firewall_status, pg_security_firewall_rules, pg_security_ssl_status, pg_security_encryption_status, pg_security_password_validate, pg_security_mask_data, pg_security_user_privileges, pg_security_sensitive_tables. Includes Zod schemas, handler implementations, adapter registration, Code Mode integration (pg.security.*), help resource, and full documentation sync across README, DOCKER_README, Tool-Reference, code-map, and test-server docs (248->257 tools, 22->23 groups).
- Add test-tool-group-security.md (direct, 23-item checklist) - Add test-tool-group-codemode-security.md (code mode, 23-item checklist) - Add test-tools-advanced-security.md (advanced, 14 stress tests across 6 categories) - Update READMEs: prompt counts 27->28, 28->29, 28->29 - Update test-results.md: add security rows + monitoring pairing
- Add roles tool group: management, privileges, session (12 tools) - Add Zod schemas (roles.ts) and wire into tool registry - Add Code Mode API (pg.roles.*) with aliases - Add server instructions (roles.md) and regenerate constants - Update capabilities.ts (totalTools: 269, totalPrompts: 20) - Sync README, DOCKER_README, code-map, Tool-Reference, test-server - Update tool-filter test to 24 groups - Fix UNRELEASED.md with roles changelog entry
- Add test-tool-group-roles.md (Direct MCP, 29 checklist items) - Add test-tool-group-codemode-roles.md (Code Mode, 29 items) - Add test-tools-advanced-roles.md (Advanced Stress, 15 items / 6 categories) - Update READMEs: prompt counts (28->29, 29->30, 29->30) - Update test-results: add TBD rows, update safe pairs - Roles tools: role CRUD, privilege grants, membership, RLS, SET ROLE
…umentation audit - Add 9 NoSQL-style JSONB document collection tools: pg_doc_list_collections, pg_doc_create_collection, pg_doc_drop_collection, pg_doc_collection_info, pg_doc_find, pg_doc_add, pg_doc_modify, pg_doc_remove, pg_doc_create_index - Add Zod schemas, Code Mode bridge (pg.docstore.*), resource, prompt, help - Update code-map.md, Tool-Reference.md, README.md, DOCKER_README.md - Update tool-constants.ts header (248->278), all counts (269->278 tools, 24->25 groups, 22->23 resources, 20->21 prompts) - Verified: tsc 0 errors, eslint 0 errors, Docker README 23,246/25,000 chars
- Add test_documents seed collection (5 JSONB docs) to test-database.sql - Add test_documents verification to reset-database.ps1 - Create test-tool-group-docstore.md (Direct MCP, 31 items) - Create test-tool-group-codemode-docstore.md (Code Mode, 26 items) - Create test-tools-advanced-docstore.md (Advanced, 15 items, 6 categories) - Update all 3 READMEs with counts (30/31/31 prompts) - Update all 3 test-results.md with docstore tracking rows - Update test-server/README.md (25 groups, 278 tools, schema+group rows)
…nsure accurate P154 error reporting
…mode certification
added 25 commits
May 13, 2026 23:28
…g extension error
…t objects - Enforced strict canonical Schema X does not exist and Table X does not exist messages in helpers.ts - Updated performance.test.ts assertions to expect the new canonical strings - Logged changes in UNRELEASED.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Highlights
hono,ip-address, andfast-urito address known vulnerabilities.Added
initializationSqlconfig to safely execute session setup queries on connection checkout.Changed
typescript,eslint,zod,jose,@playwright/test,vitest).pg_schema_snapshotand addedexcludeparameter topg_list_views.Fixed
Security
honoto4.12.18,ip-addressto10.2.0, andfast-urito3.1.2via package overrides.View Full Changelog: v3.0.7...v3.1.0