Repository navigation
Expand file tree
/
Copy pathNEWS
More file actions
71 lines (54 loc) · 2.23 KB
/
Copy pathNEWS
File metadata and controls
71 lines (54 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
2.0.1
-----
* only look for controller files in the controllers directories. A URL
such as /index no longer includes the front controller (index.php)
from the doc root a second time
* uncaught exceptions are also written to the PHP error log
* fix controller path and documentation link on the welcome page
2.0.0
-----
* PHP 8.2+ compatibility: declare controller $load/$view properties and
allow dynamic properties on controllers (models/libraries attach to them)
* PHP 8.4+ compatibility: stop referencing the deprecated E_STRICT constant
* exception handler now accepts PHP 7+ Error/Throwable, not only Exception
* exception handler html-escapes its output (URL input appears in messages)
* PDO: only send "SET CHARACTER SET" to MySQL; PHP 8 PDO throws on failure,
which broke connections to sqlite/pgsql/sqlsrv
* PDO: orwhere() accepts a scalar argument like where() does
* uri library: no warnings/TypeError on empty or sparse path segments
* add docker-based smoke tests for PHP 5.6 - 8.5 (tests/run.sh)
1.2.3
-----
* fix typo in varname in tinymvc_load file
1.2.2
-----
* fix test for existing model when loading (forum topic 329)
* if PATH_INFO and PATH_INFO_ORIG are not present, do not throw notice
* change default PDO charset from UTF-8 to utf8
1.2.1
-----
* PATH_INFO first, otherwise ORIG_PATH_INFO (mohrt, dangerdan)
* add "dsn" database config property as valid dsn
* fix bug with page timer periodically negative number
* fix uri library to include all segments, including controller/action
1.2
---
* converted error handling to exceptions
* mvc system now wrapped in bootstrap object
* added root_controller and root_action config settings
to force the root controller/action regardless of url
* unknown actions now fall back to the default_action setting in config
* php default spl_autoload now used for all plugins
1.1
---
* allow multiple database connection handlers
* add active record features to database model
* replace trigger_error() with exception handler
* throw exception if database.php is not found.
1.0.1
-----
* add view controller so view loading worsk as $this->view->display() like in the docs (mohrt)
* use try/catch for controller method execution so __call can be utilized (areazero, mohrt)
1.0
---
initial release