forked from jelix/inifile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
118 lines (80 loc) · 2.67 KB
/
CHANGELOG
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Changelog
3.2.4
=====
- fix `IniReader::getValue()` on associative array values
3.2.3
=====
- Fix ini merge when base value is a string and new value is an array
3.2.2
=====
- Fix `IniModifier::setValue()` when existing value and new values are ini booleans
or php boolean. In some case the ini content is not modified even if
booleans are different.
3.2.1
=====
- Fix compatibility with PHP 7.3
3.2.0
=====
- `Utils::read()` and `Utils::readAndMergeObject()` are now using the
`INI_SCANNER_TYPED` mode of `parse_ini_file`.
- Fix parsing to match results given by `parse_ini_file` with the `INI_SCANNER_TYPED` mode.
values `true`, `on`, `yes` are converted to `true`, values `false`, `no`, `off`
and `none` are converted to `false`.
3.1.1
=====
- Fix parsing of section names having strange characters or ";" character
3.1.0
=====
- new parameter in Util::readAndMergeObject() and Utils::mergeIniObjectContents()
to indicate a list of sections and top level parameters that will not be merged
into the initial content
3.0.0
======
- IniReaderInterface declare new methods: isEmpty(), getFileName(), isSection(),
getSectionList().
- New IniModifierReadOnly object. This is a decorator to any IniModifierInterface
or IniReaderInterface, to expose only IniReaderInterface methods. So an
IniModifierInterface object becomes read only.
2.5.0
=====
- New method IniModifier::removeSection()
- Fix: modification flag was triggered although there was no changes
2.4.2
=====
- Fix: jIniFile: chmod fix
- Fix serialization: false was not serialized correctly
2.4.1
=====
- fix: IniModifierArray should accept IniReaderInterface objects
2.4.0
=====
- new IniReader object, to read only files, to have "read only modifiers" in IniModifierArray
- Exceptions are now Exceptions from the library, IniInvalidArgumentException and IniException
- IniModifier does not require anymore an existing file, and can create a new
file with a given content.
2.3.0
=====
- New IniModifierArray object. It allows to work on a list of IniModifier objects as the same time
2.2.1
=====
- setValue accepts now an array as value
2.2
===
- Fix `Util.mergeIniObjectContents()` and `Util::readAndMergeObject()`
about the merge of array values with integer keys.
- New flags for these methods have been added to change the behavior of merge
2.1
===
- Support of most of word characters in names
- Support of associative arrays like
```
foo[mykey]=bar
foo[otherkey]=baz
```
- fix merge of array values during import
- fix renaming of array values
2.0
===
- IniModifier and MultiInitModifier share the same interface
- No more parameter '$onMaster' on methods. Replace by methods
named `<something>OnMaster()`.