Skip to content

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

guides/release/tutorial/part-1/component-basics.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,15 @@ When invoking a component, Ember will replace the component tag with the content
5858

5959
Let's try it out by editing the index template:
6060

61-
```handlebars { data-filename="app/templates/index.hbs" data-diff="-1,-2,+3,+7,-8" }
61+
```handlebars { data-filename="app/templates/index.hbs" data-diff="-1,-2,+3,-7,+8" }
6262
<div class="jumbo">
6363
<div class="right tomster"></div>
6464
<Jumbo>
6565
<h2>Welcome to Super Rentals!</h2>
6666
<p>We hope you find exactly what you're looking for in a place to stay.</p>
6767
<LinkTo @route="about" class="button">About Us</LinkTo>
68-
</Jumbo>
6968
</div>
70-
69+
</Jumbo>
7170
```
7271

7372
## Refactoring Existing Code
@@ -80,7 +79,7 @@ After saving the changes, your page should automatically reload, and, _voilà_..
8079

8180
Let's do the same for our other two pages as well.
8281

83-
```handlebars { data-filename="app/templates/about.hbs" data-diff="-1,-2,+3,+11,-12" }
82+
```handlebars { data-filename="app/templates/about.hbs" data-diff="-1,-2,+3,-11,+12" }
8483
<div class="jumbo">
8584
<div class="right tomster"></div>
8685
<Jumbo>
@@ -91,11 +90,11 @@ Let's do the same for our other two pages as well.
9190
AND building Ember applications.
9291
</p>
9392
<LinkTo @route="contact" class="button">Contact Us</LinkTo>
94-
</Jumbo>
9593
</div>
94+
</Jumbo>
9695
```
9796

98-
```handlebars { data-filename="app/templates/contact.hbs" data-diff="-1,-2,+3,+19,-20" }
97+
```handlebars { data-filename="app/templates/contact.hbs" data-diff="-1,-2,+3,-19,+20" }
9998
<div class="jumbo">
10099
<div class="right tomster"></div>
101100
<Jumbo>
@@ -114,8 +113,8 @@ Let's do the same for our other two pages as well.
114113
115114
</address>
116115
<LinkTo @route="about" class="button">About</LinkTo>
117-
</Jumbo>
118116
</div>
117+
</Jumbo>
119118
```
120119

121120
After saving, everything should look exactly the same as before, and all the tests should still pass. Very nice!

guides/release/tutorial/part-1/orientation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To verify that your installation was successful, run:
2424

2525
```shell
2626
$ ember --version
27-
ember-cli: 6.4.0
27+
ember-cli: 6.7.0
2828
node: 18.20.8
2929
os: linux x64
3030
```
@@ -37,8 +37,8 @@ We can create a new project using Ember CLI's `new` command. It follows the patt
3737

3838
```shell
3939
$ ember new super-rentals --lang en
40-
installing app
41-
Ember CLI v6.4.0
40+
installing classic-build-app-blueprint
41+
@ember-tooling/classic-build-app-blueprint v6.7.0
4242

4343
Creating a new Ember app in /home/runner/work/super-rentals-tutorial/super-rentals-tutorial/dist/code/super-rentals:
4444
create .editorconfig

guides/release/tutorial/part-2/ember-data.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,19 @@ setBuildURLConfig({
346346
namespace: 'api',
347347
});
348348

349+
/* This is to account for a deprecation that shipped in ember-cli 6.4
350+
with ember-data v5.6 which needs a blueprint update to avoid the
351+
deprecation that is otherwise irrelevant for tutorial purposes.
352+
*/
353+
import { registerDeprecationHandler } from '@ember/debug';
354+
registerDeprecationHandler((message, options, next) => {
355+
if (message.includes('Using WarpDrive with EmberJS requires')) {
356+
return;
357+
} else {
358+
next(message, options);
359+
}
360+
});
361+
349362
if (macroCondition(isDevelopingApp())) {
350363
importSync('./deprecation-workflow');
351364
}
19.9 KB
Loading
-789 Bytes
Loading

0 commit comments

Comments
 (0)