Skip to content

Commit 9a0c55e

Browse files
committed
Update BSON version
1 parent 721aec0 commit 9a0c55e

5 files changed

Lines changed: 16 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22
WITSML 2.1 to BSON parser changelogs
33

4+
## [0.1.3] - 2024-10-29
5+
- Update BSON version 1.27.1 -> 1.28.1 ✔️
6+
47
## [0.1.2] - 2024-05-23
58
- Fixing readTextFree bug ✔️
69
- Add C Test: double free test in readTextFree ✔️

Java/library/src/test/java/org/jwitsml21parser/JWitsml21Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ public void TestIntegrity() {
176176
public void testVersion() throws JWitsmlException, Exception {
177177
JWitsmlParser jWitsmlParser = new JWitsmlParser();
178178
assertNotNull(jWitsmlParser.getBsonVersion());
179-
assertEquals("0.1.2", jWitsmlParser.getBsonVersion().get("version"));
179+
assertEquals("0.1.3", jWitsmlParser.getBsonVersion().get("version"));
180180
}
181181
}

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LIBANAME=cws
1616
LIBDIR=$(CURDIR)/lib
1717

1818
MONGO_C_GIT=https://github.com/mongodb/mongo-c-driver.git
19-
MONGO_C_BRANCH=1.27.1
19+
MONGO_C_BRANCH=1.28.1
2020
MONGO_C_DIR=$(CURDIR)/third-party/mongo-c-driver
2121

2222
FLAG_JNI=-Wno-stringop-truncation -DJNI_RUSAGE_CHILDREN -DCWS_$(ENDIAN)_ENDIAN -D$(STAT)
@@ -422,6 +422,14 @@ else
422422
@echo "Nothing to do to remove BSON library"
423423
endif
424424

425+
ifneq ("$(wildcard $(INCLUDEDIR)/bson)","")
426+
@echo "Removing BSON includes $(INCLUDEDIR)/bson"
427+
rm -rfv $(INCLUDEDIR)/bson
428+
@echo "Removed BSON includes $(INCLUDEDIR)/bson"
429+
else
430+
@echo "Nothing to do to remove BSON includes $(INCLUDEDIR)/bson"
431+
endif
432+
425433
ifneq ("$(wildcard $(MONGO_C_DIR))","")
426434
@echo "Removing Mongo C branch $(MONGO_C_BRANCH)"
427435
rm -rfv $(MONGO_C_DIR)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
def main():
44

55
setup(name="witsml21bson",
6-
version="0.1.2",
6+
version="0.1.3",
77
description="WITSML 2.1 BSON parser module for Python 3 using C library setup",
88
author="Fábio Pereira da Silva",
99
author_email="fabioegel@gmail.com",

version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.1.2",
2+
"version": "0.1.3",
33
"witsmlVersion": "2.1",
44
"website": "https://github.com/devfabiosilva/witsml21parser",
55
"license": "MIT",
@@ -33,7 +33,7 @@
3333
"license": "See https://www.genivia.com/products.html"
3434
},
3535
"libbson": {
36-
"version": "1.27.1",
36+
"version": "1.28.1",
3737
"website": "https://github.com/mongodb/mongo-c-driver",
3838
"license": "Apache License 2.0"
3939
}

0 commit comments

Comments
 (0)