Both the native (precompiled) gems and the vanilla "ruby platform" (source) gem include sqlite v3.39.3 by default.
Defaulting to a consistent version of sqlite across all systems means that your development environment behaves exactly like your production environment, and you have access to the latest and greatest features of sqlite.
You can opt-out of the packaged version of sqlite (and use your system-installed library as in versions < 1.5.0). See the README for more information.
vcpkg system libraries supported. [#332] (Thanks, @MSP-Greg!)
Added
SQLite3::SQLITE_LOADED_VERSION contains the version string of the sqlite3 library that is dynamically loaded (compare to SQLite3::SQLITE_VERSION which is the version at compile-time).
Fixed
SQLite3::Database#load_extensions now raises a TypeError unless a String is passed as the file path. Previously it was possible to pass a non-string and cause a segfault. [#339]
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ sqlite3 (~> 1.3.11 → ~> 1.5.0) · Repo · Changelog
Release Notes
1.5.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 65 commits:
version bump to 1.5.0 (final)
rb_gc_register_address() must be called after the variable was assigned (#345)
Merge pull request #342 from sparklemotion/flavorjones-update-sqlite-3.39.3
dep: update packaged sqlite3 to v3.39.3
doc: fix sqlite3 docs link in CHANGELOG
version bump to v1.5.0.rc2 (release candidate)
Merge pull request #341 from sparklemotion/flavorjones-compiler-optimization
perf: use -O2 compiler optimizations
Merge pull request #340 from sparklemotion/339-load-extension-segfault
fix: Database#load_extension check argument type
Merge pull request #337 from sparklemotion/flavorjones-fix-ci-macos-gem-install
ci: gem-install.yml uses --with-opt-dir for macos system libraries
ci: trigger github actions on `master`, not `main`
doc: update CHANGELOG.md
Merge pull request #334 from eregon/fix-utf16_string_value_ptr-truffleruby
Fix utf16_string_value_ptr() for TruffleRuby
Merge pull request #336 from MSP-Greg/00-pr-333-test-versions
sqlite3-ruby.yml - remove some quotes, reformat include
sqlite3-ruby.yml macOS - use --with-opt-dir when --enable-system-libraries
test: assert compiled and loaded versions of sqlite3 are the same
Merge pull request #332 from MSP-Greg/00-sqlcipher-mswin
sqlite3-ruby.yml - mswin/sqlcipher - install sqlite3
ci: trigger github actions on `master`, not `main`
Merge pull request #330 from sparklemotion/flavorjones-extconf-help-message
Merge pull request #331 from sparklemotion/flavorjones-update-sqlite3-v3.39.2
dep: update packaged sqlite3 to v3.39.2
ext: add --help option and message to extconf.rb
ext: sqlcipher dir_config params imply system libs and sqlcipher
Merge pull request #329 from sparklemotion/flavorjones-fix-version-test
test: skip version string assertion when testing native gems
version bump to v1.5.0.rc1 (release candidate)
doc: update CHANGELOG and README
test: assert on the two version strings
Merge pull request #328 from sparklemotion/flavorjones-upgrade-sqlite-to-3.39.0
test: assertions on db path use #realdirpath
dep: update to sqlite 3.39.0
test: more exact test for patch file presence
doc: update CHANGELOG
Merge pull request #320 from sparklemotion/flavorjones-resurrect-native-gems
doc: update README and create LICENSE-DEPENDENCIES
dev: scripts to package gems and assert on their contents
dev: update .gitignore
ext: support only ruby >= 2.6
ext: test native gems on all rcd-supported platforms
ci: gracefully handle missing version.rb in the gemspec
ci: cache sqlite3 builds
refactor: extconf.rb
dev: annotate the sqlite3 version requirement for sqlite3_open_v2
ext: ensure sqlcipher is supported as a system library
doc: convert rdoc files to markdown
ci: add coverage for mswin windows platform
ext: support system libraries via `--enable-system-libraries`
ext: patch automake files to support arm64-darwin systems
test: use assert_in_delta for floats returned from db funcs
ci: configure appveyor
ext: work around MakeMakefile.pkg_config issue in Ruby 3.1
ext(warnings): quash more compiler warnings
ext(warnings): use #ifdef to check _MSC_VER instead of #if
feat: define SQLite3::SQLITE_LOADED_VERSION
ext: rebuild extconf and native.rake
ci: simplify basic test pipeline
gem: manifest management
dep: remove hoe, prefer a literal gemspec
Fix required ruby version in gem
dep: update development dependencies
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands