dev/core#1818 Upgrade AngularJS from 1.5.11 to 1.8
authorColeman Watts <coleman@civicrm.org>
Tue, 29 Sep 2020 15:53:30 +0000 (11:53 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 1 Oct 2020 12:07:22 +0000 (08:07 -0400)
commit7585cf5beb46010c1214d78845ea4d805370ee03
tree065c096acab58b21ffe0afd6dc76a4073ceea2c7
parent58c72a10da01d86f790a62c54976cbf8726117d0
dev/core#1818 Upgrade AngularJS from 1.5.11 to 1.8

https://lab.civicrm.org/dev/core/-/issues/1818

The biggest breaking change between 1.5 and 1.8 was the default hashPrefix.
See https://github.com/angular/angular.js/blob/master/CHANGELOG.md#location-due-to-1

Our solution is to force crmApp to use the previous default. This ensures that existing modules
which rely on crmApp for routing (which is nearly all of them) will be unaffected.

New modules like Afform which use their own routing should use the new default recommended by Angular.
ang/crmApp.js
composer.json
composer.lock
ext/afform/docs/quickstart.md
ext/afform/gui/ang/afGuiList.aff.html
ext/afform/html/ang/afHtmlEditor.aff.html
ext/afform/html/ang/afHtmlList.aff.html
js/angular-crmResource/all.js