@angular-bootstrap/ngbootstrap 2.1.0 → 2.1.2

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,35 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.2 - 2026-07-27
4
+
5
+ ### Fixed
6
+
7
+ - Removed an unused standalone directive import that created a circular DataGrid dependency and caused the published FESM bundle to throw `Cannot access 'Datagrid' before initialization` in Jest and other direct bundle-loading environments.
8
+
9
+ ### Changed
10
+
11
+ - Extended release package verification to import the built FESM bundle and confirm that `Datagrid` and `NgbGridHighlightDirective` initialize and remain publicly exported.
12
+
13
+ ### Compatibility
14
+
15
+ - No public component APIs, selectors, inputs, outputs, or Angular peer ranges changed.
16
+
17
+ ## 2.1.1 - 2026-07-27
18
+
19
+ ### Security
20
+
21
+ - Updated Angular 22, ng-packagr, Jest, ESLint, TypeScript tooling, and their transitive dependencies to patched compatible releases.
22
+ - Added targeted Jest dependency overrides to remove vulnerable legacy glob and brace-expansion paths without changing the published library API.
23
+ - Refreshed the pnpm lockfile so the complete library dependency graph reports no known vulnerabilities.
24
+
25
+ ### Changed
26
+
27
+ - Updated the security audit command to include build and test dependencies while isolating the public library from any parent pnpm workspace.
28
+
29
+ ### Fixed
30
+
31
+ - Removed a dead DataGrid test assignment surfaced by the updated ESLint rules.
32
+
3
33
  ## 2.1.0 - 2026-07-25
4
34
 
5
35
  ### Added
package/README.md CHANGED
@@ -102,8 +102,11 @@ export class UsersGridComponent {
102
102
 
103
103
  ```bash
104
104
  pnpm install
105
+ pnpm lint
105
106
  pnpm test
106
107
  pnpm build
108
+ pnpm release:verify
109
+ pnpm security:audit
107
110
  ```
108
111
 
109
112
  Build output is written to `dist/`.
package/RELEASE_NOTES.md CHANGED
@@ -1,27 +1,24 @@
1
- # @angular-bootstrap/ngbootstrap 2.1.0
1
+ # @angular-bootstrap/ngbootstrap 2.1.2
2
2
 
3
- This release expands the DataGrid with first-class grouping support and rounds out several related grid behaviors and docs updates.
3
+ This patch release fixes a circular DataGrid bundle dependency without changing the public component API.
4
4
 
5
- ## Added
5
+ ## Fixed
6
6
 
7
- - DataGrid grouping with `groupable` and `group` inputs for single-field or multi-field grouping.
8
- - `groupChange` and grouped `dataStateChange` payloads for manual or server-side grouping flows.
9
- - Drag-to-group interactions, grouped rows, expand/collapse behavior, aggregate output, and custom group header/footer templates.
10
- - Sticky group headers and sticky group footers for larger grouped datasets.
7
+ - Removed an unused `NgbGridHighlightDirective` entry from the `Datagrid` component's internal standalone imports.
8
+ - Fixed `Cannot access 'Datagrid' before initialization` when Jest, Node, or another direct bundle-loading environment evaluates the published FESM package.
11
9
 
12
10
  ## Changed
13
11
 
14
- - Docs, package copy, and examples now position ngbootstrap as Angular UI for data-heavy apps.
15
- - Grouping examples now build on a shared realistic dataset and extend it across automatic grouping, manual grouping, aggregates, templates, and sticky group examples.
16
-
17
- ## Fixed
12
+ - Release validation now imports the built FESM bundle and verifies that `Datagrid` and `NgbGridHighlightDirective` initialize and remain publicly exported.
18
13
 
19
- - Sorting continues to behave correctly in grouped scenarios.
20
- - In-cell editing activation is more reliable.
21
- - Sticky columns and column reordering behavior were corrected in the DataGrid docs and integration flow.
14
+ ## Verification
22
15
 
23
- ## Notes
16
+ - Security audit: no known vulnerabilities.
17
+ - Lint: passed.
18
+ - Jest: 27 suites and 319 tests passed.
19
+ - Angular package build, direct FESM import, and release package validation: passed.
24
20
 
25
- PDF and Excel export remain dependency-free by default.
21
+ ## Compatibility
26
22
 
27
- Use a custom `PdfExportAdapter` or `ExcelExportAdapter` when your product needs branded documents, advanced workbook generation, charts, images, or other highly customized export output.
23
+ - Angular peer support remains `>=21.0.0 <23.0.0`.
24
+ - No public DataGrid, drag-and-drop, Form Builder, or component APIs changed in this release.