wiki:60MigrationIssues

Version 2 (modified by sdlime, 14 years ago) ( diff )

--

This page details planned regressions for the 6.0 release. Many are only in the planning stage at this point and consequently may not happen.

Parser Overhaul Changes (RFC59)

  • treating class TEXT expressions as true expressions instead of just doing substitutions. Allows advanced formatting options such as rounding, adding commas to numbers, case adjustments and so on. Totally changes meaning of this attribute.
  • drop support for trailing i's to denote case-insensitive searches. Instead use case-insensitive operators for string (=*) and regex (~*). Simplifies expression syntax and lexer code significantly. Case insensitive regex has never worked.
  • drop 's for right-hand portion of regex comparisons in logical expressions. Again, simplifies parser and is more inline with RDBMS SQL (PostgreSQL and MySQL do this). Users would just mark the expression with quotes. This would be consistent with regex use elsewhere in mapfiles and would leave regex expressions (e.g. EXPRESSION /foo/) as the only time the 's are used.

Template Tag Changes

  • see 60RemoveTemplateTags for a complete list. This simplifies the code (and security) through the use of common presentation functions (e.g. processExtentTag(...)).

CGI Query Mode Changes

  • remove all ...MAP modes (e.g. ITEMQUERYMAP). They just bloat the code and documentation. A suitable alternative has existed since 5.4, that is, use a base mode coupled with an image query format (e.g. ...&mode=itemquery&qformat=png24&...).
Note: See TracWiki for help on using the wiki.