Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Migration guide

## Migrating to JSON Forms 3.8

### Angular material removes hammerjs

The angular material package no longer depends or imports the `hammerjs` package.
`hammerjs` is a deprecated package for touch gesture support that was last updated 10 years ago.
Thus, it is not expected to be in use. However, if you notice sudden failures in reaction to touch gestures, check if you are still using this.

## Migrating to JSON Forms 3.7

### Angular support now targets Angular 19 to 21
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-material/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
],
"scripts": [],
"allowedCommonJsDependencies": ["lodash", "hammerjs"],
"allowedCommonJsDependencies": ["lodash"],
"optimization": false,
"buildOptimizer": false
}
Expand Down
3 changes: 1 addition & 2 deletions packages/angular-material/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"allowedNonPeerDependencies": [
"@jsonforms/angular",
"@jsonforms/core",
"hammerjs",
"lodash"
]
}
}
1 change: 0 additions & 1 deletion packages/angular-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
"rxjs": "^6.6.0 || ^7.4.0"
},
"dependencies": {
"hammerjs": "2.0.8",
"lodash": "^4.17.21"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/angular-material/src/library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import 'hammerjs';
import { RankedTester } from '@jsonforms/core';
export * from './module';
import {
Expand Down
Loading
Loading