Skip to content

Commit 04fe9df

Browse files
authored
Merge pull request #265 from microsoft/bugfix/api-builder
- changes the visibility of one of the base constructors in request builders
2 parents 5ea9e43 + f51a1ed commit 04fe9df

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010

11+
## [0.4.1] - 2023-03-29
12+
13+
### Changed
14+
15+
- Changed the visibility of one of the base constructors in request builders.
16+
1117
## [0.4.0] - 2023-03-22
1218

1319
### Added

components/abstractions/src/main/java/com/microsoft/kiota/BaseRequestBuilder.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ public abstract class BaseRequestBuilder {
1616
/** Url template to use to build the URL for the current request builder */
1717
@Nonnull
1818
protected String urlTemplate;
19-
private BaseRequestBuilder(@Nonnull final RequestAdapter requestAdapter, @Nonnull final String urlTemplate) {
19+
/**
20+
* Instantiates a new BaseRequestBuilder and sets the default values.
21+
* @param requestAdapter The request adapter to use to execute the requests.
22+
* @param urlTemplate Url template to use to build the URL for the current request builder
23+
*/
24+
protected BaseRequestBuilder(@Nonnull final RequestAdapter requestAdapter, @Nonnull final String urlTemplate) {
2025
this(requestAdapter, urlTemplate, new HashMap<String, Object>());
2126
}
2227
/**

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.kiota
2727
mavenMajorVersion = 0
2828
mavenMinorVersion = 4
29-
mavenPatchVersion = 0
29+
mavenPatchVersion = 1
3030
mavenArtifactSuffix =
3131

3232
#These values are used to run functional tests

0 commit comments

Comments
 (0)