Menu

Version History

This article was last updated 37 days ago, please note whether the content is still available

The current stable version is 1.7.4;

Related: Z-Blog Development Milestones

1.7 Tenet

  • 1.7.4

    • feat. Support for PHP 8.4

    • feat. Added `moreinfo` field to API error responses.

    • feat. Added login verification code and CSRF token validation. The expiration time for the verification code is adjusted to 5 minutes, and the CSRF validity time is modified.

    • feat. Introduced configuration items `ZC_VERIFYCODE_LENGTH`, `ZC_VERIFYCODE_MAXANGLE`, and `ZC_VERIFYCODE_MAXOFFSET` to enhance verification code security.

    • feat. Removed the `misc` module and its associated links to reduce unnecessary resource loading.

    • feat. Thumbnail support for WebP and AVIF formats to improve image loading speed.

    • feat. Added `Null2Empty` function for handling null values.

    • feat. Finalized the fixed domain name setting logic and optimized backend styles.

    • feat. Network component added `addQuery` method and more intuitive `addFormParam` naming.

    • feat. Support for incremental operations in `UPDATE` statements in two forms.

    • feat. `ShowError` function now accepts a parameter to provide more information when an API is not found.

    • feat. Added `moreinfo` field to API error responses.

    • feat. Network component supports uploading files via PUT.

    • feat. Introduced `ZC_COMMENT_ORDERBY_TIME` configuration item, which is off by default, affecting comment sorting.

    • feat. Introduced `ZC_LOGS_MORE_INFO` setting to control log verbosity.

    • feat. Email is no longer mandatory when editing user profile information.

    • fix. Resolved the issue of modules being repeatedly dragged to the same sidebar.

    • fix. Corrected the issue of incorrect thumbnail display for Chinese characters.

    • fix. Handled API errors when the PHP version is lower than 8.

    • fix. Resolved the issue where `trim` class functions in PHP 8 do not support null.

    • fix. Corrected the issue of `login.php` submitting passwords in plain text.

    • fix. Compatible with case sensitivity issues of `Module`'s `FileName`.

    • fix. Fixed the issue of script display for fixed domain names.

    • fix. Completed missing code in `VerifyLogin`.

    • fix. Improved error reporting for `ApiCheckMods`.

    • fix. Strengthened security measures for external link redirection.

    • fix. Added a check for post ID existence when submitting comments.

    • fix. Corrected `GetGuestIP` logic to default to reading `remote_addr`.

  • 1.7.3

    • feat. Added API.

    • feat. Support for PHP 8.2.

    • feat. Updated jQuery and related libraries.

    • feat. Added and improved encryption class functions.

    • fix. Improved error handling mechanism.

    • fix. Improved API (e.g., `ApiExecute` calling APIs).

    • fix. Improved plugin system.

    • fix. Fixed database driver issues.

  • 1.7.2

    • feat. Added `Clear_Filter_Plugin` function.

    • feat. Added constant `PLUGIN_EXITSIGNAL_GOTO`.

    • feat. `Filter_Plugin_Zbp_Load_Pre` interface has been moved back into the `zbp`'s `Load` method.

    • feat. Deleted interface `Filter_Plugin_Zbp_LoadLanguage`.

    • feat. New interface `Filter_Plugin_Zbp_RegBuildModules` added.

    • feat. New interface `Filter_Plugin_Cmd_Redirect` added for taking over cmd URL redirects.

    • feat. New interface `Filter_Plugin_ViewPost_ViewNums` added for inserting a custom view count scheme.

    • feat. New interface `Filter_Plugin_API_Post_List_Core` added.

    • feat. New interface `Filter_Plugin_API_Pre_Response_Raw` added.

    • feat. Backend adaptation, added support for horizontal mobile operation in the backend.

    • feat. Support for integrated calls to ZBP with Swoole, WorkerMan, and WebMan.

    • feat. Magic methods added to ZBP classes, supporting `$zbp->GetXXXList, GetXXXByID, GetXXXByArray` reads when creating custom classes.

    • feat. The `Update` operation of the `Base` class no longer submits unchanged fields.

    • feat. Methods like `GetXXXList` of ZBP classes will prioritize retrieving objects from the global cache array.

    • feat. The `Del` method of the `Base` class and its derivatives will delete the object from the global cache array after successful deletion.

    • feat. The parameter order of the `Time()` method of the `Post` class has been reverted to the 1.6 order.

    • feat. Added `zbplangs` class for chained expression of `$zbp->langs`.

    • feat. Articles pinned to categories can now appear in their parent categories.

    • feat. Updated the redirection flow in `cmd.php`.

    • feat. Major overhaul of the `ZBlogException` class.

    • feat. API supports outputting custom format content.

    • feat. Adjustments and optimizations made to the routing system in `route.php`.

    • feat. Modified `ZC_DATABASE_CONFIG` in `c_option.php` to read from `getenv` or `env`, allowing parameters like `ZC_MYSQL_NAME` to be read from `getenv` or `$_ENV`.

    • feat. Modified API workflow, added `ApiShowError` function and hooked an interface.

    • feat. Modified `ViewFeed` to adapt to routing, and added permission checks for `ViewList` and `ViewPost`.

    • fix. Fixed the issue of data errors and program crashes when upgrading from 1.6 to 1.7 due to `config` data corruption.

    • fix. Refreshing statistics operations in the backend can enable `ZC_LARGE_DATA` parameter to suppress potential time-consuming operations.

    • fix. Corrected an issue with article permalink detection in `ViewPost` and a bug discovered by Shui Shui.

    • fix. Added `Is_Mobile` function in `common.php`, and improved `Logs_Dump`, `GetVars`, and `GetIDArrayByList` functions.

    • fix. Corrected an issue where administrator information could be edited.

    • fix. Added a configuration option for RSS output and defaulted sorting to `PostTime`.

    • Interfaces

  • 1.7.1

    • feat. New interface `Filter_Plugin_API_Result_Data` added.

    • feat. Renamed interface `Filter_Plugin_API_ListCheck` to `Filter_Plugin_API_CheckMods`.

    • update. Support for PHP 8.1 version.

    • fix. Template class now better supports multiple template sets.

    • fix. API has been repaired and improved.

    • feat. Continued adjustment and improvement of the routing system and `PostType` configuration and reading.

    • fix. `Base` class, `Config` class, `Metas` class, `Post` class, etc., have been repaired and improved.

    • feat. Modified error query on error pages to use bing.com.

    • fix. All database drivers have been repaired, with a major overhaul of the pgsql driver.

    • feat. Added `manageorder` and `displayorder` properties to ZBP classes for sorting settings.

    • fix. Deleting users now does not delete their articles and comments by default.

    • fix. Fixed a long-standing bug where `$blogpath` output was abnormal under PHP CLI.

    • fix. Simple fix for the issue of negative numbers appearing in backend management.

    • Interfaces

  • 1.7.0

    • remove. Removed fixed domain name functionality to hidden settings.

    • Database component added transaction processing commands and `ExistColumn` field existence judgment.

    • feat. Major update to `Config` table, atomic design, added `key` field.

    • feat. Added `UpdateTime` and `CreateTime` fields to `Post` and `Membar` tables.

    • feat. Added `Group` field to `Tag` and `Category` tables.

    • feat. New interface `Filter_Plugin_Zbp_PreLoad` added.

    • feat. New interface `Filter_Plugin_Zbp_PrepareTemplate` added.

    • feat. New interface `Filter_Plugin_Zbp_LoadLanguage` added.

    • feat. New interface `Filter_Plugin_Admin_Hint` added.

    • feat. New interface `Filter_Plugin_Admin_ArticleMng_Core` added.

    • feat. New interface `Filter_Plugin_Admin_PageMng_Core` added.

    • feat. New interface `Filter_Plugin_Admin_CommentMng_Core` added.

    • feat. New interface `Filter_Plugin_Admin_CategoryMng_Core` added.

    • feat. New interface `Filter_Plugin_Admin_MemberMng_Core` added.

    • feat. New interface `Filter_Plugin_Admin_UploadMng_Core` added.

    • feat. New interface `Filter_Plugin_Admin_TagMng_Core` added.

    • feat. New interface `Filter_Plugin_VerifyLogin_Failed` added.

    • feat. New interface `Filter_Plugin_OutputOptionItemsOfMember_Begin` added.

    • feat. New interface `Filter_Plugin_OutputOptionItemsOfPostStatus` added.

    • feat. New interface `Filter_Plugin_OutputOptionItemsOfIsTop` added.

    • feat. New interface `Filter_Plugin_OutputOptionItemsOfMember` added.

    • feat. New interface `Filter_Plugin_OutputOptionItemsOfTemplate` added.

    • feat. New interface `Filter_Plugin_OutputOptionItemsOfCommon` added.

    • feat. New interface `Filter_Plugin_ViewList_Begin_V2` added.

    • feat. New interface `Filter_Plugin_ViewPost_Begin_V2` added.

    • feat. New interface `Filter_Plugin_PostUpload_Succeed` added.

    • feat. New interface `Filter_Plugin_PostPost_Core` added.

    • feat. New interface `Filter_Plugin_DelPost_Core` added.

    • feat. New interface `Filter_Plugin_PostPost_Succeed` added.

    • feat. New interface `Filter_Plugin_DelPost_Succeed` added.

    • feat. New interface `Filter_Plugin_EnablePlugin` added.

    • feat. New interface `Filter_Plugin_DisablePlugin` added.

    • feat. New interface `Filter_Plugin_BatchPost` added.

    • feat. New interface `Filter_Plugin_Post_Thumbs` added.

    • feat. New interface `Filter_Plugin_Upload_Del` added.

    • feat. New interface `Filter_Plugin_Template_Display` added.

    • feat. New interface `Filter_Plugin_API_Response` added.

    • feat. New interface `Filter_Plugin_API_Begin` added.

    • feat. New interface `Filter_Plugin_API_Dispatch` added.

    • feat. New interface `Filter_Plugin_API_Extend_Mods` added.

    • feat. New interface `Filter_Plugin_API_ListCheck` added.

    • feat. New interface `Filter_Plugin_API_Get_Request_Filter` added.

    • feat. New interface `Filter_Plugin_API_Get_Pagination_Info` added.

    • feat. New interface `Filter_Plugin_API_Get_Object_Array` added.

    • feat. New interface `Filter_Plugin_API_VerifyCSRF_Skip` added.

    • Major Updates

    • feat. Added "chained SQL" query functionality;

    • feat. Added API functionality;

    • feat. Font icons; "Z-Blog icons demo"

    • feat. Built-in thumbnail base class;

    • feat. Brand new configurable URL routing mechanism;

    • Update

    • feat. Added commands such as `view`, `api`, `CategoryNew`, `ArticleNew`, `PageNew`, `PostBat`.

    • feat. Added support for PostgreSql database.

    • feat. Separated `Post` and `Member` classes into `BasePost` and `BaseMember` base classes; more will be separated in future versions.

    • feat. `Base` class added `Clone`, `UnsetData`, `GetOriginal` methods.

    • fix. Fixed the global object cache of the ZBP class.

    • feat. ZBP class added indicator properties such as `isapi`, `isdebug`, `islogin`, `ishttps`.

    • feat. ZBP class added `PreLoad` process before the `Load` process; corresponding interfaces have also been adjusted.

    • feat. ZBP class added properties `cachedir`, `logsdir`, `datadir`, `systemdir`, `admindir`, `userurl`, `adminurl`, `systemurl` and referenced `t` from `table`, `d` from `datainfo`.

    • feat. Article editor interface added `barBtn`;

    • feat. Article editor interface added `ready`;

    • Interfaces

    • Database

    • Remove

1.6 Valyria

  • 1.6.8

    • update. Supported the new `Config` class data structure of 1.7.0.

    • fix. Fixed the severe `config` table data errors that occurred when downgrading from 1.7.0 to 1.6.7.

  • 1.6.6

    • fix. Improved database connection for PHP 7+;

    • feat. PHP 8.0 support;

    • update. Added constant `ZBP_IN_CMD` in cmd.php;

  • 1.6.5

    • fix. `xml-rpc` interface bug fixes;

    • fix. Duplicate "Tag" creation fixed;

    • update. Search result sorting support (interface);

    • update. Verification code;

    • update. `SQLite` table name prefix specification (new installations);

    • update. "config" adjustments (preparation for 1.7);

  • 1.6.4

    • update. Frontend and backend `js.php` files now enable http304 functionality by default.

    • fix. Fixed the issue where visitor information was not remembered after commenting.

    • fix. Fixed an issue with the network class component during POST requests.

    • fix. Fixed a bug in the sqlite3 component.

    • update. Removed an unused index from the `post` table.

  • 1.6.0

    • update. Increased the length of `conf_Value` in the `zbp_config` table.

    • update. Increased the maximum length of all varchar fields in the system.

    • update. Added `tag_Type` field.

    • update. Added `cate_Type` field.

    • feat. #245 `Filter_Plugin_ViewList_Template` added exit signal.

    • feat. Added `SetPluginSignal` function.

    • feat. Added `Filter_Plugin_ViewPost_Core` interface.

    • feat. Added `Filter_Plugin_ViewSearch_Template` interface.

    • feat. #206 Added `Filter_Plugin_CheckComment_Core` interface.

    • feat. #206 Added `Filter_Plugin_CheckComment_Succeed` interface.

    • feat. Added `Filter_Plugin_EnablePlugin` interface.

    • feat. Added `Filter_Plugin_DisablePlugin` interface.

    • feat. Added `Filter_Plugin_Admin_Other_Action` interface.

    • feat. #249 Editor added `insert` interface support.

    • Major Updates

    • update. Support for PHP 7.4.

    • update. Added new default themes Zit and tprue.

    • update. Added link management plugin.

    • update. Increased the number of sidebars to 9.

    • update. Allowed fetching visitor IP from CDN.

    • update. Beautified the ZB backend and installation interface styles.

    • Updates

    • update. When publishing articles, filter out templates not applicable to articles.

    • update. #98 `PageBar` internationalized.

    • update. #240 Added validation when setting fixed domain name.

    • update. Added exclusive parameter `ZC_PERMANENT_DOMAIN_WHOLE_DISABLE` in `c_option.php` to forcibly disable fixed domain name.

    • update. Added exclusive parameter `ZC_PERMANENT_DOMAIN_FORCED_URL` in `c_option.php` to forcibly specify the domain name.

    • update. #238 Return 503 status code when the website is closed.

    • Fixes

    • fix. Fixed some security issues.

    • fix. In module management, only modules created by the current theme are now displayed, not those created by other themes.

    • fix. User alias can now be searched in user editing.

    • fix. Templates displayed in backend editing pages are now forced to exclude files starting with certain names.

    • fix. #243 Fixed the bug where `author.Comments` returned 0 comments.

    • fix. #236 Fixed the issue where installation failed if the username was less than 3 characters.

    • Development

    • feat. Added List mode for search, supporting pagination. List mode will prioritize using `search` as the template page.

    • feat. `Base` class added `SetData` method, and `GetData` method parameter has been added.

    • feat. #232 `Base` class added `LoadInfoByFields` / `LoadInfoByField` interfaces.

    • feat. Enhanced Z-BlogPHP JavaScript Framework.

    • feat. `RemovePHPCode` function added to clear all possible PHP code from strings.

    • feat. Added `$zbp→langs` to replace `lang`.

    • feat. Application center packaging will read `zbignore.txt` file, allowing specified files to be ignored during packaging.

    • feat. The `Source` of theme-created modules must be set to the theme ID. Theme IDs used previously need to be corrected.

    • feat. Corrected the `HtmlID` of file-type modules in the `Include` folder of themes to their `FileName` value.

    • feat. `sql` class added support for decimal.

    • feat. `$zbp` added mutual exclusion and query mutex functions, first applied to Zit theme and AdminColor plugin.

    • Interfaces

    • Database

    • fix. Fixed the issue where `Network__curl` did not handle methods other than GET / POST.

    • fix. #224 Fixed the error when batch operating comments with empty IDs.

    • fix. #225 Fixed the error in the API for retrieving the next article.

    • update. Enhanced error handling for `@`!

    • remove. Deprecated `TransferHTML` function, replaced by `FormatString` (no modification needed for now).

    • remove. Deprecated old interfaces of ZBPJF (please refer to subsequent migration instructions).

    • remove. Removed HHVM support.

    • remove. Completely removed `ZC_YUN_SITE`.

1.5 Zero

  • 1.5.2

    • feat. `Filter_Plugin_ViewFeed_End`

    • feat. `Filter_Plugin_App_Pack`

    • feat. `Filter_Plugin_Comment_Get`

    • feat. `Filter_Plugin_Comment_Set`

    • feat. `Filter_Plugin_Module_Get`

    • feat. `Filter_Plugin_Module_Set`

    • feat. `Filter_Plugin_Upload_Get`

    • feat. `Filter_Plugin_Upload_Set`

    • feat. `Filter_Plugin_Post_Get`

    • feat. `Filter_Plugin_Post_Set`

    • feat. `Filter_Plugin_Category_Get`

    • feat. `Filter_Plugin_Category_Set`

    • feat. `Filter_Plugin_Tag_Get`

    • feat. `Filter_Plugin_Tag_Set`

    • feat. `Filter_Plugin_Member_Get`

    • feat. `Filter_Plugin_Member_Set`

    • update. Execution order of `Filter_Plugin_ViewIndex_Begin`.

    • Security Support

    • feat. Added "Enhanced Security Mode".

    • update. Fixed potential security vulnerabilities in the backend.

    • update. Adjusted password verification method.

    • Update

    • feat. Used PSR2 standard for code formatting.

    • feat. Added CLI support.

    • fix. Fixed most PHPDoc comments.

    • feat. Automatic theme compilation in development mode.

    • feat. Support for different themes in subdirectories.

    • Interfaces

    • Fixes

    • fix. #131, #132: Corrected design flaws in `c_system_misc`.

    • fix. #133: `Filter_Plugin_ViewPost_Template` interface interrupted.

    • fix. #134: Added interface for `ViewFeed`.

    • fix. #142: Reminder when dependencies are disabled.

    • fix. #151: Issue with usernames containing the "@" symbol.

    • fix. #155: Class error on user creation and editing pages.

    • fix. #160: `location.hash` after successful comment submission.

    • fix. #162: Should return 404 when `page` does not exist.

    • fix. #163: Issue with selecting templates for articles, etc.

  • 1.5.1

    • update. `Filter_Plugin_Admin_ArticleMng_Table`

    • update. `Filter_Plugin_Admin_PageMng_Table`

    • update. `Filter_Plugin_Admin_CategoryMng_Table`

    • update. `Filter_Plugin_Admin_CommentMng_Table`

    • update. `Filter_Plugin_Admin_MemberMng_Table`

    • update. `Filter_Plugin_Admin_UploadMng_Table`

    • update. `Filter_Plugin_Admin_TagMng_Table`

    • update. `Filter_Plugin_Xmlrpc_Begin`

    • update. `Filter_Plugin_VerifyLogin_Succeed`

    • update. `Filter_Plugin_Logout_Succeed`

    • update. `Filter_Plugin_Category_Edit_SubMenu`

    • update. `Filter_Plugin_Edit_SubMenu`

    • update. `Filter_Plugin_Member_Edit_SubMenu`

    • update. `Filter_Plugin_Module_Edit_SubMenu`

    • update. `Filter_Plugin_Tag_Edit_SubMenu`

    • update. `Filter_Plugin_Post_Prev`

    • update. `Filter_Plugin_Post_Next`

    • update. `Filter_Plugin_LargeData_Article`

    • Update

    • feat. Added one-time Token support for xml-rpc.

    • feat. Added setting for using fixed domain names in the backend.

    • feat. #123: Added current page number display in the backend.

    • Fixes

    • update. Adjusted backend styles.

    • update. Adjusted default permissions for module editing.

    • update. Removed the restriction on not being able to modify system module names.

    • update. Added error message for older PCRE versions (for Meicheng Huilian).

    • update. Fixed the issue where category editing was not displayed in some cases.

    • update. Fixed the issue where etag was not output under nginx.

    • update. Fixed the issue where template selection pages were not displayed.

    • update. Fixed the `RootID` issue for categories.

    • update. Fixed execution order issues for several interfaces.

    • update. Fixed the issue of repeated database closing under phpunit.

    • update. #113: Adjusted domain name saving and submission scheme.

    • update. #117: Nickname rules relaxed to support languages other than Chinese and English.

    • update. #118: Fixed the issue where modules were not updated after category deletion.

    • update. #120: Fixed the issue of instantiating users via alias in permalink for user pages.

    • update. #122: Replaced system's original file format icons.

    • update. Removed the configuration for supporting HTML5.

    • Development

    • update. Added configurable fields for "minimum PHP required version" and "dependency functions".

    • update. Fixed `IS_KANGLE`, `IS_CADDY`, `IS_BUILTIN`.

    • update. Removed all backticks from `SQLGlobal` to ensure compatibility and multi-table query capabilities.

    • update. `SQLGlobal` restored `ARRAY_LIKE`.

    • update. #121: `SQLGlobal` added `→new()` method for subqueries, etc.

    • update. #124: Fixed the issue where `AddHeaderIcon` was ineffective.

    • Interfaces

  • 1.5.0

    • update. `Filter_Plugin_PostTag_Core`

    • update. `Filter_Plugin_PostTag_Succeed`

    • update. `Filter_Plugin_Upload_Dir`

    • update. `Filter_Plugin_ViewSearch_Core`

    • update. `Filter_Plugin_ViewFeed_Core`

    • update. `Filter_Plugin_ViewComment_Template`

    • update. `Filter_Plugin_Debug_Display`

    • update. Added debug mode error stack trace.

    • update. #42: Adjusted MySQL table creation statements to support utf8mb4, with compatibility for older MySQL versions.

    • update. Removed `zbp_Counter` table.

    • Update

    • update. Z-BlogPHP JavaScript Framework.

    • update. Rewrote the comment reply functionality.

    • update. Rewrote Z-BlogPHP frontend functions.

    • update. Chained SQL calls.

    • update. Sidebar templating and independent module.

    • update. User management search.

    • update. Strengthened user security protection.

    • update. Several database indexes (researched from application center themes).

    • update. Permalink added time validation (to prevent duplicate URLs).

    • update. Enhanced HTTPS support.

    • update. Global comment moderation switch.

    • update. Verification code upgrade.

    • update. 304 Not Modified switch.

    • update. Backend error messages made friendlier.

    • update. #40: Global website shutdown switch.

    • update. #72: Error page template.

    • update. #73: Template comments.

    • update. #91: Added email to comment management.

    • update. Included two versions of jQuery: 1.8.3 and 2.2.4.

    • update. Language display now conforms to BCP47 standards.

    • update. Usernames now support the "@" symbol.

    • update. Removed support for IE8 in the backend.

    • update. Default theme multilingual support.

    • update. Theme file compilation directory.

    • update. Chinese domain name support.

    • update. Permalink uniqueness.

    • update. #75: Moved theme compilation directory.

    • update. #87: Installation page text description.

    • Fixes

    • update. #10: Fixed the issue of permalink errors when category names contain half-width spaces.

    • update. #32: Fixed abnormal behavior under HHVM.

    • update. #82: Misjudged template replacement ⇒

    • update. Fixed the issue where the `maxli` parameter was not effective for article archives.

    • update. Fixed the issue where XML could not be read under amh.

    • Database

    • update. Backend JavaScript loading failure prompt.

    • update. Prompt for uploading excessively large applications.

    • update. Prompt for uninstalled environment.

    • update. Adjusted installation user interface and license agreement.

    • update. Introduced a mechanism for deprecating MySQL components, replacing them with pdo_mysql and mysqli.

    • update. Adjusted backend zebra stripes.

    • update. #48: Error messages made friendlier.

    • update. Code formatted according to PSR-2 standard.

    • update. Enabled command-line invocation.

    • update. Modified version number rules.

    • Interfaces

1.4 Deeplue

  • 1.4

    • New

    • update. Supports relatively large databases.

    • update. Supports PDO_SQLite.

    • update. Added redirection for non-fixed domains.

    • update. Supports multi-language installation, English language pack included.

    • update. Application center export supports gzip compression (gzba).

    • update. #5: Added "Abstract" functionality for category and Tags editing.

    • Modification

    • fix. Made extensive modifications to the backend.

    • fix. Significant performance optimizations.

    • fix. Language pack modifications.

    • fix. Simplified the content of `c_option.php`.

    • fix. Upgraded jQuery UI used in the backend to v1.11.1.

    • fix. Automatically disabled verification code when GD is not detected.

    • fix. Escaped quotes and other special characters for titles upon database insertion.

    • fix. Entering the backend no longer refreshes statistics.

    • fix. Added ETag for caching in `c_html_js_add`.

    • fix. Resolved the issue where in some cases a 404 error would occur without exiting the program.

    • fix. Corrected the issue of setting headers after `ob_flush()`.

    • fix. Fixed the issue of database connection errors in some cases.

    • fix. Fixed the issue where duplicate usernames were not prompted when creating comments.

    • fix. Resolved a reflected XSS security vulnerability.

    • fix. Corrected several spelling errors.

    • fix. #3: Bug in assembling table creation statements when the type is `double|float|data|time|datetime|timestamp`.

    • fix. #9: Resolved safe mode issues.

    • fix. #14: Resolved the issue where template comments were not effective.

    • fix. #18: `xml-rpc` only publishes titles.

    • Development

    • update. Added `Config` class.

    • update. Database query class added `Group By` and other operations.

    • update. Added `posttype` for custom article or page types.

    • update. `$zbp` added `LoadAppLanguage` method for reading application language packs.

    • update. `$zbp` added `HasConfig` method to check if a configuration exists.

    • update. Renamed `$zbp→GetList` to `GetListType`.

    • update. `$zbp→GetMemberByName` is now case-insensitive when reading.

    • update. #12: `$Member` class added `IsGod` property.

    • update. `$Base` class added `toString` method for JSON output.

    • update. `$app` class prevents packaging of hidden folders starting with ".".

    • update. `$app` class automatically handles BOM headers during export.

    • update. Data classes added `type` property.

    • update. Significant adjustments made to the DEBUG mechanism.

    • update. `Filter_Plugin_Debug_Shutdown_Handler` interface changed to `Filter_Plugin_Debug_Handler`.

    • update. Several new interfaces added.

1.3 Wonce

  • 1.3

    • Update

    • update. Database supports `mysqli` connection, multiple database components improved;

    • update. Templates will filter out UTF-8 BOM during generation;

    • update. `Member` class added `StaticName` property for displaying aliases;

    • update. Module content will have some variables and constants replaced before system display;

    • update. Code optimized, documentation annotations added, system flow adjusted and optimized;

    • update. Added constant `ZBP_PATH`;

    • update. Added `Network` class, with calling methods similar to `XMLHttp`, supporting `curl`, `fsockopen`, and `file_get_contents`;

    • update. Plugin interface system has undergone a major overhaul, with related functions added, interface definition methods modified, and return mechanisms for all interfaces improved;

    • update. SQL queries added interfaces, improved table prefix replacement method, added `meta_name` and `meta_namevalu` queries;

    • update. `Module` class added `NoRefresh` property to toggle the system's automatic module update function;

    • update. Debug mechanism has been greatly overhauled, with fault tolerance processing improved;

    • update. Verification code class settings added, improved `ini_set` judgment, GZip corrected.

    • Fixes

    • fix. Corrected `rss.xml` output;

    • fix. Corrected a bug in `common.js` for saving information;

    • fix. Corrected a bug in the `GetList` function;

    • fix. Corrected case sensitivity path issues on Linux;

    • fix. Corrected the replacement of `$footer`;

    • fix. Corrected a bug that occurred when switching themes;

    • fix. Corrected display and editing functions for file-based and database modules embedded in themes.

1.2 Hippo

  • 1.2

    • Update

    • update. Theme template parsing supports functions, allowing assignment and other non-output methods.

    • update. Added plugin interfaces, optimized classes and other pages.

    • update. Added Traditional Chinese language pack (contributed by Yang Yixuan).

    • update. Added gzip compression.

    • update. All timezone updates.

    • update. Added FloorID.

    • update. Checked for file existence before deleting.

    • update. Added `GetPost`.

    • update. Supports checking for table existence and deleting tables in the database.

    • update. Bundled UE plugin supports highlight mode and has been updated to the latest version.

    • update. Added token validation to prevent external submissions.

    • update. Added a setting to close the website.

    • update. Theme modules can now be deleted.

    • update. Adjusted Debug mechanism, partially hiding displayed content.

    • Fixes

    • fix. Resolved the issue where `ViewPost` did not output http404 in some cases.

    • fix. Unclosed `a` tags in author and tag lists in sidebars.

    • fix. Corrected plugin interface references.

    • fix. Permalink errors when quantifiers exist in URL rules.

    • fix. Issue with application center download failure on some hosts.

    • fix. Permalink 404 display.

    • fix. Multiple bugs in database operations.

    • fix. Corrected the BUG of duplicate tag generation.

    • fix. Corrected a BUG found by Jiguang in user editing.


Helpful?

Comments(2)

剑影孤行
剑影孤行

2025-10-10 11:02:12

这篇文章详细记录了Z-Blog从1.7.4版本到1.2 Hippo版本的更新和修复内容,展现了Z-Blog的持续迭代与完善。
剑影寒霜
剑影寒霜

2025-10-10 10:58:41

这篇文章详细记录了Z-Blog从1.2版本到1.7.4版本的更新历程,涵盖了众多新功能和改进。

Post comment

Support Live Chat
TOP