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
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ and this project adheres to
- Full release notes: <https://github.com/PyThaiNLP/pythainlp/releases>
- Commit history: <https://github.com/PyThaiNLP/pythainlp/compare/v5.3.1...v5.3.2>

## [5.3.2] - 2026-03-20
## [5.3.2] - 2026-03-19

This release focuses on security issues related to path traversal
and renaming functions to conform with PEP 8. Old function names are
still accessible but migration to new names are recommended.
and renaming functions to conform with PEP 8 and follow NLTK convention.
Old function names are still accessible, but migration to new names are
recommended as old function names will be removed in a future version.

### Added

Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abstract: PyThaiNLP is a Thai natural language processing library for Python. It
repository-code: "https://github.com/PyThaiNLP/pythainlp"
type: software
doi: 10.5281/zenodo.3519354
version: 5.3.1
version: 5.3.2
license-url: "https://spdx.org/licenses/Apache-2.0"
keywords:
- computational linguistics
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ pip install pythainlp

| Version | Python version | Changes | Documentation |
|:-------:|:--------------:|:-------:|:-------------:|
| [5.3.1](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/issues/1080) | [pythainlp.org/docs](https://pythainlp.org/docs) |
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/issues/1169) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
| [5.3.2](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/blob/dev/CHANGELOG.md#532---2026-03-19) | [pythainlp.org/docs](https://pythainlp.org/docs) |
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/compare/v5.3.2...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |

## Features

Expand Down
4 changes: 2 additions & 2 deletions README_TH.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ pip install pythainlp

| รุ่น | รุ่นของ Python | มีอะไรเปลี่ยน | เอกสาร |
| :-: | :-: | :-: | :-: |
| [5.3.1](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/issues/1080) | [pythainlp.org/docs](https://pythainlp.org/docs) |
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/issues/1169) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
| [5.3.2](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/blob/dev/CHANGELOG.md#532---2026-03-19) | [pythainlp.org/docs](https://pythainlp.org/docs) |
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/compare/v5.3.2...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |

## ความสามารถ

Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"codeRepository": "https://github.com/PyThaiNLP/pythainlp",
"copyrightYear": 2026,
"dateCreated": "2016-06-27",
"dateModified": "2026-03-14",
"dateModified": "2026-03-19",
"datePublished": "2016-06-27",
"description": "PyThaiNLP is a Thai natural language processing library for Python. It provides standard linguistic analysis for the Thai language, including tokenization and part-of-speech tagging. Additionally, it offers standard Thai locale utility functions, such as Thai Buddhist Era date formatting and the conversion of numbers into Thai text.",
"developmentStatus": "active",
Expand Down Expand Up @@ -197,5 +197,5 @@
"https://pythainlp.org/Model-Cards/"
],
"url": "https://pythainlp.org/",
"version": "5.3.1"
"version": "5.3.2"
}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "hatchling.build"

[project]
name = "pythainlp"
version = "5.3.1"
version = "5.3.2"
description = "Thai Natural Language Processing library"
readme = "README.md"
requires-python = ">=3.9"
Expand Down Expand Up @@ -313,7 +313,7 @@ include = [

# Bumpversion configuration
[tool.bumpversion]
current_version = "5.3.1"
current_version = "5.3.2"
commit = true
tag = true
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+)(?P<build>\\d+))?"
Expand Down
2 changes: 1 addition & 1 deletion pythainlp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2016-2026 PyThaiNLP Project
# SPDX-FileType: SOURCE
# SPDX-License-Identifier: Apache-2.0
__version__ = "5.3.1"
__version__ = "5.3.2"

thai_consonants: str = (
"กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรลวศษสหฬอฮ" # 44 chars
Expand Down
Loading