Skip to content

Commit 2c63324

Browse files
committed
doc for enchant Object move
1 parent 7db4c24 commit 2c63324

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

NEWS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ PHP NEWS
4444
- Enchant:
4545
. Add LIBENCHANT_VERSION macro
4646
. Deprecate enchant_broker_set_dict_path, enchant_broker_get_dict_path
47-
enchant_dict_add_to_personal and enchant_dict_is_in_session
47+
enchant_dict_add_to_personal, enchant_dict_is_in_session,
48+
enchant_broker_free and enchant_broker_free_dict functions
49+
. Deprecate ENCHANT_MYSPELL and ENCHANT_ISPELL constants
4850
. Add enchant_dict_add and enchant_dict_is_added functions
4951
. Use libenchant-2 when available
52+
. Add object API
5053

5154
- FPM:
5255
. Fixed bug #64865 (Search for .user.ini files from script dir up to

UPGRADING

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ PHP 8.0 UPGRADE NOTES
217217
* DOMUserDataHandler
218218
* DOMTypeInfo
219219

220+
- Enchant:
221+
. enchant_broker_init will now return an EnchantBroker object,
222+
enchant_broker_request_dict and enchant_broker_request_pwl_dict will
223+
now return an EnchantDict object rather than a resource.
224+
220225
- Exif:
221226
. Removed read_exif_data(). exif_read_data() should be used instead.
222227

@@ -507,6 +512,7 @@ PHP 8.0 UPGRADE NOTES
507512
. enchant_dict_add()
508513
. enchant_dict_is_added()
509514
. LIBENCHANT_VERSION macro
515+
. New object API using EnchantBroker and EnchantDict
510516

511517
- dom:
512518
. Introduce DOMParentNode and DOMChildNode with new traversal and manipulation APIs
@@ -544,6 +550,8 @@ PHP 8.0 UPGRADE NOTES
544550
not available in libenchant < 1.5 nor in libenchant-2
545551
. enchant_dict_add_to_personal, use enchant_dict_add instead
546552
. enchant_dict_is_in_session, use enchant_dict_is_added instead
553+
. enchant_broker_free and enchant_broker_free_dict, unset the object instead
554+
. ENCHANT_MYSPELL and ENCHANT_ISPELL constants
547555

548556
- Zip:
549557
. Using empty file as ZipArchive is deprecated. Libzip 1.6.0

0 commit comments

Comments
 (0)