バージョン 4.0.0-rc.3

リリース日: 2019年10月19日

CodeIgniter4のRC.3リリース

機能強化

  • データベース、セッション、ルーティングの処理を強化しました。

  • 多数のバグとユーザーガイドの誤りを修正しました。

アプリケーションの変更

  • App/Config/Appに新しい$CSRFHeaderNameプロパティを追加しました。

メッセージの変更

変更されたファイル

変更されたファイルの一覧を以下に示します。PR番号も表示しています。

  • admin/

  • app/
    • Config/
      • App #2272

  • public/

  • system/
    • Autoloader/
      • FileLocator #2336

    • Database/
      • MySQLi/Forge #2100

      • Postgre/Forge #2100

      • SQLite3/Forge #2100

      • BaseBuilder #2252, 2312

      • Forge $2100

      • Migration #2303

      • MigrationRunner #2303

    • Debug/
      • Exceptions #2288

      • Toolbar/Collectors/
        • Route #2300

      • Toolbar #2315

      • Views/ #2283

    • Helpers/
      • inflector_helper #2296

      • url_helper #2325

    • HTTP/
      • CURLRequest #2285, 2305

      • Files/UploadedFile #2123

    • Language/en/
      • Encryption #2311

      • RESTful #2311

      • Session #2311

    • Router/
      • Exceptions/RedirectException #2338

      • Router #2308, 2338

    • Security/
      • Security #2272, 2279

    • Session/
      • Handlers/
        • DatabaseHandler #2298

        • FileHandler #2298, 2307

        • MemcachedHandler #2298

        • RedisHandler #2298

      • Session #2339

    • Validation/
      • Validation #2284, 2341

    • View/
      • View #2324

    • CodeIgniter #2338

    • Common #2279

    • Model #2289, 2332

  • tests/README.md #2345

  • tests/_support/
    • Config/
      • MockAppConfig #2272

  • tests/system/
    • Database/
      • Builder/
        • UpdateTest #2295

      • Live/
        • ForgeTest #2100

    • Helpers/
      • InflectorHelperTest #2296

      • URLHelperTest #2325

    • HTTP/
      • CURLRequestTest #2285

    • Log/
      • FileHandlerTest #2346

    • Security/
      • SecurityTest #2279

    • Session/
      • SessionTest #2339

    • CommonFunctionsTest #2279

  • user_guide_src/
    • dbmgmt/
      • forge #2100

      • migration #2337

    • general/
      • common_functions #2279

      • errors #2338

      • modules #2290

    • helpers/
      • inflector_helper #2296

    • incoming/
      • message #2282

      • restful #2313, 2321, 2333

      • routing #2327

    • libraries/
      • curlrequest #2305

      • security #2279

    • models/
      • model #2316, 2332

    • outgoing/
      • table #2337

マージされたPR

  • #2348 CodeIgniter Foundationが著作権を取得

  • #2346 FilerHandlerTest.phpの奇妙な点を修正

  • #2345 テストのREADMEを改良

  • #2344 「Setup」を「Set Up」に変更

  • #2343 ユーザーガイドの軽微な修正。クラス名とコード領域を修正

  • #2341 Validation::getErrors()を簡素化

  • #2339 Session::get('key')が値が(int)0の場合にnullを返す問題を修正

  • #2338 RedirectExceptionの変更を元に戻す

  • #2337 ガイド:軽微な文法修正

  • #2336 Windowsでの名前空間のクレンジングを修正

  • #2333 ガイド:RESTfulテーブルの書式設定

  • #2332 afterメソッドを実際のデータを使用するように変更

  • #2328 アプリケーション構造の更新

  • #2327 tourint UGページを修正

  • #2325 url_title()関数における、アクセント記号を含むバグを修正

  • #2324 Renderer Toolbar Debugトグル

  • #2321 RESTfulユーザーガイドのクリーンアップ

  • #2316 getValidationRules()をモデルUGページに追加

  • #2315 Toolbar::renderTimelineの機能強化

  • #2313 RESTfulユーザーガイドのクリーンアップ

  • #2312 BaseBuilderの変数型修正

  • #2311 すべての言語の戻り値をシングルクォートに変更

  • #2308 バグ修正:余分なautorouteスラッシュ

  • #2307 セッション保存ハンドラの問題を解決

  • #2305 curlデバッグのバグを修正

  • #2303 定義されている場合、マイグレーションクラスからDBGroup変数を使用する

  • #2300 _remapを通じてメソッド名が計算された場合、ツールバーのルートコレクターは終了しないようにする

  • #2298 session_regenerateの問題を修正

  • #2296 Inflectorヘルパーにcounted()を追加

  • #2295 Builderクラスのset()メソッドをより詳細にテスト

  • #2290 PSR4名前空間設定に関するコードモジュールドキュメントを修正

  • #2289 モデルのプロパティへのアクセスを、読み取り専用で制限しない

  • #2288 Debug/Exceptionsクラスの行番号を修正

  • #2285 CURLRequestクラスのHostヘッダーに関するエラーを修正

  • #2284 リダイレクトを含むバリデーションのgetErrors()を修正

  • #2283 ホットフィックス:コレクターの_*.tpl.phpを_*.tplに名前変更

  • #2282 Messageクラスのユーザーガイドを修正

  • #2279 CSRFパラメータのクリーンアップのバグ

  • #2272 X-CSRF-TOKEN - CSRFを処理

  • #2252 バッチ更新時のWhere句のリセット

  • #2123 WIP store()のデフォルト値のバグを修正

  • #2100 MySQLiで作成する前に、データベースが存在するかどうかを検証を追加