Releases: php-ago/ago
Releases · php-ago/ago
v4.2.0
v4.1.0
v4.0.1
v4.0.0
- Breaking changes
⚠️ Drop support for PHP7.1,7.2,7.3,7.4,8.0⚠️ TheOptionclass is now an enum type⚠️ Remove second parameter fromSerhii\TimeAgo\Lang::set()method, which was$overwrites. Now, overwrites are defined through the configuration
- Improvements
- 🧑💻 Codebase refactoring and cleanup
- 🧑💻 Remove
InvalidDateFormatExceptionexception that was thrown fromTimeAgo::trans()in the version3 - ✨ Added support for PHP 8.4
- ✨ Added new option
Option::RESET_CONFto reset the configuration to default values - 🧑💻 Added
configureandreconfiguremethods to theTimeAgoclass, you can read about them in the documentation - 🧑💻 Improve time calculation including leap years
- 🇨🇳 Add Chinese Simplified language support
4.0.0-rc.1
- Breaking changes
⚠️ Drop support for PHP7.1,7.2,7.3,7.4,8.0⚠️ TheOptionclass is now an enum type⚠️ Remove second parameter fromSerhii\TimeAgo\Lang::set()method, which was$overwrites. Now, overwrites are defined through the configuration
- Improvements
- 🧑💻 Codebase refactoring and cleanup
- 🧑💻 Remove
InvalidDateFormatExceptionexception that was thrown fromTimeAgo::trans()in the version3 - ✨ Added support for PHP 8.4
- ✨ Added new option
Option::RESET_CONFto reset the configuration to default values - 🧑💻 Added
configureandreconfiguremethods to theTimeAgoclass, you can read about them in the documentation - 🧑💻 Improve time calculation including leap years
- 🇨🇳 Add Chinese Simplified language support