Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
2285bc4
Remove native build system, use WASM-only builds
devin-ai-integration[bot] Jun 14, 2025
cc18c8d
Complete WASM-only build system
devin-ai-integration[bot] Jun 14, 2025
cac81bc
Fix error handling to return actual libpg_query error messages
devin-ai-integration[bot] Jun 14, 2025
214fe4d
Fix test suite for WASM-only mode
devin-ai-integration[bot] Jun 14, 2025
ca1c345
Fix CI workflow to build WASM before running tests
devin-ai-integration[bot] Jun 14, 2025
74a61a2
Add WASM build step to Mac workflow for consistency
devin-ai-integration[bot] Jun 14, 2025
59d41fd
Implement sync wrappers using hybrid WASM approach
devin-ai-integration[bot] Jun 14, 2025
824106b
Clean up workflows and scripts - remove all native build references
devin-ai-integration[bot] Jun 14, 2025
d5e7bff
Update sync wrapper implementation - still investigating deasync dead…
devin-ai-integration[bot] Jun 14, 2025
9d980d1
Fix sync wrapper implementation - all tests now passing
devin-ai-integration[bot] Jun 14, 2025
0759431
Remove native build artifacts from libpg_query directory
devin-ai-integration[bot] Jun 14, 2025
d9a70d9
Add comprehensive build and test instructions to README
devin-ai-integration[bot] Jun 14, 2025
5171c85
Fix script names in workflows - use wasm:build instead of build:wasm
devin-ai-integration[bot] Jun 14, 2025
dea3329
Create modular CI workflow with dependencies and artifact sharing
devin-ai-integration[bot] Jun 14, 2025
514a83f
Update CI workflow with platform-specific emojis
devin-ai-integration[bot] Jun 14, 2025
eaa4b7b
Modernize README and remove binary build infrastructure
devin-ai-integration[bot] Jun 14, 2025
495e777
Restore yamlize dependency and complete README modernization
devin-ai-integration[bot] Jun 14, 2025
022a7f9
Update lock files after restoring yamlize dependency
devin-ai-integration[bot] Jun 14, 2025
2810920
Restore individual platform CI badges to README
devin-ai-integration[bot] Jun 14, 2025
7f88ba2
Update platform badges with proper logos
devin-ai-integration[bot] Jun 14, 2025
c101cc0
Convert platform badges to HTML format for minimal layout
devin-ai-integration[bot] Jun 14, 2025
b6c8044
Reorganize README structure - move Usage above Build Instructions
devin-ai-integration[bot] Jun 14, 2025
7bc41df
Bump version to 17.2.0 and update README for publication
devin-ai-integration[bot] Jun 14, 2025
7e9043a
Clean up README by removing redundant Example and CommonJS Usage sect…
devin-ai-integration[bot] Jun 14, 2025
3404531
Add comprehensive deparse documentation to README Usage section
devin-ai-integration[bot] Jun 14, 2025
f3ee929
Fix deparse documentation by removing incorrect @pgsql/types import
devin-ai-integration[bot] Jun 14, 2025
668ef75
Refactor WASM memory management to prevent leaks
devin-ai-integration[bot] Jun 15, 2025
82aa3b9
Add C.md documentation for libpg_query functions and WASM wrapper imp…
devin-ai-integration[bot] Jun 15, 2025
b65965b
Implement WASM wrapper improvements to eliminate proto.js dependency
devin-ai-integration[bot] Jun 15, 2025
1a38c37
Fix deparse error messages to match test expectations
devin-ai-integration[bot] Jun 15, 2025
1845097
Add reorganized test structure and new function implementations
devin-ai-integration[bot] Jun 15, 2025
b5248d9
Update package-lock.json
devin-ai-integration[bot] Jun 15, 2025
050536d
Fix C compilation errors and remove proto.js dependency
devin-ai-integration[bot] Jun 15, 2025
2ddbf2e
Restore working deparse implementation from commit 1a38c37
devin-ai-integration[bot] Jun 15, 2025
40b56e5
Complete implementation of additional libpg_query functions
devin-ai-integration[bot] Jun 15, 2025
b10fd34
Fix all remaining test failures
devin-ai-integration[bot] Jun 15, 2025
b121a0e
Add verbose logging to Emscripten build process
devin-ai-integration[bot] Jun 15, 2025
7d9ea24
Fix WASM wrapper systematic issues
devin-ai-integration[bot] Jun 15, 2025
a303b88
Fix WASM wrapper systematic issues
devin-ai-integration[bot] Jun 15, 2025
d70394b
Remove wasm_scan_query and wasm_split_statements functions
devin-ai-integration[bot] Jun 15, 2025
e67134d
Add input validation to remaining functions and fix safe_strdup
devin-ai-integration[bot] Jun 15, 2025
0585f66
Fix hardcoded buffer size additions with exact calculations
devin-ai-integration[bot] Jun 15, 2025
a124e18
Standardize error handling across WASM wrapper functions
devin-ai-integration[bot] Jun 15, 2025
07195b9
Fix critical memory management bugs in WASM wrapper
devin-ai-integration[bot] Jun 15, 2025
caa0768
Remove unused scripts/ directory and protogen script reference
devin-ai-integration[bot] Jun 15, 2025
03e1621
Complete function documentation and remove broken scan/split exports
devin-ai-integration[bot] Jun 15, 2025
83cabaf
Remove C.md planning document
devin-ai-integration[bot] Jun 15, 2025
f4e9c4f
Remove proto.js file and update dependencies
devin-ai-integration[bot] Jun 15, 2025
23e8602
Add parseQueryDetailedSync exports and update README to use npm commands
devin-ai-integration[bot] Jun 15, 2025
2241142
Remove docker folder and update build documentation
devin-ai-integration[bot] Jun 15, 2025
c836d05
Restore docker commands in package.json
devin-ai-integration[bot] Jun 15, 2025
389e2e7
Remove unused dependencies from package.json
devin-ai-integration[bot] Jun 15, 2025
8f40283
Remove test/index.js and replace lodash with pure JavaScript
devin-ai-integration[bot] Jun 15, 2025
f95b0d0
Add isReady function to check WASM module initialization
devin-ai-integration[bot] Jun 15, 2025
f88d859
Update CHANGELOG.md with comprehensive v17.2.1 improvements
devin-ai-integration[bot] Jun 15, 2025
ac88634
lock
pyramation Jun 16, 2025
d1f40da
readme
pyramation Jun 16, 2025
21580d1
loadModule() and remove isReady()
pyramation Jun 16, 2025
743f0ff
cleanup entry point
pyramation Jun 16, 2025
2bd8c4c
remove protobuf from parse
pyramation Jun 16, 2025
140f1fb
Fix deparse() and deparseSync() protobuf handling
devin-ai-integration[bot] Jun 16, 2025
38be1c4
proto
pyramation Jun 16, 2025
ecfb85f
yamlize
pyramation Jun 16, 2025
dc0905f
update protogen
pyramation Jun 16, 2025
8d0ff03
fix: deparsing with proto.js
pyramation Jun 16, 2025
9ecd980
detailed methods removed
pyramation Jun 16, 2025
fb091c6
cleanup
pyramation Jun 16, 2025
9a2d94e
cleanup
pyramation Jun 16, 2025
5edc480
notes
pyramation Jun 16, 2025
d7f46e5
cleanup build, use tsc
pyramation Jun 17, 2025
bd0668e
npm ignores
pyramation Jun 17, 2025
43ee895
new API
pyramation Jun 17, 2025
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
131 changes: 0 additions & 131 deletions .github/workflows/build-dry-run-no-win.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/build-dry-run.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/build-supabase-artifacts.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/build-wasm-no-docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Wasm 🛠
'on':
workflow_dispatch: null
jobs:
build-wasm:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository 📥
uses: actions/checkout@v4
- name: Setup Node.js 🌐
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
- name: Install and Build 🚀
run: |
yarn
- name: Install Emscripten ✍🏻
run: |
sudo apt-get update
sudo apt-get install cmake python3 python3-pip
git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install 3.1.59
./emsdk activate 3.1.59
source ./emsdk_env.sh
- name: Build with Emscripten 🏗
run: |
source ./emsdk/emsdk_env.sh
emmake make
emmake make build
- name: Archive production artifacts 🏛
uses: actions/upload-artifact@v4
with:
name: wasm-artifacts
path: wasm
27 changes: 7 additions & 20 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,15 @@ jobs:
node-version: '20.x'
cache: 'yarn'

- name: Install and Build 🚀
run: |
yarn
- name: Install Dependencies 🧶
run: yarn install

- name: Install Emscripten ✍🏻
run: |
sudo apt-get update
sudo apt-get install cmake python3 python3-pip
git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install 3.1.59
./emsdk activate 3.1.59
source ./emsdk_env.sh

- name: Build with Emscripten 🏗
run: |
source ./emsdk/emsdk_env.sh
emmake make
emmake make build
- name: Build WASM 🏗
run: npm run wasm:build

- name: Archive production artifacts 🏛
uses: actions/upload-artifact@v4
with:
name: compiled-files
path: wasm
name: wasm-artifacts
path: wasm/
retention-days: 7
Loading