-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #848 from ember-learn/blog/embertimes-171
The Ember Times No. 171 - January 15th 2021
- Loading branch information
Showing
1 changed file
with
168 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
--- | ||
title: The Ember Times - Issue No. 171 | ||
authors: | ||
- chris-ng | ||
- jen-weber | ||
- amy-lam | ||
- isaac-lee | ||
- jared-galanis | ||
date: 2021-01-15T00:00:00.000Z | ||
tags: | ||
- newsletter | ||
- '2021' | ||
--- | ||
|
||
👋 Emberistas! 🐹 | ||
|
||
Speakers wanted for EmberConf 2021 📆, | ||
Ember 3.24 Release 🐹, | ||
read the blog on understanding args in Glimmer components ✍️, | ||
announcing the launch of the redesigned Ember Blog 🐹, | ||
five RFCs for Ember 4.0 Milestone 💬, | ||
and last, but not least, | ||
micro-frontends with Glimmer.js and single-spa 🔥! | ||
|
||
--- | ||
|
||
## [Speakers wanted for EmberConf 2021 📆](https://emberconf.com/) | ||
|
||
This year's [EmberConf](https://emberconf.com/) has been announced to take place March 29-30, 2021! EmberConf is 2 days of Ember talks, sessions and fun — streaming live virtually anywhere. Want to give a talk at EmberConf? We're now accepting proposals. | ||
|
||
EmberConf is great because our speakers are great, and you could be one of them. The Call for Papers (CFP) is public, starts out blind, and features a collaborative process to help applicants improve their proposals. Proposals will be accepted through **January 31st at 11:59pm PT**. Learn more at the [EmberConf 2021 CFP site](https://cfp.emberconf.com/events/emberconf-2021). | ||
|
||
There are a lot of options for talks this year. Conference talks can be 30, 15, 10, or 5 minutes total. Have a talk idea? The EmberConf team will be voting on and reviewing talks on a rolling basis, and will attempt to send feedback sooner than their final evaluation. **The earlier you submit, the more chance you'll have to tweak your pitch and improve your odds.** Sounds like a good plan for this weekend then?! 📝 | ||
|
||
--- | ||
|
||
## [Ember 3.24 release 🐹](https://blog.emberjs.com/ember-3-24-released/) | ||
|
||
Version 3.24 of Ember.js, Ember Data, and Ember CLI was released on January 7, 2021! Please use the [ember-try](https://github.com/ember-cli/ember-try) addon to continuously test your projects against the latest Ember releases. | ||
|
||
Ember.js 3.24 included [blueprint changes](https://github.com/emberjs/ember.js/pull/19224) when [ember-page-title](https://github.com/ember-cli/ember-page-title) is installed, interface changes to `DeprecationOptions` requiring the keys `for` and `since` when using `deprecate()`, and updated the Glimmer VM to version 0.65.0. | ||
|
||
The function `tryInvoke` from `@ember/utils` module has been deprecated in favor of JavaScript's optional chaining `?.` There have also been various deprecations for `Ember.String` methods including the `Ember.String.loc` function. Please check the [Deprecations guide](https://deprecations.emberjs.com/v3.x/) for the full information. | ||
|
||
Ember Data 3.24 included a fix where an attempt to set something on a deleted record no longer shows the value in the error message in a production environment. This was [done](https://github.com/emberjs/data/pull/7370) to prevent leaking sensitive data. | ||
|
||
Ember CLI 3.24 upgraded the packages that are present in the package.json blueprint to their latest version which included a major version changes for [ember-qunit to v5](https://github.com/emberjs/ember-qunit/releases/tag/v5.0.0) and [eslint-plugin-ember to v10](https://github.com/ember-cli/eslint-plugin-ember/releases/tag/v10.0.0). The addon [ember-page-title](https://github.com/ember-cli/ember-page-title) was also added to the blueprint. Finally prettier (along with eslint-config-prettier and eslint-plugin-prettier) was also added to the blueprint from [RFC #628](https://github.com/emberjs/rfcs/blob/master/text/0628-prettier.md). | ||
|
||
Read the full [Ember 3.24 release notes](https://blog.emberjs.com/ember-3-24-released/) for the complete information. | ||
|
||
--- | ||
|
||
## [Blog: Understanding args in Glimmer components ✍️](https://v5.chriskrycho.com/journal/understanding-args-in-glimmer-components/) | ||
|
||
[Chris Krycho (@chriskrycho)](https://github.com/chriskrycho) wrote a blog post on [understanding `args` in Glimmer components](https://v5.chriskrycho.com/journal/understanding-args-in-glimmer-components/) with a focus on what happens when there are _updates_ to `args`. | ||
|
||
Chris explains how a Glimmer component works if you strip away all the reactivity and only do a single pass. The [Glimmer component API](https://api.emberjs.com/ember/3.23/modules/@glimmer%2Fcomponent) sets the `args` object on to the class in the `constructor`. The `args` object in a Glimmer component is also **read-only** since it is a [private class field](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields) while exposed with a getter. | ||
|
||
```javascript | ||
class Component { | ||
#args: object; | ||
get args() { | ||
return this.#args; | ||
} | ||
|
||
constructor(args: object) { | ||
this.#args = args; | ||
} | ||
} | ||
``` | ||
|
||
The blog recommends to never assign from a property on `args` to a local class field in a Glimmer component because changes to the parent will never be reflected in the component. You should instead use getters that are re-computed when invoked. | ||
|
||
Read the full blog post on [Chris’s blog](https://v5.chriskrycho.com/journal/understanding-args-in-glimmer-components/). | ||
|
||
--- | ||
|
||
## [Announcing the launch of the redesigned Ember Blog 🐹](https://blog.emberjs.com) | ||
|
||
<!--alex ignore king-queen--> | ||
[The Ember Blog](https://blog.emberjs.com/) has a new look and a new codebase! | ||
The Ember Blog was started 8 years ago, in 2012. For many years, it was a custom Ruby app | ||
that was mainly used for release blog posts. | ||
Today, the blog is the home for The Ember Times, | ||
release announcements, guest-written learning articles, and more, | ||
so a group of dedicated contributors set out to make some improvements. | ||
The blog is now an Ember app, and under the hood, it uses the same tech | ||
that powers the Ember Guides, [Empress](https://github.com/empress). | ||
Empress tools help turn markdown into HTML within an Ember app, | ||
meaning that articles are quick to write using Markdown, and contributors | ||
can use all the great tools that Ember has to offer. | ||
|
||
Please check out [the blog](https://blog.emberjs.com/) today! Many thanks to the contributors who worked on this project! 👏 | ||
|
||
<!--alex ignore king-queen--> | ||
Did you spot any issues? Want to help build future features? | ||
You can find the main repository at | ||
[ember-learn/ember-blog](https://github.com/ember-learn/ember-blog) on GitHub. | ||
Most styles and components come from the shared component library that all Ember's public sites use, | ||
[ember-styleguide](https://github.com/ember-learn/ember-styleguide). | ||
The [empress-blog-ember-template](https://github.com/ember-learn/empress-blog-ember-template) | ||
has a lot of the layout logic that is specific to this blog, | ||
and [empress-blog](https://github.com/empress/empress-blog) handles the general application code for routing and data requests for blogs in general. | ||
|
||
<!--alex ignore king-queen--> | ||
If you like what you see, you can [make your own blog using Empress](https://github.com/empress/empress-blog#super-quick-start) in about 10 minutes! | ||
|
||
--- | ||
|
||
## [Five RFCs for Ember 4.0 Milestone 💬](https://github.com/emberjs/rfcs/milestone/1) | ||
|
||
The Ember Core Team has been working hard on paving way for [Ember 4.0 release](https://github.com/emberjs/rfcs/milestone/1). This week on January 16th, four RFCs were merged, and [five RFCs entered the Final Comment Period](https://twitter.com/emberjs/status/1350282638670639105). | ||
|
||
Currently, a total of 5 RFCs are open under the 4.0 milestone: | ||
|
||
- [Deprecate `{{hasBlock}}` and `{{hasBlockParams}}` in Templates](https://github.com/emberjs/rfcs/pull/689) | ||
- [Deprecate Octane Optional Features](https://github.com/emberjs/rfcs/pull/704) | ||
- [Deprecate jQuery Integration Optional Feature](https://github.com/emberjs/rfcs/pull/705) | ||
- [Deprecate the Ember Global](https://github.com/emberjs/rfcs/pull/706) | ||
- [Modernize Built-In Components (Part 2)](https://github.com/emberjs/rfcs/pull/707) | ||
|
||
Have a look at the outstanding RFCs when you find time. Please feel free to share the links with other developers and participate in the RFCs by providing feedback! 🌟 | ||
|
||
--- | ||
|
||
## [Micro-frontends with Glimmer.js and single-spa](https://dev.to/rajasegar/micro-frontends-with-glimmer-js-and-single-spa-42aa) | ||
|
||
There is another great new Glimmer-focused [blog post](https://dev.to/rajasegar/micro-frontends-with-glimmer-js-and-single-spa-42aa) from [Rajasegar Chandran (@rajasegar)](https://github.com/rajasegar) about how to make Micro-Frontends with 🔥🔥🔥Glimmer.js and single-spa🔥🔥🔥! | ||
|
||
If you haven't been following along, Rajasegar has published a number of fantastic [posts on dev.to](https://dev.to/rajasegar), many of which involve Glimmer.js. | ||
|
||
This new post looks at using the [single-spa library](https://single-spa.js.org/) to buld micro-frontends with Glimmer. | ||
|
||
Single-spa is a JavaScript router for front-end microservices that lets you use multiple frameworks in a single-page application. For the integration with Glimmer, Rajasegar has published a [single-spa plugin](https://github.com/rajasegar/single-spa-glimmer) that facilitates injecting multiple super-fast Glimmer apps into a single page, something which is not otherwise possible. | ||
|
||
This setup is all pretty experimental and cutting-edge, but it does demonstrate the flexibility of Glimmer, and what you can do with it if you have very specific use cases. | ||
|
||
Check this great post out and look for more great Glimmer content from Rajasegar in the future! | ||
|
||
--- | ||
|
||
## [Contributors' corner 👏](https://guides.emberjs.com/release/contributing/repositories/) | ||
|
||
<p>This week we'd like to thank <a href="https://github.com/MelSumner" rel="noopener noreferrer" target="_blank">Melanie Sumner (@MelSumner)</a>, <a href="https://github.com/chadhietala" rel="noopener noreferrer" target="_blank">Chad Hietala (@chadhietala)</a>, <a href="https://github.com/chiragpat" rel="noopener noreferrer" target="_blank">Chirag Patel (@chiragpat)</a>, <a href="https://github.com/chrisrng" rel="noopener noreferrer" target="_blank">Chris Ng (@chrisrng)</a>, <a href="https://github.com/snewcomer" rel="noopener noreferrer" target="_blank">Scott Newcomer (@snewcomer)</a>, <a href="https://github.com/fozy81" rel="noopener noreferrer" target="_blank">Tim (@fozy81)</a>, <a href="https://github.com/dwickern" rel="noopener noreferrer" target="_blank">Derek Wickern (@dwickern)</a>, <a href="https://github.com/ijlee2" rel="noopener noreferrer" target="_blank">Isaac Lee (@ijlee2)</a>, <a href="https://github.com/knownasilya" rel="noopener noreferrer" target="_blank">Ilya Radchenko (@knownasilya)</a>, <a href="https://github.com/kategengler" rel="noopener noreferrer" target="_blank">Katie Gengler (@kategengler)</a>, <a href="https://github.com/bmish" rel="noopener noreferrer" target="_blank">Bryan Mishkin (@bmish)</a>, <a href="https://github.com/jenweber" rel="noopener noreferrer" target="_blank">Jen Weber (@jenweber)</a>, <a href="https://github.com/jeffdaley" rel="noopener noreferrer" target="_blank">Jeff Daley (@jeffdaley)</a>, <a href="https://github.com/jaredgalanis" rel="noopener noreferrer" target="_blank">Jared Galanis (@jaredgalanis)</a>, <a href="https://github.com/jderr-mx" rel="noopener noreferrer" target="_blank">John Derr (@jderr-mx)</a>, <a href="https://github.com/locks" rel="noopener noreferrer" target="_blank">Ricardo Mendes (@locks)</a>, <a href="https://github.com/dcyriller" rel="noopener noreferrer" target="_blank">Cyrille David (@dcyriller)</a>, <a href="https://github.com/rwjblue" rel="noopener noreferrer" target="_blank">Robert Jackson (@rwjblue)</a>, <a href="https://github.com/czikarito" rel="noopener noreferrer" target="_blank">Pawel Kuwik (@czikarito)</a>, <a href="https://github.com/nickschot" rel="noopener noreferrer" target="_blank">Nick Schot (@nickschot)</a>, <a href="https://github.com/Alonski" rel="noopener noreferrer" target="_blank">Alon Bukai (@Alonski)</a>, <a href="https://github.com/pzuraq" rel="noopener noreferrer" target="_blank">Chris Garrett (@pzuraq)</a>, <a href="https://github.com/sandstrom" rel="noopener noreferrer" target="_blank">@sandstrom</a>, <a href="https://github.com/rwwagner90" rel="noopener noreferrer" target="_blank">Robert Wagner (@rwwagner90)</a>, <a href="https://github.com/kennethlarsen" rel="noopener noreferrer" target="_blank">Kenneth Larsen (@kennethlarsen)</a>, <a href="https://github.com/chancancode" rel="noopener noreferrer" target="_blank">Godfrey Chan (@chancancode)</a>, <a href="https://github.com/genisd" rel="noopener noreferrer" target="_blank">Daniel (@genisd)</a>, <a href="https://github.com/xg-wang" rel="noopener noreferrer" target="_blank">Thomas Wang (@xg-wang)</a>, <a href="https://github.com/amyrlam" rel="noopener noreferrer" target="_blank">Amy Lam (@amyrlam)</a>, <a href="https://github.com/NullVoxPopuli" rel="noopener noreferrer" target="_blank">@NullVoxPopuli</a>, <a href="https://github.com/jherdman" rel="noopener noreferrer" target="_blank">James Herdman (@jherdman)</a>, and <a href="https://github.com/bertdeblock" rel="noopener noreferrer" target="_blank">Bert De Block (@bertdeblock)</a> for their contributions to Ember and related repositories! 💖</p> | ||
|
||
--- | ||
|
||
## [Connect with us 🤓](https://docs.google.com/forms/d/e/1FAIpQLScqu7Lw_9cIkRtAiXKitgkAo4xX_pV1pdCfMJgIr6Py1V-9Og/viewform) | ||
|
||
<div class="blog-row"> | ||
<img class="float-right small transparent padded" alt="Office Hours Tomster Mascot" title="Readers' Questions" src="/images/tomsters/officehours.png" /> | ||
|
||
<p>Wondering about something related to Ember, Ember Data, Glimmer, or addons in the Ember ecosystem, but don't know where to ask? Readers’ Questions are just for you!</p> | ||
|
||
<p><strong>Submit your own</strong> short and sweet <strong>question</strong> under <a href="https://bit.ly/ask-ember-core" target="rq">bit.ly/ask-ember-core</a>. And don’t worry, there are no silly questions, we appreciate them all - promise! 🤞</p> | ||
|
||
<p>Want to write for the Ember Times? Have a suggestion for next week's issue? Join us at <a href="https://discordapp.com/channels/480462759797063690/485450546887786506">#support-ember-times</a> on the <a href="https://discord.gg/emberjs">Ember Community Discord</a> or ping us <a href="https://twitter.com/embertimes">@embertimes</a> on Twitter.</p> | ||
|
||
<p>Keep on top of what's been going on in Emberland this week by subscribing to our <a href="https://the-emberjs-times.ongoodbits.com/">e-mail newsletter</a>! You can also find our posts on the <a href="https://blog.emberjs.com/tag/newsletter/">Ember blog</a>.</p> | ||
</div> | ||
|
||
--- | ||
|
||
That's another wrap! ✨ | ||
|
||
Be kind, | ||
|
||
Chris Ng, Jen Weber, Amy Lam, Isaac Lee, Jared Galanis and the Learning Team |