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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

**1.7.0 (2025-10-02)**
**2.0.0 (2025-10-02)**

* Update for Python 3.14 and require at least 3.8 (by Edgar Ramírez, [#112](https://github.com/Kijewski/pyjson5/pull/112))
* Update to Unicode 17.0.0 ([#117](https://github.com/Kijewski/pyjson5/pull/117))
* Fix typing for `_SupportsRead` ([#118](https://github.com/Kijewski/pyjson5/pull/118))
* Let `dump()` write `str` instead of `bytes` ([#119](https://github.com/Kijewski/pyjson5/pull/119))

**1.6.9 (2025-05-12)**

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ src/_escape_dct.hpp: scripts/make_escape_dct.py
python $< $@

pyjson5.cpp: pyjson5.pyx $(wildcard src/*.pyx) $(wildcard src/*.hpp)
python -m cython -f -o $@ $<
python -m cython --line-directives --cplus --force --output-file $@ $<

prepare: pyjson5.cpp ${FILES}

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
autosummary_generate = True

intersphinx_mapping = {
'python': ('https://docs.python.org/3.13', None),
'python': ('https://docs.python.org/3.14', None),
}

graphviz_output_format = 'svg'
Expand Down
2 changes: 1 addition & 1 deletion requirements-readthedocs.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# keep synchronous to pyproject.toml
# keep synchronous to src/VERSION.inc
pyjson5 == 1.6.9
pyjson5 == 2.0.0

# keep synchronous to requirements-dev.txt
docutils == 0.21.*
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
# keep synchronous to requirements-readthedocs.txt
# keep synchronous to src/VERSION.inc
version = 1.6.9
version = 2.0.0

name = pyjson5
description = JSON5 serializer and parser for Python 3 written in Cython.
Expand Down
2 changes: 1 addition & 1 deletion src/VERSION.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"1.6.9"
"2.0.0"
2 changes: 1 addition & 1 deletion src/_legacy.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ def dump(object obj, object fp, **kw):
kw
Silently ignored.
'''
encode_io(obj, fp)
encode_io(obj, fp, supply_bytes=False)