@angular-bootstrap/ngbootstrap 2.0.3 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.1 - 2026-07-27
4
+
5
+ ### Security
6
+
7
+ - Updated Angular 22, ng-packagr, Jest, ESLint, TypeScript tooling, and their transitive dependencies to patched compatible releases.
8
+ - Added targeted Jest dependency overrides to remove vulnerable legacy glob and brace-expansion paths without changing the published library API.
9
+ - Refreshed the pnpm lockfile so the complete library dependency graph reports no known vulnerabilities.
10
+
11
+ ### Changed
12
+
13
+ - Updated the security audit command to include build and test dependencies while isolating the public library from any parent pnpm workspace.
14
+
15
+ ### Fixed
16
+
17
+ - Removed a dead DataGrid test assignment surfaced by the updated ESLint rules.
18
+
19
+ ## 2.1.0 - 2026-07-25
20
+
21
+ ### Added
22
+
23
+ - Added DataGrid grouping with `groupable`, `group`, `groupChange`, and grouped `dataStateChange` support for local or manual/server-driven workflows.
24
+ - Added group panel interactions so users can group by dragging column headers, reorder grouped fields, and remove active groups without duplicating descriptors.
25
+ - Added grouped rendering helpers for nested group headers, expand/collapse behavior, aggregates, custom group header/footer templates, and sticky group headers/footers.
26
+ - Added grouping-focused docs, API coverage, examples, and library tests for grouping, aggregates, templates, and sticky group overlays.
27
+
28
+ ### Changed
29
+
30
+ - Updated DataGrid docs and package positioning to emphasize Angular UI for data-heavy apps, including DataGrid depth and Angular-native Form Builder workflows.
31
+ - Expanded the public package README and release notes to document grouping, aggregate templates, and dependency-free export defaults more clearly.
32
+
33
+ ### Fixed
34
+
35
+ - Fixed grouped sorting and grouped render paths so sorting continues to work correctly across grouping examples and grouped datasets.
36
+ - Fixed several DataGrid behavior regressions surfaced during the docs pass, including in-cell editing activation, sticky column behavior, and column reordering/data alignment.
37
+
3
38
  ## 2.0.3 - 2026-07-05
4
39
 
5
40
  ### Fixed
package/README.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # @angular-bootstrap/ngbootstrap
2
2
 
3
- Standalone Angular UI components with Bootstrap-friendly styling.
3
+ Angular UI for data-heavy apps, with a focus on DataGrid depth, Angular-native Form Builder workflows, and practical standalone components that fit naturally into Bootstrap-based Angular projects.
4
4
 
5
5
  ## What Is Included
6
6
 
7
7
  - DataGrid
8
+ - DataGrid grouping, aggregates, and custom group templates
8
9
  - Pagination
9
10
  - Typeahead
10
11
  - Tree
@@ -12,6 +13,13 @@ Standalone Angular UI components with Bootstrap-friendly styling.
12
13
  - Stepper
13
14
  - Chips
14
15
  - Drag and drop
16
+ - Angular-native Form Builder workflows
17
+
18
+ ## Positioning
19
+
20
+ This project is not affiliated with `ng-bootstrap` or `ngx-bootstrap`.
21
+
22
+ Those projects focus mainly on Bootstrap components for Angular. `@angular-bootstrap/ngbootstrap` focuses more on practical Angular UI for data-heavy apps, including DataGrid workflows, grouping, drag and drop, Form Builder scenarios, and documentation examples that map to real library APIs.
15
23
 
16
24
  ## Requirements
17
25
 
@@ -62,6 +70,8 @@ import { NgbDatagridComponent, type ColumnDef } from '@angular-bootstrap/ngboots
62
70
  [columns]="columns"
63
71
  [enableSorting]="true"
64
72
  filterable="row"
73
+ [groupable]="true"
74
+ [group]="[{ field: 'role', dir: 'asc' }]"
65
75
  [enablePagination]="true"
66
76
  [pageSize]="10"
67
77
  />
@@ -81,6 +91,13 @@ export class UsersGridComponent {
81
91
  }
82
92
  ```
83
93
 
94
+ ## DataGrid Highlights
95
+
96
+ - Sorting, filtering, pagination, editing, export, sticky rows and columns, and row detail workflows
97
+ - Grouping by one or more fields with grouped state events for local or server-driven data flows
98
+ - Custom group header/footer templates, aggregate output, and sticky group headers/footers
99
+ - Dependency-free PDF and Excel export defaults for common table export scenarios
100
+
84
101
  ## Development
85
102
 
86
103
  ```bash
package/RELEASE_NOTES.md CHANGED
@@ -1,15 +1,26 @@
1
- # @angular-bootstrap/ngbootstrap 2.0.3
1
+ # @angular-bootstrap/ngbootstrap 2.1.1
2
2
 
3
- This patch makes the default PDF export path dependency-free.
3
+ This patch release updates the library development and release dependency graph to patched compatible versions. It does not change the public component API or introduce breaking behavior.
4
4
 
5
- ## Fixed
5
+ ## Security
6
6
 
7
- - `JsPdfAdapter` now generates a simple table PDF directly in the browser.
8
- - Removed `jspdf` and `jspdf-autotable` from optional peer dependencies.
9
- - Angular apps no longer need jsPDF optional HTML/canvas dependencies for basic DataGrid PDF export.
7
+ - Updated Angular 22, ng-packagr, Jest, ESLint, TypeScript tooling, and affected transitive dependencies.
8
+ - Added narrowly scoped Jest dependency overrides for patched glob and brace-expansion paths.
9
+ - Refreshed the pnpm lockfile so the complete library dependency graph reports no known vulnerabilities.
10
10
 
11
- ## Notes
11
+ ## Changed
12
12
 
13
- PDF and Excel export are dependency-free by default. The built-in PDF adapter is intended for simple table export only.
13
+ - The security audit now includes build and test tooling in addition to published runtime dependencies.
14
+ - The audit command explicitly isolates this public library from a parent pnpm workspace when the repository is developed inside the private docs workspace.
14
15
 
15
- Use a custom `PdfExportAdapter` for branded layouts, images, charts, rich typography, or advanced pagination.
16
+ ## Verification
17
+
18
+ - Security audit: no known vulnerabilities.
19
+ - Lint: passed.
20
+ - Jest: 27 suites and 319 tests passed.
21
+ - Angular package build and release package validation: passed.
22
+
23
+ ## Compatibility
24
+
25
+ - Angular peer support remains `>=21.0.0 <23.0.0`.
26
+ - No public DataGrid, drag-and-drop, Form Builder, or component APIs changed in this release.