New version: CarthageSoftware.Mago version 1.28.0 (#376326)

This commit is contained in:
Rafał Całka authored and GitHub committed 2026-05-19 03:36:37 -07:00
1 parent f96f9efaee
commit abdcb99b9a
3 files changed
+98

No files matched your search

@@ -0,0 +1,22 @@
# Created with komac v2.16.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.12.0.schema.json
PackageIdentifier: CarthageSoftware.Mago
PackageVersion: 1.28.0
InstallerType: zip
NestedInstallerType: portable
NestedInstallerFiles:
- RelativeFilePath: mago-1.28.0-x86_64-pc-windows-msvc/mago.exe
PortableCommandAlias: mago
Commands:
- mago
Dependencies:
PackageDependencies:
- PackageIdentifier: Microsoft.VCRedist.2015+.x64
ReleaseDate: 2026-05-19
Installers:
- Architecture: x64
InstallerUrl: https://github.com/carthage-software/mago/releases/download/1.28.0/mago-1.28.0-x86_64-pc-windows-msvc.zip
InstallerSha256: A67E597ED0DECAFEB02EDDAE9EDA24AA9C59A3BCD69CCE49B73EE016626BC62C
ManifestType: installer
ManifestVersion: 1.12.0
@@ -0,0 +1,68 @@
# Created with komac v2.16.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.12.0.schema.json
PackageIdentifier: CarthageSoftware.Mago
PackageVersion: 1.28.0
PackageLocale: en-US
Publisher: Carthage Software
PublisherUrl: https://carthage.software/en/
PublisherSupportUrl: https://github.com/carthage-software/mago/issues
PackageName: Mago
PackageUrl: https://mago.carthage.software/1.27.1/en/
License: Apache-2.0
LicenseUrl: https://github.com/carthage-software/mago/blob/main/LICENSE-MIT
ShortDescription: Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.
Description: Mago is a comprehensive toolchain for PHP that helps developers write better code. Inspired by the Rust ecosystem, Mago brings speed, reliability, and an exceptional developer experience to PHP projects of all sizes.
Moniker: mago
Tags:
- ast
- dev
- formatting
- lint
- php
- semantic-checks
- static-analysis
ReleaseNotes: |-
Mago 1.28.0
A feature release led by sound generic type-checking in the analyzer: diamond merges, variance, bounds, Liskov substitution, and constructor arity are now all enforced. The linter gains five Laravel-focused rules, and the CLI picks up a version subcommand, a configurable version-drift-fail-level, and --remove-outdated-baseline-entries for pruning stale baseline entries. Internally, PHP source handling moves to a byte-native representation, retiring mago-atom in favour of mago-word and mago-bytes. The rest is a batch of analyzer and formatter fixes.
✨ Features
Analyzer
- Sound generic type-checking: enforces diamond merges, variance, bounds, Liskov substitution, and constructor arity. (5af93b3)
Linter
- Laravel rules: five rules for test assertions, queries, fake(), casts, and validation. (#1838, #1837, #1836, #1834, #1833, 6156709)
CLI
- version subcommand: prints the version, mirroring the --version flag. (#1840, d93d75a)
- version-drift-fail-level: fail the run on minor or patch version drift, not just major. (#1864, 980dbfa)
- --remove-outdated-baseline-entries: prunes baseline entries that no longer match any issue. (#1865, d35e9d3)
🐛 Bug Fixes
Analyzer
- redundant-type-comparison false positives: impossible negated assertions are no longer flagged. (#1842, c52b5bd)
- Template defaults at call sites: a template's declared default type is now applied at the call site. (#1856, e8d5a84)
Formatter
- Mid-line echo tags: indent alignment restored for echo tags that don't begin a line. (#1857, bae65db)
📖 Documentation
- WinGet: installation guide now mentions the WinGet package. (#1844, f9c6cc6)
🏗️ Internal
Refactor
- Byte-native source handling: PHP source moves to bytes; mago-atom replaced by mago-word and mago-bytes. (#1862, 2a1b5a9)
CI / Tooling
- Clippy fixes: applies the latest Clippy lint cleanups across the workspace. (ab624ca)
- Nightly toolchain pins: routine bumps, now on nightly-2026-05-18. (#1845, #1855, #1858, #1860, #1863, 489e310)
🙏 Thank You
Contributors
A huge thank you to everyone who contributed code to this release:
- @dotdash: #1856, #1857
- @rafaucau: #1844
Issue Reporters
Thank you to everyone who reported issues that shaped this release:
- @LocalHeroPro: #1838, #1837, #1836, #1834, #1833
- @Zuruuh: #1864, #1865
- @maximal: #1840
- @bendavies: #1842
Full Changelog: 1.27.1...1.28.0
ReleaseNotesUrl: https://github.com/carthage-software/mago/releases/tag/1.28.0
Documentations:
- DocumentLabel: Documentation
DocumentUrl: https://mago.carthage.software/1.27.1/en/guide/getting-started/
ManifestType: defaultLocale
ManifestVersion: 1.12.0
@@ -0,0 +1,8 @@
# Created with komac v2.16.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.12.0.schema.json
PackageIdentifier: CarthageSoftware.Mago
PackageVersion: 1.28.0
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.12.0