Jump to content
ryan

PW 3.0.118 – Core updates

Recommended Posts

@ryan

Thanks for updates. 

In the blog post for 3.0.117 new 'WireArray::new' method was introduced but in 3.0.118 it was removed and now we have new API functions (WireArray($items) and PageArray($items). Maybe the blog post for 3.0.117 should be changed to reflect current implementation (as blog posts currently are part of docs)? 

  • Like 1

Share this post


Link to post
Share on other sites

I tried new redirect option and manually created redirect, but instead of a redirect, I get 404 page. I'm probably doing something wrong ...

Share this post


Link to post
Share on other sites

Will there be another master release in the near future? I've seen some nifty features passing by in the dev version since 3.0.98, and eager to use some of them in production environments...

Share this post


Link to post
Share on other sites
Quote

 

In the blog post for 3.0.117 new 'WireArray::new' method was introduced but in 3.0.118 it was removed and now we have new API functions (WireArray($items) and PageArray($items). Maybe the blog post for 3.0.117 should be changed to reflect current implementation (as blog posts currently are part of docs)?

 

There has been no change here, the WireArray::new() method remains as it was before. It was only the non-static implementation that was removed, which was present not for functional reasons, but purely so that it would show up in the auto-generated API docs to represent the static version. That non-static version was causing issues in PHP versions prior to 7.x. The static version does not cause issues because it's implemented via PHP's __callStatic() handler. While there are WireArray() and PageArray() functions that can be used the the same way as WireArray::new() and PageArray::new(), the ::new() versions are preferable because they will work with any WireArray derived type, and as a bonus, they can also accept variable argument lists. 

  • Like 2

Share this post


Link to post
Share on other sites
Quote

Will there be another master release in the near future? I've seen some nifty features passing by in the dev version since 3.0.98, and eager to use some of them in production environments...

Yes, we should have one hopefully this month. 

  • Like 4
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...