# pakdatakit 2.2.1

> Release notes for pakdatakit 2.2.1 (TypeScript, Python, Dart): what changed, what was fixed and how to upgrade.

Source: https://pakdatakit.dev/releases/2.2.1/

## TypeScript (npm)

[pakdatakit 2.2.1](https://www.npmjs.com/package/pakdatakit/v/2.2.1)

### Fixed

- The district split from Swat in January 2026 is now named **Bar Swat**, as in
  the Board of Revenue notification, instead of "Upper Swat". `Upper Swat`
  still resolves in `getDistrictProvince`.
- `dataVersion` is now `2026-11-07` (November data check: no other changes).

### Docs

- The README no longer lists planned features: NADRA publishes no CNIC
  check-digit algorithm, and Pakistan has no public number-portability lookup.
- The docs site has a share image and favicon.

## Python (PyPI)

[pakdatakit 2.2.1](https://pypi.org/project/pakdatakit/2.2.1/)

The district split from Swat in January 2026 is now named **Bar Swat**, as in
the Khyber Pakhtunkhwa Board of Revenue notification of 27 January 2026,
instead of "Upper Swat". "Upper Swat" still resolves in `get_district_province` to Khyber Pakhtunkhwa.
`DATA_VERSION` is now `2026-11-07`.

## Dart (pub.dev)

[pakdatakit 2.2.1](https://pub.dev/packages/pakdatakit/versions/2.2.1)

The district split from Swat in January 2026 is now named **Bar Swat**, as in
the Khyber Pakhtunkhwa Board of Revenue notification of 27 January 2026,
instead of "Upper Swat". "Upper Swat" still resolves in `getDistrictProvince` to Khyber Pakhtunkhwa.
`dataVersion` is now `2026-11-07`.
