You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+210-1Lines changed: 210 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,216 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com)
6
6
and this project adheres to [Semantic Versioning](https://semver.org).
7
7
8
-
## 2024-09-29 - 3.0.0
8
+
## TBD - 4.1.0
9
+
10
+
### Added
11
+
12
+
- Nothing yet.
13
+
14
+
### Removed
15
+
16
+
- Nothing yet.
17
+
18
+
### Changed
19
+
20
+
- ListWorksheetInfo will now return sheetState (visible, hidden, veryHidden). [Issue #4345](https://github.com/PHPOffice/PhpSpreadsheet/issues/4345)[PR #4366](https://github.com/PHPOffice/PhpSpreadsheet/pull/4366)
21
+
- Start migration to Phpstan 2. [PR #4359](https://github.com/PHPOffice/PhpSpreadsheet/pull/4359)
22
+
- IOFactory identify can return, and createReader and CreateWriter can accept, a class name rather than a file type. [Issue #4357](https://github.com/PHPOffice/PhpSpreadsheet/issues/4357)[PR #4361](https://github.com/PHPOffice/PhpSpreadsheet/pull/4361)
- Data Validations will be stored by worksheet, not cell. Index can be one or more cells or cell ranges. [Issue #797](https://github.com/PHPOffice/PhpSpreadsheet/issues/797)[Issue #4091](https://github.com/PHPOffice/PhpSpreadsheet/issues/4091)[Issue #4206](https://github.com/PHPOffice/PhpSpreadsheet/issues/4206)[PR #4240](https://github.com/PHPOffice/PhpSpreadsheet/pull/4240)
- Csv Reader will no longer auto-detect Mac line endings by default. Prior behavior can be explicitly enabled via `setTestAutoDetect(true)`, and it will not be possible at all with Php9+. [Issue #4092](https://github.com/PHPOffice/PhpSpreadsheet/issues/4092)[PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
43
+
- Html Writer will now use "better boolean" logic. Booleans will now be output by default as TRUE/FALSE rather than 1/null-string. Prior behavior can be explicitly enabled via `setBetterBoolean(false)`. [PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
44
+
- Xlsx Writer will now use false as the default for `forceFullCalc`. This affects writes with `preCalculateFormulas` set to false. Prior behavior can be explicitly enabled via `setForceFullCalc(null)`.[PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
45
+
- Deletion of items deprecated in Release 3. See "removed" below.
46
+
47
+
### Added
48
+
49
+
- Pdf Charts and Drawings. [Discussion #4129](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4129)[Discussion #4168](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4168)[PR #4327](https://github.com/PHPOffice/PhpSpreadsheet/pull/4327)
- Xls writer Parser Parse By Character Not Byte. [PR #4344](https://github.com/PHPOffice/PhpSpreadsheet/pull/4344)
79
+
- Minor changes to dynamic array calculations exposed by using explicit array return types in some tests. [PR #4328](https://github.com/PHPOffice/PhpSpreadsheet/pull/4328)
80
+
81
+
## 2025-01-26 - 3.9.0
82
+
83
+
### Added
84
+
85
+
- Methods to get style for row or column. [PR #4317](https://github.com/PHPOffice/PhpSpreadsheet/pull/4317)
86
+
- Method for duplicating worksheet in spreadsheet. [PR #4315](https://github.com/PHPOffice/PhpSpreadsheet/pull/4315)
87
+
88
+
### Fixed
89
+
90
+
- Security patch for control characters in protocol.
91
+
- Ods Reader Sheet Names with Period. [Issue #4311](https://github.com/PHPOffice/PhpSpreadsheet/issues/4311)[PR #4313](https://github.com/PHPOffice/PhpSpreadsheet/pull/4313)
92
+
- Mpdf and Tcpdf Hidden Columns and Merged Cells. [Issue #4319](https://github.com/PHPOffice/PhpSpreadsheet/issues/4319)[PR #4320](https://github.com/PHPOffice/PhpSpreadsheet/pull/4320)
93
+
- Html Writer Allow mailto. [Issue #4316](https://github.com/PHPOffice/PhpSpreadsheet/issues/4316)[PR #4322](https://github.com/PHPOffice/PhpSpreadsheet/pull/4322)
94
+
- Use composer/pcre rather than preg_* in Writer. [PR #4323](https://github.com/PHPOffice/PhpSpreadsheet/pull/4323)
95
+
96
+
## 2025-01-11 - 3.8.0
97
+
98
+
### Added
99
+
100
+
- CHOOSECOLS, CHOOSEROWS, DROP, TAKE, and EXPAND. [PR #4286](https://github.com/PHPOffice/PhpSpreadsheet/pull/4286)
101
+
102
+
### Fixed
103
+
104
+
- Security patch for Html navigation.
105
+
- Xlsx Reader Shared Formula with Boolean Result. Partial solution for [Issue #4280](https://github.com/PHPOffice/PhpSpreadsheet/issues/4280)[PR #4281](https://github.com/PHPOffice/PhpSpreadsheet/pull/4281)
- Extremely limited support for GROUPBY function. Partial response to [Issue #4282](https://github.com/PHPOffice/PhpSpreadsheet/issues/4282)[PR #4283](https://github.com/PHPOffice/PhpSpreadsheet/pull/4283)
108
+
109
+
## 2024-12-26 - 3.7.0
110
+
111
+
### Deprecated
112
+
113
+
- Drawing::setIsUrl is unneeded. The property is set when setPath determines whether path is a url.
114
+
115
+
### Fixed
116
+
117
+
- Security patches for Samples.
118
+
- Security patches for Html Writer.
119
+
- Avoid unexpected charset in currency symbol. [PR #4279](https://github.com/PHPOffice/PhpSpreadsheet/pull/4279)
120
+
- Add forceFullCalc option to Xlsx Writer. [Issue #4269](https://github.com/PHPOffice/PhpSpreadsheet/issues/4269)[PR #4271](https://github.com/PHPOffice/PhpSpreadsheet/pull/4271)
121
+
- More context options may be needed for http(s) image. [Php issue 17121](https://github.com/php/php-src/issues/17121)[PR #4276](https://github.com/PHPOffice/PhpSpreadsheet/pull/4276)
122
+
- Coverage-related tweaks to Xls Reader. [PR #4277](https://github.com/PHPOffice/PhpSpreadsheet/pull/4277)
123
+
- Several fixed to ODS Writer. [Issue #4261](https://github.com/PHPOffice/PhpSpreadsheet/issues/4261)[PR #4263](https://github.com/PHPOffice/PhpSpreadsheet/pull/4263)[PR #4264](https://github.com/PHPOffice/PhpSpreadsheet/pull/4264)[PR #4266](https://github.com/PHPOffice/PhpSpreadsheet/pull/4266)
124
+
125
+
## 2024-12-08 - 3.6.0
126
+
127
+
### Added
128
+
129
+
- Nothing yet.
130
+
131
+
### Changed
132
+
133
+
- Nothing yet.
134
+
135
+
### Moved
136
+
137
+
- Nothing yet.
138
+
139
+
### Deprecated
140
+
141
+
- Nothing yet.
142
+
143
+
### Fixed
144
+
145
+
- Html Reader/Writer Better Handling of Booleans. [PR #4257](https://github.com/PHPOffice/PhpSpreadsheet/pull/4257)
146
+
- Fill Patterns/Colors When Xml Attributes are Missing. [Issue #4248](https://github.com/PHPOffice/PhpSpreadsheet/issues/4248)[PR #4250](https://github.com/PHPOffice/PhpSpreadsheet/pull/4250)
147
+
- Remove Unneccesary files from Composer Package. [PR #4262](https://github.com/PHPOffice/PhpSpreadsheet/pull/4262)
148
+
- Swapped row and column indexes in ReferenceHelper. [Issue #4246](https://github.com/PHPOffice/PhpSpreadsheet/issues/4246)[PR #4247](https://github.com/PHPOffice/PhpSpreadsheet/pull/4247)
149
+
- Fix minor break handling drawings. [Issue #4241](https://github.com/PHPOffice/PhpSpreadsheet/issues/4241)[PR #4244](https://github.com/PHPOffice/PhpSpreadsheet/pull/4244)
150
+
- Ignore cell formatting when the format is a single @. [Issue #4242](https://github.com/PHPOffice/PhpSpreadsheet/issues/4242)[PR #4243](https://github.com/PHPOffice/PhpSpreadsheet/pull/4243)
151
+
- Upgrade Dompdf to Php-8.4 compatible version [PR #4267](https://github.com/PHPOffice/PhpSpreadsheet/pull/4267)
152
+
153
+
## 2024-11-22 - 3.5.0
154
+
155
+
### Added
156
+
157
+
- Nothing yet.
158
+
159
+
### Changed
160
+
161
+
- Settings::libXmlLoaderOptions is ignored. [PR #4233](https://github.com/PHPOffice/PhpSpreadsheet/pull/4233)
162
+
163
+
### Moved
164
+
165
+
- Nothing yet.
166
+
167
+
### Deprecated
168
+
169
+
- Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() are no longer needed - no replacement.
170
+
- Worksheet::getHashCode is no longer needed.
171
+
172
+
### Fixed
173
+
174
+
- Add support for `<s>` tag when converting HTML to RichText. [Issue #4223](https://github.com/PHPOffice/PhpSpreadsheet/issues/4223)[PR #4224](https://github.com/PHPOffice/PhpSpreadsheet/pull/4224)
175
+
- Change hash code for worksheet. [Issue #4192](https://github.com/PHPOffice/PhpSpreadsheet/issues/4192)[PR #4207](https://github.com/PHPOffice/PhpSpreadsheet/pull/4207)
176
+
177
+
## 2024-11-10 - 3.4.0
178
+
179
+
### Security Fix
180
+
181
+
- Several security patches.
182
+
183
+
### Added
184
+
185
+
- Add Dynamic valueBinder Property to Spreadsheet and Readers. [Issue #1395](https://github.com/PHPOffice/PhpSpreadsheet/issues/1395)[PR #4185](https://github.com/PHPOffice/PhpSpreadsheet/pull/4185)
- IReader::SKIP_EMPTY_CELLS - use its alias IGNORE_EMPTY_CELLS instead.
196
+
- Worksheet::getProtectedCells was deprecated in release 2, but was not properly documented, and not removed in release 3. Use getProtectedCellRanges instead.
197
+
- Writer/Html::isMpdf property was deprecated in release 2, but was not properly documented, and not removed in release 3. Use instanceof Mpdf instead.
198
+
199
+
### Moved
200
+
201
+
- Nothing yet.
202
+
203
+
### Fixed
204
+
205
+
- Xls Writer Condtional Rules Applied to Whole Rows or Columns. [Issue #3185](https://github.com/PHPOffice/PhpSpreadsheet/issues/3185)[PR #4152](https://github.com/PHPOffice/PhpSpreadsheet/pull/4152)
- Check strictNullComparison outside of loops. [PR #3347](https://github.com/PHPOffice/PhpSpreadsheet/pull/3347)
208
+
- SUMIFS Does Not Require xlfn. [Issue #4182](https://github.com/PHPOffice/PhpSpreadsheet/issues/4182)[PR #4186](https://github.com/PHPOffice/PhpSpreadsheet/pull/4186)
209
+
- Image Transparency/Opacity with Html Reader Changes. [Discussion #4117](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4117)[PR #4142](https://github.com/PHPOffice/PhpSpreadsheet/pull/4142)
210
+
- Option to Write Hyperlink Rather Than Label to Csv. [Issue #1412](https://github.com/PHPOffice/PhpSpreadsheet/issues/1412)[PR #4151](https://github.com/PHPOffice/PhpSpreadsheet/pull/4151)
211
+
- Invalid Html Due to Cached Filesize. [Issue #1107](https://github.com/PHPOffice/PhpSpreadsheet/issues/1107)[PR #4184](https://github.com/PHPOffice/PhpSpreadsheet/pull/4184)
212
+
- Excel 2003 Allows Html Entities. [Issue #2157](https://github.com/PHPOffice/PhpSpreadsheet/issues/2157)[PR #4187](https://github.com/PHPOffice/PhpSpreadsheet/pull/4187)
213
+
- Changes to ROUNDDOWN/ROUNDUP/TRUNC. [Issue #4213](https://github.com/PHPOffice/PhpSpreadsheet/issues/4213)[PR #4214](https://github.com/PHPOffice/PhpSpreadsheet/pull/4214)
214
+
- Writer Xlsx ignoredErrors Before Drawings. [Issue #4200](https://github.com/PHPOffice/PhpSpreadsheet/issues/4200)[Issue #4145](https://github.com/PHPOffice/PhpSpreadsheet/issues/4145)[PR #4212](https://github.com/PHPOffice/PhpSpreadsheet/pull/4212)
215
+
- Allow ANCHORARRAY as Data Validation list. [Issue #4197](https://github.com/PHPOffice/PhpSpreadsheet/issues/4197)[PR #4203](https://github.com/PHPOffice/PhpSpreadsheet/pull/4203)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,11 @@ If you would like to contribute, here are some notes and guidelines:
4
4
5
5
- All new development should be on feature/fix branches, which are then merged to the `master` branch once stable and approved; so the `master` branch is always the most up-to-date, working code
6
6
- If you are going to submit a pull request, please fork from `master`, and submit your pull request back as a fix/feature branch referencing the GitHub issue number
7
+
- Install (development) dependencies by running `composer install` inside your PhpSpreadsheet clone.
7
8
- The code must work with all PHP versions that we support.
8
9
- You can call `composer versions` to test version compatibility.
9
10
- Code style should be maintained.
10
-
-`composer style` will identify any issues with Coding Style`.
11
+
-`composer style` will identify any issues with Coding Style.
11
12
-`composer fix` will fix most issues with Coding Style.
12
13
- All code changes must be validated by `composer check`.
13
14
- Please include Unit Tests to verify that a bug exists, and that this PR fixes it.
@@ -39,7 +40,10 @@ This makes it easier to see exactly what is being tested when reviewing the PR.
39
40
2. Tag subject must be the version number, eg: `1.2.3`
40
41
3. Tag body must be a copy-paste of the changelog entries.
41
42
3. Push the tag with `git push --tags`, GitHub Actions will create a GitHub release automatically, and the release details will automatically be sent to packagist.
42
-
4. Github seems to remove markdown headings in the Release Notes, so you should edit to restore these.
43
-
44
-
> **Note:** Tagged releases are made from the `master` branch. Only in an emergency should a tagged release be made from the `release` branch. (i.e. cherry-picked hot-fixes.)
43
+
4. By default, Github removes markdown headings in the Release Notes. You can either edit to restore these, or, probably preferably, change the default comment character on your system - `git config core.commentChar ";"`.
45
44
45
+
> **Note:** Tagged releases are made from the `master` branch. Only in an emergency should a tagged release be made from the `release` branch. (i.e. cherry-picked hot-fixes.) However, there are 4 branches which have been updated to apply security patches, and those may be tagged if future security updates are needed.
0 commit comments