Skip to content

Commit 0d8b490

Browse files
Merge pull request #352 from OneBusAway/release-please--branches--main--changes--next--components--onebusaway-sdk
release: 1.10.8
2 parents eb9c5b4 + 43dd8c4 commit 0d8b490

File tree

7 files changed

+22
-9
lines changed

7 files changed

+22
-9
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.10.7"
2+
".": "1.10.8"
33
}

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 1.10.8 (2025-09-09)
4+
5+
Full Changelog: [v1.10.7...v1.10.8](https://github.com/OneBusAway/js-sdk/compare/v1.10.7...v1.10.8)
6+
7+
### Bug Fixes
8+
9+
* coerce nullable values to undefined ([82f2e9b](https://github.com/OneBusAway/js-sdk/commit/82f2e9b185ad1ea83f365f81eccbf0070a2f9d08))
10+
11+
12+
### Chores
13+
14+
* ci build action ([03f0f2b](https://github.com/OneBusAway/js-sdk/commit/03f0f2b30899c9e28ad33b589491f23b66e38a20))
15+
316
## 1.10.7 (2025-08-23)
417

518
Full Changelog: [v1.10.6...v1.10.7](https://github.com/OneBusAway/js-sdk/compare/v1.10.6...v1.10.7)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "onebusaway-sdk",
3-
"version": "1.10.7",
3+
"version": "1.10.8",
44
"description": "The official TypeScript library for the Onebusaway SDK API",
55
"author": "Onebusaway SDK <[email protected]>",
66
"types": "dist/index.d.ts",

scripts/utils/upload-artifact.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [[ "$SIGNED_URL" == "null" ]]; then
1212
exit 1
1313
fi
1414

15-
UPLOAD_RESPONSE=$(tar -cz "${BUILD_PATH:-dist}" | curl -v -X PUT \
15+
UPLOAD_RESPONSE=$(tar "${BASE_PATH:+-C$BASE_PATH}" -cz "${ARTIFACT_PATH:-dist}" | curl -v -X PUT \
1616
-H "Content-Type: application/gzip" \
1717
--data-binary @- "$SIGNED_URL" 2>&1)
1818

src/core.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,21 +1088,21 @@ export const coerceBoolean = (value: unknown): boolean => {
10881088
};
10891089

10901090
export const maybeCoerceInteger = (value: unknown): number | undefined => {
1091-
if (value === undefined) {
1091+
if (value == null) {
10921092
return undefined;
10931093
}
10941094
return coerceInteger(value);
10951095
};
10961096

10971097
export const maybeCoerceFloat = (value: unknown): number | undefined => {
1098-
if (value === undefined) {
1098+
if (value == null) {
10991099
return undefined;
11001100
}
11011101
return coerceFloat(value);
11021102
};
11031103

11041104
export const maybeCoerceBoolean = (value: unknown): boolean | undefined => {
1105-
if (value === undefined) {
1105+
if (value == null) {
11061106
return undefined;
11071107
}
11081108
return coerceBoolean(value);

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.10.7'; // x-release-please-version
1+
export const VERSION = '1.10.8'; // x-release-please-version

0 commit comments

Comments
 (0)