ChangeLog: https://www.sqlite.org/releaselog/3_40_1.html
* Fix the --safe command-line option to the CLI such that it correctly
disallows the use of SQL functions like writefile() that can cause harmful
side-effects.
* Fix a potential infinite loop in the memsys5 alternative memory allocator.
This bug was introduced by a performance optimization in version 3.39.0.
* Various other obscure fixes.
PR: 268762
Reported by: pavelivolkov@gmail.com (maintainer)
MFH: 2023Q1 (bugfix release)
ChangeLog: https://www.sqlite.org/releaselog/3_40_0.html
* Add support for compiling SQLite to WASM and running it in web browsers.
* Add the recovery extension that might be able to recover some content from a
corrupt database file.
* Query planner enhancements:
* A new typedef named sqlite3_filename is added and used to represent the name
of a database file.
* Add the sqlite3_value_encoding() interface.
* Security enhancement: SQLITE_DBCONFIG_DEFENSIVE is augmented to prohibit
changing the schema_version.
* Enhancements to the PRAGMA integrity_check statement:
* Enhance the VACUUM INTO statement so that it honors the PRAGMA synchronous
setting.
* Enhance the sqlite3_strglob() and sqlite3_strlike() APIs
* Provide the new SQLITE_MAX_ALLOCATION_SIZE compile-time option for limiting
the size of memory allocations.
* Change the algorithm used by SQLite's built-in pseudo-random number
generator (PRNG) from RC4 to Chacha20.
* Allow two or more indexes to have the same name as long as they are all in
separate schemas.
* Miscellaneous performance optimizations result in about 1% fewer CPU cycles
used on typical workloads.
PR: 268012
Reported by: pavelivolkov@gmail.com (maintainer)
ChangeLog: https://www.sqlite.org/releaselog/3_39_0.html
* Add (long overdue) support for RIGHT and FULL OUTER JOIN.
* Add new binary comparison operators IS NOT DISTINCT FROM and IS DISTINCT FROM
that are equivalent to IS and IS NOT, respective, for compatibility with
PostgreSQL and SQL standards.
* Add a new return code (value "3") from the sqlite3_vtab_distinct() interface
that indicates a query that has both DISTINCT and ORDER BY clauses.
* Added the sqlite3_db_name() interface.
* The unix os interface resolves all symbolic links in database filenames to
create a canonical name for the database before the file is opened.
* Defer materializing views until the materialization is actually needed, thus
avoiding unnecessary work if the materialization turns out to never be used.
* The HAVING clause of a SELECT statement is now allowed on any aggregate
query, even queries that do not have a GROUP BY clause.
* Many microoptimizations collectively reduce CPU cycles by about 2.3%.
PR: 264974
Reported by: pavelivolkov@gmail.com (maintainer)
- Switch to more complete distfile which allows to enable
TCL extensions and sqlite_analyzer
- Switch to pkg-plist
PR: 221735
Reported by: lapo@lapo.it
Approved by: maintainer timeout (pavelivolkov@gmail.com, 3.5 years)
Fix two long-standing bugs that allow malicious SQL statements to crash
the process that is running SQLite. These bugs were announced by a
third-party approximately 24 hours after the 3.32.0 release but are not
specific to the 3.32.0 release.
Fix a long-standing bug in the byte-code engine that can cause a COMMIT
command report as success when in fact it failed to commit. Ticket
810dc8038872e212.
Approved by: portmgr (blanket: run-time bugfix)
MFH: 2020Q2
Changelog:
https://www.sqlite.org/releaselog/3_23_0.html
Port changes:
* Add SER1 option for the new optional sqlite3_serialize()/sqlite3_deserialize() functions
* Remove security patches that are now in the release
PR: 227365
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Changelog:
https://www.sqlite.org/releaselog/3_22_0.html
Port changes:
* Added the OFFSET option for the new sqlite_offset() function
* Added 'Optional extensions' and 'Optional functions' option
groups for better options readability
* Deleted patches from files/ because they were disabling certain
options in the command-line utility that the upstream keeps
always enabled there
* Changed capitalization in some options according to
common spelling rules
PR: 225627
Submitted by: Charlie Li <ml+freebsd@vishwin.info> (original version)
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer, later version)
Approved by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Differential Revision: https://reviews.freebsd.org/D14216
- Fix a bug associated with auto_vacuum that can lead to database corruption
PR: 219902
Submitted by: pavelivolkov@gmail.com (maintainer)
Reviewed by: lifanov (mentor), matthew (mentor)
Approved by: pavelivolkov@gmail.com (maintainer), lifanov (mentor), matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D11132
- Add options to choose the command line library used by shell tools
- Add option for static linking
- Add option to compile sqlite with SQLITE_LIKE_DOESNT_MATCH_BLOBS option
- Remove option TEMP_CACHE_SIZE
- Cosmetic changes
Changes: http://www.sqlite.org/releaselog/3_10_0.html
PR: 206062
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)