Programming

Express Gateway v1.13.0 releases; drops support for Node 6

1 min read

Express Gateway v1.13.0 was released yesterday. Express Gateway is a simple, agnostic, organic, and portable, microservices API Gateway built on Express.js. The release 1.13.0 drops support for Node 6.

What’s new in this version?

Changes

  • The development Dockerfile is updated to better leverage the caching. The COPY statements are included at the very bottom to leverage caching for all the layers. Developers need not manually create work directory, WORKDIR does that automatically.
  • In the Express Gateway v1.13.0, the automated deployment process has been updated to provide updated README to the official Helm chart.
  • The Express Gateway v1.13.0 policy file is updated to be exposed as a set of functions instead of as a class which does not really hold any state nor extended anywhere. It transforms the current policy to be a singleton class to an object which exports 3 functions. This might help people get started in hacking with Express Gateway.
  • They have updated all their dependencies before the minor release.

Fixes

A lot of new changes have been made in Winston after the 3.0.0 migration. These include

  • A better default log level info which avoids using console.log in production code
  • They have updated all references in the code to use verbose to hide statements that do not matter
  • Added color to log context to differentiate between timestamp, context, level, and message
  • Deprecated different functions that aren’t used anywhere but are harming the general test coverage

Also, it is now possible to provide raw regular expression to Express Gateway’s CORS policy. This allows cors origin configuration to have regular expressions as values.

Read more about the release on Github.

Read Next

Welcome Express Gateway 1.11.0, microservices API Gateway on Express.js

API Gateway and its need

Deploying Node.js apps on Google App Engine is now easy

Sugandha Lahoti

Content Marketing Editor at Packt Hub. I blog about new and upcoming tech trends ranging from Data science, Web development, Programming, Cloud & Networking, IoT, Security and Game development.

Share
Published by
Sugandha Lahoti

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago