Skip to content
Merged
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
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py

- **Author**: [Joel Lawhead](https://github.com/GeospatialPython)
- **Maintainers**: [James Parrott](https://github.com/JamesParrott) & [Karim Bahgat](https://github.com/karimbahgat)
- **Version**: 3.1.7.dev
- **Date**: 6th Nov 2026
- **Version**: 3.1.7
- **Date**: 7th Nov 2026
- **License**: [MIT](https://github.com/GeospatialPython/pyshp/blob/master/LICENSE.TXT)

## Contents
Expand Down Expand Up @@ -93,15 +93,14 @@ part of your geospatial project.

# Recent version Changes
See also the Older Version Changes section below
## 3.1.7
### Bug fix
- Non-positive .shp record lengths (@lunnuyenhi-dev) and mismatched shape types now raise CorruptShpShapeRecord instead of hanging forever, raising a KeyError, or passing silently.

## 3.1.6
### Feature
- Encodings can now be read from .cpg files (and optionally written to them).

## 3.1.5
### Bug fix
- Fixed another bug causing dates before the year 1000 to be encoded as less than 8 chars under "%Y%m%d (found by [Thomas Beierlein](https://github.com/GeospatialPython/pyshp/issues/435))



# The Basics

Expand Down Expand Up @@ -1514,6 +1513,10 @@ Zac Miller

# Older version changes

## 3.1.5
### Bug fix
- Fixed another bug causing dates before the year 1000 to be encoded as less than 8 chars under "%Y%m%d (found by [Thomas Beierlein](https://github.com/GeospatialPython/pyshp/issues/435))

## 3.1.4
### Bug fix
- Fix bug causing dates supplied as length 8 strings of digits to be encoded by the custom encoding, not ascii.
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
VERSION 3.1.7
2026-11-07
* Improved handling of corrupt .shp record headers [@lunnuyenhi-dev] (see [issue 453](https://github.com/GeospatialPython/pyshp/issues/453))

VERSION 3.1.6
2026-07-25
* Encodings can now be read from .cpg files (and optionally written to them).
Expand Down
2 changes: 1 addition & 1 deletion src/shapefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from __future__ import annotations

__version__ = "3.1.6"
__version__ = "3.1.7"

import abc
import array
Expand Down
Loading