Skip to content

Release 2.0.3: native cmdlets, engine hardening and verified documentation - #39

Merged
cmartineztech merged 12 commits into
mainfrom
dev
Nov 4, 2026
Merged

cmartineztech merged 12 commits into
mainfrom
dev

Conversation

@cmartineztech

Copy link
Copy Markdown
Owner

Promote the verified 2.0.3 changes from dev to main.

  • Add the 22-function PowerShell adapter and 7 aliases with pipeline identity, scoped transactions and ShouldProcess support.
  • Preserve document/filter AND semantics, reject empty unkeyed delete filters, resolve relative backup destinations and exclude auxiliary tables from collection groups.
  • Preserve native numeric guards and document their secondary-index performance tradeoff.
  • Update service examples, release notes and audit attribution. The final Sol review of e93d1ac scored 93.75/100, rounded to 94/100.
  • Point the Gallery version/download badges and installation link to https://www.powershellgallery.com/packages/PSLocalBase. The downloads badge remains dynamic; the source currently reports total downloads as 0, while the package page reports 8 for version 2.0.2.

Validation completed locally for the reviewed engine commit e93d1ac:

  • 22/22 suites passed in PowerShell 7.6.9 and 22/22 in Windows PowerShell 5.1.26100.9843, without retries.
  • Playground verification passed in both editions.
  • PSScriptAnalyzer 1.25.0 reported zero errors/warnings; the module manifest validated.
  • Additional deletion, rollback and SQLite integrity checks passed.

Subsequent commits change documentation only. The PR CI must pass for the current head before final approval.

…d complete cmdlets pipeline integration

- Add pslocalbase_numeric native C# callback (BridgeVersion 5) for safe binary64/Int64 boundary comparisons
- Combine doc() and where() constraints with AND semantics across reads and deletes; reject filtered mutations
- Enforce strict UTF-16 byte and JSON depth limits during serialization
- Support full operator normalization for 'not-like' alongside 'not-in'
- Complete 22 native PowerShell cmdlets with pipeline streaming, WhatIf/Confirm support, and ambient session lifecycle
- Add comprehensive test suites for contracts, cmdlets, and second-review hardening regressions
- Update documentation, changelog, and CI workflows
- Remove-LocalBaseDocument: combine -Id and -Filter with logical AND semantics
- Backup-LocalBaseDatabase: resolve relative paths via SessionState provider path
- collectionGroup: qualify tables with _IsDocumentTable to ensure key/doc columns exist
- Docs: synchronize cmdlet (22) and suite (22) counts across all docs
- Tests: add regression coverage for relative backup, combined deletion, and non-doc group tables
- Remove-LocalBaseDocument: reject empty -Filter when deleting without -Id
- _DOCS/CMDLETS.md: convert service enums to string and fix mixed-mode update example
- _DOCS/CMDLETS.md: fix alias listing command to Get-Command -CommandType Alias
- SECURITY.md: update minimum BridgeVersion to 5
- README.md: update remaining runner counts to 22 suites and label v2 scorecard as historical
- _TESTS/PSLocalBase.Cmdlets.Tests.ps1: add regression test for empty filter rejection
@cmartineztech
cmartineztech merged commit fe483b3 into main Nov 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant