Changelog

Latest changes and updates to Insomnia

May 24, 20212021.4.0-beta.1

Hello, TypeScript! ūü•≥

The Insomnia codebase has been around for ~5 years now, and over time has gone through several iterations as JavaScript patterns evolved. In the most recent major iteration, we migrated a large majority of the codebase from Flow to TypeScript! There are countless benefits for having a codebase in TypeScript but the undertaking is huge, so the aim was to migrate like-for-like, to reduce the risk of introducing bugs.

As such, this is a beta release of Insomnia and all related packages after the migration to TypeScript, with the aim to discover and tie up any loose ends before the upcoming stable release.

Please report any bugs you may find using the issue tracker! ūü§ó

Inso

Included as of insomnia-inso v2.3.0-beta.3

  • Added a `--tags` option to specify tags when generating configuration files using `inso generate config`

Notable Fixes

  • Fixed a vulnerability when opening external links through Insomnia

Additions and Other Improvements

  • Improved the OpenAPI spec preview code font color

Thank you!

A huge shout out to the community members who contributed to this release of Insomnia!

  • @jsoref #3345
  • @roguib #3369
  • @7085 for identifying the vulnerability

Apr 28, 20212021.3.0

OpenAPI to Kong configuration

As users build APIOps pipelines using Insomnia, Inso and Kong, the need for improvements to the OpenAPI-2-Kong config generation became evident. As such, this release includes the following improvements (which are available within Insomnia, and also through the Insomnia CLI, Inso).

Kong Declarative Configuration

  • Added support to specify a `style` property for query parameters (preset depending on the parameter type) #3327
  • Fixed the path parameter regex to only match one segment #3298
  • Added support for the request validator plugin to respect user defined properties and generate missing ones #3283
  • Added support for plugins defined at the document root, path, or operation levels #3293
  • Added tags to generated targets, similar to services #3320
  • Fixed a bug where generated operation ids could be illegal or have collisions #3318
  • Improved the generated service to have the service URL broken down into its parts to allow for improved diff and sync efficiency #3314
  • Fixed a bug where a server specified as a path only would result in an invalid upstream target #3314
  • Fixed a bug where the service was using the actual hostname instead of the upstream name #3314
  • Improved plugin generation logic to include tags from various sources #3328
  • Added support for x-kong-{route, upstream, service}-defaults keys in the OpenAPI spec #3273
  • Changed behavior such that strip_path is set to false by default on generated routes #3273

Notable Fixes

  • Fixed analytics tracking to honor analytics preferences (and added a one-time prompt for users to revise this preference)
  • Fixed the initial startup background color to a dark preset

Additions and Other Improvements

  • Added support for various Git URL formats (SSH/SCP/HTTPS) with or without a .git suffix
  • Improved Git clone behavior when working with existing repositories
  • Added support for an identity token in the OAuth2 authentication flow

Plugin API changes

  • Add a method to access all response headers (`context.response.getHeaders`)

Thank you!

A huge shout out to the community members who contributed to this release of Insomnia!

Please request features or report bugs you may find using the issue tracker! ūü§ó

Mar 30, 20212021.2.2

Notable Fixes

  • Fixed an issue where scrolling unit tests and test results didn‚Äôt work
  • Fixed an issue where OpenAPI server hosts containing variables didn‚Äôt translate correctly to Kong Declarative Config targets

Additions and Other Improvements

  • Improved cards on the dashboard to display a more accurate last changed timestamp
  • Improved error messaging when connecting to the Kong Portal
  • Improved loading state when setting up Sync on a Collection
Mar 24, 20212021.2.1

This patch addresses a regression found in 2021.2.0 where users were unable to make requests against localhost on certain platforms like Windows and through local DNS servers across all platforms.

Once discovered we removed 2021.2.0 from the auto-update list and began our investigation. Through investigation we found the source of the regression was an update made to node-libcurl and worked with the maintainer to get a new build that resolves the issue.

We would like to give huge thank you to JCMais the maintainer of node-libcurl for being so helpful and working with us quickly to get out a build for this release. ‚̧ԳŹ

Mar 23, 20212021.2.0

MacOS Big Sur Improvements

To address issues surrounding the recent macOS Big Sur release we have upgraded Electron to 9.3.5. 

This change provides increased performance, reduction of graphical artifacts, properly rounded corners on macOS Big Sur and Partial support for M1 (running under Rosetta 2).

Select theme based on System Preferences

With this release users can now select specific themes to be used based on your System Preferences. 

Users can enable this setting by navigating to Application Preferences > Themes > Scroll to bottom and enable "Use OS color scheme". 

Additions and Other Improvements

  • Fixed an issue where saving a binary response to file wouldn‚Äôt unlock the file
  • Fixed an issue where template tags didn‚Äôt work in the basic auth password field¬†

Thank you!

Last but not least, a huge shoutout to everyone who contributed to this release of Insomnia!

Mar 10, 20212021.1.1

Notable Fixes

  • Fixed issue where saving numeric Preferences would not work
  • Fixed issue where migrating Insomnia Designer plugins when a .DS_Store file was present would error

Additions and Other Improvements

  • Improved document creation to automatically navigate to document on creation
  • Improved the dashboard so that documents are ordered by most recently modified
Mar 3, 20212021.1.0

Single Application

Based on user feedback, usage observations, and internal discussion, we've merged Insomnia Designer and Insomnia Core. Following the Insomnia 2021.1 release there will no longer be an Insomnia Core or Insomnia Designer, only Insomnia.

When you start Insomnia users will be presented with the Dashboard, a new way to manage Design Documents and Request Collections (previously named workspaces). 

Once inside a Request Collection, Insomnia users will feel very much at home, while there are some changes, we tried to keep them to a minimum to retain the simplicity of Insomnia that we all enjoy.

If you were a user of Insomnia Designer you will be presented with a data migration flow asking you what data you would like to migrate. 

If you decide to skip the migration, you can always re-open the data migration flow through Application Preferences > General >  Migrate from Designer.

The Version Control Sync menu and button can now be found in the top right corner of the application header:

The remote pull menu has also been moved to the dashboard next to the create menu and is visible once logged in:

As a part of the merge, we have also bundled the Kong Plugin Bundle as a core plugin. Users familiar with Designer can now find their plugin actions under the document dropdown as seen below, this change was done to reduce header clutter and allow for future actions.

Improved protofile support

The Select Proto File dialog now supports multi-file and directory import for .proto files for GRPC requests.

Template tag support for gRPC

You can now use template tags for gRPC hosts and bodies.

Portable application support for Windows

Windows users now have the option to install Insomnia as a portable application, the portable binary can be found on the Insomnia Github releases page.

Automatic request collection generation improvements

We've made several updates to how we handle automatic generation of request collections to preserve user data while switching between the design and debug activities based on both user feedback and direct user input.

Now while switching between design and debug within a design document, changes from the specification to the request collection are now additive only, meaning that existing values and modifications to requests will not be overwritten.

In addition to preserving user data while switching between Design and Debug, the selected environment is also preserved.

Note: During QA, we identified a known issue where if you add an element in-between array elements inside of the specification and switch to the debug activity the element added will inherit the values of the array element that it took the place of. For now users can work around this issue by adding new elements to the end of the array.

Breaking changes

This release also contains the following breaking changes.

Legacy sync has been deprecated

With the release of Insomnia 2021.1, Legacy Sync has been deprecated in favor of version control which has been promoted to stable. Read more here.

Cloning repositories now requires a .git suffix

With this release to better support other platforms and workflows such as Azure DevOps cloning repositories now requires explicitly having the .git suffix.

Existing settings and repositories should not be affected by this change.

CLI - Default application directory has changed

With the merge of Insomnia Core and Insomnia Designer, the Insomnia CLI now looks at the Insomnia application data directory by default.

Notable Fixes

  • Fixed an edge case where the auto-complete dropdown would not close
  • Fixed issue where resizing gRPC requests would cause scaling issues
  • Fixed issue where generating JSON from OpenAPI caused an infinite loop
  • Fixed issue where GraphQL explorer text was not selectable
  • Fixed issue where file inputs where not handled properly when copying multipart requests as cURL
  • Fixed issue where generating cURL was broken due to missing cookie expiry field and value

Additions and Other Improvements

Insomnia Application

  • Updated the SSL trust store
  • Added RPC type acronyms to method selector for gRPC requests
  • Added loading state when committing changes with Git Sync
  • Added the ability to resize design and unit testing panes
  • Added support for actions in template tag plugins
  • Added ability to clear values in the prompt tag
  • Added ability to clear the OAuth2 session under advanced options field
  • Added YAML linting support for Request Collections
  • Added ability to reveal passwords inline
  • Added end markers to end of route paths when generating Kong declarative configuration
  • Improved sorting for the GraphQL explorer, items are now sorted alphabetically
  • Improved handling of plugin installation warnings
  • Improved ordering of requests in template tags, they now follow the sidebar sorting order
  • Improved experience when importing GraphQL cURL command
  • Improved experience when changing font size
  • Improved Kong declarative config generation to prefer OpenAPI operationId over generated values.
  • Changed it so that the last imported URL is now cached

Insomnia CLI (Inso)

  • Added support for linting specification files

Thank You

Last but not least, a huge shoutout to everyone who contributed to this release of Insomnia!

Dec 9, 20202020.5.2

Minor Update

  • Updated metrics counters for requests
Dec 4, 20202020.5.1

Minor Update

  • OAuth 2 PKCE can now be enabled
Dec 2, 20202020.5.0

Major Update

Oct 26, 20202020.4.2
  • Save application logs to disk