Skip to main content

We have been heads down working on major improvements to Monarch. Here's a quick and exciting update of what's to come.

Monarch goes 100% open source! ๐Ÿคฏโ€‹

The next major release of Monarch will be 100% open source. As we open source Monarch, we are also improving the Monarch architecture. The new architecture will facilitate contributions from the community and it also lays the infrastructure to support add-ons and many new features in Monarch.

This work is heavily under way and should be released very soon!

Linux is next! ๐Ÿš€โ€‹

After we release the open source version of Monarch, Linux will follow. The new Monarch architecture will help us scale and maintain the Monarch Linux version. We are super excited about welcoming Linux users!

Monarch intro video ๐Ÿค“โ€‹

We now have an intro video which explains Monarch. We love how this intro video turned out. We think it presents what Monarch can do for you very well. Many users had asked for this video and it is finally here.

Support for Flutter 3.xโ€‹

If you upgrade your project to use Flutter 3.x, then make sure to use the monarch package version 2.3.0. We released a new version of Monarch which validates your project is using the monarch package that corresponds to the Flutter version it is running.

New Monarch branding ๐Ÿ’Ÿโ€‹

We updated our logo, brand colors, fonts and revised the website content. We hope you like the new changes!

Funny Meme

Join our team ๐Ÿ‘ซโ€‹

We are looking for Dart Developers (front-end and back-end) and Flutter Writers to join our team. Please send an email to support@monarchapp.io for more details.

If you upgrade your project to use Flutter 3.x, then your project should use the monarch package version 2.3.0. This release automatically validates your project is using the correct monarch package version based on the Flutter version you are running.

The Flutter team released beta version 2.13.0-0.1.pre which included a breaking change.

Since Monarch supports all Flutter versions, we updated Monarch to support both the new behavior and also the legacy behavior from the breaking change.

The Flutter team released a beta version of Flutter which changed some interfaces that the monarch package depends on. This release makes sure you can use Monarch with Flutter beta version 2.12.0-4.1.pre.

Also, we have improved the monarch upgrade process:

  1. When you run monarch upgrade, the CLI will first validate your Monarch installation.
  2. If the validation is successful, then it will move your old Monarch files to a temp directory, and then install the new ones.
  3. If the validation fails, the CLI will inform you why it failed.

Last weekend, some users reported a severe bug in the upgrade process which was deleting local files. Within two hours of the report, we changed our remote API so upgrade requests would be rejected, which prevents the upgrade process from running, which prevents the bug from manifesting.

If you are running Monarch 1.7.4 or older then you are getting this notification when you execute monarch run:

********************************************************************************
Monarch 1.7.6 is available. You are on 1.7.3. You should use the latest version.

There is a bug in the current version of the `monarch upgrade` process and we
have disabled it. To get the latest version of Monarch go to the website and
install it as if it was a fresh install: https://monarchapp.io/docs/install.
********************************************************************************

Please follow the steps in the notification to install the new version of Monarch.

The monarch upgrade command used to delete old monarch files. Under certain conditions, a bug manifested where the command could delete non-monarch files.

In this new version, the monarch upgrade command doesn't delete any files.

This minor release is mostly for new monarch users.

We recently updated the monarch package to version 2.2.0, which supports the latest versions of analyzer and vm_service packages.

In this release, the monarch init command uses the latest monarch package.

If you have an existing project using monarch, you can just update your pubspec.yaml and set monarch: ^2.2.0.

There is an upcoming breaking change in the dart sdk which removes support for the .packages file and will replace it with .dart_tool/package_config.json.

This Monarch release supports this change.

This is the second edition of our newsletter Monarch Minutes. We continue to improve the Monarch developer experience. We also improved the docs, samples and website.

New Features in Monarch 1.7โ€‹

1. Faster reloads ๐Ÿ’จ ๐Ÿš€โ€‹

Version 1.7 improves the reloading experience in Monarch. In previous versions, every change in your project would trigger a hot restart. Now, with the new version, every change will trigger a hot reload by default. Hot reloading will make code changes render much faster on the Monarch UI.

You can still force a hot restart via the new key commands.

Monarch CLI key

Also, if you want to control how Monarch reloads, you can use the new --reload flag. See the CLI Usage docs.


2. Bug fixes and support for macOS Monterrey ๐Ÿ›โ€‹

This new release fixes several issues:

  • Dragging on the Monarch story window with your mouse now behaves like touch drag on a mobile device. You can now test mobile drag interactions like scrolling and pull-down to refresh.
  • Fixed an issue during termination of the Monarch CLI.
  • Fixed an issue on macOS to better support multiple monitors with different screen resolutions.

We also added macOS Monterrey support in Monarch 1.7.


Monarch samples and docs ๐Ÿค“ ๐Ÿ“šโ€‹

We updated and augmented the Monarch Samples repo. The samples repo now includes several projects which showcase Monarch working with various packages, patterns and tools, such as:

  • intl tools and package
  • a pretty booking theme
  • riverpod
  • several other patterns like bloc, cubit, lists, provider, dialogs, animations, navigation, etc.

We also updated our docs to reflect the latest changes in Flutter and Monarch.


New Monarch videos ๐Ÿคฉโ€‹

We updated the videos on the Monarch landing page. The new videos show Monarch in action with a beautiful UI. If you want to see the stories and code for the videos, you can get them from the booking sample project.


Meme of the Monthโ€‹

Funny Meme

Join our newsletter

Sign up to receive low frequency emails on the latest Monarch updates, features and news!

This release brings faster reload, bug fixes, support for macOS Monterrey, updated samples and docs, and new Monarch videos.

You can read the details of this release in our second newsletter.

Hello from Monarch! This is issue 1 of our newsletter, Monarch Minutes. We hope you enjoy the updates.

New Features in Monarch 1.6โ€‹

Our latest release (version 1.6) brings debugging to Monarch! Working with Monarch keeps getting easier. ๐Ÿ™Œ

1. Visual debugging ๐Ÿค“ ๐Ÿ›โ€‹

You can now enable several options to visually debug your stories. And you can launch DevTools! ๐Ÿš€

Check out our docs on debugging your story.

Debug Controls

2. Debug your widgets in isolation ๐Ÿฆพ ๐Ÿคฏโ€‹

With Monarch and DevTools you can now debug your widgets source code in isolation, without running the full app.

Find more info in our docs.

DevTools breakpoint hit

3. New devices ๐Ÿ“ฑโ€‹

We have updated the devices list in Monarch. These are the new devices we have added:

  • iPhone 13 (and all its variants)
  • iPad 9th Gen
  • iPad Pro 5th Gen
  • Pixel 5a
  • OnePlus 9
  • Samsung Galaxy S21
  • Moto G Power (2021)
Devices Screenshot

4. Error captureโ€‹

Monarch improves Flutter error messages by providing more context when a story generates an error. And now, Monarch captures even more errors than before.

Exception caught by Monarch

5. Support for all Flutter versionsโ€‹

The Flutter team does an amazing job at providing regular releases of new Flutter versions in the dev, beta and stable channels. When a new Flutter version is released on any channel, the Monarch build automation starts a new Monarch build to support the new version. You can rest assured that Monarch will support every version of Flutter as soon as they come out. So, when you upgrade to the new Flutter version, Monarch will already support it.

We introduced support for all Flutter versions back in May and we are glad to see usage of Monarch across many Flutter versions and channels.


Upcoming Major Featuresโ€‹

  • We are starting work on Monarch for Linux. โค๏ธ
  • We are also starting work on another major feature which we are keeping under wraps. Stay tuned!

Meme of the Monthโ€‹

Funny Meme

Join our newsletter

Sign up to receive low frequency emails on the latest Monarch updates, features and news!