Removal of Bookmarks and Collections in the Prismic Content API #209
-
These changes will take effect on February 12, 2025: Removal of Bookmarks:
Removal of Collections:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@angeloashmore @lihbr So, how do we account for this best in this package? I quickly had a scan through the code:
How do you think we should proceed here? Let me know what you think! |
Beta Was this translation helpful? Give feedback.
-
Hi @c0nst4ntin, (sorry, I was already off by the time you posted in December, I hope you had nice holidays!)
I think we can mark them as deprecated as of now and let them be until February. By then, it looks like those functions are only public APIs (not used internally by the PHP kit itself), so we could let them fail gracefully once the Prismic API gets updated, optionally with an explicit error message(?). From here, maybe this parts needs to be updated to not fail if the
Apart from On the JavaScript side we don't use it anymore in On the PHP side it looks like this the SearchForm class makes use of it for that purpose. I'm not sure what role it really plays in the PHP kit to be honest, but since the Voila :) Let me know if I can clarify anything or if you need further information! |
Beta Was this translation helpful? Give feedback.
-
To sum everything up:
FYI @lihbr |
Beta Was this translation helpful? Give feedback.
To sum everything up:
Bookmarks are now deprecated (Version 5.4.0) and will be removed from the Prismic API in February (#210). They can be removed from the SDK in the next major release.
The SearchForm should not be affected by any changes from the API. It will remain in the SDK.
FYI @lihbr