Skip to content

Release 4.0.0

Compare
Choose a tag to compare
@sandydoo sandydoo released this 14 Jun 22:16
· 256 commits to main since this release
5887ae5

This release is the culmination of months of research, testing, and hunting for show-stopping bugs across Ember and Glimmer. This wasn't just a cosmetic rewrite either. Octane pretty much broke every single bit of the addon. But we've made it work anyways! For now. 😄

Does ember-google-maps make your life at work a bit easier? Then drop by and leave a tip! Seriously, I'd really appreciate that. Also, let me know what you're using it for!

Thanks! 🙌

Support me on Ko-fi

First stable release of the 4.0 beta cycle! 🎉

Make sure to run yarn upgrade or npm update if your app doesn't build. We need a rather recent version of babel-plugin-ember-modules-api-polyfill which might be pinned to something rather old in your lockfile.

Here's a summary of what has changed!

⭐ Features

  • High Octane performance 🔥

    The addon has been completely rewritten to work with the new Glimmer components (also known as Ember Octane). Expect to see drastic improvements to rendering performance, particularly for maps with lots of markers and overlays.

  • Run-once events

    There are new onceOn events that will — surprise — trigger only once.

    <GMap @onceOnIdle={{this.whenMapIsReady}} />
  • Ready for Embroider

    We fully support using Embroider to build your app.

💥 Breaking changes

  • Drop support for Ember v2.18

    Ember is moving on and so are we. Ember LTS v3.16 and Ember CLI v3.16 are the new minimum requirements.

  • No more mixins

    This only affects you if you’ve created your own custom map components. Copy and paste one of the built-in components to upgrade.

  • Drop official IE11 support

    It might still work with IE11. Or not.

  • onComponentsLoad is gone and onLoad is deprecated.

    If you need to do something when the map first loads, use the new onceOn events.

    Before:

    {{g-map onComponentsLoad=(action this.whenTheMapIsReady)}}

    After:

    <GMap @onceOnIdle={{this.whenTheMapIsReady}} />

Internal

  • #117 Extract the common map component setup pattern into a new class (@sandydoo)

Committers: 1