0.42
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 07d9eb2..d385893 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@
 endif()
 
 set(POPPLER_MAJOR_VERSION "0")
-set(POPPLER_MINOR_VERSION "41")
+set(POPPLER_MINOR_VERSION "42")
 set(POPPLER_MICRO_VERSION "0")
 set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}")
 
@@ -501,7 +501,7 @@
 else(MSVC)
 add_library(poppler SHARED ${poppler_SRCS})
 endif(MSVC)
-set_target_properties(poppler PROPERTIES VERSION 58.0.0 SOVERSION 58)
+set_target_properties(poppler PROPERTIES VERSION 59.0.0 SOVERSION 59)
 target_link_libraries(poppler LINK_PRIVATE ${poppler_LIBS})
 install(TARGETS poppler RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX})
 
diff --git a/Makefile.am b/Makefile.am
index 691512f..9540b6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -88,6 +88,7 @@
 	cmake/modules/FindIconv.cmake				\
 	cmake/modules/FindLCMS.cmake				\
 	cmake/modules/FindLCMS2.cmake				\
+        cmake/modules/FindNSS3.cmake				\
 	cmake/modules/FindQt4.cmake				\
 	cmake/modules/GObjectIntrospectionMacros.cmake		\
 	cmake/modules/MacroBoolTo01.cmake			\
diff --git a/NEWS b/NEWS
index 22f7e54..19812f9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,33 @@
 Release 0.41.0
         core:
+         * Add the support for version 5 + revision 6 documents. Bug #85368
+         * Add initial support for Signature handling
+         * Initialize gamut mapping multipliers in ::copy() functions. Bug #90697
+         * Implement jpx streams support with depth < 8
+         * Handle SMaskInData = 0 for JPX encoded images. Bug #93468
+         * Fix rendering of some broken PDF files. Bug #92508
+         * PSOutputDev: Support for LZW encoding
+         * PSOutputDev: Add support for Flate compression in Level 3 output.
+         * SplashOuputDev: Implement function shading. Bug #94441
+         * SplashOuputDev: Improve rendering of some non embedded fonts. Bug #94054
+         * SplashOuputDev: Fall back to Gfx implementation of tiling pattern if repetition rate is small. Bug #90596
+         * SplashOuputDev: Implementation of Matte entries in softmasks of softmasked images. Bug #22473
+         * SplashOuputDev: assure line width > 0 in case of text stroke. Bug #94038
+         * TextOuputDev: Cache result of inner loop in visitDepthFirst. Bug #77087
+         * Avoid attempting a tiling pattern fill with a singular transform matrix
+
+        utils:
+         * pdfinfo: Add option to show document structure
+         * pdfsig: New command that gives information about signature
+
+        qt4:
+         * Fix bug in links to remote documents getting the page number wrong sometimes
+
+        qt5:
+         * Fix bug in links to remote documents getting the page number wrong sometimes
+
+Release 0.41.0
+        core:
          * CairoOutputDev: add missing font types (fontCIDType0COT and fontTrueTypeOT). Bug #93559
          * SplashOutputDev: Adjust limit check and check in addition bitmap pointer. Bug #94053
 
diff --git a/configure.ac b/configure.ac
index 8cc9044..57639ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 m4_define([poppler_version_major],[0])
-m4_define([poppler_version_minor],[41])
+m4_define([poppler_version_minor],[42])
 m4_define([poppler_version_micro],[0])
 m4_define([poppler_version],[poppler_version_major.poppler_version_minor.poppler_version_micro])
 
diff --git a/cpp/Doxyfile b/cpp/Doxyfile
index beb3961..70cb343 100644
--- a/cpp/Doxyfile
+++ b/cpp/Doxyfile
@@ -31,7 +31,7 @@
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 0.41.0
+PROJECT_NUMBER         = 0.42.0
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
 # base path where the generated documentation will be put.
diff --git a/poppler/Makefile.am b/poppler/Makefile.am
index de6748b..df64dbf 100644
--- a/poppler/Makefile.am
+++ b/poppler/Makefile.am
@@ -89,7 +89,7 @@
 nss_includes =                  \
 	$(NSS3_CFLAGS)
 
-nss_headers =
+nss_headers =                   \
 	SignatureHandler.h
 
 endif	
@@ -327,7 +327,7 @@
 	$(win32_libs)
 
 libpoppler_la_LDFLAGS =				\
-	-version-info 58:0:0			\
+	-version-info 59:0:0			\
 	@create_shared_lib@			\
 	@auto_import_flags@
 
diff --git a/qt4/src/Doxyfile b/qt4/src/Doxyfile
index a272f63..41bc8e4 100644
--- a/qt4/src/Doxyfile
+++ b/qt4/src/Doxyfile
@@ -31,7 +31,7 @@
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 0.41.0
+PROJECT_NUMBER         = 0.42.0
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
 # base path where the generated documentation will be put.
diff --git a/qt5/src/Doxyfile b/qt5/src/Doxyfile
index 4236e3d..9e4df28 100644
--- a/qt5/src/Doxyfile
+++ b/qt5/src/Doxyfile
@@ -31,7 +31,7 @@
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 0.41.0
+PROJECT_NUMBER         = 0.42.0
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
 # base path where the generated documentation will be put.