Skip to content

Releases: php-ago/ago

v4.2.0

26 Nov 18:32
6ec45f3

Choose a tag to compare

  • ✨ Added support for PHP 8.5

v4.1.0

18 Jun 10:50
ff3cecd

Choose a tag to compare

💻 Added Docker to the project

v4.0.1

19 Jan 14:41

Choose a tag to compare

  • 🐛 Bug fix with incorrect days in a year

v4.0.0

11 Dec 18:57

Choose a tag to compare

🚀 Upgrade Guide from 3.x to 4.x

  • Breaking changes
    • ⚠️ Drop support for PHP 7.1, 7.2, 7.3, 7.4, 8.0
    • ⚠️ The Option class is now an enum type
    • ⚠️ Remove second parameter from Serhii\TimeAgo\Lang::set() method, which was $overwrites. Now, overwrites are defined through the configuration
  • Improvements
    • 🧑‍💻 Codebase refactoring and cleanup
    • 🧑‍💻 Remove InvalidDateFormatException exception that was thrown from TimeAgo::trans() in the version 3
    • ✨ Added support for PHP 8.4
    • ✨ Added new option Option::RESET_CONF to reset the configuration to default values
    • 🧑‍💻 Added configure and reconfigure methods to the TimeAgo class, you can read about them in the documentation
    • 🧑‍💻 Improve time calculation including leap years
    • 🇨🇳 Add Chinese Simplified language support

4.0.0-rc.1

11 Dec 17:51
196d936

Choose a tag to compare

4.0.0-rc.1 Pre-release
Pre-release

🚀 Upgrade Guide from 3.x to 4.x

  • Breaking changes
    • ⚠️ Drop support for PHP 7.1, 7.2, 7.3, 7.4, 8.0
    • ⚠️ The Option class is now an enum type
    • ⚠️ Remove second parameter from Serhii\TimeAgo\Lang::set() method, which was $overwrites. Now, overwrites are defined through the configuration
  • Improvements
    • 🧑‍💻 Codebase refactoring and cleanup
    • 🧑‍💻 Remove InvalidDateFormatException exception that was thrown from TimeAgo::trans() in the version 3
    • ✨ Added support for PHP 8.4
    • ✨ Added new option Option::RESET_CONF to reset the configuration to default values
    • 🧑‍💻 Added configure and reconfigure methods to the TimeAgo class, you can read about them in the documentation
    • 🧑‍💻 Improve time calculation including leap years
    • 🇨🇳 Add Chinese Simplified language support

v3.2.6

01 Nov 11:41

Choose a tag to compare

  • Moved repo to a new organization php-ago/ago
  • Update composer.json file

v3.2.5

08 Sep 14:32

Choose a tag to compare

  • Formatted code with Pint
  • Update README.md file
  • Update composer packages

v3.2.4

14 Apr 08:44

Choose a tag to compare

  • Modified LICENSE file
  • Updated composer packages

v3.2.3

28 Mar 12:22

Choose a tag to compare

  • Added more information to README.md file
  • Update nestbot/carbon package from ^3.0 to ^3.2.1

v3.2.2

09 Mar 17:10

Choose a tag to compare

  • Formatted CHANGELOG.md file
  • Small code refactoring
  • Added a new badge to a README.md file
  • Moved scripts from Makefile to composer.json
  • Removed slashes before each PHP native function