Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: Tiny-Essentials/PuddySQL

1.0.0-beta-4

29 Nov 21:33

Choose a tag to compare

โœจ 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 both id and subId configured 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

12 Oct 22:39

Choose a tag to compare

๐Ÿš€ Whatโ€™s New

  • โœจ New parseWhereFlat() implementation
    A new SQL WHERE clause 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

03 Sep 15:51

Choose a tag to compare

โš™๏ธ 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

03 Jul 15:43

Choose a tag to compare

๐Ÿš€ 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.Instance class 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 QueryGroup logic 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