Skip to content

Releases: SteppingHat/php-emoji-detector

Unicode 16.0 support

12 Mar 08:16
Compare
Choose a tag to compare

What's Changed

  • Support for Unicode 16.0 characters
  • Generate datasets directly from Unicode resources #19
    Data is now sourced directly from Unicode when generating the local map. While testing every single emoji is not possible, there is test coverage that tests a distributed sample of emojis that continue to pass despite the provider change, making this safe for release.

Full Changelog: 1.7.0...1.8.0

PHP 8.4 support

15 Dec 07:42
Compare
Choose a tag to compare

This release adds PHP 8.4 to the test matrix and confirms support for PHP 8.4.

While PHP versions 7.4 and 8.0 are no longer supported, this library will continue to support them due to its simplicity at least until any issues arise.

Add `detectDistinct()` method

06 Sep 07:37
Compare
Choose a tag to compare

What's Changed

  • Added a method called detectDistinct() that lists the first occurrence of every distinct emoji in a given string.
  • Updated documentation to usher users to use caret versioning, since future Unicode updates are published as minor releases.

Full Changelog: 1.5.1...1.6.0

Unicode 15.0 support

21 Aug 06:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3...1.4

⚠️ Unicode 15.0 has updated metadata for some emojis ⚠️

For example, the category for ❤️ changed from 'emotion' to 'heart'. This caused one of the tests to fail, which has been amended to reflect the new data.

Due to the nature of Unicode and how emoji data is managed, this will not be means for a major release.

The purpose of the tests are to ensure that this package works as intended, and not to validate the Unicode data itself. If there are any issues that arise, please report an issue.

Added PHP 8.2 support

01 Aug 01:48
Compare
Choose a tag to compare
1.3.0

Add public method to detect distinct emojis in a string

PHP 8.3 support

05 Feb 00:24
6423437
Compare
Choose a tag to compare

This release assures tests are run against PHP 8.3.

No bugfixes, features or updates to the Unicode version are included in this release.

Unicode 15.1 support

15 Nov 08:55
7e60983
Compare
Choose a tag to compare

Removed unsupported PHP versions from test suite (7.1, 7.2 and 7.3)

16 May 02:58
Compare
Choose a tag to compare
1.2.1

Dropped unsupported PHP versions from tests (7.1, 7.2, 7.3)

Check for a purely emoji string and PHP 8.1 Support

15 May 21:11
Compare
Choose a tag to compare

This release adds a feature where you can check if a string is purely emojis. For example:

<?php

require_once('vendor/autoload.php')

use SteppingHat\EmojiDetector;

$detector = new EmojiDetector();

$detector->isEmojiString("😂😂😂"); // Returns TRUE
$detector->isEmojiString("Deez nuts 🥜") // Returns FALSE

This update also brings automated testing for PHP 8.1

Unicode 13.1.0 and PHP 8.0 support

18 Mar 06:04
d2301e9
Compare
Choose a tag to compare
Merge pull request #2 from SteppingHat/feature/update-to-unicode-13.1.0

Update to unicode 13.1.0