diff --git a/source/blog/2018-10-12-the-ember-times-issue-68.md b/source/blog/2018-10-12-the-ember-times-issue-68.md index 1d52397e39..6885d1625f 100644 --- a/source/blog/2018-10-12-the-ember-times-issue-68.md +++ b/source/blog/2018-10-12-the-ember-times-issue-68.md @@ -1,7 +1,7 @@ --- title: The Ember Times - Issue No. 68 author: Ryan Mark, Preston Sego, Chris Ng, Amy Lam, Jessica Jordan -tags: Recent Posts, Newsletter, Ember.js Times, Ember Times, 2018 +tags: Newsletter, Ember.js Times, Ember Times, 2018 alias : "blog/2018/10/12-the-ember-times-issue-68.html" responsive: true --- diff --git a/source/blog/2018-10-19-the-ember-times-issue-69.md b/source/blog/2018-10-19-the-ember-times-issue-69.md new file mode 100644 index 0000000000..0c719ec2f0 --- /dev/null +++ b/source/blog/2018-10-19-the-ember-times-issue-69.md @@ -0,0 +1,112 @@ +--- +title: The Ember Times - Issue No. 69 +author: Chris Ng, Alon Bukai, Kenneth Larsen, Jessica Jordan, Amy Lam, Ryan Mark +tags: Recent Posts, Newsletter, Ember.js Times, Ember Times, 2018 +alias : "blog/2018/10/19-the-ember-times-issue-69.html" +responsive: true +--- + +Namaste Emberistas! 🐹 + +This week we're discussing 4️⃣ fresh RFCs πŸ₯‘: bringing truth helpers to Ember core ✍️, new error handling methods 🚨, jQuery-free Ember apps by default πŸ˜„, and some improvements to relationship links πŸ”—. We're also highlighting test coverage for docs when Ember is upgraded 🚧, the new ember-self-focused addon πŸ‘β€πŸ—¨, the EmberConf 2019 CFP brainstorm πŸ§ β›ˆ, and more...read on! + +--- + +## [Help Yourselves to Default Template Helpers 🍽️](https://github.com/emberjs/rfcs/pull/388) +If you find yourself often reaching for the addon [ember-truth-helpers](https://github.com/jmurphyau/ember-truth-helpers) in your templates then this [new RFC by @cibernox](https://github.com/emberjs/rfcs/pull/388) is for you. This **Request for Comments (RFC)** proposes bringing in some of the **template helpers** in `ember-truth-helpers` into **Ember Core**. + +The reasoning behind this is that a few helpers from this addon are so common in Ember apps that it makes sense to add them into Ember Core itself to **reduce the friction** of needing to install an addon to get them. + +Another reason that might even be more important is that this could open up **Glimmer VM low level optimizations** as the Glimmer VM itself would know about these helpers. + +The proposed helpers to add to core are: `eq`, `not`, `and`, `or`, `gt` and `gte`, `lt` and `lte`. + +Learn more about this RFC and [join the discussion](https://github.com/emberjs/rfcs/pull/388). + +--- + +## [A New Way to Error Handling 🚩](https://github.com/emberjs/rfcs/pull/384) + +[A recent **Request for Comments (RFC)**](https://github.com/emberjs/rfcs/pull/384) from the magical **Ember Data** Land takes us on a journey through **error handling** in Ember: It proposes the addition of new error handling methods which do not affect the state of your data records to the [`DS.Errors`](https://www.emberjs.com/api/ember-data/release/classes/DS.Errors) class. + +Read more about the new, proposed API and the motivation behind it [in the original proposal and feel free to discuss](https://github.com/emberjs/rfcs/pull/384)! + +--- + +## [🍬 Sugar-, 🍞 Gluten- & jQuery-Free Ember Apps 🐹 by Default](https://github.com/emberjs/rfcs/pull/386) + +Previous RFC-driven efforts already provided an **option** for you to **exclude jQuery** from your Ember app builds easily ([1](https://emberjs.github.io/rfcs/0294-optional-jquery.html), [2](https://www.emberjs.com/blog/2018/07/16/ember-3-3-released.html#toc_new-features-1), [3](https://github.com/ember-learn/guides-source/pull/64)). Now [a **follow-up RFC**](https://github.com/emberjs/rfcs/pull/386) takes the idea of **reducing the initial bundle size** of apps even further. + +The new proposal envisions apps to provide an **easy opt-in** for the UI library, but to **exclude jQuery by default**. The RFC suggests that this will make it easier for developers and addon authors to provide smaller apps from the start and only include the dependency back in if it is _really_ needed. + +Curious to know more? Here's the [full proposal](https://github.com/emberjs/rfcs/pull/386). + +--- + +## [We've Got You Covered β›‘](https://github.com/emberjs/ember.js/pull/16910) +You might have noticed that sometimes when a new release of Ember is out some API documentation can disappear. This happens when code gets moved around in Ember, such as putting functions in their own modules, which makes it easy to make mistakes that impact the documentation parser. [@ef4](https://github.com/ef4) added [test coverage](https://github.com/emberjs/ember.js/pull/16910) for exactly these cases. + +This means that when a new release is prepared these tests will most likely catch any unintentional documentation changes. + +--- + +## [Using Relationships Links or Not? Your Call! πŸ”—](https://github.com/emberjs/rfcs/pull/387) + +Fetching your data from a [JSON:API compliant](https://jsonapi.org/) backend? Not sure how to tell Ember Data **explicitly** to look up an included **relationship** in the payload itself vs. via an additional request using the response's `link` attribute? + +Possibly, this will be much easier very soon! [Another new, Ember Data related RFC](https://github.com/emberjs/rfcs/pull/387) proposed the addition of a `shouldFindViaLink` method to the public API of REST **adapters**. According to the proposal, users may overwrite this method - which should return a _Boolean_ to indicate if Ember Data should look up relationship data via links or not - themselves for custom behavior and gain full control of their relational data loading. + +You can **read more** about the design of this proposed API [**in the RFC itself**](https://github.com/emberjs/rfcs/pull/387)! + +--- + +## [New Addon Release: ember-self-focused πŸ‘οΈ](https://github.com/linkedin/self-focused/tree/master/packages/ember-self-focused) + + +User interface transitions that happen in a single-page application (SPA) are problematic for **screen reading software** since traditionally they are reliant on reading out the text on page load. Since there are some visual changes on the screen but the page does not reload in an SPA, it makes it difficult for screen reading software users to be aware of UI changes. + +To solve this issue, [@sarbbottam](https://github.com/sarbbottam) released a brand new addon to enable screen reading software to speak the content of the new node by **focusing on the HTML node of the dynamic content**. The new addon [ember-self-focused](https://github.com/linkedin/self-focused/tree/master/packages/ember-self-focused) provides a **component** and a **service** to keep track of the HTML nodes to be focused. + +Check out more in [@sarbbottam](https://github.com/sarbbottam)'s [blog post](https://engineering.linkedin.com/blog/2018/10/making-ember-applications--ui-transitions-screen-reader-friendly) or at the [GitHub repo](https://github.com/linkedin/self-focused/tree/master/packages/ember-self-focused)! + +--- + +## [EmberConf 2019 CFP Brainstorm πŸ“†](https://emberconf.com/cfp-brainstorm.html) + +Interested in submitting a talk idea to **EmberConf**? Join the EmberConf team for an **interactive video brainstorm** on Tuesday, October 30th at 11:00am PT. They'll chat about the CFP, the topics they hope to see, and answer community questions about ideas and proposals. Mark your calendars and go to [the EmberConf website](https://emberconf.com/cfp-brainstorm.html) for more info! + +--- + +## [Contributors' Corner πŸ‘](https://guides.emberjs.com/release/contributing/repositories/) + +

This week we'd like to thank @btecu, @locks, @ssutar, @josemarluedke, @KamiKillertO, @rwjblue, @wifelette, @tylerturdenpants, @devpuppy, @amyrlam, @runspired, @pixelhandler, @sduquej, @nummi, @rwwagner90, @stefanpenner, @Turbo87, @mydea, @mattdonnelly, @Gaurav0, @gowthamrm, @dcombslinkedin, @SparshithNR, @buschtoens, @chiragpat, @mansona, @esbanarango, @Ricool06, @aklkv, @JonoLightning, @LalithaRajanala, @YoranBrondsema, @worace, @sivakumar-kailasam and @joshmcrty for their contributions to Ember and related repositories! πŸ’–

+ +--- + +## [Got a Question? Ask Readers' Questions! πŸ€“](https://docs.google.com/forms/d/e/1FAIpQLScqu7Lw_9cIkRtAiXKitgkAo4xX_pV1pdCfMJgIr6Py1V-9Og/viewform) + +
+ Office Hours Tomster Mascot + +

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!

+ +

Submit your own short and sweet question under bit.ly/ask-ember-core. And don’t worry, there are no silly questions, we appreciate them all - promise! 🀞

+ +
+ +--- + +## [#embertimes](https://emberjs.com/blog/tags/newsletter.html) πŸ“° + +Want to write for the Ember Times? Have a suggestion for next week's issue? Join us at [#support-ember-times](https://discordapp.com/channels/480462759797063690/485450546887786506) on the [Ember Community Discord](https://discordapp.com/invite/zT3asNS) or ping us [@embertimes](https://twitter.com/embertimes) on Twitter. + +Keep on top of what's been going on in Emberland this week by subscribing to our [e-mail newsletter](https://the-emberjs-times.ongoodbits.com/)! You can also find our posts on the [Ember blog](https://emberjs.com/blog/tags/newsletter.html). + +--- + + +That's another wrap! ✨ + +Be kind, + +Chris Ng, Alon Bukai, Kenneth Larsen, Ryan Mark, Amy Lam, Jessica Jordan and the Learning Team