aboutsummaryrefslogtreecommitdiff
path: root/lib/marienfressinaud/lib_opml/CHANGELOG.md
blob: 5af480eaf5a3daee6edf01a83716885bec8b82e0 (plain)
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
# Changelog of lib\_opml

## 2023-03-10 - v0.5.1

- fix: Handle case where OPML is loaded but empty
- misc: Fix installation of Composer on the CI
- misc: Force timezone to UTC in tests

## 2022-07-25 - v0.5.0

- BREAKING CHANGE: Reverse parameters in `libopml_render()`
- BREAKING CHANGE: Validate email and URL address elements
- Add support for PHP 7.2+
- Add a .gitattributes file
- Improve the documentation about usage
- Add a note about stability in README
- Fix a PHPDoc annotation
- Homogeneize tests with "Newspapers" examples

## 2022-06-04 - v0.4.0

- Refactor the LibOpml class to be not static
- Parse or render attributes according to their types
- Add support for namespaces
- Don't require text attribute if OPML version is 1.0
- Check that outline text attribute is not empty
- Verify that xmlUrl and url attributes are present according to the type
  attribute
- Accept a version attribute in render method
- Handle OPML 1.1 as 1.0
- Fail if version, head or body is missing
- Fail if OPML version is not supported
- Fail if head contains invalid elements
- Fail if sub-outlines are not arrays when rendering
- Make parsing less strict by default
- Don't raise most parsing errors when strict is false
- Force type attribute to lowercase
- Remove SimpleXML as a requirement
- Homogenize exception messages
- Close pre tags in the example file
- Improve documentation in the README
- Improve comments in the source code
- Add a MR checklist item about changes
- Update the description in composer.json
- Update dev dependencies

## 2022-04-23 - v0.3.0

- Reorganize the architecture of code (using namespaces and classes)
- Change PHP minimum version to 7.4
- Move to Framagit instead of GitHub
- Change the license to MIT
- Configure lib\_opml with Composer
- Add PHPUnit tests for all the methods and functions
- Add a linter to the project
- Provide a Makefile
- Configure Gitlab CI instead of Travis
- Add a merge request template
- Improve the comments, documentation and examples

## 2014-03-31 - v0.2.0

- Allow to make optional the `text` attribute
- Improve and complete documentation
- Fix examples

## 2014-03-29 - v0.1.0

First version