Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: sql-js/sql.js

Release v1.13.0

15 Mar 21:19

Choose a tag to compare

sql.js v1.13 Release Notes

This release of sql.js brings significant updates and improvements, primarily focused on modernizing the underlying toolchain and enhancing functionality.

Theonline playground was rewritten:

sql editor

Key highlights include:

🚀 Dependency Updates and Modernization

  • SQLite Core Upgrade: sql.js is now built withSQLite version 3.49. This incorporates all the enhancements and bug fixes from SQLite versions 3.45.0 through 3.49.1. SeeSQLite release notes. Notable SQLite improvements in this range include:

    • Query Planner Enhancements: Expect improved query performance due to optimizations in query planning, especially for complex queries, star joins, and queries involvingIN operators. These improvements are detailed in the SQLite release notes for versions 3.47.0, 3.49.0, and 3.46.0.
    • New SQL Features: Take advantage of new SQL functions and features introduced in SQLite 3.47+, such as:
      • Enhancediif() function with support for multiple arguments (SQLite 3.49.0).
      • Right-hand side negative indexing for JSON->> operator (SQLite 3.47.0).
      • json_pretty() function for formatted JSON output (SQLite 3.46.0).
      • Support for underscore characters in numeric literals (SQLite 3.46.0).
      • Improved date and time function modifiers likeceiling andfloor (SQLite 3.46.0).
    • Bug Fixes and Stability: Benefit from numerous bug fixes and stability improvements across various SQLite components, ensuring a more robust database experience. Refer to the SQLite Changelog for detailed fixes in versions 3.45.1, 3.45.2, 3.45.3, 3.46.1, 3.47.1, 3.47.2, 3.49.1, and 3.44.2.
  • Emscripten 4.x Upgrade: sql.js is now compiled withEmscripten 4. Seechanges in emscripten. This major update to the Emscripten toolchain brings several under-the-hood improvements:

    • Modern JavaScript Output: Emscripten 4 generates more modern JavaScript code. While compatibility with older browsers is still maintained through transpilation where necessary, this move to modern JS internally can lead to performance improvements in modern environments.
    • LLVM 19.1.6: The underlying compiler toolchain is updated to LLVM 19.1.6, which includes improvements to code generation, optimizations, and potentially better support for newer WebAssembly features.
    • Minimum Node.js Version Increase (for Emscripten Toolchain): While sql.js itself aims for broad compatibility, the Emscripten toolchain now requiresNode.js v18.3 as a minimum (and is tested with Node.js 22 in this release). This is primarily relevant for developers building sql.js from source.
  • Node.js Worker Thread Compatibility: The worker scripts are now fully compatible with Node.js worker threads, allowing for seamless integration in Node.js environments leveraging worker threads. This is a significant step towards better performance and concurrency in Node.js.

  • Removal of Puppeteer Dev Dependency: The project no longer depends on Puppeteer for worker tests. Worker tests now utilize Node.js worker threads directly, simplifying the testing setup and removing an external dependency. This also speeds up the devcontainer installation.

✨ New Features

  • updateHook API (#604): This release introduces a new low-level API,Database.updateHook, providing a mechanism to register a callback function that is invoked whenever a row is updated, inserted, or deleted in the database.view docs
    • This feature wraps the nativesqlite3_update_hook functionality, allowing developers to monitor database modifications at a granular level.
    • Callbacks receive information about the operation type (update, insert, delete), the database name, table name, and rowid.

🛠️ Internal and Development Changes

  • Worker Debug Script: Added a new debug script specifically for worker environments to aid in development and troubleshooting of worker-related issues.
Assets7
Loading
AntonyZ89, dofufa, arrow501, IgorTheLight, and AppleHair reacted with thumbs up emojiram-you, hoeck, IgorTheLight, AppleHair, and FS-Frost reacted with heart emoji
8 people reacted

Release v1.12.0

29 Oct 20:51

Choose a tag to compare

new getRowsModified action in web worker
Loading
donald95, neomafo88, and IgorTheLight reacted with thumbs up emojimark-myer and IgorTheLight reacted with hooray emojilixingyangok, IgorTheLight, and FS-Frost reacted with heart emojiAHS12, IgorTheLight, and rumphel-lee reacted with rocket emoji
8 people reacted

Release v1.11.0

30 Jul 16:42

Choose a tag to compare

New emscripten compiler
Loading
soft-di, Chachaproper, and surpol reacted with thumbs up emoji
3 people reacted

Release v1.10.3

14 Apr 08:49
d58d741
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

updated sqlite to v3.45.2
Loading
noteverseio, abetomo, makino, KMalveaux, imxade, Kentaro-Furukawa, JackDarkability, and Siadalhomamy123451122 reacted with thumbs up emoji
8 people reacted

Release v1.10.2

20 Jan 23:12
de08ddb
This commit was signed with the committer’sverified signature.
lovasoa Ophir LOJKINE
GPG key ID:AC8DB8E033B44AB8
Verified
Learn about vigilant mode.

Choose a tag to compare

fix memory error with long sql strings
Loading

Release v1.10.1

16 Jan 17:13
53335a9
This commit was signed with the committer’sverified signature.
lovasoa Ophir LOJKINE
GPG key ID:AC8DB8E033B44AB8
Verified
Learn about vigilant mode.

Choose a tag to compare

update deps
Loading

Release v1.10.0

16 Jan 13:14
3d30768
This commit was signed with the committer’sverified signature.
lovasoa Ophir LOJKINE
GPG key ID:AC8DB8E033B44AB8
Verified
Learn about vigilant mode.

Choose a tag to compare

sqlite 3.45 (new json functions)fixed regestered functions disappearing after exporting the database
Loading
noteverseio and FabriceDujardinNc reacted with thumbs up emoji
2 people reacted

Release v1.9.0

28 Nov 20:21
783bf12
This commit was signed with the committer’sverified signature.
lovasoa Ophir LOJKINE
GPG key ID:AC8DB8E033B44AB8
Verified
Learn about vigilant mode.

Choose a tag to compare

sqlite 3.44
Loading
baishuigansijun reacted with thumbs up emojibaishuigansijun reacted with hooray emojiabetomo, MoLing-Dong, piyushchauhan2011, louisjoecodes, and baishuigansijun reacted with rocket emojicalaosoft and baishuigansijun reacted with eyes emoji
6 people reacted

Release v1.8.0

08 Sep 01:41
12d3603
This commit was signed with the committer’sverified signature.
lovasoa Ophir LOJKINE
GPG key ID:AC8DB8E033B44AB8
Verified
Learn about vigilant mode.

Choose a tag to compare

Loading
neomafo88, zakott7876, ddupas, petros-geonext, darekf77, normai, and clowread2010 reacted with rocket emoji
7 people reacted

Release v1.7.0

01 Jun 08:42
4ab923e
This commit was signed with the committer’sverified signature.
lovasoa Ophir LOJKINE
GPG key ID:AC8DB8E033B44AB8
Verified
Learn about vigilant mode.

Choose a tag to compare

sqlite 3.38.5, size optimizations, more recent compiler
Loading
takumi-miyajima, rogerfar, schickling, salix5, and nshibu reacted with thumbs up emojiabetomo, espona, schickling, JeffNJG, and 95th reacted with hooray emoji
9 people reacted
Previous13
Previous

[8]ページ先頭

©2009-2025 Movatter.jp