Skip to content

Commit 424a004

Browse files
committed
Merge remote-tracking branch 'origin/master' into iminchev/di-constructor-to-inject
2 parents dd14e54 + 477d7ce commit 424a004

File tree

1,631 files changed

+20556
-15306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,631 files changed

+20556
-15306
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

44
name: Node.js CI
5+
permissions:
6+
contents: read
57

68
on:
79
push:
@@ -16,7 +18,7 @@ jobs:
1618

1719
strategy:
1820
matrix:
19-
node-version: [20.x, 22.17.1]
21+
node-version: [20.x, 22.x]
2022

2123
steps:
2224
- name: Checkout
@@ -50,7 +52,7 @@ jobs:
5052
npm run test:schematics
5153
npm run test:i18n
5254
env:
53-
NODE_OPTIONS: --max_old_space_size=4096
55+
NODE_OPTIONS: --max_old_space_size=4096 ${{ matrix.node-version == '22.x' && '--no-experimental-strip-types' || '' }}
5456
TZ: America/New_York
5557
- name: Build i18n & validate output
5658
run: |

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Npm.js deploy
2+
permissions:
3+
contents: read
24

35
on:
46
release:

.github/workflows/stale.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
jobs:
88
stale:
99

10+
permissions:
11+
contents: read
12+
issues: write
13+
pull-requests: write
14+
1015
runs-on: ubuntu-latest
1116

1217
steps:

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,50 @@
33
All notable changes for each version of this project will be documented in this file.
44

55

6+
## 21.0.0
7+
8+
### Breaking Changes
9+
10+
#### Multiple Entry Points Support
11+
12+
The library now supports multiple entry points for better tree-shaking and code splitting. While the main entry point (`igniteui-angular`) remains fully backwards compatible by re-exporting all granular entry points, we recommend migrating to the new entry points for optimal bundle sizes.
13+
14+
**Entry Points:**
15+
- `igniteui-angular/core` - Core utilities, services, and base types
16+
- `igniteui-angular/directives` - Common directives
17+
- Component-specific entry points: `igniteui-angular/grids`, `igniteui-angular/input-group`, `igniteui-angular/drop-down`, etc.
18+
- Grid-specific entry points for tree-shakable imports:
19+
- `igniteui-angular/grids/core` - Shared grid infrastructure (columns, toolbar, filtering, sorting, etc.)
20+
- `igniteui-angular/grids/grid` - Standard grid component (`IgxGridComponent`)
21+
- `igniteui-angular/grids/tree-grid` - Tree grid component (`IgxTreeGridComponent`)
22+
- `igniteui-angular/grids/hierarchical-grid` - Hierarchical grid component (`IgxHierarchicalGridComponent`, `IgxRowIslandComponent`)
23+
- `igniteui-angular/grids/pivot-grid` - Pivot grid component (`IgxPivotGridComponent`, `IgxPivotDataSelectorComponent`)
24+
25+
**Migration:**
26+
The `ng update` migration will prompt you to optionally migrate your imports to the new entry points. If you choose not to migrate, you can continue using the main entry point with full backwards compatibility.
27+
28+
To migrate manually later:
29+
```bash
30+
ng update igniteui-angular --migrate-only --from=20.1.0 --to=21.0.0 --migrate-imports
31+
```
32+
33+
**Component Relocations:**
34+
- Input directives (`IgxHintDirective`, `IgxInputDirective`, `IgxLabelDirective`, `IgxPrefixDirective`, `IgxSuffixDirective`) → `igniteui-angular/input-group`
35+
- `IgxAutocompleteDirective``igniteui-angular/drop-down`
36+
- `IgxRadioGroupDirective``igniteui-angular/radio`
37+
38+
**Type Renames (to avoid conflicts):**
39+
- `Direction``CarouselAnimationDirection` (in carousel)
40+
41+
**Benefits:**
42+
- Better tree-shaking - unused components won't be bundled
43+
- Code splitting - each component can be lazy-loaded separately
44+
- Smaller bundle sizes - import only what you need
45+
- Improved build performance
46+
47+
See the [Angular Package Format documentation](https://angular.io/guide/angular-package-format#entrypoints-and-code-splitting) for more details on entry points.
48+
49+
650
## 20.1.0
751

852
### New Features

0 commit comments

Comments
 (0)