Skip to content

Commit 8e34d0f

Browse files
committed
Update version to 2.2.0.
1 parent c87de3c commit 8e34d0f

File tree

19 files changed

+57
-77
lines changed

19 files changed

+57
-77
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ To learn how to index and search your data, see the [official project site](http
1111

1212
Learn about [BlackLab's structure and internals](./core/src/site/markdown/blacklab-internals.md) (work in progress).
1313

14+
## Changed: 'main' branch
15+
16+
The branch that corresponds to BlackLab's latest release is now called _main_ instead of _master_.
17+
18+
Local clones can either be removed and re-cloned, or you can rename the local branch with these commands:
19+
20+
```bash
21+
git branch -m master main
22+
git fetch origin
23+
git branch -u origin/main main
24+
git remote set-head origin -a
25+
```
26+
27+
Please note that _dev_, not _main_, is the default branch. This is the development
28+
branch, which should be considered unstable.
29+
1430
## Using BlackLab with Docker
1531

1632
An experimental Docker setup is provided now. It will likely change in the future.

common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-common</artifactId>
1212
<packaging>jar</packaging>

content-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-content-store</artifactId>
1212
<packaging>jar</packaging>

contrib/convert-and-tag/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>nl.inl.blacklab</groupId>
1616
<artifactId>blacklab-all</artifactId>
17-
<version>2.2.0-SNAPSHOT</version>
17+
<version>2.2.0</version>
1818
<relativePath>../../</relativePath>
1919
</parent>
2020

contrib/legacy-docindexers/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>nl.inl.blacklab</groupId>
1111
<artifactId>blacklab-all</artifactId>
12-
<version>2.2.0-SNAPSHOT</version>
12+
<version>2.2.0</version>
1313
<relativePath>../../</relativePath>
1414
</parent>
1515

core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab</artifactId>
1212
<packaging>jar</packaging>

core/src/site/markdown/changelog.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# Change Log
22

3-
## Improvements in 2.2.0-SNAPSHOT
3+
## Improvements in 2.2.0
44

55
### Changed
66

77
* Make forward-index matching much less frequent, as it's difficult to predict when it will help, and it often hurts.
88
* Split into several projects that each handle specific functionality. More to do here.
99
* If either `wordsaroundhit` or `parameters.contextSize` are set to 0, don't include left and right context in the
1010
results at all.
11+
* The branch that corresponds to BlackLab's latest release is now called _main_ instead of _master_. The default
12+
branch remains the _dev_ branch (up to date but potentially unstable)
1113

1214
### New
1315

16+
* Added `instrumentation` modules to collect metrics using e.g. Prometheus.
1417
* Greatly improve startup time and passive memory usage.
1518
* Improved time to first result in (very) large indices.
1619
* Improved performance by instantiating fewer objects (e.g. using `IntArrayLists` instead of `Hit` objects)
@@ -31,7 +34,9 @@
3134

3235
### Fixed
3336

34-
* Upgrade to `log4j-2.16.0` (fixes [CVE-2021-44228](https://nvd.nist.gov/vuln/detail/CVE-2021-44228) and [CVE-2021-45046](https://nvd.nist.gov/vuln/detail/CVE-2021-45046)).
37+
* Upgrade to `log4j-2.17.1` (fixes [CVE-2021-44228](https://nvd.nist.gov/vuln/detail/CVE-2021-44228) and [CVE-2021-45046](https://nvd.nist.gov/vuln/detail/CVE-2021-45046)).
38+
* Bug that could cause metadata values from a previously indexed document to also be added to the next.
39+
* YAML bug with metadata values containing newlines and colons.
3540
* Bug in `TermsWriter` that caused a crash when indexing more than 134M unique terms.
3641
* Deadlock because of fixed thread count and some subtasks getting run but not others. Now either allows entire search operation or queues it until later.
3742
* Fix not all hits always counted when grouping/sorting.
@@ -42,6 +47,7 @@
4247
* Prevent `ConcurrentModificationException` caused by not synchronizing.
4348
* Fix some caching bugs by consistently defining `hashCode()` and `equals()`.
4449
* Report correct search time (used to underreport).
50+
* Fixed slowdown when a lot of indexes are open at the same time.
4551
* Many smaller bugfixes.
4652

4753
### Removed

core/src/site/markdown/downloads.md

+17-59
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,26 @@
11
# Downloads
22

3-
## Latest version
3+
## Releases
44

5-
To download and build the most recent release of BlackLab, clone the repository and build it using Maven:
5+
See the [GitHub releases page](https://github.com/INL/BlackLab/releases/) for the complete list. This may also include development versions you can try out. If you're looking for the BlackLab library or commandline tools (i.e. not BlackLab Server), choose the version with libraries included.
66

7-
git clone git://github.com/INL/BlackLab.git
8-
cd BlackLab
9-
mvn install
10-
11-
To use the latest development version, switch to the 'dev' branch:
7+
Also see the [Change log](changelog.html).
128

13-
git clone git://github.com/INL/BlackLab.git
14-
cd BlackLab
15-
git checkout dev
16-
mvn install
17-
18-
If you're using Subversion, use:
9+
## Build your own
1910

20-
svn checkout https://github.com/INL/BlackLab/trunk BlackLab
21-
cd BlackLab
22-
mvn install
11+
To download and build the development version (bleeding edge, may be unstable), clone the repository and build it
12+
using Maven:
2313

24-
## Releases
14+
```bash
15+
git clone git://github.com/INL/BlackLab.git
16+
cd BlackLab
17+
# git checkout dev # (the default branch)
18+
mvn clean package
19+
```
2520

26-
See the [GitHub releases page](https://github.com/INL/BlackLab/releases/) for the complete list. This may also include development versions you can try out. If you're looking for the BlackLab library or commandline tools (i.e. not BlackLab Server), choose the version with libraries included.
27-
28-
Also see the [Change log](changelog.html).
21+
To instead build the most recent release of BlackLab yourself:
2922

30-
<table>
31-
<tbody>
32-
<tr>
33-
<th>Version</th>
34-
<th colspan='3'>Downloads</th>
35-
<th>Description</th>
36-
</tr>
37-
<tr>
38-
<td>SNAPSHOT</td>
39-
<td></td>
40-
<td><a href='https://github.com/INL/BlackLab/archive/dev.tar.gz'>Source (tgz)</a></td>
41-
<td><a href='https://github.com/INL/BlackLab/archive/dev.zip'>Source (zip)</a></td>
42-
<td>In-development version</td>
43-
</tr>
44-
<tr>
45-
<td>v2.1.1</td>
46-
<td><a href='https://github.com/INL/BlackLab/releases/download/v2.1.1/blacklab-server-2.1.1.war'>BlackLab Server WAR</a></td>
47-
<td><a href='https://github.com/INL/BlackLab/releases/download/v2.1.1/blacklab-core.zip'>BlackLab Core JAR and libs</a></td>
48-
<td><a href='https://github.com/INL/BlackLab/archive/v2.1.1.tar.gz'>Source (tgz)</a></td>
49-
<td><a href='https://github.com/INL/BlackLab/archive/v2.1.1.zip'>Source (zip)</a></td>
50-
<td>Bugfixes. MetadataFieldsWriter allows programmatically setting specials fields such as pidField.
51-
Fixes log4j security issue by upgrading to 2.16.0.</td>
52-
</tr>
53-
<tr>
54-
<td>v2.0.0</td>
55-
<td><a href='https://github.com/INL/BlackLab/releases/download/v2.0.0/blacklab-server-2.0.0.war'>Binary (war)</a></td>
56-
<td><a href='https://github.com/INL/BlackLab/archive/v2.0.0.tar.gz'>Source (tgz)</a></td>
57-
<td><a href='https://github.com/INL/BlackLab/archive/v2.0.0.zip'>Source (zip)</a></td>
58-
<td>New Java API. Multithreaded indexing and search. Saxon (XPath 3) support. Multiple metadata values per field possible. Many more improvements.</td>
59-
</tr>
60-
<tr>
61-
<td>v1.7.2</td>
62-
<td><a href='https://github.com/INL/BlackLab/releases/download/v1.7.2/blacklab-server-1.7.2.war'>Binary (war)</a></td>
63-
<td><a href='https://github.com/INL/BlackLab/archive/v1.7.2.tar.gz'>Source (tgz)</a></td>
64-
<td><a href='https://github.com/INL/BlackLab/archive/v1.7.2.zip'>Source (zip)</a></td>
65-
<td>Made configuring input formats much easier, using a YAML (or JSON) file. Improved corpus structure information to allow better UI generation. Many other improvements.</td>
66-
</tr>
67-
</tbody>
68-
</table>
23+
```bash
24+
git checkout main
25+
mvn clean package
26+
```

engine/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-engine</artifactId>
1212
<packaging>jar</packaging>

instrumentation/instrumentation-impl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212
<artifactId>blacklab-instrumentation-impl</artifactId>

instrumentation/instrumentation/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212
<artifactId>blacklab-instrumentation</artifactId>

interfaces/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-interfaces</artifactId>
1212
<packaging>jar</packaging>

mocks/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-mocks</artifactId>
1212
<packaging>jar</packaging>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
99
<packaging>pom</packaging>
10-
<version>2.2.0-SNAPSHOT</version>
10+
<version>2.2.0</version>
1111
<name>BlackLab Corpus Search</name>
1212
<description>The parent project for BlackLab Core and BlackLab Server.</description>
1313
<url>https://github.com/INL/BlackLab</url>

query-parser/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-query-parser</artifactId>
1212
<packaging>jar</packaging>

server/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-server</artifactId>
1212
<packaging>war</packaging>

text-pattern/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-text-pattern</artifactId>
1212
<packaging>jar</packaging>

tools/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-tools</artifactId>
1212
<packaging>jar</packaging>

util/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nl.inl.blacklab</groupId>
88
<artifactId>blacklab-all</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
9+
<version>2.2.0</version>
1010
</parent>
1111
<artifactId>blacklab-util</artifactId>
1212
<packaging>jar</packaging>

0 commit comments

Comments
 (0)