Skip to content

Latest commit

 

History

History
719 lines (385 loc) · 12.8 KB

CHANGES.rst

File metadata and controls

719 lines (385 loc) · 12.8 KB

Changelog

Here you can see the full list of changes between each SQLAlchemy-Utils release.

0.26.16 (2014-09-09)

  • Fix aggregate value handling for cascade deleted objects
  • Fix ambiguous column sorting with join table inheritance in sort_query

0.26.15 (2014-08-28)

  • Fix sort_query support for queries using mappers (not declarative classes) with calculated column properties

0.26.14 (2014-08-26)

  • Added count method to QueryChain class

0.26.13 (2014-08-23)

  • Added template parameter to create_database function

0.26.12 (2014-08-22)

  • Added quote utility function

0.26.11 (2014-08-21)

  • Fixed dependent_objects support for single table inheritance

0.26.10 (2014-08-13)

  • Fixed dependent_objects support for multiple dependencies

0.26.9 (2014-08-06)

  • Fixed PasswordType with Oracle dialect
  • Added support for sort_query and attributes on mappers using with_polymorphic

0.26.8 (2014-07-30)

  • Fixed order by column property handling in sort_query when using polymorphic inheritance
  • Added support for synonym properties in sort_query

0.26.7 (2014-07-29)

  • Made sort_query support hybrid properties where function name != property name
  • Made get_hybrid_properties return a dictionary of property keys and hybrid properties
  • Added documentation for get_hybrid_properties

0.26.6 (2014-07-22)

  • Added exclude parameter to has_changes
  • Made has_changes accept multiple attributes as second parameter

0.26.5 (2014-07-11)

  • Added get_column_key
  • Added Timestamp model mixin

0.26.4 (2014-06-25)

  • Added auto_delete_orphans

0.26.3 (2014-06-25)

  • Added has_any_changes

0.26.2 (2014-05-29)

  • Added various fixes for bugs found in use of psycopg2
  • Added has_index

0.26.1 (2014-05-14)

  • Added get_bind
  • Added group_foreign_keys
  • Added get_mapper
  • Added merge_references

0.26.0 (2014-05-07)

  • Added get_referencing_foreign_keys
  • Added get_tables
  • Added QueryChain
  • Added dependent_objects

0.25.4 (2014-04-22)

  • Added ExpressionParser

0.25.3 (2014-04-21)

  • Added support for primary key aliases in get_primary_keys function
  • Added get_columns utility function

0.25.2 (2014-03-25)

  • Fixed sort_query handling of regular properties (no longer throws exceptions)

0.25.1 (2014-03-20)

  • Added more import json as a fallback if anyjson package is not installed for JSONType
  • Fixed query_entities labeled select handling

0.25.0 (2014-03-05)

  • Added single table inheritance support for generic_relationship
  • Added support for comparing class super types with generic relationships
  • BC break: In order to support different inheritance strategies generic_relationship now uses class names as discriminators instead of table names.

0.24.4 (2014-03-05)

  • Added hybrid_property support for generic_relationship

0.24.3 (2014-03-05)

  • Added string argument support for generic_relationship
  • Added composite primary key support for generic_relationship

0.24.2 (2014-03-04)

  • Remove toolz from dependencies
  • Add step argument support for all range types
  • Optional intervals dependency updated to 0.2.4

0.24.1 (2014-02-21)

  • Made identity return a tuple in all cases
  • Added support for declarative model classes as identity function's first argument

0.24.0 (2014-02-18)

  • Added getdotattr
  • Added Path and AttrPath classes
  • SQLAlchemy dependency updated to 0.9.3
  • Optional intervals dependency updated to 0.2.2

0.23.5 (2014-02-15)

  • Fixed ArrowType timezone handling

0.23.4 (2014-01-30)

  • Added force_instant_defaults function
  • Added force_auto_coercion function
  • Added source paramater for generates function

0.23.3 (2014-01-21)

  • Fixed backref handling for aggregates
  • Added support for many-to-many aggregates

0.23.2 (2014-01-21)

  • Fixed issues with ColorType and ChoiceType string bound parameter processing
  • Fixed inheritance handling with aggregates
  • Fixed generic relationship nullifying

0.23.1 (2014-01-14)

  • Added support for membership operators 'in' and 'not in' in range types
  • Added support for contains and contained_by operators in range types
  • Added range types to main module import

0.23.0 (2014-01-14)

  • Deprecated NumberRangeType, NumberRange
  • Added IntRangeType, NumericRangeType, DateRangeType, DateTimeRangeType
  • Moved NumberRange functionality to intervals package

0.22.1 (2014-01-06)

  • Fixed in issue where NumberRange would not always raise RangeBoundsException with object initialization

0.22.0 (2014-01-04)

  • Added SQLAlchemy 0.9 support
  • Made JSONType use sqlalchemy.dialects.postgresql.JSON if available
  • Updated psycopg requirement to 2.5.1
  • Deprecated NumberRange classmethod constructors

0.21.0 (2013-11-11)

  • Added support for cached aggregates

0.20.0 (2013-10-24)

  • Added JSONType
  • NumberRangeType now supports coercing of integer values

0.19.0 (2013-10-24)

  • Added ChoiceType

0.18.0 (2013-10-24)

  • Added LocaleType

0.17.1 (2013-10-23)

  • Removed compat module, added total_ordering package to Python 2.6 requirements
  • Enhanced render_statement function

0.17.0 (2013-10-23)

  • Added URLType

0.16.25 (2013-10-18)

  • Added __ne__ operator implementation for Country object
  • New utility function: naturally_equivalent

0.16.24 (2013-10-04)

  • Renamed match operator of TSVectorType to match_tsquery in order to avoid confusion with existing match operator
  • Added catalog parameter support for match_tsquery operator

0.16.23 (2013-10-04)

  • Added match operator for TSVectorType

0.16.22 (2013-10-03)

  • Added optional columns and options parameter for TSVectorType

0.16.21 (2013-09-29)

  • Fixed an issue with sort_query where sort by relationship property would cause an exception.

0.16.20 (2013-09-26)

  • Fixed an issue with sort_query where sort by main entity's attribute would fail if joins where applied.

0.16.19 (2013-09-21)

  • Added configuration for silent mode in sort_query
  • Added support for aliased entity hybrid properties in sort_query

0.16.18 (2013-09-19)

  • Fixed sort_query hybrid property handling (again)

0.16.17 (2013-09-19)

  • Added support for relation hybrid property sorting in sort_query

0.16.16 (2013-09-18)

  • Fixed fatal bug in batch fetch join table inheritance handling (not handling one-to-many relations properly)

0.16.15 (2013-09-17)

  • Fixed sort_query hybrid property handling (now supports both ascending and descending sorting)

0.16.14 (2013-09-17)

  • More pythonic __init__ for Country allowing Country(Country('fi')) == Country('fi')
  • Better equality operator for Country

0.16.13 (2013-09-17)

  • Added i18n module for configuration of locale dependant types

0.16.12 (2013-09-17)

  • Fixed remaining Python 3 issues with WeekDaysType
  • Better bound method handling for WeekDay get_locale

0.16.11 (2013-09-17)

  • Python 3 support for WeekDaysType
  • Fixed a bug in batch fetch for situations where joined paths contain zero entitites

0.16.10 (2013-09-16)

  • Added WeekDaysType

0.16.9 (2013-08-21)

  • Support for many-to-one directed relationship properties batch fetching

0.16.8 (2013-08-21)

  • PasswordType support for PostgreSQL
  • Hybrid property for sort_query

0.16.7 (2013-08-18)

  • Added better handling of local column names in batch_fetch
  • PasswordType gets default length even if no crypt context schemes provided

0.16.6 (2013-08-16)

  • Rewritten batch_fetch schematics, new syntax for backref population

0.16.5 (2013-08-08)

  • Initial backref population forcing support for batch_fetch

0.16.4 (2013-08-08)

  • Initial many-to-many relations support for batch_fetch

0.16.3 (2013-08-05)

  • Added batch_fetch function

0.16.2 (2013-08-01)

  • Added to_tsquery and plainto_tsquery sql function expressions

0.16.1 (2013-08-01)

  • Added tsvector_concat and tsvector_match sql function expressions

0.16.0 (2013-07-25)

  • Added ArrowType

0.15.1 (2013-07-22)

  • Added utility functions declarative_base, identity and is_auto_assigned_date_column

0.15.0 (2013-07-22)

  • Added PasswordType

0.14.7 (2013-07-22)

  • Lazy import for ipaddress package

0.14.6 (2013-07-22)

  • Fixed UUID import issues

0.14.5 (2013-07-22)

  • Added UUID type

0.14.4 (2013-07-03)

  • Added TSVector type

0.14.3 (2013-07-03)

  • Added non_indexed_foreign_keys utility function

0.14.2 (2013-07-02)

  • Fixed py3 bug introduced in 0.14.1

0.14.1 (2013-07-02)

  • Made sort_query support column_property selects with labels

0.14.0 (2013-07-02)

  • Python 3 support, dropped python 2.5 support

0.13.3 (2013-06-11)

  • Initial support for psycopg 2.5 NumericRange objects

0.13.2 (2013-06-11)

  • QuerySorter now threadsafe.

0.13.1 (2013-06-11)

  • Made sort_query function support multicolumn sorting.

0.13.0 (2013-06-05)

  • Added table_name utility function.

0.12.5 (2013-06-05)

  • ProxyDict now contains None values in cache - more efficient contains method.

0.12.4 (2013-06-01)

  • Fixed ProxyDict contains method

0.12.3 (2013-05-30)

  • Proxy dict expiration listener from function scope to global scope

0.12.2 (2013-05-29)

  • Added automatic expiration of proxy dicts

0.12.1 (2013-05-18)

  • Added utility functions remove_property and primary_keys

0.12.0 (2013-05-17)

  • Added ProxyDict

0.11.0 (2013-05-08)

  • Added coercion_listener

0.10.0 (2013-04-29)

  • Added ColorType

0.9.1 (2013-04-15)

  • Renamed Email to EmailType and ScalarList to ScalarListType (unified type class naming convention)

0.9.0 (2013-04-11)

  • Added CaseInsensitiveComparator
  • Added Email type

0.8.4 (2013-04-08)

  • Added sort by aliased and joined entity

0.8.3 (2013-04-03)

  • sort_query now supports labeled and subqueried scalars

0.8.2 (2013-04-03)

  • Fixed empty ScalarList handling

0.8.1 (2013-04-03)

  • Removed unnecessary print statement form ScalarList
  • Documentation for ScalarList and NumberRange

0.8.0 (2013-04-02)

  • Added ScalarList type
  • Fixed NumberRange bind param and result value processing

0.7.7 (2013-03-27)

  • Changed PhoneNumber string representation to the national phone number format

0.7.6 (2013-03-26)

  • NumberRange now wraps ValueErrors as NumberRangeExceptions

0.7.5 (2013-03-26)

  • Fixed defer_except
  • Better string representations for NumberRange

0.7.4 (2013-03-26)

  • Fixed NumberRange upper bound parsing

0.7.3 (2013-03-26)

  • Enabled PhoneNumberType None value storing

0.7.2 (2013-03-26)

  • Enhanced string parsing for NumberRange

0.7.1 (2013-03-26)

  • Fixed requirements (now supports SQLAlchemy 0.8)

0.7.0 (2013-03-26)

  • Added NumberRange type

0.6.0 (2013-03-26)

  • Extended PhoneNumber class from python-phonenumbers library

0.5.0 (2013-03-20)

  • Added PhoneNumberType type decorator

0.4.0 (2013-03-01)

  • Renamed SmartList to InstrumentedList
  • Added instrumented_list decorator

0.3.0 (2013-03-01)

  • Added new collection class SmartList

0.2.0 (2013-03-01)

  • Added new function defer_except()

0.1.0 (2013-01-12)

  • Initial public release