Skip to content

Commit ba8bf80

Browse files
author
GitHub Actions
committed
chore: bump version to 2.0.0 [skip ci]
1 parent d6fddae commit ba8bf80

File tree

3 files changed

+68
-2
lines changed

3 files changed

+68
-2
lines changed

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
## 2.0.0
2+
Released on: 12/11/2025, changelog automatically generated.
3+
4+
5+
### Bug Fixes
6+
7+
- **git:** stage new files before committing version bump ([451dcb1](commit/451dcb1))
8+
### Features
9+
10+
- enhance API change detection to include top-level functions ([bd902f3](commit/bd902f3))
11+
- enhance API change detection with method parameter comparison logic ([2fa9470](commit/2fa9470))
12+
- add MethodApiChange class and comparison logic for method changes ([f5f7254](commit/f5f7254))
13+
- add CacheCommand to manage/clear cache ([547327a](commit/547327a))
14+
15+
### API Changes
16+
17+
#### 💣 Breaking changes
18+
19+
**ConstructorParameterApiChange** (lib/doc_comparator/api_change.dart)
20+
- ❌ Property removed: `parameter`
21+
- ❌ Method removed: `getMagnitude`
22+
23+
**DocComponent** (lib/models/doc_items.dart)
24+
- 🔄 Param type changed in default constructor: `methods (named, required)`
25+
- 🔄 Property type changed: `methods`
26+
27+
#### ✨ Minor changes
28+
29+
**Cache** (lib/doc_generator/cache.dart)
30+
- ❇️ Method added: `getCacheDir`
31+
32+
**CacheCommand** (lib/cache/cache_command.dart)
33+
- ❇️ Class added: `CacheCommand`
34+
35+
**ConstructorParameterApiChange** (lib/doc_comparator/api_change.dart)
36+
- ❇️ Param added in default constructor: `oldName (named, optional)`
37+
38+
**DocComponent** (lib/models/doc_items.dart)
39+
- ❇️ Param added in default constructor: `type (named, optional, default: DocComponentType.classType)`
40+
- ❇️ Property added: `type`
41+
42+
**DocMethod** (lib/models/doc_items.dart)
43+
- ❇️ Class added: `DocMethod`
44+
45+
**DocParameter** (lib/models/doc_items.dart)
46+
- ❇️ Param added in default constructor: `defaultValue (named, optional)`
47+
- ❇️ Property added: `defaultValue`
48+
49+
**MethodApiChange** (lib/doc_comparator/api_change.dart)
50+
- ❇️ Class added: `MethodApiChange`
51+
52+
**MethodParameterApiChange** (lib/doc_comparator/api_change.dart)
53+
- ❇️ Class added: `MethodParameterApiChange`
54+
55+
**ParameterApiChange** (lib/doc_comparator/api_change.dart)
56+
- ❇️ Class added: `ParameterApiChange`
57+
58+
#### 👀 Patch changes
59+
60+
**_$DocMethodFromJson** (lib/models/doc_items.dart)
61+
- ❇️ Function added: `_$DocMethodFromJson`
62+
63+
**_$DocMethodToJson** (lib/models/doc_items.dart)
64+
- ❇️ Function added: `_$DocMethodToJson`
65+
66+
167
## 1.0.1
268
Released on: 12/8/2025, changelog automatically generated.
369

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: mtrust_api_guard
22
description: A package to generate and compare API docs
33
homepage: https://github.com/emdgroup/mtrust-api-guard/
4-
version: 1.0.1
4+
version: 2.0.0
55
environment:
66
sdk: ">=3.0.0 <4.0.0"
77
dependencies:

version_badge.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)