PhalApi 2.9.1 release, PHP open source framework interfaces

[Major update]

  • 1. Special Note: The default database query returns results are string type, optimized for automatic type matching, such as integers. If you do not open, you can add a  dbs.servers.db_master.pdo_attr_string configuration item is true,>
    it can continue to maintain the original database returns the resulting string. If there is: the database server can not successfully prepare the statement error, debug and manual inspection SQL syntax correctness.
  • 2, interface parameters for the rules, the parsing callback function configuration increases on_after_parse, to support a plurality of pipes arranged function names and callbacks configuration, documentation for details see [After parsing callback function on_after_parse] ( http://docs.ph
    alapi .net / # / v2.0 / api- params? id =% e5% 85% ac% e5% 85% b1% e5% 8f% 82% e6% 95% b0% e9% 85% 8d% e7% bd% ae% e9% 80% 89% e9% a1% b9)
  • 3. Add Log Interface Example

[Secondary update]

  • 1, extended to migrate User 2.x, phalapi / the User
  • 2, log files when di initialization, if the lack of directory permissions, while debugging not throw, avoid failed to initialize

[BUG repair]

  • 1, PHPRPC expansion, [fix rpc request $ _GET is empty issue] (https://github.com/phalapi/phprpc/pull/1)
  • 2, interface parameters for the rule array, when the transmission parameter is an empty string, array empty array parse (), instead of an array of the array contains an empty string ( '')

Guess you like

Origin www.oschina.net/news/111050/phalapi-2-9-1-released