Skip to content

Commit 5d355f1

Browse files
authored
release candidate (simdjson#1132)
1 parent 2ff9110 commit 5d355f1

File tree

9 files changed

+1739
-1726
lines changed

9 files changed

+1739
-1726
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ project(simdjson
66
)
77

88
set(PROJECT_VERSION_MAJOR 0)
9-
set(PROJECT_VERSION_MINOR 4)
10-
set(PROJECT_VERSION_PATCH 6)
11-
set(SIMDJSON_SEMANTIC_VERSION "0.4.6" CACHE STRING "simdjson semantic version")
12-
set(SIMDJSON_LIB_VERSION "2.0.0" CACHE STRING "simdjson library version")
13-
set(SIMDJSON_LIB_SOVERSION "2" CACHE STRING "simdjson library soversion")
9+
set(PROJECT_VERSION_MINOR 5)
10+
set(PROJECT_VERSION_PATCH 0)
11+
set(SIMDJSON_SEMANTIC_VERSION "0.5.0" CACHE STRING "simdjson semantic version")
12+
set(SIMDJSON_LIB_VERSION "3.0.0" CACHE STRING "simdjson library version")
13+
set(SIMDJSON_LIB_SOVERSION "3" CACHE STRING "simdjson library soversion")
1414
set(SIMDJSON_GITHUB_REPOSITORY https://github.com/simdjson/simdjson)
1515

1616
include(GNUInstallDirs)

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = simdjson
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = "0.4.6"
41+
PROJECT_NUMBER = "0.5.0"
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Ubuntu 20.04 CI](https://github.com/simdjson/simdjson/workflows/Ubuntu%2020.04%20CI%20(GCC%209)/badge.svg)](https://simdjson.org/plots.html)
44
![VS16-CI](https://github.com/simdjson/simdjson/workflows/VS16-CI/badge.svg)
55
![MinGW64-CI](https://github.com/simdjson/simdjson/workflows/MinGW64-CI/badge.svg)
6-
[![][license img]][license] [![Doxygen Documentation](https://img.shields.io/badge/docs-doxygen-green.svg)](https://simdjson.org/api/0.4.0/index.html)
6+
[![][license img]][license] [![Doxygen Documentation](https://img.shields.io/badge/docs-doxygen-green.svg)](https://simdjson.org/api/0.5.0/index.html)
77

88
simdjson : Parsing gigabytes of JSON per second
99
===============================================
@@ -70,7 +70,7 @@ Usage documentation is available:
7070
* [Performance](doc/performance.md) shows some more advanced scenarios and how to tune for them.
7171
* [Implementation Selection](doc/implementation-selection.md) describes runtime CPU detection and
7272
how you can work with it.
73-
* [API](https://simdjson.org/api/0.4.0/annotated.html) contains the automatically generated API documentation.
73+
* [API](https://simdjson.org/api/0.5.0/annotated.html) contains the automatically generated API documentation.
7474
7575
Performance results
7676
-------------------

RELEASES.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
1-
# 0.3
1+
# 0.5
2+
3+
## Highlights
4+
5+
Performance
6+
* Faster and simpler UTF-8 validation with the lookup4 algorithm https://github.com/simdjson/simdjson/pull/993
7+
* We improved the performance of simdjson under Visual Studio by about 25%. Users will still get better performance with clang-cl (+30%) but the gap has been reduced. https://github.com/simdjson/simdjson/pull/1031
8+
9+
Code usability
10+
* In `parse_many`, when parsing streams of JSON documetns, we give to the users runtime control as to whether threads are used (via the parser.threaded attribute). https://github.com/simdjson/simdjson/issues/925
11+
* Prefixed public macros to avoid name clashes with other libraries. https://github.com/simdjson/simdjson/issues/1035
12+
* Better documentation regarding package managers (brew, MSYS2, conan, apt, vcpkg, FreeBSD package manager, etc.).
13+
* Better documentation regarding CMake usage.
14+
15+
Standards
16+
* We improved standard compliance with respect to both the JSON RFC 8259 and JSON Pointer RFC 6901. We added the at_pointer method to nodes for standard-compliant JSON Pointer queries. The legacy `at(std::string_view)` method remains but is deprecated since it is not standard-compliant as per RFC 6901.
17+
* We removed computed GOTOs without sacrificing performance thus improving the C++ standard compliance (since computed GOTOs are compiler-specific extensions).
18+
* Better support for C++20 https://github.com/simdjson/simdjson/pull/1050
19+
20+
# 0.4
221

322
## Highlights
423

doc/basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ include(FetchContent)
6666
FetchContent_Declare(
6767
simdjson
6868
GIT_REPOSITORY https://github.com/simdjson/simdjson.git
69-
GIT_TAG v0.4.7
69+
GIT_TAG v0.5.0
7070
GIT_SHALLOW TRUE)
7171
7272
set(SIMDJSON_JUST_LIBRARY ON CACHE INTERNAL "")
@@ -75,7 +75,7 @@ set(SIMDJSON_BUILD_STATIC ON CACHE INTERNAL "")
7575
FetchContent_MakeAvailable(simdjson)
7676
```
7777

78-
You should replace `GIT_TAG v0.4.7` by the version you need (e.g., `GIT_TAG v0.5.0`). If you omit `GIT_TAG v0.5.0`, you will work from the main branch of simdjson: we recommend that if you are working on production code,
78+
You should replace `GIT_TAG v0.5.0` by the version you need. If you omit `GIT_TAG v0.5.0`, you will work from the main branch of simdjson: we recommend that if you are working on production code,
7979

8080
Elsewhere in your project, you can declare dependencies on simdjson with lines such as these:
8181

doc/basics_doxygen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ set(SIMDJSON_BUILD_STATIC ON CACHE INTERNAL "")
5656
FetchContent_MakeAvailable(simdjson)
5757
```
5858

59-
You should replace `GIT_TAG v0.4.7` by the version you need (e.g., `GIT_TAG v0.5.0`). If you omit `GIT_TAG v0.5.0`, you will work from the main branch of simdjson: we recommend that if you are working on production code,
59+
You should replace `GIT_TAG v0.5.0` by the version you need. If you omit `GIT_TAG v0.5.0`, you will work from the main branch of simdjson: we recommend that if you are working on production code,
6060

6161
Elsewhere in your project, you can declare dependencies on simdjson with lines such as these:
6262

include/simdjson/simdjson_version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#define SIMDJSON_SIMDJSON_VERSION_H
55

66
/** The version of simdjson being used (major.minor.revision) */
7-
#define SIMDJSON_VERSION 0.4.6
7+
#define SIMDJSON_VERSION 0.5.0
88

99
namespace simdjson {
1010
enum {
@@ -15,11 +15,11 @@ enum {
1515
/**
1616
* The minor version (major.MINOR.revision) of simdjson being used.
1717
*/
18-
SIMDJSON_VERSION_MINOR = 4,
18+
SIMDJSON_VERSION_MINOR = 5,
1919
/**
2020
* The revision (major.minor.REVISION) of simdjson being used.
2121
*/
22-
SIMDJSON_VERSION_REVISION = 6
22+
SIMDJSON_VERSION_REVISION = 0
2323
};
2424
} // namespace simdjson
2525

0 commit comments

Comments
 (0)