Skip to content

Release 2.0.0 - drop SharePoint 2016/2019 support (SE-only) - #13

Merged
luigilink merged 3 commits into
mainfrom
release/2.0.0
Sep 1, 2026
Merged

luigilink merged 3 commits into
mainfrom
release/2.0.0

Conversation

@luigilink

Copy link
Copy Markdown
Owner

Fixes #12

Summary

SharePoint Server 2016 and 2019 both reached end of support on 14 July 2026. This release makes SPSCleanDependencies target SharePoint Server Subscription Edition only.

Breaking change → major version bump 1.4.0 → 2.0.0.

What changed

Code (refactor)

  • Removed the installed-build detection and the legacy Microsoft.SharePoint.PowerShell PSSnapin loading path (Get-PSSnapin / Add-PSSnapin) from SPSCleanDependencies.ps1.
  • The entry script now loads the SharePointServer module only (idempotent), guarded by a clear "SharePoint installed" check via Get-SPSInstalledProductVersion (throws when SharePoint is absent).
  • Neutralized the version-specific help examples (CONTOSO-PROD-SP2019CONTOSO-PROD-SPSE) and dropped the now-unused Add-PSSnapin/Get-PSSnapin stubs from the module Pester tests.

Docs (docs)

  • README and wiki/Troubleshooting.md now state Subscription Edition as the only supported version, with a migration note.

Version (release)

  • Manifest ModuleVersion2.0.0; CHANGELOG 2.0.0 section (Removed / Changed / Migration); RELEASE-NOTES overwritten with the 2.0.0 block.

Validation

  • PSScriptAnalyzer: 0 findings.
  • Pester: 100/100 green locally.

Migration

Users still running SharePoint Server 2016 or 2019 should stay on the previous major release (v1.4.0).

Do not merge without review.

…r module only

SharePoint Server 2016 and 2019 reached end of support on 14 July 2026, so the
toolkit now targets Subscription Edition only. Remove the installed-build
detection and the Microsoft.SharePoint.PowerShell PSSnapin branch from the entry
script; load the SharePointServer module only (idempotent), guarded by a clear
'SharePoint installed' check via Get-SPSInstalledProductVersion (which throws
when SharePoint is absent).

Neutralize the version-specific help examples (CONTOSO-PROD-SP2019 ->
CONTOSO-PROD-SPSE) and drop the now-unused Add-PSSnapin/Get-PSSnapin stubs from
the module Pester tests.

Refs #12
State Subscription Edition as the only supported version in the README and the
Troubleshooting wiki page, and remove the description of the legacy
Microsoft.SharePoint.PowerShell snap-in / 2016-vs-2019 loading branch. Add a
migration note pointing users still on SharePoint Server 2016 or 2019 (end of
support 14 July 2026) to the previous major release (v1.4.0).

Refs #12
Bump the SPSCleanDependencies.Common module manifest to 2.0.0 (major, breaking:
SharePoint 2016/2019 support dropped, Subscription Edition only). Prepend the
2.0.0 section to CHANGELOG.md (Removed / Changed / Migration) keeping the full
history, and overwrite RELEASE-NOTES.md with the 2.0.0 block used as the GitHub
Release body.

Refs #12
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Pester Test Results

100 tests   100 ✅  1s ⏱️
 23 suites    0 💤
  1 files      0 ❌

Results for commit ffd3db3.

@luigilink
luigilink merged commit 9f7cc16 into main Sep 1, 2026
3 checks passed
@luigilink
luigilink deleted the release/2.0.0 branch September 1, 2026 12:30
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.

Drop SharePoint 2016/2019 support (SE-only)

1 participant