bump version to v1.4.0

Change-Id: I8af6c4701d3f3f7cb0d360742cb8b0f3d6bbcd19
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04dd3bb..a03ba5f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.9)
-project(collocatordb VERSION 1.3.2 DESCRIPTION "Storing and retrieving collocation counts based on RocksDB")
+project(collocatordb VERSION 1.4.0 DESCRIPTION "Storing and retrieving collocation counts based on RocksDB")
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fno-rtti -std=c++11 -std=gnu++11")
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
 
diff --git a/README.md b/README.md
index 4f0f305..c104b9f 100644
--- a/README.md
+++ b/README.md
@@ -97,10 +97,14 @@
 char *get_word(COLLOCATORDB *db, uint32_t w1);
 void read_vocab(COLLOCATORDB *db, char *fname);
 char *get_version();
+uint64_t get_word_id(COLLOCATORDB *db, const char *word);
 ```
 
 ## Changes
 
+* v1.4.0 (2024-11-23)
+  * added `collocatordb_query` command line tool
+  * added `get_word_id()`, which returns the ID of a word
   * added `md_nws` MI² score based on nominal window size (=10) instead of actual window size, for which only positions are counted where the collocate actually occurs
 
 * v1.3.2 (2024-11-15)
diff --git a/tests/basic_test.c b/tests/basic_test.c
index c4491e3..303f897 100644
--- a/tests/basic_test.c
+++ b/tests/basic_test.c
@@ -115,7 +115,7 @@
 
 void test_version_function() {
   char *version = get_version();
-  TEST_CHECK(strcmp(version, "1.3.2") == 0);
+  TEST_CHECK(strcmp(version, "1.4.0") == 0);
   TEST_MSG("Unexpected version: %s", version);
 }