Skip to content

Commit ebc237b

Browse files
authored
Merge branch 'master' into woodfell/follow_v5_deprecation_plan
2 parents 7326eb1 + d7b3b44 commit ebc237b

File tree

15 files changed

+40
-22
lines changed

15 files changed

+40
-22
lines changed

.github/workflows/generator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Generate tests
4040
run: |
4141
rm c/test/auto_check_*.c c/test/cpp/auto_check_*.cc java/test/auto_check_*.java rust/sbp/tests/integration/auto_check_*.rs
42-
make gen-c gen-java gen-rust
42+
make gen-c gen-java gen-rust gen-jsonschema gen-haskell gen-python gen-javascript gen-protobuf
4343
4444
- name: Check generated tests are up to date
4545
run: |

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## [v5.0.4](https://github.com/swift-nav/libsbp/tree/v5.0.4) (2023-12-07)
4+
5+
[Full Changelog](https://github.com/swift-nav/libsbp/compare/v5.0.3...v5.0.4)
6+
7+
**Closed issues:**
8+
9+
- `MsgGpsTime` implementation of `gps\_time` is not checking status flags [\#1363](https://github.com/swift-nav/libsbp/issues/1363)
10+
11+
**Merged pull requests:**
12+
13+
- Fix rust and js tests [\#1383](https://github.com/swift-nav/libsbp/pull/1383) ([woodfell](https://github.com/woodfell))
14+
- Fix decoding of truncated messages containing variable length arrays [\#1381](https://github.com/swift-nav/libsbp/pull/1381) ([woodfell](https://github.com/woodfell))
15+
- Replace swiftnav-adam with woodfell for additional reviewers [\#1380](https://github.com/swift-nav/libsbp/pull/1380) ([woodfell](https://github.com/woodfell))
16+
- Fix incorrect specification of directory contents in read dir resp [\#1379](https://github.com/swift-nav/libsbp/pull/1379) ([woodfell](https://github.com/woodfell))
17+
- Fix decoding fixed length arrays of struct in python sbp2json [\#1378](https://github.com/swift-nav/libsbp/pull/1378) ([woodfell](https://github.com/woodfell))
18+
- Increase test coverage of C code [\#1377](https://github.com/swift-nav/libsbp/pull/1377) ([woodfell](https://github.com/woodfell))
19+
- rust: check more messages for time validity [\#1376](https://github.com/swift-nav/libsbp/pull/1376) ([notoriaga](https://github.com/notoriaga))
20+
- rust: check time source for MsgGpsTime [\#1375](https://github.com/swift-nav/libsbp/pull/1375) ([notoriaga](https://github.com/notoriaga))
21+
- Run sonar cloud on C/C++ bindings [\#1374](https://github.com/swift-nav/libsbp/pull/1374) ([woodfell](https://github.com/woodfell))
22+
- ignore dependabot PRs for additional reviewers action [\#1372](https://github.com/swift-nav/libsbp/pull/1372) ([adrian-kong](https://github.com/adrian-kong))
23+
- Bon voyage! [\#1370](https://github.com/swift-nav/libsbp/pull/1370) ([pcrumley](https://github.com/pcrumley))
24+
325
## [v5.0.3](https://github.com/swift-nav/libsbp/tree/v5.0.3) (2023-10-19)
426

527
[Full Changelog](https://github.com/swift-nav/libsbp/compare/v5.0.2...v5.0.3)

HOWTO.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -209,21 +209,16 @@ inside the container (so you don't have to setup git inside the docker container
209209
make java jsonschema protobuf
210210
```
211211

212-
For C, Haskell and JavaScript:
212+
For C, Haskell and JavaScript (JavaScript, make needs to be run twice to update the package information):
213213

214214
```shell
215215
make c haskell javascript rust
216+
make javascript
216217
git add c/include/libsbp/version.h haskell/sbp.cabal javascript/sbp/RELEASE-VERSION package.json package-lock.json rust/sbp/Cargo.toml
217218
git commit --amend -a -m 'Release <INCREMENTED_TAG>'
218219
git tag -f -a INCREMENTED_TAG -m "Version INCREMENTED_TAG of libsbp."
219220
```
220221

221-
JavaScript, make needs to be run twice to update the package information
222-
223-
```shell
224-
make javascript
225-
```
226-
227222
4. Finally, build the docs:
228223

229224
```shell

c/include/libsbp/version.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
/** Protocol minor version. */
2626
#define SBP_MINOR_VERSION 0
2727
/** Protocol patch version. */
28-
#define SBP_PATCH_VERSION 3
28+
#define SBP_PATCH_VERSION 4
2929

3030
/** Full SBP version string. */
31-
#define SBP_VERSION "5.0.4-alpha"
31+
#define SBP_VERSION "5.0.5-alpha"
3232

3333
/** Is this a staging branch? */
3434
#define SBP_STAGING 0

docs/sbp.pdf

-1.41 KB
Binary file not shown.

haskell/sbp.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sbp
2-
version: 5.0.3-alpha
2+
version: 5.0.5-alpha
33
synopsis: SwiftNav's SBP Library
44
homepage: https://github.com/swift-nav/libsbp
55
license: MIT
@@ -173,4 +173,4 @@ test-suite test
173173
, tasty
174174
, tasty-hunit
175175
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
176-
default-language: Haskell2010
176+
default-language: Haskell2010

javascript/sbp/RELEASE-VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.4-alpha
1+
5.0.5-alpha

jsonschema/MsgFileioReadDirResp.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"type": "object",
1818
"properties": {
1919
"sequence": {"type": "integer"},
20-
"contents": {"type": "array", "items": {"type": "integer"}}
20+
"contents": {"type": "string"}
2121
},
2222
"required": [
2323
"sequence",

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sbp",
3-
"version": "5.0.4-alpha",
3+
"version": "5.0.5-alpha",
44
"description": "libsbp bindings for JavaScript. More information here: http://swift-nav.github.io/libsbp/",
55
"files": [
66
"javascript/*",

python/sbp/RELEASE-VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.3
1+
5.0.4

python/tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deps =
1919
passenv =
2020
PYTEST_ADDOPTS
2121
commands =
22-
py.test -v --reruns 5 --cov --cov-append --cov-report=term-missing sbp tests
22+
py.test -v --reruns 2 --cov --cov-append --cov-report=term-missing sbp tests
2323
{toxinidir}/../test_data/sanity.sh
2424
sitepackages = False
2525

rust/sbp/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
[package]
99
name = "sbp"
10-
version = "5.0.4-alpha"
10+
version = "5.0.5-alpha"
1111
description = "Rust native implementation of SBP (Swift Binary Protocol) for communicating with devices made by Swift Navigation"
1212
authors = ["Swift Navigation <[email protected]>"]
1313
repository = "https://github.com/swift-nav/libsbp"

rust/sbp2json/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
[package]
99
name = "sbp2json"
10-
version = "5.0.4-alpha"
10+
version = "5.0.5-alpha"
1111
repository = "https://github.com/swift-nav/libsbp"
1212
description = "Rust native implementation of SBP (Swift Binary Protocol) to JSON conversion tools"
1313
authors = ["Swift Navigation <[email protected]>"]

rust/sbp2json/release-hook.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/usr/bin/env bash
22

3-
sed -i -e "s@^.*TODO.*replace.*sbp.*\$@version = \"$NEW_VERSION\"@" Cargo.toml
3+
sed -e "s@^.*TODO.*replace.*sbp.*\$@version = \"$NEW_VERSION\"@" Cargo.toml > Cargo.toml.new
4+
mv Cargo.toml.new Cargo.toml

0 commit comments

Comments
 (0)