-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathCHANGELOG
More file actions
73 lines (62 loc) · 2.67 KB
/
Copy pathCHANGELOG
File metadata and controls
73 lines (62 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
2.4 (2026-06-06) -- security & robustness hardening
-- per-call SCWS instance via scws_fork(); removed global ParserState (fixes
token corruption with SRFs / nested parser calls within one backend)
-- _PG_init() now registers GUCs once at module load; init failures no longer
permanently break the backend
-- whitelist validation for zhparser.extra_dicts entries (only [A-Za-z0-9_.-],
.txt or .xdb); rejected by check_hook
-- refuse to write per-database custom dict files when current_database()
contains characters unsafe for filesystem paths
-- sync_zhprs_custom_word() now builds COPY via format() / %L and validates
the database name (mitigates dynamic-SQL pitfalls)
-- fix lexeme attr range: was ['a','x'] which silently dropped 'y' (modal)
and 'z' (status); now ['a','z']
-- safer pstrdup namespace handling in zhparser.h (no longer permanently
shadows the PG macro)
-- backup-custom-dict.sh: set -euo pipefail, dry-run, --yes confirmation,
safe globbing
-- Makefile: pkg-config detection for SCWS, -Wformat-security
-- new GitHub Actions matrix CI for PG 16/17/18
-- new regress/ container (Dockerfile + entrypoint + wrapper) and
sql/zhparser_hardening.sql; pg_regress green on PG 16/17/18
2.3 (2025-01-24)
-- add CI for linux and freebsd
-- do not create custom txt file when new install
-- add dockerfile for debian and alpine
-- fix linux CI, bump PG version to 16 for linux
-- fix client notice "NOTICE: zhparser add dict..."
2.2 (2021-11-08)
-- move custom word from /base/${DATABASE_ID}/zhprs_dict_${DATABASE_NAME}.txt to /base/zhprs_dict_${DATABASE_NAME}.txt(data don't have /base/${DATABASE_ID} when tablespace is setted)
2.1 (2019-04-23)
-- custom word store in DataDir.
2.0 (2019-03-05)
-- support custom word in table zhparser.zhprs_custom_word
0.2.0 (2017-05-28)
-- fix regression test
-- make pg_config configurable
-- optimize doc
0.1.5 (2017-05-24)
-- optimize memory usage for zhparser
-- support load multi dict
-- export SCWS settings to GUC
-- make context of dict_in_memory and extra_dicts to backend,others to userset
-- fix a bug of unknow type index out of range
-- detect dict file type from file extension
-- add check script to run regress
-- update scws to version 1.2.3 in install doc
0.1.4 (2013-11-03)
-- fix pgxn meta
0.1.3 (2013-11-03)
-- resolve the compile warning for pstrdup
-- add the Chinese dict for SCWS
-- fix rpath flag which emmit error on Mac OS
-- update instal doc to note use gmake for *BSD
-- update install doc to download SCWS from git url
0.1.2 (2013-10-23)
-- resolve the pstrdup name conflict for pg 9.3
0.1.1 (2013-02-05)
-- add CHANGELOG
-- fmt the doc
0.1.0 (2013-02-04)
-- init release in pgxn
-- parse Chinese encode in UTF-8