Newer
Older
* enhance bad rql query detection with ordered distinct (can't use distinct
Sylvain Thénault
committed
if an attribute is selected and we sort on another attribute)
* fix subquery_selection_index responsability mess-up: it wasn't doing what
it should have done (see cw.rset related_entity implementation)
* consider subquery aliases in Select.clean_solutions
* add constraint package to setuptools dependencies so we've fallback
opportunity if gecode is not installed
* fix setuptools dependency on yapps by forcing install of our custom
package, so it don't try to install pypi's one which doesn't work well
with both pip and easy_install
2010-08-02 -- 0.26.5
* fix solutions computation crash with some query using sub-queries (closes #37423)
Sylvain Thénault
committed
2010-07-28 -- 0.26.4
* fix re-annotation pb: some stinfo keys were not properly reinitialized
which may cause pb later (at sql generation time for instance)
* support for node from having in Select.remove
* enhanced Select.replace method
* rql st checker now checks function avaibility according to backend (if specified)
2010-06-11 -- 0.26.2
* totally remove 'IS' operator
* replace get_variable_variables by get_variable_indicies
* fix rule order so 'HAVING (X op Y)' is now parseable while 'HAVING (1+2) op Y' isn't anymore parseable
* fix simplification bug with ored uid relations
Sylvain Thénault
committed
* normalize NOT() to NOT EXISTS() when it makes sense
* fix grammar bug in HAVING clause: should all arbitrary expression and fix to deal with IN() hack
Sylvain Thénault
committed
2010-04-20 -- 0.26.0
* setuptools support
* variable and column alias stinfo optimization
* analyzer return key used in args to unambiguify solutions
* rewrite_shared_optional refactoring
2010-03-16 -- 0.25.0
* depends on logilab-database
* raise BadRQLQuery when using optional on attribute relation
2010-02-10 -- 0.24.0
* update to yams 0.27 api
* fully dropped mx support
* various bugs fixed
* Union.locate_subquery now return a 2-uple (select subquery, column index in the subquery)
2009-08-18 -- 0.22.2
* fixes to compile with different versions of gecode
* py datetime support (must be explicitly activated until we drop mx.DateTime support)
* implements main_relation on ColumnAlias
2008-10-17 -- 0.20.2
* new remove_subquery method on Select node
* remove_node accepts a new 'undefine' argument (default to False for bw compat)
telling if it should undefine no more referenced variables
* introduce "sqlscope" where NOT node is considered as a new scope
* rql checker raise BadRQLQuery for inconsistent orderby on distinct query
* correctly restore .parent when undoing RemoveNodeOperation
* raise BadRQLQuery on queries like 'Any X WHERE X name Toto, P is Person'
* do not add relation constraint on variables used in math expression
2008-08-29 -- 0.19.2
* fix undoing of add_relation and variable name allocation on query using
some subquery
* add missing selected_index() method on ColumnAlias
* set_possible_types() propagate to sub-queries since some additional
type constraints may be set in the outer query
* new type resolver ignore type restrictions, used by erudi during syntax
tree annotation
2008-08-07 -- 0.19.1
* should not simplify variables used in the GROUPBY clause when there is a
* implements set_limit / set_offset on UNION nodes
2008-07-22 -- 0.19.0
* grammar changes: LIMIT / OFFSET should now be before the WHERE clause,
* when simplifying constant uid nodes, don't remove them from group terms if
* new get_variable_variables on Union and Select nodes
2008-07-04 -- 0.18.3
* fix add_type_restriction to support frozenset and dict of types
* set stinfo['possibletypes'] and update solution dictionnary for variable
inserted for new identity relation
* fix a bug in get_solutions,possible_types should be reseted first
* method to add group variable with undoing support
* use bool values for Boolean constants, None for NULL constant
* fix a bug in Relation.__repr__
* Node.get_type take kwargs as second argument to better guess the type of
constants
* add ILIKE comparison operator, '~=' operator is now aliased to ILIKE
instead of LIKE
* get_description fix on Variable, enhancement on Function by delegating
to the function's description
* fix as_string bug for NOW/TODAY constants which may cause coercion bugs
* as_string with now encoding specified will (hum, probably) return an
unicode string
* make remove_node available without having to import editextensions
* proper get_type/get_description api, try to coerce math expression
in get_type
* fix rewriting bug: variable used in an optional relation can't be
* new 'main_relation' method on variable
2007-02-02 -- 0.10.0
* allow variable as rhs of 'is' relation
* can use Any as type specification in DELETE queries (eg DELETE Any X)
* fix type inference when non '=' operator on uid relation
* do not raise bad rql query on non selected sorted variable in
distinct query since this is supported by erudi's rql engine
* proper full/right/left outer join support
* fix a NameError in set_offset/set_limit and regenerate parser to
use those methods
* stinfo['references'] is now a list since order is important
* stcheck is now doing full annotation and additional constant variable
rewriting
* add missing as_string method on groups and sorts
* detect that queries like "Any C where C suivi_par P, P eid %(x)s ORDERBY N"
are incorrect (N isn't defined)
* fix a bug in stcheck to detect bad queries when aggregat/transform
Sylvain
committed
functions are used
* new method on variable to get the name of relations where it's used
Sylvain
committed
* fixed grammar to allow "_" into function name
* fixed syntax tree copy, just call stmt.copy() to have a
full deep copy
* support for substitute on uid relation in the type analyzer
2006-03-28 -- 0.4.2
* fixed a bug when a variable is related to itself
2006-02-10 -- 0.4.1
* fix set_distinct so that previous distinct attribute is correctly undoed
if necessary
* remove unnecessary OR from the tree when used with a symetric relation
2006-01-23 -- 0.4.0
* fix Constant's type when NOW is used
2005-07-26 -- 0.3.1
* close #9629, "Any E WHERE P is Project, P eid E" foire
2005-07-06 -- 0.3.0
* reintroduce analyze restriction from special relations, which may speed
up analyzing
2004-09-23 -- 0.1.2
* minor evolutions
* bugfixes with constant management (TODAY, etc.)