Releases: larastan/larastan
Releases · larastan/larastan
v3.0.4
v3.0.3
What's Changed
- Improve parameter of QueryBuilder::get by @markwalet in #2131
- Fixed the type of the make method of the Attribute class by @naotake51 in #2118
- feat: add a literal return helper by @crissi in #2127
- fix: parameter type for HasOneOrMany::createMany by @sebdesign in #2122
- Collection::groupBy() return type by @lorenzolosa in #2133
- fix typo in ModelAppendsRule example by @jamessa in #2162
- Remove unnecessary ignore by @szepeviktor in #2165
- Fix this mess by @szepeviktor in #2166
- [3.x] ci: migrate to upload-artifact v4 by @calebdw in #2194
- [3.x] fix: baseline extension by @calebdw in #2196
New Contributors
- @naotake51 made their first contribution in #2118
- @lorenzolosa made their first contribution in #2133
- @jamessa made their first contribution in #2162
Full Changelog: v3.0.2...v3.0.3
v2.9.14
2.9.13
What's Changed
- [2.x] Improve parameter of QueryBuilder::get by @markwalet in #2132
Full Changelog: v2.9.12...v2.9.13
v3.0.1
What's Changed
Fixed
- Fix typo in address #2125 by @spoyntersmith in #2130
- fix: relation forwarding by @calebdw in #2119
Internal
Also changes from 2.9.12
New Contributors
- @Tamas-hi made their first contribution in #2117
- @spoyntersmith made their first contribution in #2130
Full Changelog: v3.0.0...v3.0.1
v2.9.12
3.0.0
Larastan 3.0 🥳
This release adds compability with PHPStan 2 and drops support for Laravel versions < 11
Please make sure you read the both PHPStan's and Larastan's upgrade guides!
Notable changes:
- Added support for PHPStan 2
- Dropped support for Laravel versions <11
- Dropped support for automatically adding generic return types for relations. Read the upgrade guide for more info.
- Removed some PHPStan config options. If you want the same behavior as before, you can add them back yourselves.
- Made some rules enabled by default.
2.9.11
What's Changed
Fixed
- fix: improve PHPDoc for find method of QueryBuilder to support FETCH_ASSOC by @kayw-geek in #2081
- fix: don't report error when using
Builder<*>
by @calebdw in #2099 - fix: fix declaring class for forwarded relation methods f476d8f
- fix: relation forwards calls extension uses type instead of class reflection df27912
Internal
- Uses
orchestra/testbench-core
instead oforchestra/testbench
by @crynobone in #2105
New Contributors
- @kayw-geek made their first contribution in #2081
Full Changelog: v2.9.10...v2.9.11
2.9.10
What's Changed
Added
- Support for the new
CollectedBy
attribute f43e0c4
Fixed
- fix: do not throw if application could not be bootstrapped by @NickSdot in #2077
- Fixed
unique
collection method return type f97d92e - Fixed
Enumerable:make
method return type
New Contributors
Full Changelog: v2.9.9...v2.9.10
v2.9.9
What's Changed
- Add typehint to
env
when specifying default value by @bram-pkg in #1995 - feat: add cloud option to supported method for storage by @AhmedHelalAhmed in #2020
- fix: incorrect phpdocs and stubs by @calebdw in #2028
- fix: handle model property aliases by @calebdw in #1999
- feat: builder doesn't have correct generic when initialized through class-string by @JeRabix in #2023
- fix: properly handle static called on type for model query by @calebdw in #2030
- Add support for model attributes property by @maartenpaauw in #2027
- Fix not respecting return type of overridden Request::user() method. by @mad-briller in #1861
- fix: check if class exists before calling reflectionProvider getClass by @calebdw in #2037
- fix: relation class forwarding by @calebdw in #2042
- remove unnecessary use of
ParametersAcceptorSelector::selectSingle
by @staabm in #2054 - feat: useContainerCommandLoader parameter by @wslawski-printify in #2060
- feat: add support for chunkById, chunkByIdDesc, and chunkMap methods by @calebdw in #2068
- Support MailMessage in UsedEmailViewCollector by @koraga in #2064
- feat: support newFactory method when resolving factory by @calebdw in #1922
New Contributors
- @AhmedHelalAhmed made their first contribution in #2020
- @JeRabix made their first contribution in #2023
- @maartenpaauw made their first contribution in #2027
- @staabm made their first contribution in #2054
- @wslawski-printify made their first contribution in #2060
- @koraga made their first contribution in #2064
Full Changelog: v2.9.8...v2.9.9