DEV Community

Cover image for Meteor 3.1.1 is here!
Gabs Ferreira for Meteor

Posted on

7 1 1 1 1

Meteor 3.1.1 is here!

Meteor 3.1.1 is here! This latest patch brings performance improvements, critical fixes, and updates based on community feedback. 

You can check out all that's new about his version in this video, where I had a chat with the core team:

Or just keep reading :)

Performance improvements: faster real-time processing

One of the highlights of Meteor 3.1.1 is a boost in real-time performance. Our team refactored the synchronous queue for parallel processing and optimized MongoDB observers to handle initial documents more efficiently.

Previously, Meteor 3.1 had some performance regressions when dealing with reactive flows, limiting the number of connections it could handle. This patch resolves those issues and improves Meteor 3's scalability, outperforming previous Meteor 2 versions in terms of handling more simultaneous connections.

Deprecation of Async Allow/Deny Rules

Based on community feedback, async rules have been deprecated, and the API has been streamlined to focus on just insert, update, and remove operations. Additionally, test coverage has been expanded to address edge cases identified by developers.

Introducing Meteor.deprecate

Meteor now includes a Meteor.deprecate API, which was initially designed for internal use but is now accessible to library developers. This feature allows more precise tracking of deprecated functions and API calls, helping developers transition smoothly when changes occur. Although it's not yet fully documented, advanced users can explore it in the Meteor source code.

Node.js Upgrade and Community Fixes

This version also includes an upgrade to the latest Node.js version, along with multiple community-driven fixes. The team has addressed several GitHub issues, improved the Accounts package, and implemented security updates. It also introduces fixes for Windows users, ensuring a more stable development environment across platforms.

Meteor RPC: A New Approach to API Calls

A significant addition to the Meteor ecosystem is the release of Meteor RPC, launched in December, a new package designed to streamline remote procedure calls (RPC) and enhance real-time capabilities.

This package, powered by Zod for runtime validation, brings improved TypeScript support and a more modern approach to defining and calling APIs in Meteor. It's already powering Galaxy, meaning if you're a Galaxy user, you're already benefiting from it!

If you want to explore Meteor RPC, check out the official blog post or join the conversation on Discord.

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay