Skip to content

Commit 77330d5

Browse files
committed
Add info about changes in part5 yearly update
1 parent 2f994d3 commit 77330d5

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

src/content/0/en/part0a.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ Despite changes *all the submitted exercises remain valid*, and the course can b
332332
333333
Recent major changes
334334
335+
- Part 5 (21st August, 2025): React updated to version 19. PropTypes and forwardRef are no longer used. ESLint configurations updated
335336
- Part 4 (13th August, 2025): Express updated to version 5 and the express-async-errors library removed from part 4b
336337
- Part 9 (28th August, 2024): Zod library for validating request body type
337338
- Part 3 (20th June, 2024): ESLint configurations updated
@@ -382,7 +383,7 @@ Install a sensible text editor that supports web development. [Visual Studio Cod
382383
383384
Don't code with nano, Notepad or Gedit. NetBeans isn't very good for web development either. It is also rather heavy in comparison to [Visual Studio Code](https://code.visualstudio.com/).
384385
385-
Also, install [Node.js](https://nodejs.org/en/). The material is being updated to Node version v22. Parts 0-4 are made using Node version 22.3.0, part 10 using version 20.11.0, and the remaining parts using version 18.13.0. Always use at least as recent a Node version. Installation instructions can be found on the [Node.js website](https://nodejs.org/en/download/package-manager/).
386+
Also, install [Node.js](https://nodejs.org/en/). The material is being updated to Node version v22. Parts 0-5 are made using Node version 22.3.0, part 10 using version 20.11.0, and the remaining parts using version 18.13.0. Always use at least as recent a Node version. Installation instructions can be found on the [Node.js website](https://nodejs.org/en/download/package-manager/).
386387
387388
Node package manager [npm](https://www.npmjs.com/get-npm) will be automatically installed with Node.js. We will be actively using npm throughout the course. Node also comes with [npx](https://www.npmjs.com/package/npx), which we'll need a few times.
388389

src/content/0/fi/osa0a.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ Kurssilla ei ole enää vuosittaisia versiota. Kurssi on siis käynnissä koko a
275275
Muutoksista huolimatta <i>kaikki jo tehdyt palautukset säilyvät voimassa</i>, eli voit jatkaa kurssia päivityksistä huolimatta normaaliin tapaan.
276276

277277
Viimeaikaisia isompia muutoksia
278+
- Osa 5 (21.8.2025): React päivitetty versioon 19. Proptypes ja forwardRef poistuneet käytöstä. Eslint-konfiguraatiot päivitetty
278279
- Osa 4 (13.8.2025): Express päivitetty versioon 5 ja kirjasto express-async-errors poistettu osasta 4b
279280
- Osa 9 (28.8.2024): Zod-kirjasto datan validointiin
280281
- Osa 3 (20.6.2024): ESLint-konfiguraatiot päivitetty
@@ -325,7 +326,7 @@ Asenna myös joku järkevä web-devausta tukeva tekstieditori. Enemmän kuin suo
325326

326327
Älä koodaa nanolla, Notepadilla tai Geditillä. Myöskään NetBeans ei ole omimmillaan web-devauksessa, ja se on myös turhan raskas verrattuna esim. Visual Studio Codeen.
327328

328-
Asenna koneeseesi heti myös [Node.js](https://nodejs.org/en/). Materiaalia ollaan päivittämässä Noden versioon v22. Osat 0-4 on tehty käyttäen Noden versiota 22.3.0, osa 10 käyttäen versiota 20.11.0 ja loput osat käyttäen versiota 18.13.0. Käytä aina vähintään yhtä tuoretta Node-versiota. Asennusohjeita on [Node.js:n sivuilla](https://nodejs.org/en/download/package-manager/).
329+
Asenna koneeseesi heti myös [Node.js](https://nodejs.org/en/). Materiaalia ollaan päivittämässä Noden versioon v22. Osat 0-5 on tehty käyttäen Noden versiota 22.3.0, osa 10 käyttäen versiota 20.11.0 ja loput osat käyttäen versiota 18.13.0. Käytä aina vähintään yhtä tuoretta Node-versiota. Asennusohjeita on [Node.js:n sivuilla](https://nodejs.org/en/download/package-manager/).
329330

330331
Noden myötä koneelle asentuu myös [npm](https://www.npmjs.com/get-npm) (alunperin lyhennelmä <i>Node Package Manager</i> ‑nimelle), jota tulemme tarvitsemaan kurssin aikana aktiivisesti. Tuoreen Noden kera asentuu myös [npx](https://www.npmjs.com/package/npx), jota tarvitaan myös muutaman kerran.
331332

src/content/5/en/part5.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ lang: en
88

99
In this part we return to the frontend, first looking at different possibilities for testing the React code. We will also implement token based authentication which will enable users to log in to our application.
1010

11-
<i>Part updated 3rd March 2024</i>
12-
- <i>Jest replaced by Vitest</i>
13-
- <i>Brought alongside Cypress as an alternative for Playwright End to end testing</i>
11+
<i>Section updated 21st August 2025</i>
12+
13+
- <i>React version updated from v18 to v19. PropTypes and forwardRef has deprecated</i>
14+
- <i>A label element has been added to the login form fields and used later in tests to identify the fields</i>
15+
- <i>.eslintrc.cjs replaced with eslint.config.js file</i>
16+
- <i>.eslintignore replaced with configuration in eslint.config.js</i>
1417

1518
</div>

src/content/5/fi/osa5.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ lang: fi
88

99
Tässä osassa palataan frontendin pariin, ensin tarkastellaan erilaisia tarjolla olevia mahdollisuuksia React-sovelluksen testaamiseen. Osassa myös toteutetaan frontendiin tokeneihin perustuva autentikaatio, joka mahdollistaa käyttäjien kirjautumisen sovellukseen.
1010

11-
<i>Osa päivitetty 3.3.2024</i>
12-
- <i>Jest korvattu Vitest:illä</i>
13-
- <i>Cypressin rinnalle tuotu vaihtoehdoksi Playwright End to end -testaamiseen</i>
11+
<i>Osa päivitetty 21.8.2025</i>
12+
13+
- <i>React-versio päivitetty v18 -> v19. Proptypes ja forwardRef poistuneet käytöstä</i>
14+
- <i>Kirjautumislomakkeen kentille on lisätty label-elementti ja käytetty sitä myöhemmin testeissä kenttien identifiointiin</i>
15+
- <i>.eslintrc.cjs korvattu eslint.config.js-tiedostolla</i>
16+
- <i>.eslintignore korvattu eslint.config.js-määrittelyllä</i>
17+
1418

1519
</div>

0 commit comments

Comments
 (0)