Yes, currently you can't serialize an async response and resume it in another request later. Async operations must finish within the current request. We will see what needs to be changed for the next version to support serializing and resuming responses too.
Upscheme will always try to migrate to the declared state, so changes by hand could be removed. It fails if it's impossible because the columns are incompatible. Then, you can fix it and re-run the migrations because it only compares source and target state.
Currently, there's no dry-run mode but it's easy to add one where it only displays the SQL statements that would be executed. We will implement that.
ValueError can only be caught using Throwable, not by Exception as before.
Interface changes are easy to find and update, semantic changes are hard and most often surface only in production environments - which we wanted to avoid.
PHP Map 3.x supported PHP 7.x too, which only raised a warning if $num was smaller than zero. PHP Map 4.x supports PHP 8x only but we didn't removed the checking to still throw the same exception as before.
Unfortunately, immunable value objects have some drastic performance/memory consequences, e.g. think of sorting (inplace vs. copy+sort). Thus, there are sometimes two different methods available like sort() and toSorted() where the later returns a new object.
In principle yes but PHP Map doesn't depend on Laravel. Also, PHP Map package has more methods where Laravel collections are weak, like for tree handling.
Hm, tested it using Firefox and Safari and both are working consistently. Can you have a look into the browser console? There, the event is logged when you double click on an element.
In the page preview, the buttons are shown if you double-click on a content element only (not e.g. on layout elements defined by the main Blade template). If you double-click on anything else, you should get a message that it's a) not a content element or b) it's a preview mode when clicking on a link.
Please keep in mind that the actions in the context menu of each content item (activated by the three vertical dots button) are context sensitive and the actions depend on what you can actually do (depending on content element, type and state).
Or am I misinterpreting your comment and you mean something different?
Most of the time, people are working at different sections of a page and then, the realtime update and merging all changes automatically using the Git-like three way merge is great because no changes are lost.
The merge is a three way merge like Git does (keep non-conflicting changes from both, show conflicts and let the user decide which one to keep). If a Reverb web socket server is installed, the changes are pushed in realtime to all users working on the same page (except the content you are currently modifying or have already modified).
You are right, configuring a new provider isn't always enough as their support for features may vary. The main reason for using Prisma is still that you can change e.g. from OpenAI to Anthropic when one of them gets better in an area you need without rewriting your whole integration.
The Prisma documentation also contains detailed comparison which provider supports what feature so you know about the differences upfront.
Constants are used at other places where they clearly make sense. Using constants or enums for provider names seems like a good thing at first sight, but providers are an open set (users can create custom providers), and an enum or constant class can't be extended by third parties. That would create an inconsistent API where built-in providers use constants but custom ones use strings. Strings keep the API uniform and extensible for everyone.
For consistency, simplicity and real world usage we've decided against using constants or enums for providers.
We are glad that you like it too :-)
Yes, currently you can't serialize an async response and resume it in another request later. Async operations must finish within the current request. We will see what needs to be changed for the next version to support serializing and resuming responses too.
Thanks a lot, that's really helpful!
We will have a deeper look into Statamic and if we can adapt the wording more to Wordpress.
Upscheme will always try to migrate to the declared state, so changes by hand could be removed. It fails if it's impossible because the columns are incompatible. Then, you can fix it and re-run the migrations because it only compares source and target state.
Currently, there's no dry-run mode but it's easy to add one where it only displays the SQL statements that would be executed. We will implement that.
ValueError can only be caught using Throwable, not by Exception as before.
Interface changes are easy to find and update, semantic changes are hard and most often surface only in production environments - which we wanted to avoid.
There's a performance comparison section to conventional php array functions with dos and donts:
https://php-map.org/#performance
PHP Map 3.x supported PHP 7.x too, which only raised a warning if $num was smaller than zero. PHP Map 4.x supports PHP 8x only but we didn't removed the checking to still throw the same exception as before.
Unfortunately, immunable value objects have some drastic performance/memory consequences, e.g. think of sorting (inplace vs. copy+sort). Thus, there are sometimes two different methods available like sort() and toSorted() where the later returns a new object.
Do you have an example for what you propose?
The Laravel collection package still requires:
Most of the improments are edge case improvements or things that are not handled well by the underlying PHP functions.
In principle yes but PHP Map doesn't depend on Laravel. Also, PHP Map package has more methods where Laravel collections are weak, like for tree handling.
Agreed, "collection" is the word that describes it best what it is for
Hm, tested it using Firefox and Safari and both are working consistently. Can you have a look into the browser console? There, the event is logged when you double click on an element.
In the page preview, the buttons are shown if you double-click on a content element only (not e.g. on layout elements defined by the main Blade template). If you double-click on anything else, you should get a message that it's a) not a content element or b) it's a preview mode when clicking on a link.
How can that be improved in your opinion?
Please keep in mind that the actions in the context menu of each content item (activated by the three vertical dots button) are context sensitive and the actions depend on what you can actually do (depending on content element, type and state).
Or am I misinterpreting your comment and you mean something different?
The optional AI features are not glued into an existing interface. Instead, they are always present where they can support you (context-sensitive).
Most of the time, people are working at different sections of a page and then, the realtime update and merging all changes automatically using the Git-like three way merge is great because no changes are lost.
Thanks! 😄
The merge is a three way merge like Git does (keep non-conflicting changes from both, show conflicts and let the user decide which one to keep). If a Reverb web socket server is installed, the changes are pushed in realtime to all users working on the same page (except the content you are currently modifying or have already modified).
It's OK that you don't like AI but it's helpful if you use it right and it won't go away any more ...
We use a shared "aimeos" Github account and are three people working on that project (Norbert, Tom and Andy).
The linked article explains in detail what are the issues
You are right, configuring a new provider isn't always enough as their support for features may vary. The main reason for using Prisma is still that you can change e.g. from OpenAI to Anthropic when one of them gets better in an area you need without rewriting your whole integration.
The Prisma documentation also contains detailed comparison which provider supports what feature so you know about the differences upfront.
That's true
Constants are used at other places where they clearly make sense. Using constants or enums for provider names seems like a good thing at first sight, but providers are an open set (users can create custom providers), and an enum or constant class can't be extended by third parties. That would create an inconsistent API where built-in providers use constants but custom ones use strings. Strings keep the API uniform and extensible for everyone.
For consistency, simplicity and real world usage we've decided against using constants or enums for providers.