Repository navigation
Releases: junwatu/griddb-client
Releases · junwatu/griddb-client
Release list
v1.1.0-beta.1
What's Changed
Bug Fixes — GridDB Cloud DML Operations
delete()andupdate()with WHERE clause now work correctly on GridDB Cloud- Added
executeDml()method usingtype: 'sql-update'via/sql/updateendpoint (GridDB Cloud requires this for INSERT/UPDATE/DELETE — the previoustype: 'sql-select'via/sql/dml/querywas rejected) truncate()now uses the correct DML endpoint- Stripped
undefined/emptybindingsfrom query payloads (GridDB Cloud rejects them with"Mapping JSON data error")
New Method
executeDml(stmt, bindings?)— Execute raw SQL DML statements (INSERT, UPDATE, DELETE) via the correct endpoint
Type Changes
GridDBQuery.typenow supports'sql-select' | 'sql-update' | 'tql'
Documentation
- Added API overview table with all 18 methods
- Added GridDB Cloud section (endpoint separation, config example, IP allowlist tip)
- Documented
executeDml()andtruncate() - Fixed
delete()/update()examples to use inline WHERE values
Verification
- ✅ All 175 tests passed (7 test files)
- ✅ Build (
tsc) successful - ✅ Tested against live GridDB Cloud instance
Installation
npm install @junwatu/griddb-client@1.1.0-beta.1v1.1.0-beta.0
What's Changed
Dependencies Updated
- Updated all npm packages to latest versions (zero outdated)
- Removed unused Jest dependencies (
jest,ts-jest,@types/jest) — project uses Vitest - Vitest upgraded from v3.2.4 → v4.1.0
- TypeScript upgraded from v5.9.2 → v5.9.3
- ESLint upgraded from v8 → v10
@typescript-eslint/*upgraded from v6 → v8happy-domupgraded from v18 → v20dotenvupgraded from v16 → v17@faker-js/fakerupgraded from v10.0.0 → v10.3.0prettierupgraded from v3.6.2 → v3.8.1
ESLint Migration
- Migrated from
.eslintrc.json(legacy config) toeslint.config.mjs(flat config) for ESLint v10 compatibility - Removed
.eslintignore(now handled in flat config)
Code Fixes
- Fixed unused catch binding in
cloud-client.ts - Fixed indentation in
transformers.ts
Verification
- ✅ All 169 tests passed (7 test files)
- ✅ Build (
tsc) successful - ✅ ESLint: 0 errors
Installation
npm install @junwatu/griddb-client@1.1.0-beta.0v1.0.0-beta.5
Changes
- Fixed tests to align with core code changes (PUT method for inserts)
- Updated HTTP method from POST to PUT for GridDB Web API compliance
- All tests passing (169 tests)
- Build successful
- Now tagged as both beta and latest
Installation
# Install latest version
npm install @junwatu/griddb-client
# Or install beta specifically
npm install @junwatu/griddb-client@betaWhat's Changed
- Core CRUD operations now use PUT method for inserts (GridDB Web API standard)
- Test suite updated to reflect API changes
- Maintained backward compatibility for all public APIs
- Package is now available as both beta and latest tags
v1.0.0-beta.4
Changes
- Fixed tests to align with core code changes (PUT method for inserts)
- Updated HTTP method from POST to PUT for GridDB Web API compliance
- All tests passing (169 tests)
- Build successful
Installation
npm install @junwatu/griddb-client@betaWhat's Changed
- Core CRUD operations now use PUT method for inserts (GridDB Web API standard)
- Test suite updated to reflect API changes
- Maintained backward compatibility for all public APIs
v1.0.0-beta.2 - Beta Release
🚀 GridDB Client Library - Beta Release
This is the second beta release of the TypeScript/JavaScript client library for GridDB Web API.
✨ Features
- 🔌 Full GridDB Web API Support - Complete implementation of GridDB Web API v2
- ☁️ GridDB Cloud Support - Built-in support for GridDB Cloud services
- 🛠️ Complete CRUD Operations - Create, Read, Update, Delete with ease
- 🔄 Batch Operations - Efficient batch inserts with error handling
- 📊 SQL & TQL Support - Execute both SQL and TQL queries
- 🔧 TypeScript First - Full TypeScript support with comprehensive type definitions
- ⚡ Performance Optimized - Connection pooling, retry logic, and efficient transformations
- 🧪 Well Tested - 166+ unit tests with mocked responses
📦 Installation
# Will be available after 24-hour npm republish window
npm install @junwatu/griddb-client@betaFor now, you can install directly from GitHub:
npm install github:junwatu/griddb-client#v1.0.0-beta.2📖 Quick Start
import { GridDB } from '@junwatu/griddb-client';
const griddb = new GridDB({
griddbWebApiUrl: 'http://localhost:8080/griddb/v2',
username: 'admin',
password: 'admin'
});
// Create container
await griddb.createContainer({
containerName: 'users',
columns: [
{ name: 'id', type: 'INTEGER' },
{ name: 'name', type: 'STRING' }
]
});
// Insert data
await griddb.insert({
containerName: 'users',
data: { id: 1, name: 'John' }
});🐛 Known Issues
- This is a beta release - please test thoroughly before production use
- Report issues at: https://github.com/junwatu/griddb-client/issues
📝 What's Changed
- Fixed HTTP method usage (POST for insert, PUT for update)
- Updated package name references in documentation
- Added comprehensive test suite
- Improved error handling
🤝 Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
📄 License
MIT