Chore: Fixes to changelog & contributing guide

This commit is contained in:
2023-05-03 16:20:42 +03:00
parent 1bcb50a8d6
commit d93bbd5feb
2 changed files with 51 additions and 29 deletions

View File

@@ -7,79 +7,92 @@ All Notable changes to `ivuorinen\BBCodeParser` will be documented in this file.
- Project now in new hands - Project now in new hands
- Tests - Tests
# Changelog of `Golonka\BBCodeParser` ## Changelog of `Golonka\BBCodeParser`
## v2.2.0 - 2015-09-07 ## v2.2.0 - 2015-09-07
### Added ### Added
- You can now strip all BBCode tags by using the ``stripBBCodeTags`` function.
- You can now strip all BBCode tags by using the `stripBBCodeTags` function.
## v2.1.0 - 2015-06-20 ## v2.1.0 - 2015-06-20
### Added ### Added
- Made ``parseCaseSensitive`` and ``parseCaseInsensitive`` functions to make parsing more readable.
- Made `parseCaseSensitive` and `parseCaseInsensitive` functions to make parsing more readable.
## v2.0.0 - 2015-06-02 ## v2.0.0 - 2015-06-02
### Added ### Added
- Using PSR-4 instead of PSR-0 - Using PSR-4 instead of PSR-0
- Moved the ``arrayOnly`` and ``arrayExcept`` functions into a trait - Moved the `arrayOnly` and `arrayExcept` functions into a trait
- Minimum supported PHP version bumped to 5.4 - Minimum supported PHP version bumped to 5.4
### Fixed ### Fixed
- Renamed some tag names, mostly making them all lowercase - Renamed some tag names, mostly making them all lowercase
- `` underLine -> underline `` - `underLine -> underline`
- `` lineThrough -> linethrough `` - `lineThrough -> linethrough`
- `` fontSize -> size `` - `fontSize -> size`
- `` fontColor -> color `` - `fontColor -> color`
- `` namedQuote -> namedquote `` - `namedQuote -> namedquote`
- `` namedQuote -> namedquote `` - `namedQuote -> namedquote`
- `` namedLink -> namedlink `` - `namedLink -> namedlink`
- `` orderedListNumerical -> orderedlistnumerical `` - `orderedListNumerical -> orderedlistnumerical`
- `` orderedListAlpha -> orderedlistalpha `` - `orderedListAlpha -> orderedlistalpha`
- `` unorderedList -> unorderedlist `` - `unorderedList -> unorderedlist`
- `` listItem -> listitem `` - `listItem -> listitem`
### Removed ### Removed
- The ``iterate`` property is removed. Unneeded after improvements in parsing method.
- Removed deprecated tags ``[ul]`` and ``[ol]`` - The `iterate` property is removed. Unneeded after improvements in parsing method.
- Removed deprecated tags `[ul]` and `[ol]`
## v1.4 - 2015-05-05 ## v1.4 - 2015-05-05
### Added ### Added
- Optional parameter enables or disables case insensitivity. Disabled by default. - Optional parameter enables or disables case insensitivity. Disabled by default.
## v1.3.0 - 2014-06-30 ## v1.3.0 - 2014-06-30
### Fixed ### Fixed
- The only/except functionally have been broken since like 1.1, but now it´s working. Better late then never! - The only/except functionally have been broken since like 1.1, but now it´s working. Better late then never!
## v1.2.7 - 2014-05-19 ## v1.2.7 - 2014-05-19
### Added ### Added
- A new iterate key is added to tags that typically could contain more tags of the same kind, like quotes. - A new iterate key is added to tags that typically could contain more tags of the same kind, like quotes.
### Fixed ### Fixed
- Problem where tags of the same kind would just parse the top level. - Problem where tags of the same kind would just parse the top level.
## v1.2.6 - 2014-05-17 ## v1.2.6 - 2014-05-17
### Fixed ### Fixed
- Fixed a problem where if a tag had a line break in them they wouldn't parse. - Fixed a problem where if a tag had a line break in them they wouldn't parse.
## v1.2.5 - 2014-05-15 ## v1.2.5 - 2014-05-15
### Fixed ### Fixed
- Improved most regex matches by removing unnecessary greediness. - Improved most regex matches by removing unnecessary greediness.
## v1.2.0 - 2014-03-25 ## v1.2.0 - 2014-03-25
### Fixed ### Fixed
- Better syntax for lists. - Better syntax for lists.
## v1.1.0 - 2014-01-27 ## v1.1.0 - 2014-01-27
### Added ### Added
- Support for custom bbcode tags. - Support for custom bbcode tags.
## v1.0.0 - 2013-11-07 ## v1.0.0 - 2013-11-07

View File

@@ -2,31 +2,40 @@
Contributions are **welcome** and will be fully **credited**. Contributions are **welcome** and will be fully **credited**.
We accept contributions via Pull Requests on [Github](https://github.com/ivuorinen/bbcodeparser). We accept contributions via Pull Requests on [GitHub][repo].
## Pull Requests ## Pull Requests
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer). - **[PSR-2 Coding Standard][psr2]** - The easiest way to apply the conventions
is to install [PHP Code Sniffer][phpcs].
- **Add tests!** - Your patch won't be accepted if it doesn't have tests. - **Add tests!** - Your patch won't be accepted if it doesn't have tests.
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. - **Document any change in behaviour** - Make sure the `README.md`
and any other relevant documentation are kept up-to-date.
- **Consider our release cycle** - We try to follow [SemVer v2.0.0](http://semver.org/). Randomly breaking public APIs is not an option. - **Consider our release cycle** - We try to follow [SemVer v2][semver].
Randomly breaking public APIs is not an option.
- **Create feature branches** - Don't ask us to pull from your master branch. - **Create feature branches** - Don't ask us to pull from your main branch.
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. - **One pull request per feature** - If you want to do more than one
thing, send multiple pull requests.
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.
- **Send coherent history** - Make sure each individual commit in your pull
request is meaningful. If you had to make multiple intermediate commits
while developing, please [squash them][git-squash] before submitting.
## Running Tests ## Running Tests
```bash ```bash
$ vendor/bin/phpunit composer test
``` ```
**Happy coding**! **Happy coding**!
[repo]: https://github.com/ivuorinen/bbcodeparser
[semver]: https://semver.org
[psr2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[phpcs]: https://github.com/squizlabs/PHP_CodeSniffer
[git-squash]: https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages