From d4cf48f43c8356e5a3d41b1d6d6629f102aa3f6e Mon Sep 17 00:00:00 2001 From: Danna Cahana <124716273+dannac2@users.noreply.github.com> Date: Tue, 5 Sep 2023 19:53:07 +0300 Subject: [PATCH] Update 2023-08-30-magazine-004.md --- blog/2023-08-30-magazine-004.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blog/2023-08-30-magazine-004.md b/blog/2023-08-30-magazine-004.md index 1bc2dc217..207b26485 100644 --- a/blog/2023-08-30-magazine-004.md +++ b/blog/2023-08-30-magazine-004.md @@ -29,6 +29,7 @@ In this edition, we will be reviewing the following changes: ### Deep Equality for Structural Types: ❤️ Added by [Marcio Cruz](https://github.com/marciocadev) ❤️ +
From today, our suite of structural and collection types—arrays, maps, JSON, and structs—are now fully equipped to handle deep equality checks. This means that when you use the == operator, it’s no longer a shallow, reference-based comparison. It digs deeper, checking the actual content and structure of the objects in question. This is an under-the-hood change that should make your code cleaner and your comparisons more precise. No more workarounds or lengthy utility functions to compare complex data structures deeply—they’re baked right in. When you use ==, you can now trust that it’s performing a complete, deep equality check. @@ -40,12 +41,14 @@ This is an under-the-hood change that should make your code cleaner and your com ### DateTime Type and Utilities: ❤️ Added by [Tsuf Cohen](https://github.com/tsuf239) ❤️ +
In our latest update, the DateTime Type along with its associated utilities and methods. Before this enhancement, our system primarily focused on durations. Now, we can offer comprehensive DateTime support, bridging a gap and providing users with a more complete toolset for their time-based operations. This new integration is set to make tasks involving date and time more intuitive and efficient. ![datetime-type](./assets/2023-08-30-magazine-004/datetime.png) ### Performance Optimization for JSII Loading: ❤️ Added by [Yoav Steinberg](https://github.com/yoav-steinberg) ❤️ +
We have also made a significant enhancement in the way we handle JSII libraries. Previously, we relied on a JSON format, which was somewhat sluggish, especially for larger JSII libraries. This shift to a binary format has actually slashed loading times. To put it in perspective, certain libraries that used to take about 4 seconds to load, now dazzle with a swift 700-millisecond loading time. ![JSII-module](./assets/2023-08-30-magazine-004/jsii-caching.png) @@ -65,6 +68,7 @@ In an effort to accelerate our development processes, we transitioned from Nx to ### Multi-File Support: ❤️ Added by [Chris Rybicki](https://github.com/Chriscbr) ❤️ +
We’ve been working to enhance and improve Wing’s multi-file support and have just introduced the latest update. Despite an initial challenge that led to a rollback, the new multi-file support allows classes, structs, types, and other declarations to be shared across different files. Now, developers can now better organize their code, reducing naming collisions and improving composability.