Skip to content

Upgrades - #46

Open
OliveraReeves wants to merge 7 commits into
masterfrom
upgrades
Open

Upgrades#46
OliveraReeves wants to merge 7 commits into
masterfrom
upgrades

Conversation

@OliveraReeves

Copy link
Copy Markdown
Contributor

🚀 Upgrade to v3.0.0 – Build System & Dependency Modernisation

Summary

This release upgrades the project to version 3.0.0 and introduces a significant modernisation of the build tooling, testing stack, and core frontend dependencies. The goal is to improve maintainability, align with modern JavaScript tooling, and remove legacy dependencies.

all tested and working ( need to test on staging and update build scripts where needed)

for the future

If radar 3 might use this then it would be best to migrate to the newer angular framework , there is a plugin/package that allows for a middle ground if we wanted to transition slowly.

jest and playwright are included for current tests and any future tests.


💥 Breaking / Major Changes

  • Project version bumped from 2.46.9 → 3.0.0
  • Migration from legacy build and test tooling to modern equivalents
  • Significant Webpack, Babel, and dependency upgrades

🛠 Build System Updates

  • Replaced webpack-dev-server (v1) with modern webpack serve
  • Upgraded Webpack to v5
  • Updated webpack-dev-middleware to v6
  • Updated build command to explicitly use production mode (--mode production)
  • Replaced legacy extract-text-webpack-plugin with modern CSS extraction tooling
  • Migrated Sass pipeline from node-sasssass

🧪 Testing Improvements

  • Introduced Jest as a modern test runner
  • Added jest-environment-jsdom
  • Partially migrated away from Karma/Jasmine-based setup
  • Updated Sauce Labs integration to use Jest

📦 Dependency Updates

  • Angular: 1.8.0 → 1.8.3
  • angular-local-storage: 0.6.0 → 0.7.1
  • Highcharts: 8.1.2 → 11.4.0
  • jQuery: 3.5.1 → 3.7.1
  • jQuery UI: 1.12.0 → 1.13.2
  • Lodash: 4.17.19 → 4.17.21
  • Moment: 2.20.1 → 2.30.1
  • Quill: 1.3.6 → 1.3.7
  • Font Awesome: 4.6.3 → 4.7.0

🔧 Tooling Modernisation

  • Babel upgraded from v6 → v7 (@babel/core, @babel/preset-env)
  • ESLint upgraded from v4 → v8
  • Introduced Playwright for potential end-to-end testing expansion
  • Updated loaders:
    • css-loader, sass-loader, style-loader, html-loader
  • Migrated to Webpack 5 ecosystem

⚙️ Script Changes

  • Updated dev server command to webpack serve
  • Updated build script to use webpack --mode production
  • Test scripts updated to support Jest
  • Sauce Labs tests migrated from Karma → Jest

🧭 Notes

  • This release represents a major modernization effort of the frontend stack.
  • Some legacy Karma-based testing infrastructure remains but is being phased out in favour of Jest.
  • Further cleanup and refactoring of the test suite may follow in future releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants