Skip to content

Releases: php-ago/ago

v2.3.1

27 Jan 10:24

Choose a tag to compare

  • Added more information to CONTRIBUTE.md file;
  • Added support for Dutch language;

v2.3.0

27 Jan 08:58

Choose a tag to compare

  • Added deprecation notice when you try to use Option::UPCOMING option;
  • Closed issue #34. Changed trans method to except future dates and return correct result.

v2.2.1

16 Jan 19:34

Choose a tag to compare

  • Fixed mistake in composer.json file with carbon library being as a dev dependency

v2.2.0

16 Jan 19:29

Choose a tag to compare

  • Added support for timestamps to TimeAgo::trans() method and not just strings.
  • Added support for DateTime and DateTimeImmutable to TimeAgo::trans() method.
  • Added support for Carbon and CarbonImmutable to TimeAgo::trans() method.
  • Added more tests to make sure that new features are working correctly.

v2.1.3

16 Jan 15:01

Choose a tag to compare

  • Added more info to README.md file about using second argument in Lang::set() method.
  • Improved performance of the program by caching included translations and reusing them.

Author: @SerhiiCho
Pull request: #30

v2.1.2

16 Jan 14:28

Choose a tag to compare

  • Added flags to supported languages table in README.md file.
  • Added ability to overwrite translations. Closes issue #20.
  • Added more info to README.md file.

Author: @SerhiiCho
Pull request: #29

v2.1.1

05 Dec 15:45

Choose a tag to compare

  • Added support for PHP 8.1

v2.1.0

05 Dec 15:00

Choose a tag to compare

v2.1.0 (2021-12-04)

  • Other bug fixes with language rules.
  • Code refactoring
  • Bug fix with English language 0 seconds ago.
- 0 second ago
+ 0 seconds ago

v2.0.8

04 Dec 16:22

Choose a tag to compare

  • Added more types for phpstan static analyzer.
  • Added CHANGELOG.md file to the root of the project.

v2.0.7

11 Apr 13:45

Choose a tag to compare

  • Fixed typo in composer.json