Without further ado, I present to you Version 5 of @lipemat/js-boilerplate. This is a brand new major version which focuses on clearing out previously existing pain points from version 4 and before. Version 5 is stable and ready for general use. Admin.js Support: Previously, if you wanted to add another entry-point to the app, it was possible by using a config override and specifying your entry there. We have found (especially since the implementation of Gutenberg) that within the … [Read more...]
Blog (page 12)
WP-Unit Version 1.9.0
Over the past couple weeks we've actual had 3 releases of this library which bring us now to stable version 1.9.0. Together these releases have included a few new features as well as stability enhancements. Further streamlining of Ajax testing: Back in version 1.6.0 we introduced the ability to test custom ajax responses with a new helper method called _handleAjaxCustom. While this works great, it still requires the boilerplate of a try/catch block then using $this->_last_response. … [Read more...]
Introducing – Use Immer ReactN
If you have been part of the modern JavaScript community, it is likely you have run across a handy library called Immer. While I won't go too far into detail about what Immer does, the gist is it allows you to mutate immutable objects and pass the changed objects back as a new immutable one. This certainly comes in handy when dealing with React state which works almost exclusively with immutable objects and expects new ones to be passed for state updates. It is equally as likely you have run … [Read more...]
Removing Legacy License Support
As I'm sure you have heard by now, we launched a brand new license system back on May 26th, 2019. This system opened up new possibilities for things like subscriptions as well as making support more effective and personalized to each user. While the legacy system served it's purpose well for more than 5 years, this new system will grow with us and is expected to remain in place indefinitely. Now it is time to say goodbye to the Legacy License system. This will free up resources for us to … [Read more...]
Last Night’s Plugin Issues
I want to start out by apologizing to anyone who was inconvenienced by the plugin endpoint issues we experienced last night. I know it can be really annoying when a system that just works for years has an unexpected anomaly causing confusion and frustration. I am so sorry. First let's talk about the actual issues that user were experiencing. There are two of them: 1 The plugins were flagging licenses as invalid and displaying warnings in the WordPress admin. On a basic level, the PRO … [Read more...]
Continued Security Push With HSTS
If you have been following along with much of my community involvement lately, you've probably noticed I've been very preoccupied with security lately. This new found push for rigorous security overhauls all started when I accidentally learned how to hack websites using XHR. Previously, remembering to use POST instead of GET for handling user data was enough to protect against CSRF. NOT ANY MORE! The past few weeks have taken me down many security roads including SRI , XSS, CSRF, CSP … [Read more...]