NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1694 most downloaded on Packagist
The Gii extension for the Yii framework
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 5 weeks to 1.7 years
Nearly every release is documented
notes for 22 of 22 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
25 releases · first in 2013
Bug #531: Fix yii\gii\console\GenerateAction to use stdout() instead of echoing the output (egmsystems)
yii\gii\console\GenerateAction to use stdout() instead of echoing the output (egmsystems)ExitCode::USAGE on command input validation error (egmsystems)$formName to SearchModel::search() method (evil1)Bug #510: Fix possible XSS (rob006)
messageCategory in Generator (rob006)One column per quarter.
Ehn #489: Added support for the ::class constant in model generator via the useClassConstant setting (rhertogh)
::class constant in model generator via the useClassConstant setting (rhertogh)skipOnEmpty to fix "trim(): Passing null to parameter" in generators/model/Generator.php (rhertogh)Bug #467: Fix view generators/crud/default/controller (WinterSilence, cjrf)
generators/crud/default/controller (WinterSilence, cjrf)moduleClass in module generator (WinterSilence)assets/js/bs4-native.min.js to the latest version (WinterSilence)ActionColumn::$urlCreator in index template of CRUD generator (WinterSilence)enableI18N and messageCategory to Generator (WinterSilence)Enh #453: Allow CRUD to work with non-RDBMS ARs (WinterSilence)
Bug #433: Fix insufficient category validation (samdark)
Bug #428: Permit the usage of anonymous generators using dependency injection (aguevaraIL)
Enh #424: Added support for via() junction relations in model generator (rhertogh)
via() junction relations in model generator (rhertogh)Bug #422: Fix relational query getter documentation style (mikk150)
Bug #417: Fixed issue where RTL implementation for foreign keys causes problems with LTR tables names (NickvdMeij)
Bug #413: Controller Generator produces invalid alias when namespace starts with backslash (cebe)
Bug #410: Inserted rows in the diff were not highlighted (albertborsos)
Enh #390, Bug #260: Create (bootstrap)-independent version (simialbi)
yii\gii\CodeFile independent of controller context, do not apply $newDirMode and $newFileMode if module is not available (CeBe)Bug #327: Fixed bug in Model generator when $baseClass is an abstract class (rhertogh)
Yii from CRUD generator search model template (CeBe)Bug #185: Fixed bug in Model generators when FKs pointing to non-existing tables (adipriyantobpn)
Bug #97: Fixed errors and wrong directories created when using backslash in view paths and output paths of CRUD, Controller and Extension generators (
null value for integers when db is PostgreSQL (MKiselev)yii\db\Connection (MKiselev)useTablePrefix and generateQuery to stickyAttributes (luyi61)schema.table as table name (SwoDs)yii\base\BaseObject instead yii\base\Object in CodeFile.php (MKiselev)id_* (mootensai, samdark)NotFoundHttpException message in CRUD now uses i18n (bscheshirwork)ilike operator when generating search model for PostgreSQL (MKiselev, arogachev)int/bool instead of integer/boolean in phpdoc blocks generated (MKiselev)else after return (bscheshirwork)yii\gii\generators\model\Generator generateProperties protected (claudejanz)@throws tags for 404 exceptions in CRUD actions (and800)yii\gii\Module::defaultVersion() implemented to pick up 'yiisoft/yii2-gii' extension version (klimov-paul)Bug #66: It was impossible to use tables with spaces (cornernote)
yii\rest\UrlRule was used in UrlManager::ruleConfig (lichunqiang)query.php view of model generator (demisang)enablePjax option to wrap GridView with Pjax (Faryshta, silverfire)Bug (CVE-2015-3397): Using Json::htmlEncode() for safer JSON data encoding in HTML code (samdark, Tomasz Tokarski)
Json::htmlEncode() for safer JSON data encoding in HTML code (samdark, Tomasz Tokarski)Chg #7328: Changed the way CRUD generator translates "Create X". Now it's a whole string because of translation difficulties (samdark)
Bug #6463: The Gii controller generator generates incorrect controller namespace (pana1990)
Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)
yii\gii\generators\crud\Generator to support customizing view path for the generated CRUD controller (qiangxue)--overwrite option to Gii console command to support overwriting all files (motin, qiangxue)Bug #5408: Gii console command incorrectly reports errors when there is actually no error (qiangxue)
Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
viaTable expression in model generator (stepanselyuk)useTablePrefix option to the model generator for Gii (horizons2)Bug #1405: fixed disambiguation of relation names generated by gii (qiangxue)
- Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →