Releases: Tiny-Essentials/PuddySQL
1.0.0-beta-4
โจ What's New
1. Added warning for missing table elements in escapeValuesFix โ ๏ธ
A new error-style warning message has been introduced to alert developers when escapeValuesFix encounters a column that does not exist in the target table.
This helps prevent silent failures and makes debugging incorrect schemas much easier.
2. Added important notice to set() ๐งฉ
The set() method now includes an explicit warning informing developers about primary key requirements for upsert operations:
โ ๏ธ Important: The table must have bothidandsubIdconfigured as a composite PRIMARY KEY
(or as a UNIQUE constraint) for the upsert operation to work correctly with conflict resolution.
This ensures users are aware of the necessary constraints for stable and predictable behavior.
Full Changelog: 1.0.0-beta-3...1.0.0-beta-4
1.0.0-beta-3
๐ Whatโs New
-
โจ New
parseWhereFlat()implementation
A new SQLWHEREclause builder for flat tag tables โ where each row stores a single tag. -
โ๏ธ SQL Boosts with Array Support
The internal boosting system (used to prioritize or weight query results) now fully supports arrays ๐ฏ
This means boost parameters can now be provided as arrays, making multi-value weighting more flexible and intuitive.
Full Changelog: 1.0.0-beta-2...1.0.0-beta-3
1.0.0-beta-2
โ๏ธ Improvements & Changes
- License changed from previous version to LGPL-3.0, ensuring better open-source compatibility.
Full Changelog: 1.0.0-beta...1.0.0-beta-2
1.0.0-beta
๐ v1.0.0-beta ยท First public beta release
This is the first public beta release of PuddySQL ๐ โ a fully customizable SQL engine for Node.js, designed to simplify advanced search, tag filters, and structured queries.
Below is a summary of the key changes and features in commit-style format:
โจ Features
- ๐ฎ
PuddySql.Instanceclass for PostgreSQL and SQLite3 engines - ๐ท๏ธ Built-in Tag System with support for AND, OR, NOT, boosts, and wildcards
- ๐ฆ Powerful
.search()and.find()methods with advanced filtering and pagination - ๐ ๏ธ Custom JOIN parser supporting raw strings, objects, or arrays
- ๐ Select generator supporting arrays, strings, objects, and boost logic
- ๐
initTable()utility to create and manage structured table definitions - ๐ Built-in
getAll,getAmount,set,delete,advancedDelete, and more - ๐ Nested
QueryGrouplogic with AND/OR groupings and condition trees - ๐ Input sanitization and placeholder binding for secure queries
- ๐งฉ Utility modules (
Utils,Events, etc.) to support extensions and debugging
๐งช Testing
- โ
Full playground demo included at
/test/index.mjs - ๐ท๏ธ Extensive tag filter scenarios tested: inclusion, exclusion, boost, pagination
- ๐งน Clean and reset logic verified across SQLite3 and PostgreSQL
๐ ๏ธ This is a beta release โ APIs may change before 1.0.0 stable.
Issues and feedback are welcome! ๐ฌ
Full Changelog: https://github.com/JasminDreasond/PuddySQL/commits/1.0.0-beta