Skip to content

v0.7.0

Choose a tag to compare

@kenjis kenjis released this 09 Sep 09:55
· 643 commits to 3.x since this release

Upgrade Note

  • Please update application/tests/phpunit.xml. Replace it or apply this patch. See #52.

Changed

  • Now $this->warningOff() turns off Notice, too.

Added

  • Now $this->request() can create REST request more easily. See #47.
  • $this->request->setHeader() to set HTTP request header. See #47.
  • $this->assertResponseHeader() to assert HTTP response header. See #47.
  • You can add query string in URI string of $this->request(). See #51.
  • Autoloading for libraries
  • Add application/libraries/Session/MY_Session.php as a sample
  • ReflectionHelper class to access non-public method or property. See Function/Class Reference.

Fixed

  • $this->request() returns null when show_404() or show_error() is called. Now it returns error message.
  • $this->CI in TestCase class after calling $this->request() is still the previous instance. #50.
  • Autoloader only searches class files only in top level and sub folder for them. #48.
  • set_status_header() calls header() if is_cli() returns false.
  • Fix phpunit.xml. See #52.

Removed

  • 4th param $callable of $this->request() and $this->ajaxRequest() (deprecated since v0.3.0)
    Use $this->request->setCallable() method instead. See Function/Class Reference.

Others

  • Add documentation for CodeIgniter Rest Server. See How to Write Tests.
  • Compatible with PsySH v0.5.2