CI 뉴스

제목 codeigniter 2.0.3 버전 올라왔네요.
글쓴이 변종원(웅파) 작성시각 2011/08/22 17:59:24
댓글 : 4 추천 : 0 스크랩 : 0 조회수 : 42762   RSS
8월 20일자..

아래는 바뀐 내용과 버그픽스 내용입니다.

Version 2.0.3

Release Date: August 20, 2011

    http://codeigniter.com/user_guide/images/arrow.gif); margin-top: 10px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; ">
  • Security
      http://codeigniter.com/user_guide/images/arrow.gif); margin-top: 10px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; ">
    • An improvement was made to the MySQL and MySQLi drivers to prevent exposing a potential vector for SQL injection on sites using multi-byte character sets in the database client connection.

      An incompatibility in PHP versions < 5.2.3 and MySQL < 5.0.7 with mysql_set_charset() creates a situation where using multi-byte character sets on these environments may potentially expose a SQL injection attack vector. Latin-1, UTF-8, and other "low ASCII" character sets are unaffected on all environments.

      If you are running or considering running a multi-byte character set for your database connection, please pay close attention to the server environment you are deploying on to ensure you are not vulnerable.

  • General Changes
      http://codeigniter.com/user_guide/images/arrow.gif); margin-top: 10px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; ">
    • Fixed a bug where there was a misspelling within a code comment in the index.php file.
    • Added Session Class userdata to the output profiler. Additionally, added a show/hide toggle on HTTP Headers, Session Data and Config Variables.
    • Removed internal usage of the EXT constant.
    • Visual updates to the welcome_message view file and default error templates. Thanks to danijelb for the pull request.
    • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Added insert_batch() function to the PostgreSQL database driver. Thanks to epallerols for the patch.
    • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Added "application/x-csv" to mimes.php.
    • Fixed a bug where Email library attachments with a "." in the name would using invalid MIME-types.
  • Helpers
      http://codeigniter.com/user_guide/images/arrow.gif); margin-top: 10px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; ">
    • Added an optional third parameter to heading() which allows adding html attributes to the rendered heading tag.
  • Libraries
      http://codeigniter.com/user_guide/images/arrow.gif); margin-top: 10px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; ">
    • Altered Session to use a longer match against the user_agent string. See upgrade notes if using database sessions.
    • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Added is_unique to the Form Validation library.
    • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Added $this->db->set_dbprefix() to the Database Driver.
    • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Changed $this->cart->insert() in the Cart Library to return the Row ID if a single item was inserted successfully.
    • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Added $this->load->get_var() to the Loader library to retrieve global vars set with $this->load->view() and$this->load->vars().
    • Changed $this->db->having() to insert quotes using escape() rather than escape_str().

Bug fixes for 2.0.3

    http://codeigniter.com/user_guide/images/arrow.gif); margin-top: 10px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; ">
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Added ENVIRONMENT to reserved constants. (Reactor #196)
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Changed server check to ensure SCRIPT_NAME is defined. (Reactor #57)
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Removed APPPATH.'third_party' from the packages autoloader to negate needless file stats if no packages exist or if the developer does not load any other packages by default.
  • Fixed a bug (Reactor #231) where Sessions Library database table example SQL did not contain an index on last_activity. See Upgrade Notes.
  • Fixed a bug (Reactor #229) where the Sessions Library example SQL in the documentation contained incorrect SQL.
  • Fixed a bug (Core #340) where when passing in the second parameter to $this->db->select(), column names in subsequent queries would not be properly escaped.
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Fixed issue #199 - Attributes passed as string does not include a space between it and the opening tag.
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Fixed a bug where the method $this->cart->total_items() from Cart Library now returns the sum of the quantity of all items in the cart instead of your total count.
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Fixed a bug where not setting 'null' when adding fields in db_forge for mysql and mysqli drivers would default to NULL instead of NOT NULL as the docs suggest.
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Fixed a bug where using $this->db->select_max(), $this->db->select_min(), etc could throw notices. Thanks to w43l for the patch.
  • http://codeigniter.com/user_guide/images/reactor-bullet.png); margin-bottom: 9px; ">Replace checks for STDIN with php_sapi_name() == 'cli' which on the whole is more reliable. This should get parameters in crontab working.

 다음글 2.1.0 버전 (3)
 이전글 2.0.1 일본어 매뉴얼 번역판 (1)

댓글

변종원(웅파) / 2011/08/22 18:02:26 / 추천 0
 원문입니다. 복사했더니 이미지 부분이 깨지네요.

http://codeigniter.com/user_guide/changelog.html
milosz / 2011/08/22 18:20:58 / 추천 0
 어쩐지 오늘 받아서 보니 뭔가 미려해진 느낌이던데, 버전 업이었군요 'ㅅ' 가는 날이 장날이라고 ㅎㅎ
헛발이 / 2011/08/22 19:00:23 / 추천 0
매번 느끼는거지만 설명서도 어디가 변경되었는지 알려 줬으면 좋겠따는 생각이......
어디가 변했는지 알아야 번역을 하던가 할텐데... 다 찾아 볼수도 없고 ... ㅡ.ㅡ;;;
마냐 / 2011/08/22 23:32:58 / 추천 0
아.. 3일 차이로 -_- 버전업이 되다니 ㄱ-
config도 수정된 거 같은데 헛발이님 말씀대로 수정된 파일이라도 적어주면 좋겠네요.
문구 오른쪽 가로 열고 ( 파일명 ) 정도면 좋으련만... 누가 영어로 건의 좀 ㅋ