Galvanized Iron Router 2.0.0 Released - Rust-Resistant Routing for Meteor 2.0 & 3.0!

I am excited to release Galvanized Iron Router 2.0.0 - the rustproofed successor to that routing package we all know and love!

Just as galvanizing iron makes it rust-resistant and longer-lasting, this fork gives Iron Router a new lease of life with full Meteor 3.0+ compatibility while maintaining support for Meteor 2.0+.

This was a byproduct of my own efforts to upgrade my existing codebases. I hope this helps everyone else in their quest to modernise their mature Meteor apps. Feel free to fork this package. You can find it on GitHub here:

What’s New:

  1. A single unified package: All the iron:* packages you used to install separately are now consolidated into one package:
  • No more juggling iron:core, iron:layout, iron:controller, etc.
  • Simplified installation and maintenance
  1. Modern Meteor Compatibility:
  • Supports both Meteor 2.0 and 3.0, making it easier to transition to the latest Meteor at your own pace.
  • When run under Meteor 3.0+, it will support the promise-based async/await execution model.
  • When run under Meteor 3.1+, it will use Express instead of the Connect middleware

Installation:

Upgrading is simple - your existing code works unchanged:

meteor remove iron:router
meteor add vlasky:galvanized-iron-router

That’s it! 100% API compatibility with the original Iron Router. Enjoy!

4 Likes