Skip to content

Commit c033c06

Browse files
committed
Prep for beta.4
1 parent a6b4eb2 commit c033c06

File tree

2 files changed

+185
-3
lines changed

2 files changed

+185
-3
lines changed

user_guide_src/source/changelogs/next.rst

Lines changed: 184 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,195 @@ Version |version|
33

44
Release Date: Not released
55

6-
**Next alpha release of CodeIgniter4**
6+
Highlights:
77

8+
There are some breaking changes...
9+
10+
- The Entity class has been refactored;
11+
- The Model class changing has been updated to better handle soft deletes
12+
- The routing has been beefed up
13+
14+
New messages:
15+
16+
- new translation key: Database/noDateFormat
17+
18+
App changes:
19+
20+
21+
Testing changes:
22+
23+
- enhanced database & migration testing in tests/_support
824

925
The list of changed files follows, with PR numbers shown.
1026

27+
- admin/
28+
29+
- app/
30+
- Controllers/
31+
- Home #1999
32+
33+
- public/
34+
35+
- system/
36+
- Autoloader/
37+
- FileLocator #2059, #2064
38+
- Cache/
39+
- CacheFactory #2060
40+
- Handlers/
41+
- MemcachedHandler #2060
42+
- PredisHandler #2060
43+
- RedisHandler #2060
44+
- Commands/
45+
- Utilities/Routes #2008
46+
- Config/
47+
- Config #2079
48+
- Services #2024
49+
- Database/
50+
- MySQLi/
51+
- Connection #2042
52+
- Result #2011
53+
- Postgre/
54+
- Connection #2042
55+
- Result #2011
56+
- SQLite3/
57+
- Connection #2042
58+
- Forge #2042
59+
- Result #2011
60+
- Table #2042
61+
- BaseBuilder #1989
62+
- BaseConnection #2042
63+
- BaseResult #2002
64+
- Forge #2042
65+
- MigratiopnRollback #2035
66+
- MigrationRunner #2019
67+
- Debug/
68+
- Toolbar/Collectors/Routes #2030
69+
- Exceptions.
70+
- ModelException #2054
71+
- Files/
72+
- File #2104
73+
- Filters/
74+
- Filters #2039 - helpers/
75+
- date_helper #2091
76+
- HTTP/
77+
- CLIRequest #2024
78+
- CURLRequest #1996, #2050
79+
- IncomingRequest #2063
80+
- Request #2024
81+
- Language/en/
82+
- Database #2054
83+
- Pager/
84+
- Pager #2026
85+
- Router/
86+
- RouteCollection #1959, #2012, #2024
87+
- Router #2024, #2031, #2043
88+
- RouterInterface #2024
89+
- Session/
90+
- Handlers/ArrayHandler #2014
91+
- Test/
92+
- CIUnitTestCase #2002
93+
- FeatureTestCase #2043
94+
- Throttle/
95+
- Throttler #2074
96+
- CodeIgniter #2012, #2024
97+
- Common #2036
98+
- Entity #2002, #2004, #2011, #2081
99+
- Model #2050, #2051, #2053, #2054
100+
101+
- tests/system/
102+
- CLI/
103+
- ConsoleTest #2024
104+
- Database/
105+
- Live/
106+
- DbUtilsTest #2051, #2053
107+
- ForgeTest #2019, #2042
108+
- ModelTest #2002, #2051, #2053, #2054
109+
- SQLite/AlterTablesTest #2042
110+
- WhereTest #2052
111+
- Migrations/MigrationRunnerTest #2019
112+
- HTTP/
113+
- CLIRequest #2024
114+
- CURLRequestTest #1996
115+
- Router/
116+
- RouteCollectionTest #1959, #2012, #2024
117+
- RouterTest #2024, #2043
118+
- Test/
119+
- FeatureTestCaseTest #2043
120+
- Throttle/
121+
- ThrottleTest #2074
122+
- View/
123+
- ParserTest #2005
124+
- CodeIgniterTest #2024
125+
- EntityTest #2002, #2004
126+
127+
- user_guide_src/
128+
- concepts/
129+
- autoloader #2035, #2071
130+
- database/
131+
- query_builder #2035
132+
- dbmgmt/
133+
- forge #2042
134+
- migration #2042
135+
- helpers/
136+
- date_helper #2091
137+
- incoming/
138+
- routing #2035
139+
- installation/
140+
- installing_composer #2015, #2035
141+
- libraries/
142+
- pagination #2026
143+
- sessions #2014, #2035
144+
- validaiton #2069
145+
- uploaded_files #2104
146+
- models/
147+
- entitites #2002, #2004, #2035
148+
- model #2051, #2053, #2054
149+
- outgoing/
150+
- view_parser #e21823, 32005
151+
- testing/
152+
- database #2051, #2053
153+
11154

12155
PRs merged:
13156
-----------
14157

158+
- #2104 File & UploadFile Fixes
159+
- #2091 Timezone select
160+
- #2081 JSON format checking improved
161+
- #2079 Update config() to check all namespaces
162+
- #2074 Throttler can access bucket for bucket life time
163+
- #2071 Fix autoloader.rst formatting
164+
- #2069 validation rule: then -> than (spelling)
165+
- #2064 Bugfix file locator slash error
166+
- #2063 Ensure query vars are part of request->uri. Fixes #2062
167+
- #2060 Cache Drive Backups
168+
- #2059 Add multi-path support to `locateFile()`
169+
- #2054 Add model exceptions for missing/invalid dateFormat
170+
- #2053 Change Model's deleted flag to a deleted_at datetime/timestamp. Fixes #2041
171+
- #2052 Add various tests for (not) null
172+
- #2051 Soft deletes use deleted_at
173+
- #2050 Stash insert ID before event trigger
174+
- #2043 Zero params should be passed through when routing. Fixes #2032
175+
- #2042 SQLite3 now supports dropping foreign keys. Fixes #1982
176+
- #2040 Update CURLRequest.php
177+
- #2039 Restrict filter matching of uris so they require an exact match. Fixes #2038
178+
- #2036 Make `force_https()` send headers before exit
179+
- #2035 Various typos and Guide corrections
180+
- #2031 Fallback to server request for default method
181+
- #2030 Support the new `router` service in Debug Toolbar
182+
- #2026 Extension Pager::makeLinks (optional grup name)
183+
- #2024 Refactor the way the router and route collection determine the current HTTP verb
184+
- #2019 SQLite and Mysql driver additional tests and migration runner test fixes
185+
- #2015 Direct user to follow the upgrade steps after installation
186+
- #2014 Added a new Session/ArrayHandler that can be used during testing
187+
- #2012 Use request->method for HTTP verb
188+
- #2011 Set the raw data array without any mutations for the Entity
189+
- #2008 Add `patch` method to command "routes"
190+
- #2005 Plugin closures docs update and test
191+
- #2004 Allow hasChanged() without parameter
192+
- #2002 Entity Refactor
193+
- #1999 use CodeIgniter\Controller; not needed since Home Controller extends …
194+
- #1996 Attempting to fix CURLRequest debug issue. #1994
195+
- #e21823 Corrected docs for parser plugins. Closes #1995
196+
- #1989 argument set() must by type of string - cannot agree
197+
- #1959 Prevent reverseRoute from searching closures

user_guide_src/source/libraries/pagination.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,10 @@ It is also possible to use a URI segment for the page number, instead of the pag
113113
Please note: ``$segment`` value cannot be greater than the number of URI segments plus 1.
114114

115115
If you in need to show many pagers on one page then additional parameter which wil define a group could be helpful::
116-
<?php
116+
117117
$pager = service('pager');
118118
$pager->setPath('path/for/my-group', 'my-group'); // Additionaly you could define path for every group.
119119
$pager->makeLinks($page, $perPage, $total, 'template_name', $segment, 'my-group');
120-
?>
121120

122121
Paginating with Only Expected Queries
123122
=====================================

0 commit comments

Comments
 (0)