This release contains a new WebHook feature and several internal features and bug fixes to support the sensenet service infrastructure.
Our WebHook module is now able to send a custom payload when a webhook is triggered. This lets developers connect to already existing 3rd party services.
We consolidated many of our built-in content type icon names so that the frontend can use a unified icon set.
The Type field value was missing from the OData response in some cases.
Testing and infrastructure
We are in the middle of moving our old tests to the new API that is able to handle integration tests in a unified way. In this release we moved our blob tests to the new test project.
We improved reference property handling in our in-memory database so that tests can work in a unified way.
Added caching for index documents so that the document is generated only once when needed.
"The Romans gave this month the Latin name Aprilis but the derivation of this name is uncertain. The traditional etymology is from the verb aperire, "to open", in allusion to its being the season when trees and flowers begin to "open", which is supported by comparison with the modern Greek use of άνοιξη (ánixi) (opening) for spring." /from Wikipedia/ 🌷💐
For us not only the flowers and trees are blooming, but the second quarter has also begun. We have many plans for Q2 and we are really excited to share them with you soon. We would like to redesign our example apps and we also would like to add some new ones - the work has already started on this. We also updated the whole build process, so you have more options now for using our packages. 🔧
We were also busy with fixing bugs in the last couple of weeks, e.g.: 🐛
#1251 ⏰ The end2end tests made it clear to us that a lot depends on the timing, so we added a loader to the 'Add button list' till it loads the new list.
#1252 🚩 We cleaned up type icons as well, now it is more flexible to use them, then ever before. You can select the type icon what you would like to display from the CTD itself.
#1279 ♻️ Another key point that we are working on is webhooks. We would like to create as many webhook templates as we can to make your life easier. Keep up with the next releases, the templates will be available soon and the first step to reach them was the make webhook payload editable .
In document viewer we had also some bugs or missing features what we did solve:
#1259 📑 There was a bug in comment marker placing on inactive page, now it is working properly.
#1256 🔄 One edgecase is also has been adressed: if the backend cannot generate previews for a long time, it will not affect other opreations, infinite loop cannot be occured.
#1260 🚫 Comment marker and shape placing at the same time is not available from now.
A newcomer arrived in our packages: the universal header #1231 💫
Universal header was created to standardize our exmaple apps, but this header component can be used by anyone. It has three main parts:
Hamburger menu (with links of our main documentation and helper stuff) 🍔
Title (can be overwritten)
Three-dot menu (can be a custom menu for your app)
There's a newbie example app as well: gatsby-blog. In this version it uses the posts from the file system, but we are currently working on a source plugin so the source of this plugin will be a sensenet repository in the near future. 😍
You should also check the changes in the build system here: #1234
As you know we've been putting a lot of effort on optimization lately, check out our article here about it.
See you in next month! 🙋👋
This is a minor release containing a small fix and a new content property.
We added a new FieldNames property to the Content class to have a list of field names found in the response.
Removed a JObject restriction when deserializing a response to let the caller work with JArrays too.
To aid our admin UI dashboard, we added more information to the version info action result.
We are working on modernizing our backend classes to work with dependency injection. This time we refactored our binary layer to work with instances instead of a static API.
Added a new logger option during patching to let us collect more detailed messages during patching.
We will examine through a real example how they work and how we can make our web application faster by reducing our initial bundle size. It is common to use TypeScript for its static type system. We often need types from our dependencies, but if we don't pay attention it can ruin our hardly achieved code splitting. I will show you a fairly new syntax to avoid it.
6 people, 4 days, ∞ coffees and the result is 1 prototype and lot of feedbacks and new ideas by the end of the week. This was our design sprint in a nutshell.
Check how we succeeded and what we achieved in our design sprint! 🎢
The first version of Wehooks is released! You can start subscribing to events and receive them in a 3rd party service.
Predication engine is able to run on Delete events correctly.
http (non-secure) support from the WOPI feature (Office Online editing). We support
https-only connections from now on.
Workspace name length was too restrictive, it is possible to create workspaces with names up to a 100 characters from now on.
In the last month, we worked on two major tasks: settings page with a lot of new features and performance optimization of the admin ui and our packages. The long-awaited webhooks are finally available in sensenet. It opens up a lot of new opportunities for our customers.
We added a new menu item called Settings to the sidebar navigation. ⚙️ Some previously individual menu items had been moved here like Localization, Setup (renamed to Configuration) and Personal settings (renamed to admin-ui customization). #1159
The Settings page also contains some new sub-pages: Stats 📊, Api and security 🔑, Webhooks 🔔. Stats page has a chart which shows the amount of storage space usage and the current utilization of your plan. It has 2 tables containing some technical details of your repository with the required and installed sensenet components. #1162
API and Security is very useful if you want to build a new application over sensenet. You can manage your access tokens here which are needed for implementing authentication for your app. A similar page also available on profile.sensenet.com. #1168
The third new feature is Webhooks, from now on you can subscribe to a lot of events in your repository and get notified by sending a request #1172. You can read more about webhooks on the documentation site
setupFieldSettingForControl function had a special object as type parameter, it has changed to the name of content type (as a string) to make it easier to use with user created custom types.
We replaced Moment.js with date-fns. You can pass the current locale as a parameter to the
DatePicker control. We also created a new control to handle digital information units:
Backend related fields has removed from the types.
Old sn6 icons are not used anymore, so they are removed from the package.
typeIs functions has changed to string (name of the content type).
Working on a project in a cross-functional team can be full of pitfalls. I have some tips on how you could use sensenet avoiding them and boosting team productivity at the same time.