summaryrefslogtreecommitdiff
path: root/databases
AgeCommit message (Collapse)AuthorFilesLines
2018-12-02databases/ruby-activeldap: Update to 5.2.2taca3-15/+17
pkgsrc changes: * Drop support for rails32. Changes are too many to write here, please refer doc/text/news.textile.
2018-12-02databases/ruby-sequel: update to 5.15.0taca3-8/+9
=== 5.15.0 (2018-12-01) * Add :conn_str option in the postgres adapter for PostgreSQL connection strings, if the pg driver is used (graywolf) (#1572) * Add :qualify_tables option to class_table_inheritance plugin to automatically qualify subclass tables with superclass qualifier (benalavi) (#1571) * Access already allocated connections in a thread safe manner when checking out connections in the sharded threaded connection pool (jeremyevans) * Automatically support datasets using qualified tables in the class_table_inheritance plugin without having to use the :alias option (benalavi) (#1565) * Support rename_column without emulation on SQLite 3.25+ (jeremyevans) * Do not remove currently cached many_to_one associated objects when changing the related foreign key value from nil to non-nil (jeremyevans) * Do not validate new *_to_many associated objects twice when saving in the nested_attributes plugin (jeremyevans) * Add Model#skip_validation_on_next_save! for skipping validation on next save call (jeremyevans)
2018-11-30revbump for geos updategdt1-1/+2
(This revbump should not be necessary, because goes's public ABI did not change. Due to a misfeature/bug in libtool, linking against the stable geos C API results in a directed NEEDED entry on the unstable C++ library.)
2018-11-29databases/ruby-activerecord51: update to 5.1.6.1taca1-5/+5
No change except version.
2018-11-29databases/ruby-activerecord42: update to 4.2.11taca1-5/+5
No change except version.
2018-11-29Revbump for libcanberra gstreamer change.prlw11-2/+2
2018-11-29py-firebase is gone, delete the entryjnemeth1-2/+1
2018-11-28py-multidict: updated to 4.5.2adam2-7/+7
4.5.2: * Fix another memory leak introduced by 4.5.0 release
2018-11-28py-sqlalchemy-utils: updated to 0.33.8adam2-7/+7
0.33.8: - Added support of short-code in PhoneNumberType 0.33.7: - Added MSSQL support for create_database and drop_database
2018-11-28py-alembic: updated to 1.0.5adam2-8/+8
1.0.5 * Resolved remaining Python 3 deprecation warnings, covering the use of inspect.formatargspec() with a vendored version copied from the Python standard library, importing collections.abc above Python 3.3 when testing against abstract base classes, fixed one occurrence of log.warn(), as well as a few invalid escape sequences. 1.0.4 * Code hosting has been moved to GitHub, at https://github.com/sqlalchemy/alembic. Additionally, the main Alembic website documentation URL is now https://alembic.sqlalchemy.org.
2018-11-27Updated databases/ocaml-sqlite3 to version 4.4.1 and use dunejaapb2-9/+8
Changes include some bugfixes and performance improvements, plus change of the build system to use dune and opam 2.0.
2018-11-25mysql57*: bump netbsd/i386 to i586 for atomics.maya1-4/+5
reported by gdt in tech-pkg
2018-11-24Update to 4.049wen2-7/+7
Upstream changes: 2018-10-25 Daniël van Eeden, Patrick Galbraith, DBI/DBD community (4.049) * Fix MariaDB issue #262 * Various fixes for travis builds * Fix to issue 187: Don't declare enum_type as static * Fix regex for removing database from DSN again * Allow to call $sth->mysql_async_ready and $sth->mysql_async_result more times without discarding result state 201
2018-11-24Update to 1.843wen2-8/+7
Upstream changes: 1.843 2 November 2018 * hints file (sourced from http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/perl5/files/) Highlighed by Sevan Janiyan <venture37@geeklan.co.uk> hints/bitrig.pl hints/netbsd.pl hints/minix.pl hints/openbsd.pl
2018-11-23py-multidict: updated to 4.5.1adam2-7/+7
4.5.1: * Fix a memory leak introduced by 4.5.0 release
2018-11-22mysql57: added missing patchadam1-0/+14
2018-11-22mysql57: updated to 5.7.24adam8-27/+108
Changes in MySQL 5.7.24 Deprecation and Removal Notes * InnoDB; Partitioning: Support for placing table partitions in shared tablespaces is deprecated and will be removed in a future version of MySQL. Shared tablespaces include the system tablespace and general tablespaces. For information about identifying partitions in shared tablespaces and moving them to file-per-table tablespaces, see Preparing Your Installation for Upgrade. * InnoDB: Support for TABLESPACE = innodb_file_per_table and TABLESPACE = innodb_temporary clauses with CREATE TEMPORARY TABLE is deprecated and will be removed in a future MySQL version. Functionality Added or Changed Replication: Use the group_replication_exit_state_action option to configure how Group Replication behaves when a member leaves the group involuntarily, for example when it is expelled from the group due to an unstable network connection. When group_replication_exit_state_action is set to ABORT_SERVER, upon exiting the group unintentionally, the instance shuts MySQL down, and when group_replication_exit_state_action is set to READ_ONLY the instance sets MySQL to super read only mode instead and its state is set to ERROR. Previously, file I/O performed in the I/O cache in the mysys library was not instrumented, affecting in particular file I/O statistics reported by the Performance Schema about the binary log index file. Now, this I/O is instrumented and Performance Schema statistics are accurate. Thanks to Yura Sorokin for the contribution. The zlib library version bundled with MySQL was raised from version 1.2.3 to version 1.2.11. MySQL implements compression with the help of the zlib library. The zlib compressBound() function in zlib 1.2.11 returns a slightly higher estimate of the buffer size required to compress a given length of bytes than it did in zlib version 1.2.3. The compressBound() function is called by InnoDB functions that determine the maximum row size permitted when creating compressed InnoDB tables or inserting rows into compressed InnoDB tables. As a result, CREATE TABLE ... ROW_FORMAT=COMPRESSED or INSERT operations with row sizes very close to the maximum row size that were successful in earlier releases could now fail. Bugs Fixed * InnoDB: An ALTER TABLE operation that added a primary key produced a segmentation fault. * InnoDB: A query that scanned the primary key of a table did not return the expected result. * InnoDB: A query interruption during a lock wait caused an error. * InnoDB: An index record was not found when updating a secondary index defined on a generated column. * InnoDB: The update log applied as part of an online ALTER TABLE operation did not take into account the computed value of the generated column in the old row while updating the secondary index. * InnoDB: An unsupported DDL operation involving a foreign key constraint raised an assertion. * InnoDB: An attempted foreign key check on a discarded table caused a segmentation fault. * InnoDB: An assertion was raised during an OPTIMIZE TABLE operation. * InnoDB: A foreign key constraint name was duplicated during a rename table operation, causing a failure during later query execution. * InnoDB: In a function called before the execution of a statement in a stored procedure, a read and write operation on trx->lock.start_stmt was not protected by a mutex. * InnoDB: An error occurred during a DDL operation due to a mismatch in a REDUNDANT row format calculation that determines the length of the online log. * InnoDB: The location of the Innodb Merge Temp File that reported by the wait/io/file/innodb/innodb_temp_file Performance Schema instrument was incorrect. * Partitioning: When a CREATE TABLE ... PARTITION BY ... statement failed due to an invalid partition definition, the server did not remove any partition files which might have been created prior to encountering the invalid PARTITION clause. * Partitioning: It was possible to perform FLUSH TABLES FOR EXPORT on a partitioned table created with innodb_file_per_table=1 after discarding its tablespace. Attempting to do so now raises ER_TABLESPACE_DISCARDED. * Replication: When the binlog_group_commit_sync_delay system variable is set to a wait time to delay synchronization of transactions to disk, and the binlog_group_commit_sync_no_delay_count system variable is also set to a number of transactions, the MySQL server exits the wait procedure if the specified number of transactions is reached before the specified wait time is reached. The server manages this process by checking on the transaction count after a delta of one tenth of the time specified by binlog_group_commit_sync_delay has elapsed, then subtracting that interval from the remaining wait time. more...
2018-11-22mysql56: updated to 5.6.42adam6-17/+42
Changes in MySQL 5.6.42 Functionality Added or Changed * Previously, file I/O performed in the I/O cache in the mysys library was not instrumented, affecting in particular file I/O statistics reported by the Performance Schema about the binary log index file. Now, this I/O is instrumented and Performance Schema statistics are accurate. Thanks to Yura Sorokin for the contribution. * The zlib library version bundled with MySQL was raised from version 1.2.3 to version 1.2.11. MySQL implements compression with the help of the zlib library. * The zlib compressBound() function in zlib 1.2.11 returns a slightly higher estimate of the buffer size required to compress a given length of bytes than it did in zlib version 1.2.3. The compressBound() function is called by InnoDB functions that determine the maximum row size permitted when creating compressed InnoDB tables or inserting rows into compressed InnoDB tables. As a result, CREATE TABLE ... ROW_FORMAT=COMPRESSED or INSERT operations with row sizes very close to the maximum row size that were successful in earlier releases could now fail. Bugs Fixed * InnoDB: An ALTER TABLE operation that added a primary key produced a segmentation fault. * InnoDB: An assertion was raised during an OPTIMIZE TABLE operation. * InnoDB: A foreign key constraint name was duplicated during a rename table operation, causing a failure during later query execution. * InnoDB: The location of the Innodb Merge Temp File that reported by the wait/io/file/innodb/innodb_temp_file Performance Schema instrument was incorrect. * Replication: When FLUSH statements for specific log types (such as FLUSH SLOW LOGS) resulted in an error, the statements were still written to the binary log. This stopped replication because the error had occurred on the master, but did not occur on the slave. MySQL Server now checks on the outcome of these FLUSH statements, and if an error occurred, the statement is not written to the binary log. * Microsoft Windows: On Windows, uninstallation of the MySQL Server MSI package through MySQL Installer produced a spurious popup window. * Concurrent INSERT and SELECT statements on a MERGE table could result in a server exit. * MySQL Server and test RPM packages were missing perl-Data-Dumper as a dependency. * For the mysql client, the -b short option was associated with two long options, --no-beep and --binary-as-hex. The -b option now is associated only with --no-beep. * Very long table keys were handled incorrectly on replication slaves. * During server startup/shutdown, PID files could be mishandled. * For MEMORY tables, memory overflow errors could occur. * When converting from a BLOB (or TEXT) type to a smaller BLOB (or TEXT) type, no warning or error was reported informing about the truncation or data loss. Now an appropriate error is issued in strict SQL mode and a warning in nonstrict SQL mode. * Failure to create a temporary table during a MyISAM query could cause a server exit. Thanks to Facebook for the patch. * An attempted read of an uncommitted transaction raised an assertion. * ALTER TABLE ... REORGANIZE PARTITION ... could result in incorrect behavior if any partition other than the last was missing the VALUES LESS THAN part of the syntax. * yum update did not properly update from RHEL5 RPM packages to current packages. * It was possible for a subquery that used a unique key on a column allowing NULL to return multiple rows.
2018-11-22mysql55: updated to 5.5.62adam6-32/+10
Changes in MySQL 5.5.62 Functionality Added or Changed * Previously, file I/O performed in the I/O cache in the mysys library was not instrumented, affecting in particular file I/O statistics reported by the Performance Schema about the binary log index file. Now, this I/O is instrumented and Performance Schema statistics are accurate. Thanks to Yura Sorokin for the contribution. * The zlib library version bundled with MySQL was raised from version 1.2.3 to version 1.2.11. MySQL implements compression with the help of the zlib library. * The zlib compressBound() function in zlib 1.2.11 returns a slightly higher estimate of the buffer size required to compress a given length of bytes than it did in zlib version 1.2.3. The compressBound() function is called by InnoDB functions that determine the maximum row size permitted when creating compressed InnoDB tables or inserting rows into compressed InnoDB tables. As a result, CREATE TABLE ... ROW_FORMAT=COMPRESSED or INSERT operations with row sizes very close to the maximum row size that were successful in earlier releases could now fail. Bugs Fixed * MySQL Server and test RPM packages were missing perl-Data-Dumper as a dependency. * For the mysql client, the -b short option was associated with two long options, --no-beep and --binary-as-hex. The -b option now is associated only with --no-beep. * During server startup/shutdown, PID files could be mishandled. * For MEMORY tables, memory overflow errors could occur. * When converting from a BLOB (or TEXT) type to a smaller BLOB (or TEXT) type, no warning or error was reported informing about the truncation or data loss. Now an appropriate error is issued in strict SQL mode and a warning in nonstrict SQL mode. * ALTER TABLE ... REORGANIZE PARTITION ... could result in incorrect behavior if any partition other than the last was missing the VALUES LESS THAN part of the syntax.
2018-11-20postgresql-postgis2: update to 2.5.1gdt3-12/+14
upstream NEWS is: bug fixes
2018-11-20py-multidict: updated to 4.5.0adam3-8/+14
4.5.0: Multidict views ported from Cython to C extension
2018-11-20py-apsw: updated to 3.25.1adam2-8/+8
3.25.1: Added constants: SQLITE_INDEX_CONSTRAINT_FUNCTION, SQLITE_CANTOPEN_DIRTYWAL, SQLITE_ERROR_SNAPSHOT, SQLITE_FCNTL_DATA_VERSION Shell output mode now has lines and columns for compatibility (APSW issue 214) Example now runs under both Python 2 and 3.
2018-11-19sqlite3-docs: updated to 3.25.3 (now available)adam3-14/+12
2018-11-16py-firebase: Remove.kleink4-53/+0
This package serves no purpose: The code is neither functional nor maintained anymore.
2018-11-15py-alembic: updated to 1.0.3adam2-7/+7
1.0.3: Fixed regression caused by 513, where the logic to consume mssql_include was not correctly interpreting the case where the flag was not present, breaking the op.create_index directive for SQL Server as a whole
2018-11-14Revbump after cairo 1.16.0 update.kleink14-28/+28
2018-11-14py-whisper: updated to 1.1.4adam3-29/+12
1.1.4: Include tests in PyPI distributions Add Python 3.7 testing to Travis
2018-11-13mysql57-client: tweak patch to work on modern linuxmarkd2-5/+10
copy tirpc handling from the else clause for linux systems that no longer have sun rpc in glibc.
2018-11-12Revbumps associated with update of lang/ocaml.jaapb8-16/+16
2018-11-12Recursive revbump from hardbuzz-2.1.1ryoon14-26/+28
2018-11-11py-asyncpg: updated to 0.18.2adam2-7/+7
asyncpg v0.18.2 Bug Fixes * Revert "Stop treating ReadyForQuery as a universal result indicator" to fix stability regression. * Correctly ignore all incoming messages after the Terminate message * Properly cleanup connections closed by remote
2018-11-11py-sqlalchemy: updated to 1.2.14adam2-7/+7
1.2.14 orm * Fixed bug in Session.bulk_update_mappings() where alternate mapped attribute names would result in the primary key column of the UPDATE statement being included in the SET clause, as well as the WHERE clause; while usually harmless, for SQL Server this can raise an error due to the IDENTITY column. This is a continuation of the same bug that was fixed in 3849, where testing was insufficient to catch this additional flaw. * Fixed a minor performance issue which could in some cases add unnecessary overhead to result fetching, involving the use of ORM columns and entities that include those same columns at the same time within a query. The issue has to do with hash / eq overhead when referring to the column in different ways. mysql * Fixed regression caused by 4344 released in 1.2.13, where the fix for MySQL 8.0’s case sensitivity problem with referenced column names when reflecting foreign key referents is worked around using the information_schema.columns view. The workaround was failing on OSX / lower_case_table_names=2 which produces non-matching casing for the information_schema.columns vs. that of SHOW CREATE TABLE, so in case-insensitive SQL modes case-insensitive matching is now used.
2018-11-09py-psycopg2: updated to 2.7.6adam2-11/+7
Psycopg 2.7.6: Summary of changes: - Close named cursors if exist, even if execute() wasn't called. - Fixed building on modern FreeBSD versions with Python 3.7. - Fixed hang trying to COPY via execute() in asynchronous connections. - Fixed adaptation of arrays of empty arrays. - Fixed segfault accessing the connection.readonly and connection.deferrable attributes repeatedly. - execute_values() accepts sql.Composable objects. - errorcodes map updated to PostgreSQL 11. - Wheel package compiled against PostgreSQL 10.5 libpq and OpenSSL 1.0.2p.
2018-11-09postgresNN: updated to the latestadam63-146/+293
The PostgreSQL Global Development Group has released an update to all supported versions of our database system, including 11.1, 10.6, 9.6.11, 9.5.15, 9.4.20, and 9.3.25. This release fixes one security issue as well as bugs reported over the last three months. All users using the affected versions of PostgreSQL should update as soon as possible. Please see the notes on "Updating" below for any post-update steps that may be required if you are using pg_stat_statements in your installation. This update is also the final release for PostgreSQL 9.3, which is now end-of-life and will no longer receive any bug or security fixes. If your environment still uses PostgreSQL 9.3, please make plans to update to a community supported version as soon as possible. Please see our versioning policy for more information. Security Issues One security vulnerability has been closed by this release: CVE-2018-16850: SQL injection in pg_upgrade and pg_dump, via CREATE TRIGGER ... REFERENCING. Versions Affected: 10, 11 Using a purpose-crafted trigger definition, an attacker can run arbitrary SQL statements with superuser privileges when a superuser runs pg_upgrade on the database or during a pg_dump dump/restore cycle. This attack requires a CREATE privilege on some non-temporary schema or a TRIGGER privilege on a table. This is exploitable in the default PostgreSQL configuration, where all users have CREATE privilege on public schema. Bug Fixes and Improvements This update also fixes numerous bugs that were reported in the last several months. Some of these issues affect only version 11, but many affect all supported versions. These releases include fixes that: Ensure that automatically created child indexes are created in the same tablespace as the parent partitioned index Fix several crashes with triggers Fix problems with applying ON COMMIT DELETE ROWS to a partitioned temporary table Fix how NULL values are handled when using LEFT JOIN with a parallelized hash join Several fixes around using named or defaulted arguments in CALL statements Fix for strict aggregate functions (i.e. aggregates that cannot accept NULL inputs) with ORDER BY columns that enforces the strictness check Fix with CASE statements where an expression was cast to an array type Disable an optimization for updating expression indexes in order to prevent a crash Fix a memory leak that occurred on a specific case of using a SP-GiST index Fix for pg_verify_checksums incorrectly reporting on files that are not expected to have checksums Prevent the PostgreSQL server from starting when wal_level is set to a value that cannot support an existing replication slot Ensure that the server will process already-received NOTIFY and SIGTERM interrupts before waiting for client input Allow PL/Ruby to work with newer versions of PostgreSQL Fix for character-class checks on Windows for Unicode characters above U+FFFF, which affected full-text search as well as contrib/ltree and contrib/pg_trgm Fix a case where psql would not report the receipt of a message from a NOTIFY call until after the next command Fix build problems on macOS 10.14 (Mojave) Several build fixes for the Windows platform This updates also contains tzdata release 2018g for DST law changes in Chile, Fiji, Morocco, and Russia (Volgograd), plus historical corrections for China, Hawaii, Japan, Macau, and North Korea.
2018-11-07sqlite3: updated to 3.25.3adam4-16/+20
SQLite Release 3.25.3: Disallow the use of window functions in the recursive part of a CTE. Fix the behavior of typeof() and length() on virtual tables. Strengthen defenses against deliberately corrupted database files. Fix a problem in the query planner that results when a row-value expression is used with a PRIMARY KEY with redundant columns. Fix the query planner so that it works correctly for IS NOT NULL operators in the ON clause of a LEFT JOIN with the SQLITE_ENABLE_STAT4 compile-time option.
2018-11-04Revbump all Go packages after go111 update.bsiegert1-2/+2
2018-11-02py-asyncpg: updated to 0.18.1adam3-33/+52
asyncpg v0.18.1: Fix DSN parsing regression asyncpg v0.18.0: Improvements Implement Record.get() Internal asyncpg errors are now consistently raised as InternalClientError Allow mappings as composite type input Add BitString.to_int() and BitString.from_int() Allow 'sslmode' in DSNs Add support for specifying multiple host addresses when connecting Low-level protocol implementation has been tweaked and optimized for slightly better performance in certain scenarios Queries with cached statements now generate fewer TCP packets Allow aliasing builtin types by name in set_builtin_type_codec() Factor out generic PostgreSQL protocol helpers into a separate package Fix tests and enable CI for PostgreSQL 11 Bug Fixes Handle and ignore permission errors when attempting to read .pgpass Fix decoding of fractional timestamps before Postgres epoch
2018-11-01databases/ruby-sequel: update to 5.14.0taca3-8/+11
* pkgsrc change: make USE_LANGUAGES empty. === 5.14.0 (2018-11-01) * Drop defaulting the :port option to 5432 in the postgres adapter, so that setting the :service option in :driver_options works (jeremyevans) (#1558) * Do not cache values for columns without parseable defaults when using :cache option in defaults_setter plugin (jeremyevans) * Emulate NULLS FIRST/LAST ordering on databases that do not natively support it (jeremyevans) * Do not modify boolean expressions created from string or array if string or array is modified (jeremyevans) * Make roots and roots_dataset dataset methods instead of class methods in the tree plugin (JelF) (#1554) * Do not cache dataset SQL if dataset uses subquery that cannot cache SQL (jeremyevans) * Make Model#=== work correctly for models with composite primary keys (jeremyevans) * Add Model#pk_equal? as a more descriptive name for Model#=== (AlexWayfer) (#1550) * Do not push down expression inversion in cases where it may result in incorrect behavior (e.g. ANY/SOME/ALL operators) (jeremyevans) (#1549)
2018-11-01py-alembic: updated to 1.0.2adam2-7/+7
1.0.2: [bug] [autogenerate] The system=True flag on Column, used primarily in conjunction with the Postgresql “xmin” column, now renders within the autogenerate render process, allowing the column to be excluded from DDL. Additionally, adding a system=True column to a model will produce no autogenerate diff as this column is implicitly present in the database. [bug] [mssql] Fixed issue where usage of the SQL Server mssql_include option within a Operations.create_index() would raise a KeyError, as the additional column(s) need to be added to the table object used by the construct internally.
2018-11-01py-sqlalchemy-utils: updated to 0.33.6adam3-11/+11
0.33.6: Fixed passlib compatibility issue (again) Added support for SQL VIEWs
2018-11-01py-sqlalchemy: updated to 1.2.13adam2-7/+7
SQLAlchemy release 1.2.13: This release includes a variety of fixes within the ORM and Core components.
2018-10-31Update to 1.642wen2-8/+7
Upstream changes: Changes in DBI 1.642 - 28th October 2018 Fix '.' in @INC for proxy test under parallel load thanks to H.Merijn Brand. Fix driver-related croak() in DBI->connect to report the original DSN thanks to maxatome #67 Introduce a new statement DBI method $sth->last_insert_id() thanks to pali #64 Allow to call $dbh->last_insert_id() method without arguments thanks to pali #64 Added a new XS API function variant dbd_db_do6() thanks to Pali #61 Fix misprints in doc of selectall_hashref thanks to Perlover #69 Remove outdated links to DBI related training resources. RT#125999
2018-10-31Update to 0.54wen2-8/+7
Upstream changes: 0.54 - 2018-10-29, H.Merijn Brand * Free unref scalar test fixed in Text::CSV_XS 1.35
2018-10-29lua-sql: Put back LUA_LIBDIR, fixes alternate installs.jperkin1-1/+2
2018-10-26py-peewee: Find libsqlite3 correctly.jperkin3-2/+22
2018-10-26lua-sql-*: Fix all the module builds.jperkin4-13/+13
In all cases they were trying to use variables that aren't used in the build process, the sqlite include paths had typos, and sqlite3 was trying to use sqlite2's buildlink3.mk
2018-10-26lua-sql: Fix LUA_INC which cannot possibly have worked.jperkin1-5/+3
Remove LUA_LIBDIR and LUA_DIR, they are unused by the lua-sql modules.
2018-10-24repmgr: updated to 4.2adam3-8/+12
repmgr 4.2 is a major release, with the main new feature being the ability to pause repmgrd, e.g. during planned maintenance operations. Various other usability enhancements and a couple of bug fixes are also included.
2018-10-23postgresql11: added version 11.0adam52-1/+5787
PostgreSQL 11 provides users with improvements to overall performance of the database system, with specific enhancements associated with very large databases and high computational workloads. Further, PostgreSQL 11 makes significant improvements to the table partitioning system, adds support for stored procedures capable of transaction management, improves query parallelism and adds parallelized data definition capabilities, and introduces just-in-time (JIT) compilation for accelerating the execution of expressions in queries.
2018-10-23py-ldap: updated to 3.1.0adam5-69/+42
Released 3.1.0: This release brings two minor API changes: - Long-deprecated functions ldap.open() and ldap.init() are removed - LDAPObject.compare_s() and compare_ext_s return bool instead of 0 or 1 All changes since 3.0.0: Lib/ * Remove long deprecated functions ldap.open() and ldap.init() * LDAPObject.compare_s() and LDAPObject.compare_ext_s() now return a bool instead of 1 or 0. * Make iteration over cidict yield same values as keys() * Fail if pyasn1 is not installed * Fix parsing of PPolicyControl ASN.1 structure * Use items() when appropriate in dict iteration * Add support for tracing LDAP calls. Tracing can now be enabled with the env var PYTHON_LDAP_TRACE_LEVEL and redirected to a file with PYTHON_LDAP_TRACE_FILE. (This is mainly intended for debugging and internal testing; the configuration or output may change in future versions.) Modules/ * Fix ref counting bug in LDAPmessage_to_python Doc/ * Remove warning about unreleased version * Doc: Replace Mac OS X -> macOS Tests/ * Add tests and coverage for tracing * Disable warnings-as-errors for Python 3.4 * Fix assertTrue to assertEqual * Mark several test values as bytes Lib/slapdtest/ * Fix error message for missing commands * Make SlapdObject a context manager * Disable SASL external when missing SASL support * Make SlapdObject.root_dn a property * In SlapdObject, build include directives dynamically * Move import statements to top level Code style: * Add Makefile rules for automatic formatting of C and Python code * Reformat and indent all C files * Trim white space throughout the project Infrastructure: * Add py3-trace tox environment to Travis CI config * Add new Pytest cache directory to gitignore General: * Update all pypi.python.org URLs to pypi.org Released 3.0.0: Notable changes since 2.4.45 (please see detailed logs below): * Python 3 support and bytes_mode see: https://python-ldap.readthedocs.io/en/latest/bytes_mode.html * The module ldap.async is renamed to ldap.asyncsearch * New dependencies: pyasn1, pyasn1_modules * Dropped support for Python 2.6 and 3.3