pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libbson Update devel/libbson to 1.7.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3dfe0dc6f21c
branches:  trunk
changeset: 366799:3dfe0dc6f21c
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Aug 17 17:00:47 2017 +0000

description:
Update devel/libbson to 1.7.0.

- Changes to JSON encoding and decoding:
  - New functions bson_as_canonical_extended_json and
    bson_as_relaxed_extended_json convert BSON to canonical and
    relaxed extended JSON according to MongoDB Extended JSON Spec.
  - When parsing JSON type wrappers like "$timestamp", any missing or
    extra keys are an error.
  - The JSON format for BSON regular expressions is now
    "$regularExpression": {"pattern": "...", "options": "..."}.
  - The JSON format for BSON binary elements is now "$binary":
    {"base64": "...", "subType": "..."}.
  - BSON dates can be parsed from "$date" as an ISO8601 date or
    "$numberLong" as milliseconds since the epoch: "t": {"$date":
    {"$numberLong": "1234"}}.
  - The non-numbers NaN, Infinity, and -Infinity are now recognized
    (regardless of case) when parsing JSON.
- CMake build now installs .pc files for programs that link to libbson
  using pkg-config. Both the CMake and Autotools build systems now
  install .cmake
- New CMake option, "ENABLE_STATIC", defaults to ON.
- Minimum required CMake version has been increased to 3.1.
- New functions
  - bson_strcasecmp, a portable equivalent of strcasecmp.
  - bson_iter_as_double, cast the current value to double.
  - bson_iter_init_from_data, creates an iterator from BSON string.
  - bson_validate_with_error, checks a document like bson_validate
    does but also reports which key was invalid
- New convenience macros
  - BSON_ITER_HOLDS_INT, checks if iterator holds int32 or int64
  - BSON_ITER_HOLDS_NUMBER, checks if iterator holds int32, int64 or
    double
- Raised BSON recursion limit to 200

diffstat:

 devel/libbson/Makefile |   4 ++--
 devel/libbson/PLIST    |  18 ++++++++++++++----
 devel/libbson/distinfo |  10 +++++-----
 3 files changed, 21 insertions(+), 11 deletions(-)

diffs (118 lines):

diff -r b8d6005720e0 -r 3dfe0dc6f21c devel/libbson/Makefile
--- a/devel/libbson/Makefile    Thu Aug 17 15:13:15 2017 +0000
+++ b/devel/libbson/Makefile    Thu Aug 17 17:00:47 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2017/07/30 22:32:15 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2017/08/17 17:00:47 fhajny Exp $
 
-DISTNAME=      libbson-1.6.3
+DISTNAME=      libbson-1.7.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mongodb/}
 
diff -r b8d6005720e0 -r 3dfe0dc6f21c devel/libbson/PLIST
--- a/devel/libbson/PLIST       Thu Aug 17 15:13:15 2017 +0000
+++ b/devel/libbson/PLIST       Thu Aug 17 17:00:47 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2017/06/14 10:24:15 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.9 2017/08/17 17:00:47 fhajny Exp $
 include/libbson-1.0/bcon.h
 include/libbson-1.0/bson-atomic.h
 include/libbson-1.0/bson-clock.h
@@ -25,9 +25,10 @@
 include/libbson-1.0/bson-version.h
 include/libbson-1.0/bson-writer.h
 include/libbson-1.0/bson.h
+lib/cmake/libbson-1.0/libbson-1.0-config-version.cmake
+lib/cmake/libbson-1.0/libbson-1.0-config.cmake
 lib/libbson-1.0.la
 lib/pkgconfig/libbson-1.0.pc
-man/man3/bson_api.3
 man/man3/bson_append_array.3
 man/man3/bson_append_array_begin.3
 man/man3/bson_append_array_end.3
@@ -58,7 +59,12 @@
 man/man3/bson_append_undefined.3
 man/man3/bson_append_utf8.3
 man/man3/bson_append_value.3
+man/man3/bson_array_as_json.3
+man/man3/bson_as_canonical_extended_json.3
 man/man3/bson_as_json.3
+man/man3/bson_as_relaxed_extended_json.3
+man/man3/bson_ascii_strtoll.3
+man/man3/bson_character_and_string_routines.3
 man/man3/bson_check_version.3
 man/man3/bson_compare.3
 man/man3/bson_concat.3
@@ -69,6 +75,7 @@
 man/man3/bson_copy.3
 man/man3/bson_copy_to.3
 man/man3/bson_copy_to_excluding.3
+man/man3/bson_copy_to_excluding_noinit.3
 man/man3/bson_count_keys.3
 man/man3/bson_creating.3
 man/man3/bson_cross_platform_notes.3
@@ -90,13 +97,14 @@
 man/man3/bson_get_version.3
 man/man3/bson_guides.3
 man/man3/bson_has_field.3
-man/man3/bson_index.3
+man/man3/bson_include_and_link.3
 man/man3/bson_init.3
 man/man3/bson_init_from_json.3
 man/man3/bson_init_static.3
 man/man3/bson_installing.3
 man/man3/bson_iter_array.3
 man/man3/bson_iter_as_bool.3
+man/man3/bson_iter_as_double.3
 man/man3/bson_iter_as_int64.3
 man/man3/bson_iter_binary.3
 man/man3/bson_iter_bool.3
@@ -114,6 +122,7 @@
 man/man3/bson_iter_init.3
 man/man3/bson_iter_init_find.3
 man/man3/bson_iter_init_find_case.3
+man/man3/bson_iter_init_from_data.3
 man/man3/bson_iter_int32.3
 man/man3/bson_iter_int64.3
 man/man3/bson_iter_key.3
@@ -171,7 +180,6 @@
 man/man3/bson_oid_t.3
 man/man3/bson_oid_to_string.3
 man/man3/bson_parsing.3
-man/man3/bson_performance.3
 man/man3/bson_reader_destroy.3
 man/man3/bson_reader_destroy_func_t.3
 man/man3/bson_reader_new_from_data.3
@@ -195,6 +203,7 @@
 man/man3/bson_sized_new.3
 man/man3/bson_snprintf.3
 man/man3/bson_steal.3
+man/man3/bson_strcasecmp.3
 man/man3/bson_strdup.3
 man/man3/bson_strdup_printf.3
 man/man3/bson_strdupv_printf.3
@@ -226,6 +235,7 @@
 man/man3/bson_utf8_next_char.3
 man/man3/bson_utf8_validate.3
 man/man3/bson_validate.3
+man/man3/bson_validate_with_error.3
 man/man3/bson_value_copy.3
 man/man3/bson_value_destroy.3
 man/man3/bson_value_t.3
diff -r b8d6005720e0 -r 3dfe0dc6f21c devel/libbson/distinfo
--- a/devel/libbson/distinfo    Thu Aug 17 15:13:15 2017 +0000
+++ b/devel/libbson/distinfo    Thu Aug 17 17:00:47 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.24 2017/07/03 18:11:27 joerg Exp $
+$NetBSD: distinfo,v 1.25 2017/08/17 17:00:47 fhajny Exp $
 
-SHA1 (libbson-1.6.3.tar.gz) = 3571026b7d1819f8ff64dec238e58e44d826021b
-RMD160 (libbson-1.6.3.tar.gz) = 3c81ea50475c889c960dd7c4d7eb636da4e3273e
-SHA512 (libbson-1.6.3.tar.gz) = 602f700dbb268e5eeeb36d39f63499ce9a253f915042ef2f620b3cceddf449284eab583ac2e950e150a2edb75ade189e3624b2cbe96097db501e1359d0b9c1d9
-Size (libbson-1.6.3.tar.gz) = 4831170 bytes
+SHA1 (libbson-1.7.0.tar.gz) = 5c8119a7500a9131e0a6b0c7357bbac4069ade56
+RMD160 (libbson-1.7.0.tar.gz) = bfb70baec15a93838f0ecaa83db80c3ef7e844d3
+SHA512 (libbson-1.7.0.tar.gz) = af304348c4bdc0f6da0003283454814a0540ed38801d0a58f664a80195aa85b850861bdaae2e6845058b7dde2814b6ca808b97ce37a31dde44baf19b0b74e022
+Size (libbson-1.7.0.tar.gz) = 4916222 bytes
 SHA1 (patch-configure) = fc1e56e8e0d823801446440e59926b11caa388a8



Home | Main Index | Thread Index | Old Index