RTC PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
22 Dec 2024

Summary of Changes

The Dart-Sass engine has a "new" API, where instead of renderSync and a configuration object, it just uses compile() with the filename instead. As far as I can see, this PR fixes that deprecation warning. Since this only affects our build process, I would consider this to be safe for adoption in 5.2.

Testing Instructions

Codereview.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Hackwar Hackwar - open - 22 Dec 2024
avatar Hackwar Hackwar - change - 22 Dec 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2024
Category JavaScript Repository
avatar Hackwar Hackwar - change - 7 Jan 2025
Labels Added: PR-5.2-dev
avatar richard67 richard67 - test_item - 18 Jan 2025 - Tested successfully
avatar richard67
richard67 - comment - 18 Jan 2025

I have tested this item ✅ successfully on 37b0dfa

I think code review is not really sufficient for testing this PR, so I have done (in addition to the review) following tests:

  1. Run a php ./build/build.php --remote=HEAD --exclude-gzip --exclude-zstd on a clean branch one time without and one time with this PR applied and compare the content of the created packages build/tmp/packages/Joomla_5.2.4-dev-Development-Full_Package.zip.
    Hint: You can fetch this PR into a local branch "test-pr-44659" for the test with
    git fetch upstream pull/44659/head:test-pr-44659
    and then checkout that branch with
    git co test-pr-44659
    Result: There are no differences except of the usual different autoloader IDs and partly different ordering of assets in joomla.asset.json files.

  2. Run npm ci one time without and one time with this PR applied under the same starting conditions (clean branch with composer installhaving run) and compare the output.
    Hint: For easy comparison of the output you can run npm and redirect all standard and error output into a test file on Linux or Windows with WSL like this:
    npm ci > ./build/npm-ci-with-pr.txt 2>&1
    Result: The deprecation messages Deprecation [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. have disappeared with this PR applied.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44659.
avatar LadySolveig LadySolveig - test_item - 19 Jan 2025 - Tested successfully
avatar LadySolveig
LadySolveig - comment - 19 Jan 2025

I have tested this item ✅ successfully on 37b0dfa


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44659.

avatar richard67 richard67 - change - 19 Jan 2025
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 19 Jan 2025

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44659.

avatar rdeutz rdeutz - change - 19 Jan 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-01-19 10:03:33
Closed_By rdeutz
Labels Added: RTC
avatar rdeutz rdeutz - close - 19 Jan 2025
avatar rdeutz rdeutz - merge - 19 Jan 2025

Add a Comment

Login with GitHub to post a comment