Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Feb 9, 2024
1 parent cf4ff11 commit ebb66f1
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,25 @@

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## 3.0.0 - 2024-02-09

### Removed

- Constant `Ghostwriter\Json\Interface\JsonInterface::DECODE` was removed
- Constant `Ghostwriter\Json\Interface\JsonInterface::DEPTH` was removed
- Constant `Ghostwriter\Json\Interface\JsonInterface::EMPTY` was removed
- Constant `Ghostwriter\Json\Interface\JsonInterface::ENCODE` was removed
- Constant `Ghostwriter\Json\Interface\JsonInterface::IGNORE` was removed
- Constant `Ghostwriter\Json\Interface\JsonInterface::PRETTY` was removed

### Changed

- The return type of `Ghostwriter\Json\Interface\JsonInterface#decode()` changed from `mixed` to `array`
- Parameter 1 of `Ghostwriter\Json\Interface\JsonInterface#encode()` changed name from `int $flags = 0` to `bool $prettyPrint = false`
- Parameter 1 of `Ghostwriter\Json\Interface\JsonInterface#validate()` changed name from `int $flags = 0` to `bool $ignoreInvalidUtf8 = false`

## 2.0.0 - 2023-12-09

Expand Down

0 comments on commit ebb66f1

Please sign in to comment.