Skip to content

Commit ec59a4d

Browse files
committed
chore: release v3.0.0
1 parent 0af493e commit ec59a4d

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.0.0] - 2026-01-12
9+
10+
### Changed
11+
- **Breaking**: 最低 PHP 版本要求升级至 8.2(原 7.3||^8.0)
12+
- 添加完整的 PHP 类型声明和 PHPDoc 注解
13+
14+
### Fixed
15+
- 修复 average() 方法在负数场景下的精度分配问题
16+
- ceil 模式:从前往后分配,确保不超过剩余总数
17+
- floor 和 round 模式:差额给最后一个元素
18+
19+
### Added
20+
- 支持 PHP 8.5 测试
21+
22+
### Docs
23+
- 添加 CLAUDE.md 项目指南
24+
- 添加 CHANGELOG.md
25+
826
## [2.5.4] - 2025-03-27
927

1028
### Added
@@ -78,3 +96,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7896

7997
### Added
8098
- 初始版本发布
99+
100+
[3.0.0]: https://github.com/krissss/bcmath/compare/v2.5.4...v3.0.0
101+
[2.5.4]: https://github.com/krissss/bcmath/compare/v2.5.3...v2.5.4
102+
[2.5.3]: https://github.com/krissss/bcmath/compare/v2.5.2...v2.5.3
103+
[2.5.2]: https://github.com/krissss/bcmath/compare/v2.5.1...v2.5.2
104+
[2.5.1]: https://github.com/krissss/bcmath/compare/v2.5.0...v2.5.1
105+
[2.5.0]: https://github.com/krissss/bcmath/compare/v2.4.0...v2.5.0
106+
[2.4.0]: https://github.com/krissss/bcmath/compare/v2.3...v2.4.0
107+
[2.3]: https://github.com/krissss/bcmath/compare/v2.2...v2.3
108+
[2.2]: https://github.com/krissss/bcmath/compare/v2.1...v2.2
109+
[2.1]: https://github.com/krissss/bcmath/compare/v2.0...v2.1
110+
[2.0]: https://github.com/krissss/bcmath/compare/v1.1...v2.0
111+
[1.1]: https://github.com/krissss/bcmath/compare/v1.0...v1.1
112+
[1.0]: https://github.com/krissss/bcmath/releases/tag/v1.0

0 commit comments

Comments
 (0)