Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Commit d0cfd1c

Browse files
authored
Merge pull request #30 from sphildreth/sph-2026-02-18.01
feat: update to version 1.1.3 and enhance static linking for .NET pac…
2 parents f56c166 + 5de2d7e commit d0cfd1c

5 files changed

Lines changed: 18 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ jobs:
7171
cd /tmp/libpg_query
7272
make
7373
fi
74-
cd /tmp/libpg_query
75-
sudo make install
76-
sudo ldconfig
74+
mkdir -p build/lib
75+
cp /tmp/libpg_query/libpg_query.a build/lib/
7776
7877
- name: Build libpg_query (macOS)
7978
if: runner.os == 'macOS'
@@ -83,8 +82,8 @@ jobs:
8382
cd /tmp/libpg_query
8483
make
8584
fi
86-
cd /tmp/libpg_query
87-
sudo make install
85+
mkdir -p build/lib
86+
cp /tmp/libpg_query/libpg_query.a build/lib/
8887
8988
- name: Build libpg_query (Windows)
9089
if: runner.os == 'Windows'

.github/workflows/nuget.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,17 @@ jobs:
4141
git clone --depth 1 https://github.com/pganalyze/libpg_query.git /tmp/libpg_query
4242
cd /tmp/libpg_query
4343
make
44-
sudo make install
45-
sudo ldconfig
44+
mkdir -p "$GITHUB_WORKSPACE/build/lib"
45+
cp libpg_query.a "$GITHUB_WORKSPACE/build/lib/"
4646
4747
- name: Build libpg_query (macOS)
4848
if: runner.os == 'macOS'
4949
run: |
5050
git clone --depth 1 https://github.com/pganalyze/libpg_query.git /tmp/libpg_query
5151
cd /tmp/libpg_query
5252
make
53-
sudo make install
53+
mkdir -p "$GITHUB_WORKSPACE/build/lib"
54+
cp libpg_query.a "$GITHUB_WORKSPACE/build/lib/"
5455
5556
- name: Build libpg_query (Windows)
5657
if: runner.os == 'Windows'

decentdb.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "1.1.2"
1+
version = "1.1.3"
22
author = "DecentDB contributors"
33
description = "DecentDB engine"
44
license = "Apache-2.0"

docs/about/changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to DecentDB will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.1.3] - 2026-02-18
9+
10+
### Fixed
11+
- .NET: NuGet packages now statically link `libpg_query`, `xxhash`, and `protobuf-c` into `libdecentdb.so`. Previously these were dynamic dependencies not included in the package, causing `DllNotFoundException` on systems without them installed (e.g. `dotnet publish` to a clean server).
12+
13+
### Changed
14+
- Build: Linux and macOS CI steps now use the `libpg_query.a` static archive instead of `sudo make install`, matching the Windows build and ensuring the shared library is self-contained.
15+
816
## [1.1.2] - 2026-02-15
917

1018
### Fixed

nim.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
--path:src
22
--define:libpg_query
3-
--passL:"-Lbuild/lib"
4-
--passL:"-lpg_query"
3+
--passL:"build/lib/libpg_query.a"

0 commit comments

Comments
 (0)