Poppler 0.50
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e0340b..54294e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@
 endif()
 
 set(POPPLER_MAJOR_VERSION "0")
-set(POPPLER_MINOR_VERSION "49")
+set(POPPLER_MINOR_VERSION "50")
 set(POPPLER_MICRO_VERSION "0")
 set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}")
 
@@ -502,7 +502,7 @@
 else(MSVC)
 add_library(poppler SHARED ${poppler_SRCS})
 endif(MSVC)
-set_target_properties(poppler PROPERTIES VERSION 65.0.0 SOVERSION 65)
+set_target_properties(poppler PROPERTIES VERSION 66.0.0 SOVERSION 66)
 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/NEWS b/NEWS
index 619d7f4..bc92685 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,28 @@
+Release 0.50.0
+        core:
+         * PSOutputDev: Fix PS conversion for some files. Bug #63963
+         * Fix Outline parsing on broken documents. Bug #98732
+         * Fix PDFDoc::saveIncrementalUpdate()'s detection of document being modified. Bug #96561
+         * SplashOutputDev: Read softmask into memstrean in case of matte. Bug #97803
+         * Bail out if Hints nBitsNumObjects or nBitsDiffGroupLength are greater than 32. Bug #94941
+         * CairoOutputDev: initialize CairoOutputDev::antialias. Bug #98983
+         * Fix crash when loading some thumbnails. Bug #97870
+
+        utils:
+         * pdftoppm: Fix -tiff -gray/-mono incorrect output.
+         * pdftops: add -passlevel1customcolor. Bug #97193
+
+
+        build system:
+         * Default to libopenjpeg2 instead of libopenjpeg1
+
+        qt:
+         * Support OCG state change links
+
+        glib:
+         * Use g_slice_new0 for PopplerActionLayer. Bug #98786
+
+
 Release 0.49.0
         core:
          * Merge type3 glyph handling from xpdf 3.04. Bug #96667
diff --git a/configure.ac b/configure.ac
index e7ef44f..94dfa06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 m4_define([poppler_version_major],[0])
-m4_define([poppler_version_minor],[49])
+m4_define([poppler_version_minor],[50])
 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 e0e073e..96b5f2f 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.49.0
+PROJECT_NUMBER         = 0.50.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 15aa546..de9c983 100644
--- a/poppler/Makefile.am
+++ b/poppler/Makefile.am
@@ -327,7 +327,7 @@
 	$(win32_libs)
 
 libpoppler_la_LDFLAGS =				\
-	-version-info 65:0:0			\
+	-version-info 66:0:0			\
 	@create_shared_lib@			\
 	@auto_import_flags@
 
diff --git a/qt4/src/CMakeLists.txt b/qt4/src/CMakeLists.txt
index 2b55e6b..18c35f8 100644
--- a/qt4/src/CMakeLists.txt
+++ b/qt4/src/CMakeLists.txt
@@ -30,7 +30,7 @@
 )
 qt4_automoc(${poppler_qt4_SRCS})
 add_library(poppler-qt4 SHARED ${poppler_qt4_SRCS})
-set_target_properties(poppler-qt4 PROPERTIES VERSION 4.10.0 SOVERSION 4)
+set_target_properties(poppler-qt4 PROPERTIES VERSION 4.11.0 SOVERSION 4)
 target_link_libraries(poppler-qt4 poppler ${QT4_QTCORE_LIBRARY} ${QT4_QTGUI_LIBRARY} ${QT4_QTXML_LIBRARY})
 if(MSVC)
 target_link_libraries(poppler-qt4 poppler ${poppler_LIBS})
diff --git a/qt4/src/Doxyfile b/qt4/src/Doxyfile
index 6111443..3b0416c 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.49.0
+PROJECT_NUMBER         = 0.50.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/qt4/src/Makefile.am b/qt4/src/Makefile.am
index 2fa73b0..6030f28 100644
--- a/qt4/src/Makefile.am
+++ b/qt4/src/Makefile.am
@@ -4,6 +4,7 @@
 libpoppler_qt4_include_HEADERS =		\
 	poppler-qt4.h				\
 	poppler-link.h				\
+	poppler-link-private.h			\
 	poppler-annotation.h			\
 	poppler-form.h				\
 	poppler-optcontent.h			\
@@ -60,7 +61,7 @@
 	$(POPPLER_QT4_LIBS)
 
 libpoppler_qt4_la_LDFLAGS =			\
-	-version-info 14:0:10			\
+	-version-info 15:0:11			\
 	@create_shared_lib@			\
 	@auto_import_flags@
 
diff --git a/qt5/src/CMakeLists.txt b/qt5/src/CMakeLists.txt
index b4513a7..1dee84a 100644
--- a/qt5/src/CMakeLists.txt
+++ b/qt5/src/CMakeLists.txt
@@ -30,7 +30,7 @@
   ArthurOutputDev.cc
 )
 add_library(poppler-qt5 SHARED ${poppler_qt5_SRCS})
-set_target_properties(poppler-qt5 PROPERTIES VERSION 1.7.0 SOVERSION 1)
+set_target_properties(poppler-qt5 PROPERTIES VERSION 1.8.0 SOVERSION 1)
 target_link_libraries(poppler-qt5 poppler ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Xml_LIBRARIES})
 if(MSVC)
 target_link_libraries(poppler-qt5 poppler ${poppler_LIBS})
diff --git a/qt5/src/Doxyfile b/qt5/src/Doxyfile
index f078e10..201205b 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.49.0
+PROJECT_NUMBER         = 0.50.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/Makefile.am b/qt5/src/Makefile.am
index 7f81a76..430be03 100644
--- a/qt5/src/Makefile.am
+++ b/qt5/src/Makefile.am
@@ -4,6 +4,7 @@
 poppler_include_HEADERS =			\
 	poppler-qt5.h				\
 	poppler-link.h				\
+	poppler-link-private.h			\
 	poppler-annotation.h			\
 	poppler-form.h				\
 	poppler-optcontent.h			\
@@ -60,7 +61,7 @@
 	$(POPPLER_QT5_LIBS)
 
 libpoppler_qt5_la_LDFLAGS =			\
-	-version-info 8:0:7			\
+	-version-info 9:0:8			\
 	@create_shared_lib@			\
 	@auto_import_flags@