poco/doc/99100-ReleaseNotes.page

2740 lines
153 KiB
Plaintext
Raw Normal View History

POCO C++ Libraries Release Notes
AAAIntroduction
Release 1.12.0 (#3676) * updated README.md * Create close-inactive-issues.yml * PocoDoc: fix iframe sandboxing * create poco-1.11.3 branch, bump version * update copyright date * #3567: check legacy provider existence for legacy exception #3567 * fix(OpenSSLInitializer): unload provider on uninitialize (#3567) * fix(OpenSSLInitializer): fix provider unloading (#3567) * fix(OpenSSLInitializer): revert unload provider on uninitialize (#3567) * fix(MySQL): MySQL UUID binding temporary string #3587 * update CI link in README.md * #3632: add overloads to ctor and connect() to allow passing a Poco::Net::StreamSocket/Poco::Net::SecureStreamSocket to enable TLS connections without introduding a direct dependency to NetSSL. * updated changelog * devel-release-1.12.0 (#3673) * Fix percent-encoded fragment modification in Poco::URI Before this commit using Poco::URI class to parse specific URIs that had percent-encoded fragment identifier resulted in the loss of information concerning the way the fragment identifier was encoded. There could be the cases when the result of Poco::URI object serialization to string did not match the original URI string Poco::URI object was created from. In this commit we change the internal logic of fragment processing in Poco::URI, so that the fragment is stored inside the class in raw form (the same way as query string). The methods getFragment and setFragment work the old way (with percent-decoded fragment values), new methods getRawFragment and setRawFragment are added to get access to the original fragment representation. * Remove SDK version from VS2022 test projects (#3607) * Remaining changes for Windows on ARM64 support (#3608) * Add ARM64 to Foundation * Changed lib, and bin folders of ARM64 builds * Updated buildwin.cmd * Added missing closing </File> tags (#3610) * feat(Platform): LoongArch support #3460 * fix(PollSet): default enable epoll on linux * default disable new state on move * fix(UDPHandler): data race #3613; clean up all Net tsan warnings * ProGen vs170 projects with Win32,x64,ARM64 (#3612) * fix(TCPServer): #1884 #1965 * fix(LogFile): LogFile_STD (LogFileImpl) fails to recover from getting out of space #2084 * Avoid clang 10 -Wimplicit-int-float-conversion warning/error when converting int into float (#2943) Example of warning (error when using -Werror) we get with clang 10: /remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:444:14: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion] if (from > std::numeric_limits<T>::max()) ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:332:4: note: in instantiation of function template specialization 'Poco::Dynamic::VarHolder::checkUpperLimitFloat<float, int>' requested here checkUpperLimitFloat<F,T>(from); ^ /remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:2175:3: note: in instantiation of function template specialization 'Poco::Dynamic::VarHolder::convertToSmaller<float, int>' requested here convertToSmaller(_val, val); ^ * chore(ci): run ci on pull requests * #2569: Added TIMESTAMP data type support on MySQL (#3471) * Unit test for TIMESTAMP data type in MySQL. * Added support for TIMESTAMP data type. Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com> * MongoDB::Array: int --> size_t in get for consistency with size(), new helper functions to add elements to an array. (#3016) * fix(CppUnit): enable_if disarm numeric notEqualsMessage * fix(CppUnit): CppUnit notEqualsMessage causing compile errors #3615 * Syslog: Include Facility to Syslog Message (#3452) * Fixed indentation * Added Facility to Message in RemoteSyslogListener * Net: make MessageHeader limits configurable (#3404) * Add Message::getAll (#3104) * chore(Message): fix formatting for #3104 * Output to stderr in Poco::WindowsConsoleChannel (#3058) - Fixes #3056 * HTTPDigestCredentials added support for RFC7616 algorithms (#3026) * chore(SHA2Engine): fix formatting for #3026 * Added support for SQLite transaction types using Session property (#3018) * chore(SQLite): fix enum names case for #3018 * fix(HTTPResponse): Add 425 / HTTP_TOO_EARLY to HTTPResponse::HTTPStatus #3592 * fix(SQLite): windows build (global var does not link) #3018 * Added missing SocketProactor class to ProGen source (#3616) * Added missing SocketProactor class to ProGen source * ProGen'd VS2022 Net project * chore(Net): regenerate VS 140,150,160 projects #3614 * Handle MariaDB JSON columns since they are stored as `longtext` (#3621) * Also extract BLOBs when reading longtext columns as std::string * Fix error message in unit test * Added unit test to read longtext columns as std::string * Use `tx_isolation` when connected to MariaDB regardless of version (#3622) * Use `tx_isolation` when connected to MariaDB regardless of version * Rename variable * Handle MariaDB server info in the middle of the string * Updated to PCRE version 8.45 (#3623) * Add missing changes from zlib update * Updated to PCRE version 8.45 Build on Win32 and Linux, RegularExpressionTest was successful * Fix/tsan (#3617) * fix(Foundation): tsan warnings fixes * fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress * fix(Util): tsan fixes * fix(netSSL_OpenSSL): tsan fixes * fix(Data): tsan warnings fixes * feat(ci): add tsan job * feat(ci): add tsan job, another attempt * feat(ci): add tsan job, 3rd attempt * fix(Foundation): tsan warnings fixes * fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress * fix(Util): tsan fixes * fix(netSSL_OpenSSL): tsan fixes * fix(Data): tsan warnings fixes * feat(ci): add tsan job * feat(ci): add tsan job, another attempt * feat(ci): add tsan job, 3rd attempt * fix(ResultMetadata): memory leak #3474 * feat(ci): disable ActiveDispatcher tests for tsan runs * feat(ci): try to fix tsan options file detection (again) * chore(TestLibrary: correct spelling * fix(ci): fix tsan run; add -y to apt; disable samples build for some jobs * fix(ci): add mysql ports * feat(ci): add VS asan * feat(double-conversion): Upgrade double-conversion to v3.2.0 #3624 * chore(asan): disable msvc asan build (dll not found) * chore(double-conversion): move NumericString.h before double-conversion includes to prevent min/max collision; reinstate lost loongarch64 * chore(JSON): sync pdjson with upstream * fix(Statement): Poco::Data::Statement becomes unusable after exception #2287 * added facility to SyslogChannel (#3453) * TCPServerDispatcher.h: missing <atomic> (#2961) Fixes: b8af168151fe0147fb06557029002ae226dcc549 Fixes: #1965 * Windows embedded OpenSSL: Fixed bogus warning during compilation (External OpenSSL defined but internal headers used - possible mismatch!) (#3627) * fix(double-conversion): nios2 and riscv defines * fix(double-conversion): riscv defines * fix(cmake): TestLibrary debug postfix * fix(cmake): add WebNotifier to samples #3184 * doc(Crypto): Fix error in find_package example #3088 * fix(Event): Event data race #3629 * fix(AsyncChannel): race condition in AsyncChannel close/log #1039 * fix(Zip): Zip 64-bit extensions not set #2590 (tentative) (#3604) * PocoDoc: fix handling of font-style tags if tag is immediately followed by punctuation * Static code analyzer warnings #2688 * MinGW: fatal error: kernelspecs.h: No such file #2691 * Poco::Data::SessionPool change connection timeout #3241 * Makefile: space(s) following target name will break build (during link) #3062 * json format PrintHandler #2678 * indicate compiler that functions will never return (#3639) * fix warning C4717: 'format<std::vector<std::any,std::allocatorstd::an… (#3640) * fix warning C4717: 'format<std::vector<std::any,std::allocatorstd::any > >': recursive on all control paths, function will cause runtime stack overflow * keep origin format. * fix(format): scope * fix(Crypto): libPocoCrypto.so: undefined reference to pthread_atfork when linking statically with OpenSSL 1.1 #3073 * chore(LocalConfigurationView): fix style #3529 * fix(ConfigurationView): ConfigurationView and JSON is broken for array access #3635 * FifoBuffer.advance method not throw exception when length==0 (#3641) * fifobuffer not throw error when length = 0 * Update FIFOBuffer.h fix indentation Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com> * fix(URI): Decoding URI query parameters ( ::getQueryParameters) incompatible with Spring 5 #2619 * fix(NTPClient): NTPClient ignores second fractions #2614 * chore(JSON): add test for #2612 * fix(Platform): MinGW also defines __GNUC__. #3195 * Fix some clang 10 -Wsign-compare warnings (#2960) In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Object.h:22: In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Array.h:23: In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/Var.h:26: In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/VarHolder.h:22: In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumberFormatter.h:22: /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:220:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:229:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:240:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:249:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ 4 errors generated. * chore(README): Add vcpkg installation instructions #2940 * fix(SQLite): SQLite::Connector::open() crashes on db file with non existing directory #2285 * fix(MailMessage): read hangs on missing final multipart boundary #2401 * fix(NumberParser): Rounds very large negative numbers to the incorrect values #3580 * fix(JSON::Stringifier): JSON Serializing NAN #3251 * feat(Timespan): Add std::chrono support #2576 #2623 * fix(strToInt): overflows #3580 * fix(strToInt): thousand separator regression #3580 * fix(MySQL::Extractor): MySQL Extractor #2521 * feat(FTPClientSession): activeDataConnection 1.11.0 cannot set specific data port #3372 * feat(Cipher): No access to padding in Cipher #3374 * feat(TypeHandler): DB into() does not compile for more than 20 members in a tuple #3342 * fix(NumberFormatter): Negative precision in NumberFormatter::format() #2511 * Make ParallelSocketReactor thread namable (#3642) make ParallelSocketReactor thread namable * fix(Redis): Poco::Redis after executing auth command next command always return OK #2457 * chore(NumberParserTest): add test for #2441 * avoid clang tidy warning (#3646) * Revert "avoid clang tidy warning (#3646)" (#3648) This reverts commit b23488d6feab13645ce306fd02fd50635f54b25f. * fix(VarHolder): limits check * As of C++11, std::swap is noexcept. #2386 (#3645) * As of C++11, std::swap is noexcept. #2386 * fix(Any): remove throw on swap * fix(Any): As of C++11, std::swap is noexcept. #2386 * fix(Any): make size const #2386 * fix(SimpleRowFormatter): clang won't compile noexcept #2386 * a couple of arm fixes * fix(Any): As of C++11, std::swap is noexcept. #2386 * fix(AnyTest): local() for POCO_NO_SOO# 2386 * test(RSACipher): RSA encryption without private key #2367 * chore(RSACipherTest): delete ciphers #2367 * add separate accessors and mutators for connect, send and receive tim… (#3476) * add separate accessors and mutators for connect, send and receive timeouts * implement timeout methods outside of class declaration to conform to existing code structure * Update HTTPSession.h Co-authored-by: bfoster <bfoster@malwarebytes.com> Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com> * Make poll set interruptable (#3644) * Make poll set interruptable * open test for poll set * fix poll set wake up test * fix build error * feat(SecureSocketImpl): how to set the socket of SecureSocketImpl to no-blocking? #2352 * better socket reactor wake up (#3647) * better socket reactor wake up * Remove documentation comment from source file Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com> * test(MailMesage): MailMessage::read() chokes on Content-disposition #3650 * chore(Net/samples): tcpserver missing from Net/samples/CMakeLists.txt #3651 * fix(CMake): Linking with Foundation on Android gives error #3652 #3653 * #2821: Poco::Buffer: full on creation? - add documentation describing the behavior. * add note regarding receiveFrame with Poco::Buffer * merge changes from 1.11.3 * #3633: Redis: Support Authentication * #3658: Support for chunked transfer encoding trailer * formatHex with lower case (#3657) * feat(Socket): add lastErrorDesc() * fix(Socket): Socket::select EPOLL implementation returns socket in exceptList when empty list is given #3655; mark select as deprecated #1459 * Fix/poll set race (#3630) * fix(PollSet): PollSet data race #3628 * fix(SocketConnector): SocketConnector test #2875 * fix(PollSet): optimize the amount of locked code; fix and simplify wakeUp logic * fix(SocketConnectorTest): fix test memleak (data not flowing, handlers not deleted) #2875 * fix(PollSet): clear() and tests * fix(PollSet): #1459 #3628 #3655 #3661 * fix(PollSet): Integrate windows epoll #2091, #3649 * chore(ProGen): MSVC does not properly recognize std version #3665 * fix(PollSet): eventfd call arg; add wepoll to CMakelists.txt * fix(PollSet): CMakelists.txt * fix(cmake): MSVC does not properly recognize std version #3665 * chore(vscode): add mac config * fix(PollSet): PollSet::add()/update() semantics #3661 * Feat/pcre2 (#3663) * upgrade to pcre2 * use pcre2_*_8 names * fix pcre2 lib name for unbundled build * CMake changes for PCRE2 * add missing macro for unbundled build * add PCRE2_STATIC * updated VS project files for pcre2 Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com> * Revert "formatHex with lower case (#3657)" (#3670) This reverts commit b1823b61c0902252d1e15e8a7175f40e31a865b2. * Always set thread names on POSIX platforms (#3384) * chore: gitignore vim .swp files * feat(POSIX): Always set thread names. I'm not sure about the original intent to hide it under a DEBUG macro. Naming the threads in release mode makes it easier to see runtime application and know which thread pool uses how many threads and what their names are. Firefox, Chromium and many other apps do this on Linux. * Remove trailing whitespace (#3668) * doc: update CHANGLEOG Co-authored-by: Daniil Zotkin <zotkin@rutoken.ru> Co-authored-by: Hernan Martinez <hernan.c.martinez@gmail.com> Co-authored-by: Romain Geissler @ Amadeus <romain.geissler@amadeus.com> Co-authored-by: hectots <monkey.instinct@gmail.com> Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com> Co-authored-by: Matej Kenda <matejken@gmail.com> Co-authored-by: BeBinder <93721965+BeBinder@users.noreply.github.com> Co-authored-by: Tavi Cacina <tavi-cacina@users.noreply.github.com> Co-authored-by: Mathieu Stefani <m.stefani@abc-arbitrage.com> Co-authored-by: Fritz Elfert <fritz@fritz-elfert.de> Co-authored-by: Maksim Kita <kitaetoya@gmail.com> Co-authored-by: Spaky <Spaky@users.noreply.github.com> Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com> Co-authored-by: Matej Kenda <matej.kenda@topit.si> Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com> Co-authored-by: Guillermo Frontera <gfrontera86@gmail.com> Co-authored-by: junwufan <shelllet.com@gmail.com> Co-authored-by: JackyWoo <wuchienchao@qq.com> Co-authored-by: Ben Foster <bfoster7593@gmail.com> Co-authored-by: bfoster <bfoster@malwarebytes.com> Co-authored-by: Arun Chandrasekaran <arun@paravision.ai> Co-authored-by: John Vandenberg <jayvdb@gmail.com> Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com> Co-authored-by: Daniil Zotkin <zotkin@rutoken.ru> Co-authored-by: Hernan Martinez <hernan.c.martinez@gmail.com> Co-authored-by: Romain Geissler @ Amadeus <romain.geissler@amadeus.com> Co-authored-by: hectots <monkey.instinct@gmail.com> Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com> Co-authored-by: Matej Kenda <matejken@gmail.com> Co-authored-by: BeBinder <93721965+BeBinder@users.noreply.github.com> Co-authored-by: Tavi Cacina <tavi-cacina@users.noreply.github.com> Co-authored-by: Mathieu Stefani <m.stefani@abc-arbitrage.com> Co-authored-by: Fritz Elfert <fritz@fritz-elfert.de> Co-authored-by: Maksim Kita <kitaetoya@gmail.com> Co-authored-by: Spaky <Spaky@users.noreply.github.com> Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com> Co-authored-by: Matej Kenda <matej.kenda@topit.si> Co-authored-by: Guillermo Frontera <gfrontera86@gmail.com> Co-authored-by: junwufan <shelllet.com@gmail.com> Co-authored-by: JackyWoo <wuchienchao@qq.com> Co-authored-by: Ben Foster <bfoster7593@gmail.com> Co-authored-by: bfoster <bfoster@malwarebytes.com> Co-authored-by: Arun Chandrasekaran <arun@paravision.ai> Co-authored-by: John Vandenberg <jayvdb@gmail.com>
2022-07-08 18:31:16 +02:00
2022-07-18 18:29:18 +02:00
!!!Release 1.12.2
!!Summary of Changes
2022-08-07 12:07:03 +02:00
- GH #3460 fix(Platform): LoongArch support
- GH #3688 Linking Crypto-testrunner fails
- GH #3693 VS2022 compilation issues
- GH #3698 SIGABRT in OSSL_PROVIDER_unload with static OpenSSL3
- GH #3699 POSIX Event state need not be atomic
- GH #3700 Release script must include build_vs170.cmd
- GH #3708 wakeup fd is never read
- GH #3711 lowercase winsock2 and iphlpapi to allow cross compile
- GH #3716 Compiling with clang_cl_x64_x64 on Visual Studio 2022 failed
- GH #3717 Only support extracting JSON fields when the SDK supports it
- GH #3719 PocoNet Project File does not support Visual Studio 2022
- GH #3720 Update max MSVC version information
- GH #3721 fails to build with Visual Studio projects
- GH #3722 Added missing Crypto Header to ProGen source
- GH #3724 Crypto: Progen again to add new files and bring back ARM64 configuration
- GH #3727 Add how to install using Conan section on README
- GH #3733 Poco::format and C++20
- GH #3734 g++ C++20 warnings
2022-07-18 18:29:18 +02:00
2022-07-16 21:42:57 +02:00
!!!Release 1.12.1
!!Summary of Changes
- GH #3677 PocoFoundationConfig.cmake should now check for PCRE2
- GH #3686 SIGSEGV in OSSL_PROVIDER_unload with static OpenSSL3
2022-05-17 07:24:22 +02:00
!!!Release 1.12.0
!!Summary of Changes
2022-07-08 17:15:06 +02:00
- This release introduces Prometheus library
- Upgraded bundled PCRE to PCRE2 10.40
- Upgraded double-conversion to v3.2.0
- Small object optimization for Any and Dynamic::Var (compile-time option, enabled by default)
- GH #709: Poco::Dynamic::Var memory leak
- GH #1039 Race condition in Poco::AsyncChannel close/log
- GH #1459 Fix Poco::Net::Socket::select() epoll and poll implementations
- GH #1687 SQLite Notifier has no table information
- GH #1884 Poco::Net::TCPServerDispatcher::run() issue
- GH #2084 LogFile_STD (LogFileImpl) fails to recover from getting out of space
- GH #2085 Crash due to race condition in TCPServerDispatcher
- GH #2091 Integrate windows poll
- GH #2222 Warning when compiling my that's use VarHolder
- GH #2270 Poco::Net::HTTPClientSession not supporting binding source address for proxy connect
- GH #2271 Poco::Net::HTTPClientSession source IP address
- GH #2285 Poco::Data::SQLite::Connector::open() crashes on db file with non existing directory
- GH #2287 Poco::Data::Statement becomes unusable after exception
- GH #2352 Allow setting the socket of SecureSocketImpl to no-blocking
- GH #2386 As of C++11, std::swap is noexcept
- GH #2401 Poco::Net::MailMessage::read hangs on missing final multipart boundary
- GH #2457 Poco::Redis after executing "auth" command next command always return "OK"
- GH #2465 Operating system specific thread ID is not available any more in Logger/Formatter
- GH #2470 Can't use Poco::MongoDB::Cursor on aggregation cursor
- GH #2511 Negative precision in NumberFormatter::format()
- GH #2513 Poco::Net::SocketConnector unregistering
- GH #2516 SHA3Engine hard to use with HMACEngine duplicate enhancement
- GH #2521 Poco::Data::MySQL::Extractor null value extraction
- GH #2538 Poco::Data::Session::connector() returns empty string for MySQL session
- GH #2569 Poco::Data::MySQL timestamp
- GH #2576 Add std::chrono support to Timespan
- GH #2590 Poco::Zip 64-bit extensions not set
- GH #2614 Poco::Net::NTPClient ignores second fractions enhancement
- GH #2619 Decoding URI query parameters incompatible with Spring 5
- GH #2638 Upgrade Windows SDK Used for Building Poco
- GH #2688 Static code analyzer warnings
- GH #2691 MinGW: fatal error: kernelspecs.h: No such file
- GH #2706 [windows bug] pollset WSAPoll with non blocking socket will not report error
- GH #2755 Poco::Data::MySQL LONGTEXT
- GH #2821 Poco::Buffer: full on creation
- GH #2849 setPadding does nothing when OpenSSL 1.1.x is used
- GH #2864 SessionImpl begin
- GH #2940 Add vcpkg installation instructions
- GH #2943 Avoid clang 10 -Wimplicit-int-float-conversion warning/error when converting int into float
- GH #2959 Fix percent-encoded fragment modification in Poco::URI
- GH #2980 Memory leaks in Poco::Any
- GH #2986 Once exhausted, Poco::ObjectPool does not lend out returned objects
- GH #3016 Poco::MongoDB::Array interface improvements
- GH #3026 Poco::Net::HTTPDigestCredentials added support for RFC7616 algorithms
- GH #3039 Poco errors with _DEBUG and NDEBUG
- GH #3052 Fix constness of URI::getPathSegments
- GH #3088 Fix error in find_package example
- GH #3056 Inconsistent behavior ConsoleChannel vs. WindowsConsoleChannel
- GH #3062 Makefile: space(s) following target name will break build (during link)
- GH #3073 libPocoCrypto.so: undefined reference to `pthread_atfork' when linking statically with OpenSSL 1.1
- GH #3104 Publicly expose Poco::Message parameters
- GH #3105 CMake: use GNUInstallDirs
- GH #3175 SharedLibrary::isLoaded() not thread safe
- GH #3195 MinGW also defines __GNUC__
- GH #3240 Task::postNotification possible leak
- GH #3241 Poco::Data::SessionPool change connection timeout
- GH #3251 Poco::JSON Serializing NAN
- GH #3253 Arbitrary indent of 2 applied to JSON string objects Var conversion
- GH #3261 Upgrade to PCRE2 latest version
- GH #3283 DatagramSocket does not allow IPV6_V6ONLY
- GH #3296 Add move semantics to Net (sockets and addresses)
- GH #3297 Poco::Foundation Fails to Compile With POCO_ENABLE_SOO Defined
- GH #3323 Extend format patterns %T and %I to support native threads
- GH #3342 DB into() does not compile for more than 20 members in a tuple
- GH #3357 Add socket proactor
- GH #3359 Make PollSet::poll() interruptible
- GH #3371 SocketReactor::getNotifier() does not use socket.impl()
- GH #3372 FTPClientSession::activeDataConnection 1.11.0 cannot set specific data port
- GH #3374 No access to padding in Cipher
- GH #3375 Poco::Net::PollSet::SocketModeMap poll(const Poco::Timespan& timeout) hasSignaledFDs issue slow down connections
- GH #3378 Poco::Net::PollSet function setMode 1.11.0 cause while(1) on windows
- GH #3380 Windows SO_REUSEADDR is neither reliable nor safe
- GH #3384 Always set thread names on POSIX platforms
- GH #3385 Poco::Net::IPAddress::tryParse does not work for "::"
- GH #3396 Poco::Data::ODBC - dbEncoding property not used for insert/update
- GH #3399 IPAddress::isLoopback() returns false for IPv4 mapped in IPv6
- GH #3404 Poco::Net: make MessageHeader limits configurable
- GH #3415 OpenSSL 3.0 support
- GH #3417 Calling SocketReactor's run() method in a program's main thread yields a lot of null pointer exceptions
- GH #3421 Cannot use HMACEngine with SHA2Engine
- GH #3452 Syslog: Include Facility to Syslog Message
- GH #3453 added facility to SyslogChannel
- GH #3460 LoongArch support
- GH #3481 Poco::JSON DataType support for MySQL
- GH #3482 Visual Studio 2022 (v170) missing from buildwin.cmd
- GH #3486 Windows on ARM64 support
- GH #3516 Fix OpenSSL 3.0 deprecated warnings
- GH #3529 Added LocalConfigurationView to only search inside the viewed scope
- GH #3543 Visual Studio Warning C4244
- GH #3558 Race condition in SSLManager
- GH #3561 Add envelope to crypto
- GH #3569 Readded named substring support for regexes
- GH #3580 Rounds very large negative numbers to the incorrect values
- GH #3592 Add 425 / HTTP_TOO_EARLY to HTTPResponse::HTTPStatus
- GH #3598 Poco::Net::Socket::available does not always return correct value for UDP
- GH #3602 Add Poco::Data::JSONRowFormatter
- GH #3603 Update minimum GCC version information
- GH #3611 VS2022 Arm64 projects missing or do not load
- GH #3613 Poco::Net::UDPHandler data race
- GH #3620 MariaDB still uses tx_isolation for transaction isolation unlike MySQL 8+ which uses transaction_isolation
- GH #3624 Upgrade double-conversion to v3.2.0
- GH #3628 Poco::Net::PollSet data race
- GH #3629 Event data race
- GH #3633 Poco::Redis: Support Authentication
- GH #3635 ConfigurationView and JSON is broken for array access
- GH #3639 Bugcheck: indicate compiler that functions will never return
- GH #3640 fix warning C4717: 'format<vector<any>': recursive on all control paths, function will cause runtime stack overflow
- GH #3641 FifoBuffer.advance method not throw exception when length==0
- GH #3642 Make ParallelSocketReactor thread namable
- GH #3651 Poco::Net::TCPserver missing from Net/samples/CMakeLists.txt
- GH #3652 Linking with Foundation on Android gives error
- GH #3655 Poco::Net::Socket::select EPOLL implementation returns socket in exceptList when empty list is given
- GH #3658 Support for chunked transfer encoding trailer
- GH #3661 Poco::Net::PollSet::add()/update() semantics
- GH #3665 MSVC does not properly recognize std version
!!Incompatible Changes and Possible Transition Issues
- All swap operations are noexcept now
- PollSet::add() is mode-cumulative now
- UDPServer now requires explicit starting
- Move semantics for sockets and SocketAddress (compile-time option, disabled by default)
Release 1.12.0 (#3676) * updated README.md * Create close-inactive-issues.yml * PocoDoc: fix iframe sandboxing * create poco-1.11.3 branch, bump version * update copyright date * #3567: check legacy provider existence for legacy exception #3567 * fix(OpenSSLInitializer): unload provider on uninitialize (#3567) * fix(OpenSSLInitializer): fix provider unloading (#3567) * fix(OpenSSLInitializer): revert unload provider on uninitialize (#3567) * fix(MySQL): MySQL UUID binding temporary string #3587 * update CI link in README.md * #3632: add overloads to ctor and connect() to allow passing a Poco::Net::StreamSocket/Poco::Net::SecureStreamSocket to enable TLS connections without introduding a direct dependency to NetSSL. * updated changelog * devel-release-1.12.0 (#3673) * Fix percent-encoded fragment modification in Poco::URI Before this commit using Poco::URI class to parse specific URIs that had percent-encoded fragment identifier resulted in the loss of information concerning the way the fragment identifier was encoded. There could be the cases when the result of Poco::URI object serialization to string did not match the original URI string Poco::URI object was created from. In this commit we change the internal logic of fragment processing in Poco::URI, so that the fragment is stored inside the class in raw form (the same way as query string). The methods getFragment and setFragment work the old way (with percent-decoded fragment values), new methods getRawFragment and setRawFragment are added to get access to the original fragment representation. * Remove SDK version from VS2022 test projects (#3607) * Remaining changes for Windows on ARM64 support (#3608) * Add ARM64 to Foundation * Changed lib, and bin folders of ARM64 builds * Updated buildwin.cmd * Added missing closing </File> tags (#3610) * feat(Platform): LoongArch support #3460 * fix(PollSet): default enable epoll on linux * default disable new state on move * fix(UDPHandler): data race #3613; clean up all Net tsan warnings * ProGen vs170 projects with Win32,x64,ARM64 (#3612) * fix(TCPServer): #1884 #1965 * fix(LogFile): LogFile_STD (LogFileImpl) fails to recover from getting out of space #2084 * Avoid clang 10 -Wimplicit-int-float-conversion warning/error when converting int into float (#2943) Example of warning (error when using -Werror) we get with clang 10: /remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:444:14: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion] if (from > std::numeric_limits<T>::max()) ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:332:4: note: in instantiation of function template specialization 'Poco::Dynamic::VarHolder::checkUpperLimitFloat<float, int>' requested here checkUpperLimitFloat<F,T>(from); ^ /remote/intdeliv/components/osp/Poco/Foundation/19-0-0-6/include/Poco/Dynamic/VarHolder.h:2175:3: note: in instantiation of function template specialization 'Poco::Dynamic::VarHolder::convertToSmaller<float, int>' requested here convertToSmaller(_val, val); ^ * chore(ci): run ci on pull requests * #2569: Added TIMESTAMP data type support on MySQL (#3471) * Unit test for TIMESTAMP data type in MySQL. * Added support for TIMESTAMP data type. Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com> * MongoDB::Array: int --> size_t in get for consistency with size(), new helper functions to add elements to an array. (#3016) * fix(CppUnit): enable_if disarm numeric notEqualsMessage * fix(CppUnit): CppUnit notEqualsMessage causing compile errors #3615 * Syslog: Include Facility to Syslog Message (#3452) * Fixed indentation * Added Facility to Message in RemoteSyslogListener * Net: make MessageHeader limits configurable (#3404) * Add Message::getAll (#3104) * chore(Message): fix formatting for #3104 * Output to stderr in Poco::WindowsConsoleChannel (#3058) - Fixes #3056 * HTTPDigestCredentials added support for RFC7616 algorithms (#3026) * chore(SHA2Engine): fix formatting for #3026 * Added support for SQLite transaction types using Session property (#3018) * chore(SQLite): fix enum names case for #3018 * fix(HTTPResponse): Add 425 / HTTP_TOO_EARLY to HTTPResponse::HTTPStatus #3592 * fix(SQLite): windows build (global var does not link) #3018 * Added missing SocketProactor class to ProGen source (#3616) * Added missing SocketProactor class to ProGen source * ProGen'd VS2022 Net project * chore(Net): regenerate VS 140,150,160 projects #3614 * Handle MariaDB JSON columns since they are stored as `longtext` (#3621) * Also extract BLOBs when reading longtext columns as std::string * Fix error message in unit test * Added unit test to read longtext columns as std::string * Use `tx_isolation` when connected to MariaDB regardless of version (#3622) * Use `tx_isolation` when connected to MariaDB regardless of version * Rename variable * Handle MariaDB server info in the middle of the string * Updated to PCRE version 8.45 (#3623) * Add missing changes from zlib update * Updated to PCRE version 8.45 Build on Win32 and Linux, RegularExpressionTest was successful * Fix/tsan (#3617) * fix(Foundation): tsan warnings fixes * fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress * fix(Util): tsan fixes * fix(netSSL_OpenSSL): tsan fixes * fix(Data): tsan warnings fixes * feat(ci): add tsan job * feat(ci): add tsan job, another attempt * feat(ci): add tsan job, 3rd attempt * fix(Foundation): tsan warnings fixes * fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress * fix(Util): tsan fixes * fix(netSSL_OpenSSL): tsan fixes * fix(Data): tsan warnings fixes * feat(ci): add tsan job * feat(ci): add tsan job, another attempt * feat(ci): add tsan job, 3rd attempt * fix(ResultMetadata): memory leak #3474 * feat(ci): disable ActiveDispatcher tests for tsan runs * feat(ci): try to fix tsan options file detection (again) * chore(TestLibrary: correct spelling * fix(ci): fix tsan run; add -y to apt; disable samples build for some jobs * fix(ci): add mysql ports * feat(ci): add VS asan * feat(double-conversion): Upgrade double-conversion to v3.2.0 #3624 * chore(asan): disable msvc asan build (dll not found) * chore(double-conversion): move NumericString.h before double-conversion includes to prevent min/max collision; reinstate lost loongarch64 * chore(JSON): sync pdjson with upstream * fix(Statement): Poco::Data::Statement becomes unusable after exception #2287 * added facility to SyslogChannel (#3453) * TCPServerDispatcher.h: missing <atomic> (#2961) Fixes: b8af168151fe0147fb06557029002ae226dcc549 Fixes: #1965 * Windows embedded OpenSSL: Fixed bogus warning during compilation (External OpenSSL defined but internal headers used - possible mismatch!) (#3627) * fix(double-conversion): nios2 and riscv defines * fix(double-conversion): riscv defines * fix(cmake): TestLibrary debug postfix * fix(cmake): add WebNotifier to samples #3184 * doc(Crypto): Fix error in find_package example #3088 * fix(Event): Event data race #3629 * fix(AsyncChannel): race condition in AsyncChannel close/log #1039 * fix(Zip): Zip 64-bit extensions not set #2590 (tentative) (#3604) * PocoDoc: fix handling of font-style tags if tag is immediately followed by punctuation * Static code analyzer warnings #2688 * MinGW: fatal error: kernelspecs.h: No such file #2691 * Poco::Data::SessionPool change connection timeout #3241 * Makefile: space(s) following target name will break build (during link) #3062 * json format PrintHandler #2678 * indicate compiler that functions will never return (#3639) * fix warning C4717: 'format<std::vector<std::any,std::allocatorstd::an… (#3640) * fix warning C4717: 'format<std::vector<std::any,std::allocatorstd::any > >': recursive on all control paths, function will cause runtime stack overflow * keep origin format. * fix(format): scope * fix(Crypto): libPocoCrypto.so: undefined reference to pthread_atfork when linking statically with OpenSSL 1.1 #3073 * chore(LocalConfigurationView): fix style #3529 * fix(ConfigurationView): ConfigurationView and JSON is broken for array access #3635 * FifoBuffer.advance method not throw exception when length==0 (#3641) * fifobuffer not throw error when length = 0 * Update FIFOBuffer.h fix indentation Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com> * fix(URI): Decoding URI query parameters ( ::getQueryParameters) incompatible with Spring 5 #2619 * fix(NTPClient): NTPClient ignores second fractions #2614 * chore(JSON): add test for #2612 * fix(Platform): MinGW also defines __GNUC__. #3195 * Fix some clang 10 -Wsign-compare warnings (#2960) In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Object.h:22: In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Array.h:23: In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/Var.h:26: In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/VarHolder.h:22: In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumberFormatter.h:22: /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:220:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:229:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:240:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:249:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare] if ((limitCheck - result) < add) return false; ~~~~~~~~~~~~~~~~~~~ ^ ~~~ 4 errors generated. * chore(README): Add vcpkg installation instructions #2940 * fix(SQLite): SQLite::Connector::open() crashes on db file with non existing directory #2285 * fix(MailMessage): read hangs on missing final multipart boundary #2401 * fix(NumberParser): Rounds very large negative numbers to the incorrect values #3580 * fix(JSON::Stringifier): JSON Serializing NAN #3251 * feat(Timespan): Add std::chrono support #2576 #2623 * fix(strToInt): overflows #3580 * fix(strToInt): thousand separator regression #3580 * fix(MySQL::Extractor): MySQL Extractor #2521 * feat(FTPClientSession): activeDataConnection 1.11.0 cannot set specific data port #3372 * feat(Cipher): No access to padding in Cipher #3374 * feat(TypeHandler): DB into() does not compile for more than 20 members in a tuple #3342 * fix(NumberFormatter): Negative precision in NumberFormatter::format() #2511 * Make ParallelSocketReactor thread namable (#3642) make ParallelSocketReactor thread namable * fix(Redis): Poco::Redis after executing auth command next command always return OK #2457 * chore(NumberParserTest): add test for #2441 * avoid clang tidy warning (#3646) * Revert "avoid clang tidy warning (#3646)" (#3648) This reverts commit b23488d6feab13645ce306fd02fd50635f54b25f. * fix(VarHolder): limits check * As of C++11, std::swap is noexcept. #2386 (#3645) * As of C++11, std::swap is noexcept. #2386 * fix(Any): remove throw on swap * fix(Any): As of C++11, std::swap is noexcept. #2386 * fix(Any): make size const #2386 * fix(SimpleRowFormatter): clang won't compile noexcept #2386 * a couple of arm fixes * fix(Any): As of C++11, std::swap is noexcept. #2386 * fix(AnyTest): local() for POCO_NO_SOO# 2386 * test(RSACipher): RSA encryption without private key #2367 * chore(RSACipherTest): delete ciphers #2367 * add separate accessors and mutators for connect, send and receive tim… (#3476) * add separate accessors and mutators for connect, send and receive timeouts * implement timeout methods outside of class declaration to conform to existing code structure * Update HTTPSession.h Co-authored-by: bfoster <bfoster@malwarebytes.com> Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com> * Make poll set interruptable (#3644) * Make poll set interruptable * open test for poll set * fix poll set wake up test * fix build error * feat(SecureSocketImpl): how to set the socket of SecureSocketImpl to no-blocking? #2352 * better socket reactor wake up (#3647) * better socket reactor wake up * Remove documentation comment from source file Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com> * test(MailMesage): MailMessage::read() chokes on Content-disposition #3650 * chore(Net/samples): tcpserver missing from Net/samples/CMakeLists.txt #3651 * fix(CMake): Linking with Foundation on Android gives error #3652 #3653 * #2821: Poco::Buffer: full on creation? - add documentation describing the behavior. * add note regarding receiveFrame with Poco::Buffer * merge changes from 1.11.3 * #3633: Redis: Support Authentication * #3658: Support for chunked transfer encoding trailer * formatHex with lower case (#3657) * feat(Socket): add lastErrorDesc() * fix(Socket): Socket::select EPOLL implementation returns socket in exceptList when empty list is given #3655; mark select as deprecated #1459 * Fix/poll set race (#3630) * fix(PollSet): PollSet data race #3628 * fix(SocketConnector): SocketConnector test #2875 * fix(PollSet): optimize the amount of locked code; fix and simplify wakeUp logic * fix(SocketConnectorTest): fix test memleak (data not flowing, handlers not deleted) #2875 * fix(PollSet): clear() and tests * fix(PollSet): #1459 #3628 #3655 #3661 * fix(PollSet): Integrate windows epoll #2091, #3649 * chore(ProGen): MSVC does not properly recognize std version #3665 * fix(PollSet): eventfd call arg; add wepoll to CMakelists.txt * fix(PollSet): CMakelists.txt * fix(cmake): MSVC does not properly recognize std version #3665 * chore(vscode): add mac config * fix(PollSet): PollSet::add()/update() semantics #3661 * Feat/pcre2 (#3663) * upgrade to pcre2 * use pcre2_*_8 names * fix pcre2 lib name for unbundled build * CMake changes for PCRE2 * add missing macro for unbundled build * add PCRE2_STATIC * updated VS project files for pcre2 Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com> * Revert "formatHex with lower case (#3657)" (#3670) This reverts commit b1823b61c0902252d1e15e8a7175f40e31a865b2. * Always set thread names on POSIX platforms (#3384) * chore: gitignore vim .swp files * feat(POSIX): Always set thread names. I'm not sure about the original intent to hide it under a DEBUG macro. Naming the threads in release mode makes it easier to see runtime application and know which thread pool uses how many threads and what their names are. Firefox, Chromium and many other apps do this on Linux. * Remove trailing whitespace (#3668) * doc: update CHANGLEOG Co-authored-by: Daniil Zotkin <zotkin@rutoken.ru> Co-authored-by: Hernan Martinez <hernan.c.martinez@gmail.com> Co-authored-by: Romain Geissler @ Amadeus <romain.geissler@amadeus.com> Co-authored-by: hectots <monkey.instinct@gmail.com> Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com> Co-authored-by: Matej Kenda <matejken@gmail.com> Co-authored-by: BeBinder <93721965+BeBinder@users.noreply.github.com> Co-authored-by: Tavi Cacina <tavi-cacina@users.noreply.github.com> Co-authored-by: Mathieu Stefani <m.stefani@abc-arbitrage.com> Co-authored-by: Fritz Elfert <fritz@fritz-elfert.de> Co-authored-by: Maksim Kita <kitaetoya@gmail.com> Co-authored-by: Spaky <Spaky@users.noreply.github.com> Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com> Co-authored-by: Matej Kenda <matej.kenda@topit.si> Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com> Co-authored-by: Guillermo Frontera <gfrontera86@gmail.com> Co-authored-by: junwufan <shelllet.com@gmail.com> Co-authored-by: JackyWoo <wuchienchao@qq.com> Co-authored-by: Ben Foster <bfoster7593@gmail.com> Co-authored-by: bfoster <bfoster@malwarebytes.com> Co-authored-by: Arun Chandrasekaran <arun@paravision.ai> Co-authored-by: John Vandenberg <jayvdb@gmail.com> Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com> Co-authored-by: Daniil Zotkin <zotkin@rutoken.ru> Co-authored-by: Hernan Martinez <hernan.c.martinez@gmail.com> Co-authored-by: Romain Geissler @ Amadeus <romain.geissler@amadeus.com> Co-authored-by: hectots <monkey.instinct@gmail.com> Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com> Co-authored-by: Matej Kenda <matejken@gmail.com> Co-authored-by: BeBinder <93721965+BeBinder@users.noreply.github.com> Co-authored-by: Tavi Cacina <tavi-cacina@users.noreply.github.com> Co-authored-by: Mathieu Stefani <m.stefani@abc-arbitrage.com> Co-authored-by: Fritz Elfert <fritz@fritz-elfert.de> Co-authored-by: Maksim Kita <kitaetoya@gmail.com> Co-authored-by: Spaky <Spaky@users.noreply.github.com> Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com> Co-authored-by: Matej Kenda <matej.kenda@topit.si> Co-authored-by: Guillermo Frontera <gfrontera86@gmail.com> Co-authored-by: junwufan <shelllet.com@gmail.com> Co-authored-by: JackyWoo <wuchienchao@qq.com> Co-authored-by: Ben Foster <bfoster7593@gmail.com> Co-authored-by: bfoster <bfoster@malwarebytes.com> Co-authored-by: Arun Chandrasekaran <arun@paravision.ai> Co-authored-by: John Vandenberg <jayvdb@gmail.com>
2022-07-08 18:31:16 +02:00
!!!Release 1.11.3
!!Summary of Changes
- GH #3567: fix(openssl-initializer): check legacy provider existence for legacy exception
- GH #3587: MySQL UUID binding temporary string
- GH #3632: Redis - add TLS support
- updated a few copyright dates
2022-02-07 14:49:51 +01:00
!!!Release 1.11.2
!!Summary of Changes
2022-04-16 08:15:36 +02:00
- GH #2882: Handle negative DST offset
- GH #3268: Poco redis command set have a bug when you want to set nx ex or expireTime
- GH #3338: NamedMutex does not work on Linux distributions where fs.protected_regular=1
- GH #3448: Basic support for OpenSSL 3.0.0
- GH #3458: encryptString() crash on redhat/centos 8 with FIPS enabled using md5 default digest
- GH #3465: NetSSL_Win: bad error handling when decodeMessage() fails
- GH #3466: DefinePlatformSpecific.cmake: handle RelWithDebInfo and MinSizeRel configurations
- GH #3470: bug in JSON ParseHandler.cpp (RFC 7159 should be valid)
- GH #3472: Add Windows 11 detection to Environment_WIN32U
- GH #3483: Adds Windows 11 and Server 2022 to Environment::osDisplayName()
- GH #3485: Adds Visual Studio 2022 (v170) to buildwin.cmd
- GH #3495: Should the Array::operator[] throw?
- GH #3500: Sandbox all iFrames in PocoDoc
- GH #3504: OpenSSL 3 compatibility
- GH #3505: JSON::PrintHandler.value(bool) prints incorrect value
- GH #3507: Reference counting for bound configuration in Util::Option is broken
- GH #3508: #3507: Fix bound configuration reference counting in Poco::Util::Option.
- GH #3509: fix dst and utcOffset handling for Dublin time zone
- GH #3515: NetSSL_OpenSSL Testsuite: testInterop() and testProxy() fail due to changed certificate
- GH #3518: Expat version check in #defines incorrect.
- GH #3519: Add convertation to string in Redis Command#set
- GH #3524: [linux] Why is Poco::XML linked to Poco::Zip target?
- GH #3525: Bad management of file in case of OpenSSLException in X509Certificate::readPEM and X509Certificate::writePEM
- GH #3538: Upgrade bundled expat to 2.4.7
- GH #3544: Add back NIOS2 double conversion detection to fix compile errors
- GH #3549: Test against the correct signatures in the JWT ES384 and ES512 tests
- GH #3553: Upgrade bundled zlib to 1.2.12
- GH #3559: Poco::Data::PostgreSQL - DateTime extraction truncates fractional seconds
- GH #3563: Remove support for OpenSSL < 1.0
2022-02-07 14:49:51 +01:00
2021-11-05 19:33:03 +01:00
!!!Release 1.11.1
!!Summary of Changes
- Upgraded bundled PCRE to 8.45
- Upgraded bundled SQLite to 3.36.0
- GH #2823: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648
- GH #2966: SocketReactor loads one core of CPU up to 100%
- GH #3221: Crash reported on Windows in X509Certificate verification
- GH #3330: Poco::Data::ODBC::ODBCStatementImpl causes crash
- GH #3334: Fork error on tvOS and watchOS
- GH #3335: XML error when build 1.11.0
- GH #3344: [bug] MacOS bundle destination path is not set
- GH #3345: fix cmake bundle
- GH #3347: The definition POCO_NO_FORK_EXEC is not respected or something like this
- GH #3353: fix fork option
- GH #3360: Add POCO_PGSQL_{INCLUDE,LIB} variables
- GH #3363: Fixed compilation error with MongoDB::Connection and Util::Application
- GH #3377: Updates comments for windows
- GH #3381: DNS::hostByAddress not thread-safe
- GH #3397: Fix crash due to X.509 certificates with Subject Alternative Name other than DNS Host
- GH #3400: fix std::localtime not thread safe
- GH #3414: fix missing expat definition
- GH #3425: Fixed suspend/resumeEvents pair in DirectoryWatcher
2021-06-06 14:51:08 +02:00
!!!Release 1.11.0
2020-07-29 08:57:35 +02:00
!!Summary of Changes
2021-06-28 09:24:26 +02:00
- This release introduces ActiveRecord, a simple and lightweight object-relational mapping
(ORM) framework based on the Active Record pattern and the Data library.
- Upgraded bundled expat to 2.4.1
- Upgraded bundled PCRE to 8.44
- Upgraded bundled pdjson to latest master
- Upgraded bundled SQLite to 3.35.5
- GH #2205: Start POCO as Windows service with parameters fix #2190
- GH #2418: SecureServerSocket doesn't work with IpV6
- GH #2677: Fix CLOB type support in StatementImpl and RecordSet
- GH #2746: Race in TCPServerDispatcher::stop
- GH #2783: Invalid condition [ICMPv4PacketImpl.cpp:234]
- GH #2825: riscv: Enable double operations when using double float abi
- GH #2895: Settings to verify OCSP stapling response (if received any) for client connections
- GH #2904: Support environments without hardware floating point
- GH #2906: Support environments without hardware floating point
- GH #2927: Fix assigned value to wrong pointer
- GH #2928: Fix clang issue
- GH #2929: Zip and SevenZip do not depend on Util, XML, JSON
- GH #2932: Poco::Net::NTLMContext is missing dllexport/dllimport symbols
- GH #2935: Configuration to receive OCSP stapling response for client connection…
- GH #2942: Avoid clang 10 -Wimplicit-int-float-conversion warning/error when con…
- GH #2945: Iterating over Var containing empty container throws "Out of range" exception
- GH #2970: Poco::Data::TypeHandler<Poco::Nullable<T>>::prepare() must prepare with underlying type, not Poco::Data::Keywords::null
- GH #2982: Poco::Net - return value from close needs to be checked in SocketImpl
- GH #2984: Fixed linking with Data ODBC error on some platforms
- GH #2989: setting priorityNames property on PatternFormatter has no effect
- GH #2992: CryptoTransformImpl::setPadding(int padding) incorrect for OpenSSL >= 1.1
- GH #2993: The Sec-WebSocket-Key of WebSocket is always the same one
- GH #3019: ObjectPool wait on borrow condition fix
- GH #3021: PatternFormatter priorityNames fix
- GH #3022: Process::isRunning(PID pid) causes handle leak on Windows
- GH #3023: Link to "discussion forums" on "How to get help" advice broken
- GH #3025: PKCS12Container: fix memory leaks on exceptions (1.10.1)
- GH #3027: PKCS12Container: fix memory leaks on exceptions (devel)
- GH #3037: Poco::toJSON: Don't escape forward slash in JSON strings
- GH #3041: PostgreSQL and TEXT column type
- GH #3044: Upgrading PCRE to 8.44 is it in immediate plan?
- GH #3045: PostgreSQL and BYTEA column type
- GH #3057: Poco::Data::PostgreSQL::SessionImpl::connectorName() returns empty string
- GH #3059: MessageHeader::splitParameters fails on 'httponly' cookie with 'string too long' exception
- GH #3061: SocketImpl::bind --> bind wrong config
- GH #3064: PostgreSQL: Extraction of 16-bit integers corrupts result
- GH #3066: CMake warning about MYSQL casing
- GH #3067: Fix pkg-name in find_package_handle_standard_args
- GH #3068: Documented ENABLE_JWT option
- GH #3074: Fix sessions may not return back to the pool
- GH #3076: Avoid access to already freed memory in JSON code
- GH #3078: Fix typo in the ThreadPool's docs
- GH #3086: Use POCO_IOS_INIT_HACK for Linux in combination with libc++
- GH #3089: HTTPSessionFactory does not support HTTPClientSession::ProxyConfig
- GH #3090: Do not initialize value with undefined behavior
- GH #3091: feat(SharedLibrary): add more detailed error description when LoadLib…
- GH #3092: feat(SharedLibrary): add more detailed error description when LoadLib…
- GH #3095: Digest proxy authentication does not work in 1.10.1
- GH #3097: Support for building Arm64 Apple Silicon
- GH #3099: Fixed Postgres extraction into Dynamic::Var
- GH #3107: unused variable
- GH #3114: Added JSON Array::empty() method
- GH #3116: Changed EventHandlerMap key
- GH #3130: Possible use-after-free bug on the method copyToImpl
- GH #3133: POCO_STATIC has been deprecated
- GH #3135: Poco::Data::SQLite::Utility::fileToMemory unsuccessful if journal exists
- GH #3136: Fixed null character issue when parsing a JSON
- GH #3138: Add support of arch riscv32
- GH #3141: allow to handle hot-journal (fixes #3135)
- GH #3151: fix(JSON::Object): crash when a key is removed from object with JSON_PRESERVE_KEY_ORDER
- GH #3153: Poco::Data::ODBC [N]VARCHAR(MAX) wrong maxDataSize() result
- GH #3155: Fixed typo in overridden
- GH #3157: fix(openssl): add missing dependency to OpenSSL components
- GH #3159: Bug in NumericString with decSep != '.'
- GH #3163: Correct Var::parse null value
- GH #3166: Fix PostgresSQL BLOB extractor
- GH #3168: Reference documentation contains invalid links.
- GH #3169: #2746: Fix race condition on TCPServerDispatcher stop
- GH #3182: Poco::Process:launch on MacOS BigSur
- GH #3183: fix setPadding
- GH #3190: [NetSSL_Win]: SSL-connection fails with "Host name verification failed error" (Regression bug)
- GH #3191: Fixing a bug in the NetSSL_Win module (Host name verification failed error)
- GH #3193: ServerApplication::registerService() unquoted path security vulnerability
- GH #3196: std::forward for Poco::Optional ctor with rvalue
- GH #3202: JWT: ESxxx signature must include padding for ECDSA R and S values
- GH #3204: CryptoTransformImpl::setPadding wrong call
- GH #3215: XML parser returns item from different element in a array
- GH #3217: CMake: warning message with -DPOCO_STATIC confusing
- GH #3219: SMTPClientSession: invalid SMTP command if empty recipients list in MailMessage
- GH #3223: Compilation failure since OpenSSL (alpha 13)
- GH #3224: Remove SSL23 support from Poco/Crypto
- GH #3229: Upgrade bundled expat to 2.3.0
- GH #3230: ECDSADigestEngine: include missing header
- GH #3233: Feat/hash range
- GH #3237: An error in the documentation for Poco/JSON/Parser.h
- GH #3239: XML parser returns item from different element in a array #3215
- GH #3242: RemoteSyslogListener: add reusePort option
- GH #3245: find_package(Poco REQUIRED COMPONENTS ... NetSSL) requires an aditional find_package(OpenSSL) since poco-10
- GH #3248: PollSet not working as intended on Windows
- GH #3249: PollSet - poll() timeout not properly used
- GH #3250: fix(PollSet): #3248 #3249
- GH #3260: Memory leak in EVPPKey::loadKey used with files & wrong password
- GH #3266: Order of Util::Application::uninitialize() is not in reverse as documented
- GH #3269: Poco::Net::Context initialization with empty certificateFile
- GH #3274: Fix localtime_r for VxWorks 6.9 and later
- GH #3278: Fixing no hardware floating point support - Part II
- GH #3279: Update bundled expat to 2.4.0
- GH #3282: Update constant in setContentType documentation
- GH #3284: JSON Fuzzing: Undefined-shift in poco_double_conversion::DiyFpStrtod
- GH #3285: JSON Fuzzing: Stack-overflow in Poco::JSON::ParserImpl::handle
- GH #3291: JSON Fuzzing: Stack-overflow with empty stacktrace
- GH #3292: JSON Fuzzing: Stack-overflow in Poco::JSON::Array::~Array
- GH #3295: A variation on Issue 949 comes back to life?
- GH #3299: NetSSL: Allow per-Context InvalidCertificateHandler
- GH #3301: Unterminated string possible in NetworkInterfaceImpl::setPhyParams()
- GH #3302: MSVC: Poco hides warnings (C4996) for the C++14 attribute [[deprecated]]
- GH #3303: DNS HostEntry returns multiple entries
- GH #3307: Poco::Crypto::X509Certificate: obtain certificate fingerprint
- GH #3309: JSON parser copies entire JSON document to memory when parsing from stream.
- GH #3310: Upgrade bundled SQLite to 3.35.5.
- GH #3313: Upgrade bundled double-conversion
- GH #3314: NetSSL_OpenSSL: any.pem certificate error: ca md too weak
- GH #3315: Unintended sign/type conversion out of RecordSet
- GH #3317: Data::MySQL MySQL headers and library search paths
- GH #3318: Data: Support Poco::UUID for data binding
- GH #3321: Feat/data db encoding
- GH #3322: why is useless MyStruct present in Thread_posix.cpp :: ThreadImpl::setPriorityImpl (easy to fix I guess)
- GH #3326: [asan] Undefined behavior in ICMPv4PacketImpl.cpp
2020-07-29 08:57:35 +02:00
2020-02-04 08:52:26 +01:00
!!!Release 1.10.1
!!Summary of Changes
2020-02-04 12:45:09 +01:00
- Upgraded bundled SQLite to version 3.31.1.
2020-02-04 12:33:40 +01:00
- GH #2894: Poco 1.10.0 doesn't build with cmake & POCO_UNBUNDLED
- GH #2898: poco 1.10/ NetSSL / openssl < 1.1 : default server usage changed (compare to 1.9.4)
- GH #2834: Wrong cancelation of the fix: incorrect type of store name parameter in
CertOpenStore API call into NetSSL_Win. Release 1.10.0
- GH #2791: allow pre-allocation of the buffer in Poco::LogStreamBuf.
- GH #2816: Modernise TLS configuration
- GH #2818: Add getSpecifiedPort() method in Poco::URI.
2020-02-08 20:44:27 +01:00
- GH #2909: Test failures on s390x architecture with 1.10.0
- GH #2911: Poco::UTF16Encoding and Poco::UTF32Encoding byte order conversion bug
- GH #2912: Poco::SHA2Engine computes incorrect hash on big-endian systems
2020-02-14 11:45:24 +01:00
- GH #2923: cmake: Version 1.10.0 not parsed correctly from VERSION file
- GH #2908: [Windows] Process arguments quoting is broken.
- GH #2894: Poco 1.10.0 doesn't build with cmake & POCO_UNBUNDLED
- GH #2920: Close Service Handle after DeleteService Function call
- GH #2919: Fixed Crash in WinService::setFailureActions
2020-02-16 19:48:34 +01:00
- GH #2922: 1.10 cmake build fails on FreeBSD 11.2 Release
2020-02-07 15:18:47 +01:00
- MySQL: resetting the session when putting it back into a SessionPool is now optional
(and disabled by default) due to a bug in MySQL messing up the character encoding when doing so.
2020-02-07 18:14:33 +01:00
- Poco::AutoPtr and Poco::SharedPtr now support comparison with nullptr.
2020-02-04 08:52:26 +01:00
2020-02-08 20:44:27 +01:00
2020-01-24 11:44:26 +01:00
!!!Release 1.10.0
!!Summary of Changes
- This release now requires a C++14 compiler (GCC 5, Clang 3.4, Visual C++ 2015).
2020-01-24 11:48:06 +01:00
- Visual Studio project and solution files for versions prior to 2015 have
been removed. Furthermore, the separate projects and solutions for 64-bit builds
have been removed and configurations have been merged in a single project file.
2020-01-24 11:44:26 +01:00
- POCO's fixed-size integer types are now based on <cstdint> types. This changes
the definition of Poco::Int64 and Poco::UInt64 on some platforms.
- Many methods exposing raw pointers have been changed to use smart pointers
(usually Poco::SharedPtr or Poco::AutoPtr) instead. This may break some existing
code. Specifically, the Logging framework in the Foundation library and the
Configuration framework in the Util library have been changed.
- New JWT library for dealing with JSON Web Tokens.
- Upgrade bundled SQLite to version 3.31.0.
- The NetSSL_OpenSSL library supports TLS 1.3 with OpenSSL 1.1.1 or later.
- The NetSSL_Win library supports TLS 1.3 if it's supported by the underlying SChannel
implementation.
- Added support for NTLM authentication in the Net library.
- NetSSL_OpenSSL now has a Poco::Net::FTPSClientSession and Poco::Net::FTPSStreamOpener
class for connecting to FTP servers over TLS.
- Fixed a potential crash in Poco::Net::NetworkInterface on Linux and macOS due to
an invalid cast when obtaining the MAC address of an interface.
- GH #2624: Poco::FileChannel/Poco:LogFileImpl::writeImpl() on Windows should translate \n to \r\n.
- GH #2869: X509Certificate does not render UTF-8 characters in subjectName
- GH #2863: NetworkInterface::map can fail to reveal some interfaces if an earlier one can not be handled
- GH #2807: Poco::Data::ODBC Binding of SQL Decimal Type
- GH #2812: String trimInPlace crashes with 0 size on Visual Studio Express 2017
- GH #2830: Fix wrong buffer size in client handshake when re-using a SecureSocket [NetSSL_Win]
- GH #2809: Allow to filter long tests using a command line argument
- GH #2853: Poco::Process::launch process environment unicode support is broken on Windows
- GH #2843: Poco::Net::MediaType::parse() does not split parameters
- GH #2772: On iOS real device (not simulator) the home directory is not usable
- GH #2689: Added tryWait() into Process and ProcessHandle. Handle kill()-ed UNIX process exit codes.
- GH #2866: unescape Backslash char in UTF8 unescape method
- GH #2879: Add support for SameSite attribute in HTTPCookie
- GH #2824: Poco::Environment missing UTF8/wstring support on Windows
- GH #2295: setEscapeUnicode() functions in JSON Array and Object classes ignore their boolean parameter
- GH #2306: Why does Poco explicitly define _WIN32_WINNT?
- GH #2802: Deprecated warning when building POCO with OpenSSL in submodule + cmake
- GH #2884: Is it a description error about setReceiveTimeout()?
- GH #2780: Allow Poco::Net::Context::usePrivateKey to accept ECKey and/or general EVPPKey
- GH #2747: NetSSL_Win: Context constructor usage argument should specify minimum supported SSL/TLS version
- GH #2745: Small problem in the code
- GH #2743: X509Certificate validFrom expiresOn Date parsing
- GH #2744: Poco::Mysql does not build with MySQL 8.0+
- GH #2686: Uploads larger than 2GB fail
- GH #2217: UUIDGenerator should allow random seed
- GH #1609: Improve XDG Base Directory Specification implementation
- GH #561: Support for XDG Base Directory Specification
- GH #2881: Add an option to force the use of PollingDirectoryWatcherStrategy
- GH #2584: Adding standard macOS legacy encodings
- GH #2885: fix Dynamic::Var parse string issue
- GH #2616: Restore pre-1.8.0 behaviour of Poco::Net::ServerSocket::bind.
- GH #2641: Implement DataURIStream for extracting data from data URIs.
- GH #2842: File fail on overwrite
- GH #2840: Deleting Registry Keys on the WOW6432Node is not possible on 64Bit Applications
- GH #2841: Service manager improvments
- GH #2827: X509Certificate: Get rid of deprecated OpenSSL 1.1 APIs
- GH #2826: CipherImpl: Fix small error with OpenSSL 1.1
- GH #2775: Fix issue in NetSSL_Win. Windows Server 2016 reboots while trying to establish an SSL connection.
- GH #2773: Fix the issue with incorrect type of store name parameter in CertOpenStore API call into NetSSL_Win
- GH #2766: Support qnx sdp7
- GH #2308: SocketAcceptor::setReactor() is broken
- GH #2250: Poco::strToInt<> fails for values right above the type's boundary / limit
- GH #2249: Poco::JSON::Object::set() should return reference to this to allow chaining.
- GH #2275: SQLite mismatch open/close API calls
- GH #1921: ICMPSocket does not check reply address
- GH #2092: Use PollSet in SocketReactor
- GH #2552: Poco::MongoDB test cases failed in Linux on IBM z
- GH #2546: MySQL session state is not cleared in SessionPool
- GH #2410: Preserve entries order in DynamicStruct
- GH #2467: Can not open certain zip files include data descriptor
- GH #2398: Poco 1.9.1 branch cmake build on FreeBSD 11.1 failed
- GH #2365: add struct tm support to DateTime
- GH #2348: NTPClient not checking reply address
- GH #2346: lock-order-inversion in SocketReactor
- GH #2330: add socket gather/scatter capabilities
- GH #2343: UDPServer and client
- GH #2329: add PMTU discovery
- GH #2345: SocketNotifier not thread-safe
- GH #2323: WebSocketTest.cpp faults reported by valgrind
- GH #1160: Poco::Net::NetException "SSL Exception: error:1409F07F:SSL routines:ssl3_write_pending:bad write retry"
- GH #2547: Reset connection when a session is returned to the SessionPool
- GH #2451: http client timeout on Windows 7 and Server 2008 R2
- GH #2417: Added missing IPv6 methods to SecureSocketImpl
- GH #2408: add ordered containers
- GH #2042: Android abstract namespace local socket address
- GH #2088: Fix race condition in TCPServerDispatcher.cpp
2020-01-25 14:33:33 +01:00
- GH #2892: SocketImpl::bind --> bind wrong config
2020-01-24 11:44:26 +01:00
!!Incompatible Changes and Possible Transition Issues
- This release now requires a C++14 compiler (GCC 5, Clang 3.4, Visual C++ 2015).
- POCO's fixed-size integer types are now based on <cstdint> types. This changes
the definition of Poco::Int64 and Poco::UInt64 on some platforms.
- Many methods exposing raw pointers have been changed to use smart pointers
(usually Poco::SharedPtr or Poco::AutoPtr) instead. This may break some existing
code. Specifically, the Logging framework in the Foundation library and the
Configuration framework in the Util library have been changed.
!!!Release 1.9.4
!!Summary of Changes
- fixed GH #2784: Upgrade bundled expat XML parser library to release 2.2.8,
which fixes CVE-2019-15903.
!!!Release 1.9.3
!!Summary of Changes
- fixed GH #2603: Remove incorrect upper size limits for SSL certificates in NetSSL_Win
- fixed GH #2661: Poco::Zip::ZipArchive cannot load new tomcat.zip file (additional fix)
- fixed GH #2742: Support of vs150 & vs160 with the official Microsoft localization executable,
vswhere.exe, installed by MSVC starting from VS2017
- Data/ODBC: make binding of std::string configurable (SQL_LONGVARCHAR - default or SQL_VARCHAR)
through a global setting (Poco::Data::ODBC::Connector::bindStringToLongVarChar()).
- added Poco::SharedLibrary::setSearchPath() (currently implemented on Windows only)
- Windows required minimum version is now Windows XP SP2
- upgraded bundled SQLite to 3.29.0
- CppParser now supports type aliases defined with using keyword.
- PageCompiler: added support for adding Content-Security-Policy and Cache-Control headers.
!!!Release 1.9.2
!!Summary of Changes
- fixed GH #2736: Error using CMake gui - latest version
- fixed GH #2737: Bundles vulnerable copy of Expat — please upgrade to Expat 2.2.7
- fixed GH #2738: Poco::AccessExpireStrategy::onGet() must not extend expiration time after expiration
2018-03-07 14:28:19 +01:00
!!!Release 1.9.1
!!Summary of Changes
2020-01-24 11:44:26 +01:00
- Added support for building with different OpenSSL distributions on Windows.
See the POCO_EXTERNAL_OPENSSL macro defined in Foundation/include/Poco/Config.h
for options.
- Added Poco::Net::HTTPClientSession::flushRequest()
- Added Poco::Net::WebSocket::setMaxPayloadSize() and Poco::Net::WebSocket::getMaxPayloadSize()
to specify a maximum acceptable payload size for Poco::Net::WebSocket::receiveFrame().
- Poco::Net::WebSocket: don't attempt to send empty credentials in response to 401 response.
- Redis: added support for additional commands (exists, expire, ping, multi, exec, discard)
- Redis: added Poco::Redis::Client::isConnected()
- Upgraded bundled PCRE to version 8.43
- Upgraded bundled SQLite to version 3.28.0
- Added project/solution files for Visual Studio 2019
- Fixed Visual Studio project files (version information from DLLVersion.rc not included in DLLs)
- Include version resource in DLLs built with CMake
- Added HTTP*Credentials::empty() and HTTPCredentials::clear()
- fixed GH #2220: Encoding/DoubleByteEncoding.cpp fails to compile with VS2008 and _DEBUG
- fixed GH #2243: DLLVersion.rc is excluded from build, missing detail information in properties of *.dll
- fixed GH #2277: SQLite null pointer dereference occurs when exception is being thrown
- fixed GH #2313: PollSet behaves differently on windows
- fixed GH #2316: cmake can't find MySQL and ODBC libraries
- fixed GH #2336: Omit ContentLength in WebSocket accept response
- fixed GH #2358: Don't include <openssl/fips.h> for later OpenSSL
- fixed GH #2364: Stringify escapes every unicode symbol when object contain an array
- fixed GH #2380: Calling Poco::Net::X509Certificate::addChainCertificate() leads to double free.
- fixed GH #2492: Net::Socket::address() crash on Android
- fixed GH #2549: Fix keepAlive in http client session
- fixed GH #2565: HTMLForm: optional enforcement of Content-Length instead of Chunked Transfer-Encoding
- fixed GH #2570: DialogSocket: receiveStatusMessage() - line length limit applies to entire multi-line message
- fixed GH #2583: Crypto library does not build with OpenSSL 1.0.0
- fixed GH #2655: MongoDB Binary element to string - bug
- fixed GH #2661: Poco::Zip::ZipArchive cannot load new tomcat.zip file
- fixed GH #2700: Invalid read of memory in Poco::Environment::set which may cause crashes.
- fixed GH #2712: File_WIN32.cpp(168): error C2065: “_upath”:Undeclared identifier
- fixed GH #2723: Access violation when trying to decompress .zip file with unsupported compression method.
2018-03-07 14:28:19 +01:00
2018-02-17 10:39:51 +01:00
!!!Release 1.9.0
2018-01-25 23:12:44 +01:00
!!Summary of Changes
2018-03-07 13:34:58 +01:00
- Added additional text encodings, available in the new PocoEncodings library (GH #2165)
- Added Punycode support for resolving Internationalized Domain Names to Poco::Net::DNS (GH #2164)
- Added XDG Base Directory Specification support in Poco::Path, Poco::Util::SystemConfiguration
and Poco::Util::Application (GH #1609, GH #561, GH #1609)
- Added support for GCM ciphers in Crypto library (GH #2129)
- Poco::Net::RemoteSyslogChannel and Poco::Net::RemoteSyslogListener now have basic
support for RFC 5424 structured data (GH #2173)
- Poco::File now has methods for obtaining partition space (GH #1545)
- Added Poco::Net::Context::addCertificateAuthority() (GH #2197)
- Added Poco::AutoPtr::reset() and Poco::SharedPtr::reset() to improve compatibility
with std::shared_ptr() (GH #2172)
- fixed GH #703: Poco::Data::SQLite data types (INTEGER is now mapped to Int64)
- fixed GH #1426: inttypes.h is available on sun solaris
- fixed GH #1912: Run ping with custom data size #1912
- fixed GH #2177: Run ping with custom timeout instead of the default
- fixed GH #2058 and GH #2095: Synchronization issue/deadlock in Poco::Util::Timer at destruction
- fixed GH #2089: Allow hyphen in HTTP authentication scheme names
- fixed GH #2106: Undefined behavior in Delegate::equals()
- fixed GH #2108: POCO SQLite Data Connector hangs for 20 secs waiting for thread timeouts on Windows
- fixed GH #2142: JSON::Object preserveOrder keys not synced on assignment
- fixed GH #2199 and GH #2188: Illegal header in zip file exception/assertion failure during JAR file decompression
- fixed GH #2203: Use MAX_ADDRESS_LENGTH to determine buffer size
2018-01-25 23:12:44 +01:00
2017-11-14 13:57:18 +01:00
!!!Release 1.8.1
!!Summary of Changes
2017-12-18 10:44:09 +01:00
- Added Poco::File::linkTo()
2017-12-22 09:54:18 +01:00
- fixed GH #2044: Poco::Net::NetworkInterface::list does not list inactive interfaces
even when explicitly being asked for it.
2017-12-18 10:44:09 +01:00
- fixed GH #2042: Android abstract namespace local socket address
- fixed GH #2038: Poco::Net::MultipartWriter::createBoundary() always returns the same string.
- fixed GH #2020: SQLite not handling parameter count mismatch correctly.
- fixed GH #2012: Data/SQLite: Exception messages contain duplicate text
- fixed GH #2005: Upgraded bundled PCRE to 8.41
- fixed GH #2000: Fix building XMLStreamParser with unbundled expat
- fixed GH #1603: fix MinGW 4.8.2 Compilation
- fixed GH #1991: Support building poco 1.8.0 as cmake sub-project
2018-01-09 10:30:22 +01:00
- fixed GH #2080: Bugs in Poco::Net::Socket::select when POCO_HAVE_FD_POLL is defined
2017-11-14 13:57:18 +01:00
!!!Release 1.8.0.1
!!Summary of Changes
- Reverted change for GH #1828; DeflatingStreamBuf::sync() no longer flushes
underlying stream as this causes corruption for some Zip files.
- PocoDoc: fix for handling compiler configuration for Gradle builds.
2016-08-08 19:08:58 +02:00
!!!Release 1.8.0
!!Summary of Changes
2017-11-08 15:50:52 +01:00
- Poco::Base64Encoder: add support for base64url encoding (GH #1967)
- Add Poco::Net::PollSet class to Net library (GH #1763)
- The Net library now supports Unix Domain Sockets, where available.
- Added stream parser (Poco::XML::XMLStreamParser) to XML library (GH #1697)
- Added Poco::Net::TCPServerConnectionFilter and Poco::Net::TCPServer::setConnectionFilter()
to support connection filtering and IP blacklisting (GH #1485)
- Added Redis library (GH #1383)
- Added Zip64 support to Zip library (GH #1356)
2017-11-09 13:06:42 +01:00
- Upgraded bundled SQLite to 3.21.0
2017-11-09 11:15:18 +01:00
- Removed OpenVMS support (GH #1988)
2017-11-08 15:50:52 +01:00
- fixed GH #271: NamedMutex_UNIX.cpp must remove semid
- fixed GH #739: Add Poco::Net::WebSocket::receiveFrame() that appends to a Poco::Buffer<char>
- fixed GH #749: NTP Packet impl not according to RFC958
- fixed GH #896: Sample "TwitterClient" of NetSSL_OpenSSL can't be build
- fixed GH #1172: Poco::Data default storage should be std::vector
- fixed GH #1337: Poco::HTMLForm throws exception HTMLFormException("Form must be prepared")
even after form is prepared.
- fixed GH #1373: SessionImpl::close() does not check return code of close handle specific function
- fixed GH #1425: Workaround bug in SolarisStudio 12.4 on RVO-ed objects.
- fixed GH #1614: Problematic license for JSON component: the previously used JSON.org parser
has been replaced with pdjson
- fixed GH #1659: wrong field size calculation in ODBC code
- fixed GH #1683: Poco::Data ODBC impl doesn't bind to unsigned numeric types properly
- fixed GH #1705: MongoDB: support URI in Connection
- fixed GH #1708: "SocketReactor::addEventHandler" and "SocketReactor::removeEventHandler"
must protect the access to "NotifierPtr pNotifier"
- fixed GH #1729: getConnectionTimeout of SQLite DB wrapper returns wrong value
(in milliseconds, should be in seconds)
- fixed GH #1739: OpenSSLInitializer isn't threadsafe
- fixed GH #1750: double_conversion in NumericString is in conflict with Qt5 Core
- fixed GH #1804 and GH #1805: Integer Overflow or Wraparound
- fixed GH #1828: DeflatingStreamBuf::sync() should also flush underlying stream.
- fixed GH #1880: FTPClientSession::close() error
- fixed GH #1897: DateTime wrong binding/extraction for MySQL database
- fixed GH #1905: Compiling Foundation library with POCO_NO_FPENVIRONMENT in Config.h fails
- fixed GH #1906: Race condition in ThreadPool
- fixed GH #1913: Message Doesn't Support 64-bit Thread IDs
- fixed GH #1921: ICMPSocket does not check reply address
- fixed GH #1926: Exception when using SortedDirectoryIterator
- fixed GH #1934: Poco::File::setExecutable() on POSIX should set executable bit for group and
other if corresponding readable bit is set
- fixed GH #1950: Net Exception: Address family not supported with clang
- fixed GH #1964: Buffer<> swap miss ownMem
2017-11-10 11:28:46 +01:00
!!Incompatible Changes and Possible Transition Issues
- Crypto and NetSSL on Windows: The included Visual Studio project files now expect the
OpenSSL headers and libraries to be in the "openssl" directory in the POCO root
directory, alongside the Foundation, XML, Net directories. The GitHub repository
contains the <*openssl*> submodule, which has the required files. The release
source packages do not contain these files. They are available from the
[[https://github.com/pocoproject/openssl pocoproject/openssl]] repository
([[https://github.com/pocoproject/openssl/archive/develop.zip Zip archive]]).
You can also provide your own build of OpenSSL, by specifying the appropriate
header and library search paths in the Visual Studio project files. Through the
2017-11-10 13:12:12 +01:00
<*Poco/Crypto/Crypto.h*> and <*Poco/Net/NetSSL.h*> headers, the <*libcrypto.lib*>
2017-11-10 11:28:46 +01:00
and <*libssl.lib*> libraries will be automatically linked. If you don't want this,
build Crypto and NetSSL_OpenSSL with the <[POCO_EXTERNAL_OPENSSL]> macro defined.
2017-11-08 15:50:52 +01:00
!!!Release 1.7.9p2
!!Summary of Changes
- fixed GH #1628: Export Poco::Zip::ZipUtil class
!!!Release 1.7.9p1
!!Summary of Changes
- fixed GH #1968: Zip Decompress Parent Path Injection
2017-09-09 09:53:28 +02:00
2017-08-11 15:29:17 +02:00
!!!Release 1.7.9
- fixed GH #1813: xmlparse.cpp doesn't compile in WinCE (poco 1.7.8p3)
2017-08-11 19:15:01 +02:00
- fixed GH #1826: XPath query error
- fixed GH #1834: Visual Studio 2008 cannot find stdint.h
- fixed GH #1842: Upgrade bundled expat to 2.2.3
- fixed GH #1843: Use random salt for Poco::XML::NamePool
2017-09-01 19:57:15 +02:00
- fixed GH #1865: AbstractEvent::hasDelegates() is not thread-safe
2017-09-01 20:24:45 +02:00
- improved/fixed QNX support
- Poco::Util::LayeredConfiguration: added support for labelling configurations and
finding them by their label
2017-09-01 19:57:15 +02:00
- upgraded bundled SQLite to 3.20.1
2017-09-10 20:14:04 +02:00
- PageCompiler: support <%@ include file="<path>" %> syntax for includes, in addition
to <%@ include page="<path>" %>
- PageCompiler: optimize generated request handler code by removing useless
statements, e.g. writing empty strings.
- added POCO_DEPRECATED macro which will be used in the future to deprecate
classes and methods.
2017-09-11 21:05:51 +02:00
- Poco::NamedMutex and Poco::NamedEvent (System V Semaphores implementation): files are
now opened with O_RDONLY | O_CREAT instead of O_WRONLY | O_CREAT, allowing sharing
between different users. Furthermore, ftok() is called with 'p' as project ID
argument.
2017-06-22 07:34:47 +02:00
!!!Release 1.7.8p3
- fixed GH #1760: Upgrade bundled expat to 2.2.1 which fixes some vulnerabilities:
http://seclists.org/oss-sec/2017/q2/499
2017-04-18 11:42:39 +02:00
!!!Release 1.7.8p2
!!Summary of Changes
- fixed GH #1655: CipherImpl memory leak with OpenSSL 1.1
2017-01-10 15:03:41 +01:00
!!!Release 1.7.8
!!Summary of Changes
2017-02-12 13:12:11 +01:00
- fixed GH #1212: Lost WebSocket Frames after Client Websocket Handshake is complete
2017-02-17 09:29:56 +01:00
- fixed GH #1260: URI encoding
2017-02-12 13:12:11 +01:00
- fixed GH #1501: Alpine 3.4 trouble with Foundation/src/Error.cpp
- fixed GH #1523: Long path names under Windows
- fixed GH #1536: Building with OS X 10.12 SDK and 10.7 deployment target without libc++ fails
- fixed GH #1537: Need to add multiple cflags parameters to configure
- fixed GH #1539: Allow overriding POCO_TARGET_OSARCH for iPhoneSimulator
- fixed GH #1546: Enable bitcode for iPhone build config
- fixed GH #1549: Latin2Encoding and 0xFF
- fixed GH #1551: Unable to use Poco on macOS 10.12
2017-02-20 09:31:44 +01:00
- fixed GH #1552: IPv6 & operator throws an exception when scope = 0
2017-02-12 13:12:11 +01:00
- fixed GH #1566: Poco/Zip issue with some CM_DEFLATE archives
- fixed GH #1567: Poco/ZIP issue with uncompressed archives
- fixed GH #1570: IPv6AddressImpl::toString() returns wrong output for IPv6 address "::"
- fixed GH #1571: ODBC Preparator memory leak
- fixed GH #1573: Poco::File::createDirectories() should not throw Poco::FileExistsException
- fixed GH #1580: Unable to unzip zip file created using non-seeking stream
- fixed GH #1581: Cannot find 'pcre.h' when using POCO_UNBUNDLED, a non-system PCRE, and CMake
2017-09-01 20:24:45 +02:00
- fixed GH #1588: Poco::Net::HTTPChunkedStreamBuf::readFromDevice(): restrict maximum
size of chunk length
2017-02-12 17:20:59 +01:00
- fixed GH #1589: Poco::Net::HTMLForm: restrict maximum field and value length
- fixed GH #1590: Poco::Net::DialogSocket: restrict maximum line length
- fixed GH #1591: Poco::Net::MultipartReader: restrict maximum boundary string length
2017-02-17 15:46:15 +01:00
- fixed GH #1597: adding empty file to zip leads to archive that can't be unzipped by windows
- fixed GH #1599: readFromDevice() in AutoDetectStream.cpp in Poco Zip cannot detect signature
2017-02-12 13:12:11 +01:00
- fixed GH #1534: Upgraded bundled zlib to 1.2.11
- fixed GH #1558: Upgraded bundled SQLite to 3.16.2
- fixed GH #1586: Upgraded bundled PCRE to 8.40
2017-02-12 17:20:59 +01:00
- fixed GH #1538: Upgraded bundled double-conversion to 1.1.5
2017-02-13 16:20:05 +01:00
- MongoDB: added support for authentication using "MONGODB-CR" and "SCRAM-SHA-1"
authentication schemes.
!!Incompatible Changes and Possible Transition Issues
- MongoDB: additional documentation and fixes for style and consistency and minor
API improvements (e.g., Poco::MongoDB::Binary)
Note: some flag enumeration values have been renamed for better consistency
and readability; existing code using these will have to be updated.
2017-02-12 13:12:11 +01:00
2017-01-10 15:03:41 +01:00
2016-10-21 22:20:03 +02:00
!!!Release 1.7.7
!!Summary of Changes
2017-09-01 20:24:45 +02:00
- fixed GH #865: FileChannel compress fails leaving empty .gz files
- fixed GH #990: Potential race condition in Poco::File on Windows
2016-12-29 13:42:18 +01:00
- fixed GH #1157: Fixing a bug in the NetSSL_Win module (Host name verification failed error)
- fixed GH #1351: Fix for android include pthread.h from /usr/include
- fixed GH #1436: ODBC Bug: Unicode text(NVARCHAT) read from DB is truncated to half
- fixed GH #1453: _clock_gettime Symbol not found on Mac 10.11
- fixed GH #1460: POCO does not build with OpenSSL 1.1
2017-09-01 20:24:45 +02:00
- fixed GH #1461: Poco::Data::SQLite::SQLiteStatementImpl::next() error
2016-12-29 13:42:18 +01:00
- fixed GH #1462: AbstractConfiguration::getUInt does not parse hex numbers
- fixed GH #1464: ODBCMetaColumn::init() always maps integer NUMERIC/DECIMAL to Int32
2017-09-01 20:24:45 +02:00
- fixed GH #1465: Assertion violation in DateTime.cpp using ZipArchive
2016-12-29 13:42:18 +01:00
- fixed GH #1472: HTTP(S)StreamFactory should send a User-Agent header.
- fixed GH #1476: Fixed error with Poco::UTF8Encoding::isLegal()
- fixed GH #1484: ODBC: fix uninitialized variable
- fixed GH #1486: Support ODBC GUID data type as string
- fixed GH #1488: Poco::ObjectPool shrinks if returned object is not valid
- fixed GH #1515: Detection of closed websocket connection
2017-09-01 20:24:45 +02:00
- fixed GH #1521: bug in JSON ParseHandler.cpp (empty keys should be valid)
- fixed GH #1526: iOS app rejected, IPv6 not working
2016-12-30 10:08:05 +01:00
- fixed GH #1532: RecordSet and RowFilter: bad use of reference counter
2016-10-21 22:20:03 +02:00
2016-09-06 15:29:00 +02:00
!!!Release 1.7.6
!!Summary of Changes
2016-10-07 22:29:23 +02:00
- fixed GH #1298: ZipFileInfo: Assertion violation when reading ods files
2017-09-01 20:24:45 +02:00
- fixed GH #1315: Redefine Poco assertions for static analysis
2016-10-07 22:29:23 +02:00
- fixed GH #1397: Fix issues reported by static source code analysis
2017-09-01 20:24:45 +02:00
- fixed GH #1403: Android compile with poco-1.7.5 no 'pthread_condattr_setclock' error
2016-10-07 22:29:23 +02:00
- fixed GH #1416: Assertion violation when unzipping
- fixed GH #1418: Poco::Delegate assignment operator fails to compile for some specializations
- fixed GH #1422: Can't build poco 1.7.4 or 1.7.5 on centos5 32 bit
- fixed GH #1429: exception thrown in MongoDB when using replicaset
- fixed GH #1431: Poco/FIFOBuffer.h copy issue
- fixed GH #1445: Use stable_sort to preserve order of IP addresses from DNS
2016-10-17 19:08:58 +02:00
- fixed GH #1456: better handle leap seconds in Poco::DateTime and Poco::LocalDateTime
- fixed GH #1458: Probably invalid epoll_create() usage inside Poco/Socket.cpp
2016-10-07 22:29:23 +02:00
- Poco::XML::NamePool: increased default size from 251 to 509. Default size can now
be changed by defining the POCO_XML_NAMEPOOL_DEFAULT_SIZE macro accordingly.
- Enchancements: Poco::XML::Document and Poco::XML::DOMParser have new constructors
taking a NamePool size. Poco::Util::XMLConfiguration::load() also has a new overload
for that purpose.
- Improved error handling in the Zip library (getting rid of some poco_assert macros
and did proper error handling instead).
- Added Poco::URISyntaxException (subclass of Poco::SyntaxException), which is now
thrown by Poco::URI.
- Improved error handling in Poco::URIStreamOpener::open().
- Poco::Data::MySQL: Handle connection lost/server gone error when starting a transaction
and retry.
2017-09-01 20:24:45 +02:00
- XMLConfiguration default (and single-argument delimiter) constructor now loads an empty
XML document with "config" root element to make the configuration usable without an
2016-10-16 13:40:33 +02:00
additional call to load() or loadEmpty().
2016-09-06 15:29:00 +02:00
2016-08-25 08:35:07 +02:00
!!!Release 1.7.5
!!Summary of Changes
2016-08-27 11:23:26 +02:00
- fixed GH #1252: Unable to compile Poco::Data for Windows Compact Embedded 2013
2016-08-28 17:19:12 +02:00
- fixed GH #1344: Poco::Event::wait(timeout) should use CLOCK_MONOTONIC on Linux
2017-09-01 20:24:45 +02:00
- fixed GH #1355: [JSON::Object] After copy-ctor, JSON::Object::_keys still points to
keys in map of copied object
- GH #1361: Shell expansion rules say that tilde must be replaced with $HOME before
2016-08-27 11:23:26 +02:00
calling getpwuid
- Poco::SingletonHolder: added reset() method
2016-08-28 17:19:12 +02:00
- prefer clock_getttime() over gettimeofday() if available
2016-08-27 11:23:26 +02:00
- Upgraded bundled SQLite to 3.14.1
2016-08-08 19:08:58 +02:00
2016-07-03 09:54:50 +02:00
!!!Release 1.7.4
!!Summary of Changes
2016-07-03 14:14:27 +02:00
- fixed GH #1300: Session constructor hangs
- fixed GH #1303: HTTPSClientSession::sendRequest() fails if server has wildcard cert
- fixed GH #1304: URI doesn't know "ws:/" or "wss://" schemes
2016-07-03 10:34:10 +02:00
- fixed GH #1307: Upgrade bundled expat to 2.2.0
2016-07-19 15:51:23 +02:00
- fixed GH #1316: Empty SocketReactor never sleeps
- fixed GH #1313: XML library compilation error
2016-07-03 14:14:27 +02:00
- Upgraded bundled SQLite to 3.13.0
2016-07-03 09:54:50 +02:00
2016-04-11 09:06:38 +02:00
!!!Release 1.7.3
!!Summary of Changes
2016-04-26 17:02:41 +02:00
- fixed GH #993: Invalid zip format when opening a docx in word
- fixed GH #1235: Poco::Net::HTTPClientSession::sendRequest() should also handle HTTP_PATCH
2017-09-01 20:24:45 +02:00
- fixed GH #1236: Remove Poco::Data::Row::checkEmpty() as it prevents Row from being used
2016-04-26 17:02:41 +02:00
with all NULL rows
- fixed GH #1239: Poco::Zip::Compress with non-seekable stream fails for CM_STORE
2017-09-01 20:24:45 +02:00
- fixed GH #1242: Poco::Data::RowFormatter generate exception if the first column of first
2016-04-26 17:02:41 +02:00
row is null
- fixed GH #1253: ListMap does not maintain insertion order if key already exists
- Upgraded bundled SQLite to 3.12.2
2016-04-11 09:06:38 +02:00
2016-03-19 08:19:35 +01:00
!!!Release 1.7.2
!!Summary of Changes
- fixed GH #1197: Upgrade bundled expat to 2.1.1
Expat 2.1.1 fixes a CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1283
- fixed GH #1204: getdtablesize has been removed on Android 21
- fixed GH #1203: Poco::Data::RecordSet should be reusable
2016-04-26 17:02:41 +02:00
- fixed GH #1198: Upgrade bundled SQLite to 3.12.1
2016-03-19 08:19:35 +01:00
2016-03-12 10:36:39 +01:00
!!!Release 1.7.1
!!Summary of Changes
- fixed GH #1187: Data/MySQL: Seeing frequent "MySQL server has gone away" errors
- fixed GH #1184: Attempting to connect via a proxy throws a DNS error "Host not found"
- fixed GH #1180: Possible deadlock when TaskManager::count() is called in onFinished
2017-09-01 20:24:45 +02:00
- NetSSL_OpenSSL: use TLS_*_method() instead of deprecated SSLv23_*_method()
if OpenSSL version is >= 1.1; initialize default/fallback client context to support
2016-03-12 12:19:28 +01:00
all TLS protocols, not just TLSv1
2016-03-12 10:36:39 +01:00
2016-02-29 11:19:38 +01:00
!!!Release 1.7.0
!!Summary of Changes
2016-03-04 10:39:54 +01:00
- POSSIBLE BREAKING CHANGE: removed automatic registration of Data connectors due to
issues with static initialization order.
2016-03-04 19:17:43 +01:00
- NetSSL_OpenSSL: added support for ECDH and DH ciphers; added support to disable
2017-09-01 20:24:45 +02:00
specific protocols (Poco::Net::Context::disableProtocols());
new Poco::Net::Context constructor taking a Poco::Net::Context::Params structure that
2016-03-04 19:17:43 +01:00
allows specifying ECDH and DH parameters.
2017-09-01 20:24:45 +02:00
- Poco::Net::TCPServer: add additional try ... catch block around poll() to
2016-03-05 17:58:22 +01:00
gracefully deal with errors due to high system load (e.g., out of file descriptors).
2016-03-04 14:21:21 +01:00
- fixed GH #1171: Poco::Data::RecordSet: rowCount not reset after execute
2017-09-01 20:24:45 +02:00
- fixed GH #1167: CMake & POCO_UNBUNDLED: expat sources are compiled in libPocoXML
- fixed GH #1160: Poco::Net::NetException
2016-02-29 11:19:38 +01:00
"SSL Exception: error:1409F07F:SSL routines:ssl3_write_pending:bad write retry"
- fixed GH #1152: Wrong TaskProgressNotification description
- fixed GH #1141: Poco::StringTokenizer::TOK_TRIM changes behavior between 1.4 and 1.6
- fixed GH #1137: Missing 'longint' type in SQLite
2017-09-01 20:24:45 +02:00
- fixed GH #1135: Different package on github and official web site
2016-02-29 11:19:38 +01:00
- fixed GH #1030: tvOS / WatchOS bitcode enabled for simulators
- fixed GH #1114: World-write permissions on files created by daemon
- fixed GH #1087: prevent line breaks in base64-encoded creds
- fixed GH #1026: Fixes for producing the poco-1.6.2 release on a Cygwin x86 platform
- fixed GH #1022: Abbreviation in setThreadName can happen even if thread name is not too long
2017-09-01 20:24:45 +02:00
- fixed GH #1002: ActiveDispatcher saves reference to event context after event was
2016-02-29 11:19:38 +01:00
performed until it gets new event
- fixed GH #973: overwrite existing files on windows when moving files
- fixed GH #969: Poco::File::renameTo() behaviour differs on windows and linux
- fixed GH #967: Missing data types in SQLite
- fixed GH #966: Possible crash when processing a corrupted Zip file
- fixed GH #958: Bug while reading X509Certificate subjectName
2017-09-01 20:24:45 +02:00
- fixed GH #937: Missing build_vs140.cmd
2016-02-29 11:19:38 +01:00
- fixed GH #933: Change in JSON::Object::set(key,value) behavior in 1.6.1
- fixed GH #931: make strToInt() more strict in what it accepts
- fixed GH #921: `BasicUnbufferedStreamBuf` needs to be marked for import/export
2017-09-01 20:24:45 +02:00
- fixed GH #848: MailMessage::_encoding is not set when retrieving plain/text message
2016-02-29 11:19:38 +01:00
- fixed GH #767: Inconsistency in getPath & getPathAndQuery returns
- fixed GH #724: Poco 1.6.0 is not compiled with openssl 1.0.0
- fixed GH #713: Improved support for producing Canonical XML in XMLWriter
- fixed GH #696: bug in parsing name of attachment poco c++ 1.6.0
- fixed GH #335: Compress with nonseekable
- upgraded bundled SQLite to 3.11.0
- added Poco::Crypto::X509Certificate::equals() to compare two certificates
- support for detecting Win8/Win10 in Poco::Environment
- Poco::Net::HTTPServerRequestImpl: fixed an issue with DELETE in persistent connections
- NetSSL: added Context::preferServerCiphers()
- NetSSL: added support for ECDH, new Context constructor
- NetSSL: add support for disabling certain protocols
- SMTPClientSession: added support for XOAUTH2 authentication
- Poco::Data::SessionPool: re-added customizeSession() method from 1.4.x releases
- improved SSLManager to automatically set-up a reasonable client Context if
none is configured
- add brew OpenSSL search paths to Darwin configs
2017-09-01 20:24:45 +02:00
- add HTTP/1.1 version to HTTPRequest for client WebSocket, as this is required for
2016-02-29 11:19:38 +01:00
most servers
- remove GCC_DIAG_OFF as this caused more issues than it solved
- respect POCO_NO_FORK_EXEC in ServerApplication (tvOS)
- tvOS and WatchOS support
- fix: need an implementation of available() for WebSocketImpl
- HTTPSessionInstantiator: respect global proxy config
- added constant for HTTP PATCH method to Poco::Net::HTTPRequest
- NumberParser::parseHex[64](): allow 0x/0X prefix
2016-03-04 10:39:54 +01:00
!!Incompatible Changes and Possible Transition Issues
2017-09-01 20:24:45 +02:00
- Removed automatic registration of Data connectors due to issues with static
2016-03-04 10:39:54 +01:00
initialization order. Data connectors used in an application must be explicitly
2017-09-01 20:24:45 +02:00
registered with a call to registerConnector() before it can be used, e.g.:
2016-03-04 10:39:54 +01:00
Poco::Data::SQLite::Connector::registerConnector()
2016-02-29 11:19:38 +01:00
2015-08-02 10:49:28 +02:00
!!!Release 1.6.1
!!Summary of Changes
- added project and solution files for Visual Studio 2015
- upgraded bundled SQLite to 3.8.11.1
- fixed GH #782: Poco::JSON::PrintHandler not working for nested arrays
- fixed GH #819: JSON Stringifier fails with preserve insert order
- fixed GH #878: UUID tryParse
- fixed GH #869: FIFOBuffer::read(T*, std::size_t) documentation inaccurate
- fixed GH #861: Var BadCastException
- fixed GH #779: BUG in 1.6.0 Zip code
2017-09-01 20:24:45 +02:00
- fixed GH #769: Poco::Var operator== throws exception
2015-08-02 10:49:28 +02:00
- fixed GH #766: Poco::JSON::PrintHandler not working for objects in array
2017-09-01 20:24:45 +02:00
- fixed GH #763: Unable to build static with NetSSL_OpenSSL for OS X
2015-08-02 10:49:28 +02:00
- fixed GH #750: BsonWriter::write<Binary::Ptr> missing size ?
2017-09-01 20:24:45 +02:00
- fixed GH #741: Timestamp anomaly in Poco::Logger on WindowsCE
- fixed GH #735: WEC2013 build fails due to missing Poco::Path methods.
2015-08-02 10:49:28 +02:00
- fixed GH #722: poco-1.6.0: Unicode Converter Test confuses string and char types
- fixed GH #719: StreamSocket::receiveBytes and FIFOBuffer issue in 1.6
2017-09-01 20:24:45 +02:00
- fixed GH #706: POCO1.6 Sample EchoServer BUG
2015-08-02 10:49:28 +02:00
- fixed GH #646: Prevent possible data race in access to Timer::_periodicInerval
2017-09-01 20:24:45 +02:00
- DeflatingStream: do not flush underlying stream on sync() as these can cause
2015-08-02 10:49:28 +02:00
corrupted files in Zip archives
2014-12-06 12:08:38 +01:00
!!!Release 1.6.0
!!Summary of Changes
- fixed GH #625: MongoDB ensureIndex double insert?
- fixed GH #622: Crypto: RSATest::testSign() should verify with public key only
2017-09-01 20:24:45 +02:00
- fixed GH #620: Data documentation sample code outdated
2014-12-06 12:08:38 +01:00
- fixed GH #618: OS X 10.10 defines PAGE_SIZE macro, conflicts with PAGE_SIZE in Thread_POSIX.cpp
- fixed GH #616: Visual Studio warning C4244
- fixed GH #612: OpenSSLInitializer calls OPENSSL_config but not CONF_modules_free
2017-09-01 20:24:45 +02:00
- fixed GH #608: (Parallel)SocketAcceptor ctor/dtor call virtual functions
2014-12-06 12:08:38 +01:00
- fixed GH #607: Idle Reactor high CPU usage
2017-09-01 20:24:45 +02:00
- fixed GH #606: HTMLForm constructor read application/x-www-form-urlencoded UTF-8 request
2014-12-06 12:08:38 +01:00
body first parameter with BOM in name
- fixed GH #596: For OpenSSL 1.0.1, include openssl/crypto.h not openssl/fips.h
- fixed GH #592: Incorrect format string in Poco::Dynamic::Struct
- fixed GH #590: Poco::Data::SQlite doesn't support URI filenames
- fixed GH #564: URI::encode
- fixed GH #560: DateTime class calculates a wrong day
- fixed GH #549: Memory allocation is not safe between fork() and execve()
- fixed GH #500: SSLManager causes a crash
- fixed GH #490: 2 byte frame with payload length of 0 throws "Incomplete Frame Received" exception
- fixed GH #483: multiple cases for sqlite_busy
- fixed GH #482: Poco::JSON::Stringifier::stringify bad behaviour
- fixed GH #478: HTTPCredentials not according to HTTP spec
2017-09-01 20:24:45 +02:00
- fixed GH #471: vs2010 release builds have optimization disabled ?
2014-12-06 12:08:38 +01:00
- fixed GH #468: HTTPClientSession/HTTPResponse not forwarding exceptions
2017-09-01 20:24:45 +02:00
- fixed GH #438: Poco::File::setLastModified() doesn't work
- fixed GH #402: StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
2014-12-06 12:08:38 +01:00
not thread safe
2017-09-01 20:24:45 +02:00
- fixed GH #345: Linker warning LNK4221 in Foundation for SignalHandler.obj, String.obj
2014-12-06 12:08:38 +01:00
and ByteOrder.obj
- fixed GH #331: Poco::Zip does not support files with ".." in the name.
- fixed GH #318: Logger local time doesn't automatically account for DST
- fixed GH #294: Poco::Net::TCPServerParams::setMaxThreads(int count) will not accept count == 0.
- fixed GH #215: develop WinCE build broken
2017-09-01 20:24:45 +02:00
- fixed GH #63: Net::NameValueCollection::size() returns int
2014-12-06 12:08:38 +01:00
- Poco::Logger: formatting methods now support up to 10 arguments.
- added Poco::Timestamp::raw()
- Poco::DeflatingOutputStream and Poco::InflatingOutputStreams also flush underlying stream
on flush()/sync().
- Poco::Util::Timer: prevent re-schedule of cancelled TimerTask
- enabled WinRegistryKey and WinRegistryConfiguration for WinCE
- Poco::BasicEvent improvements and preparations for future support of lambdas/std::function
- upgraded bundled sqlite to 3.8.7.2
- Poco::Thread: added support for starting functors/lambdas
- Poco::Net::HTTPClientSession: added support for global proxy configuration
2017-09-01 20:24:45 +02:00
- added support for OAuth 1.0/2.0 via Poco::Net::OAuth10Credentials and
2014-12-06 12:08:38 +01:00
Poco::Net::OAuth20Credentials classes.
- Poco::Net::IPAddress: fixed IPv6 prefix handling issue on Windows
- added Poco::Timestamp::TIMEVAL_MIN and Poco::Timestamp::TIMEVAL_MAX
- added Poco::Clock::CLOCKVAL_MIN and Poco::Clock::CLOCKVAL_MAX
- added poco_assert_msg() and poco_assert_msg_dbg() macros
2017-09-01 20:24:45 +02:00
- Poco::Net::Context: fixed a memory leak if the CA file was not found while creating the
2014-12-06 12:08:38 +01:00
Context object (the underlying OpenSSL context would leak)
- Poco::URI: added new constructor to create URI from Path
- Various documentation and style fixes
2014-12-15 11:10:28 +01:00
- Removed support (project/solution files) for Visual Studio.NET 2003 and Visual Studio 2005.
- Improved CMake support
2014-12-06 12:08:38 +01:00
!!Incompatible Changes and Possible Transition Issues
- Compiling POCO on Windows without #define POCO_WIN32_UTF8 is deprecated and will
lead to diagnostic messages while compiling.
2014-12-17 02:54:50 +01:00
- Support (project and solution files) for MS Visual Studio 2003 and 2005 has been
removed; the oldest officially supported VS version is 2008 (MSVC version 9.0).
2017-09-01 20:24:45 +02:00
- MongoDB: The ObjectId class has a new constructor taking a std::string containing a
hexadecimal representation of the object ID.
2014-12-06 12:08:38 +01:00
2014-10-09 21:25:31 +02:00
!!!Release 1.5.4
!!Summary of Changes
- fixed GH #326: compile Net lib 1.5.2 without UTF8 support enabled
- fixed GH #518: NetworkInterface.cpp compile error w/ POCO_NO_WSTRING (1.5.3)
2017-09-01 20:24:45 +02:00
- Fixed MSVC 2010 warnings on large alignment
2014-10-09 21:25:31 +02:00
- make HTTPAuthenticationParams::parse() add value on end of string
2014-10-11 07:39:59 +02:00
- fixed GH #482: Poco::JSON::Stringifier::stringify bad behaviour
- fixed GH #508: Can't compile for arm64 architecture
2014-10-09 21:25:31 +02:00
- fixed GH #510: Incorrect RSAKey construction from istream
2014-10-11 07:39:59 +02:00
- fix SharedMemory for WinCE/WEC2013
2014-10-09 21:25:31 +02:00
- Add NIOS2 double conversion detection, fixes compile errors
- added VS2013 project/solution files for Windows Embedded Compact 2013
- added Process::isRunning()
- NetSSL: Fix typo in documentation
- NetSSL_OpenSSL: support for TLS 1.1 and 1.2
- Zip: Added CM_AUTO, which automatically selects CM_STORE or CM_DEFLATE based
2017-09-01 20:24:45 +02:00
on file extension. Used to avoid double-compression of already compressed file
2014-10-09 21:25:31 +02:00
formats such as images.
- added %L modifier to PatternFormatter to switch to local time
- removed unnecessary explicit in some multi-arg constructors
2017-09-01 20:24:45 +02:00
- Allow SecureStreamSocket::attach() to be used in server connections
2014-10-09 21:25:31 +02:00
- added Var::isBoolean() and fixed JSON stringifier
- added poco_unexpected() macro invoking Bugcheck::unexpected() to deal
with unexpected exceptions in destructors
2014-10-11 07:39:59 +02:00
- fixed GH #538 prevent destructors from throwing exceptions
2014-10-09 21:25:31 +02:00
- improved HTTP server handling of errors while reading header
2014-10-11 07:39:59 +02:00
- fixed GH #545: use short for sign
2014-10-09 21:25:31 +02:00
- upgraded SQLite to 3.8.6
2014-10-11 07:39:59 +02:00
- fixed GH #550 WebSocket fragmented message problem
2014-10-09 21:25:31 +02:00
- improved HTTPClientSession handling of network errors while sending the request
- updated bundled PCRE to 8.35.0
2014-10-11 07:39:59 +02:00
- fixed GH #552: FIFOBuffer drain() problem
- fixed GH #402: StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
2014-10-09 21:25:31 +02:00
not thread safe
- HTTPCookie: fix documentation for max age
- added Timestamp::raw() and Clock::raw()
- Poco::Buffer properly handles zero-sized buffers
2014-10-11 07:39:59 +02:00
- GH #512: Poco:Data:ODBC:Binder.h causes a crash
- Added Crypto_Win and NetSSL_Win libraries which are re-implementations of existing
2017-09-01 20:24:45 +02:00
Crypto and NetSSL_OpenSSL libraries based on WinCrypt/Schannel. The new libraries
2014-10-11 07:39:59 +02:00
can be used as an almost drop-in replacement for the OpenSSL based libraries on
Windows and Windows Embedded Compact platforms. Only available from GitHub for now.
2014-10-09 21:25:31 +02:00
2014-05-21 10:28:24 +02:00
!!!Release 1.5.3
!!Summary of Changes
2017-09-01 20:24:45 +02:00
- fixed GH #316: Poco::DateTimeFormatter::append() gives wrong result for
2014-05-21 10:28:24 +02:00
Poco::LocalDateTime
- Poco::Data::MySQL: added SQLite thread cleanup handler
2017-09-01 20:24:45 +02:00
- Poco::Net::X509Certificate: improved and fixed domain name verification for
2014-05-21 10:28:24 +02:00
wildcard domains
- added Poco::Clock class, which uses a system-provided monotonic clock
(if available) and is thus not affected by system realtime clock changes.
Monotonic Clock is available on Windows, Linux, OS X and on POSIX platforms
2017-09-01 20:24:45 +02:00
supporting clock_gettime() and CLOCK_MONOTONIC.
2014-05-21 10:28:24 +02:00
- Poco::Timer, Poco::Stopwatch, Poco::TimedNotificationQueue and Poco::Util::Timer
have been changed to use Poco::Clock instead of Poco::Timestamp and are now
unaffected by system realtime clock changes.
2016-10-07 22:29:23 +02:00
- fixed GH #350: Memory leak in Data/ODBC with BLOB
2014-05-21 10:28:24 +02:00
- Correctly set MySQL time_type for Poco::Data::Date.
2017-09-01 20:24:45 +02:00
- fixed GH #352: Removed redundant #includes and fixed spelling mistakes.
2014-05-21 10:28:24 +02:00
- fixed setting of MYSQL_BIND is_unsigned value.
- fixed GH #360: CMakeLists foundation: add Clock.cpp in the list of source files
- Add extern "C" around <net/if.h> on HPUX platform.
- added runtests.sh
- fixed CPPUNIT_IGNORE parsing
- fixed Glob from start path, for platforms not alowing transverse from root (Android)
- added NTPClient (Rangel Reale)
- added PowerShell build script
- added SmartOS build support
- fix warnings in headers
- XMLWriter: removed unnecessary apostrophe escaping (&apos)
- MongoDB: use Int32 for messageLength
- fixed GH #380: SecureSocket+DialogSocket crashes with SIGSEGV when timeout occours
- Improve RSADigestEngine, using Poco::Crypto::DigestEngine to calculate hash before signing
- added Poco::PBKDF2Engine
- Fixed GH #380: SecureSocket+DialogSocket crashes with SIGSEGV when timeout occours
- added support for a 'Priority' attribute on cookies.
- GH #386: fixed bug in MailMessage without content-transfer-encoding header
- GH #384: ew hash algorithms support for RSADigestEngine
- fixed Clock overflow bug on Windows
- Poco::ByteOrder now uses intrinsics, if available
- CMake: added /bigobj option for msvc
- Fix typo to restore Net/TestSuite_x64_vs120 build
- correct path for CONFIGURE_FILE in CMakeLists.txt
- Building Poco 1.5.2 for Synology RS812+ (Intel Atom) (honor POCO_NO_INOTIFY)
- added WEC2013 support to buildwin.cmd and buildwin.ps1
- HTMLForm: in URL encoding, percent-encode more characters
2017-09-01 20:24:45 +02:00
- Fixed #include <linux/if.h> conflict with other libraries
2014-05-21 10:28:24 +02:00
- Poco::Net::X509Certificate::verify() no longer uses DNS reverse lookups to validate host names
- cert hostname validation is case insensitive and stricter for wildcard certificates
- TCPServer: do not reduce the capacity of the default ThreadPool
- added POCO_LOG_DEBUG flag
- Zip: fixed a crash caused by an I/O error
- added runtest script for windows
- added SQlite Full Text Search support
- added Thread::trySleep() and Thread::wakeUp()
- fixed GH #410: Bug in JSON::Object.stringify() in 1.5.2
- fixed GH #362: Defect in Var::parseString when there is no space between value and newline
- fixed GH #314: JSON parsing bug
- added GH #313: MetaColumn additions for Data::ODBC and Data::SQLite
- fixed GH #346: Make Poco::Data::Date and Poco::Data::Time compare functions const.
- fixed GH #341: Compiling poco-1.5.2 for Cygwin
- fixed GH #305: There are bugs in Buffer.h
- fixed GH #321: trivial build fixes (BB QNX build)
- fixed GH #440: MongoDB ObjectId string formatting
- added SevenZip library (Guenter Obiltschnig)
- fixed GH #442: Use correct prefix length field of Windows IP_ADAPTER_PREFIX structure
- improved GH #328: NetworkInterface on Windows XP
- fixed GH #154 Add support for MYSQL_TYPE_NEWDECIMAL to Poco::Data::MySQL
- fixed GH #290: Unicode support
2014-05-21 17:58:28 +02:00
- fixed GH #318: Logger local time doesn't automatically account for DST
- fixed GH #363: DateTimeParser tryParse/parse
- added HTMLForm Content-Length calculation (Rangel Reale)
- Make TemporaryFile append a slash to tempDir
- Make TemporaryFile append a slash to tempDir
- fixed GH #319 android build with cmake
- added hasDelegates() method to AbstractEvent
- fixed GH #230: Poco::Timer problem
2014-05-23 09:18:59 +02:00
- fixed GH #317: Poco::Zip does not support newer Zip file versions.
- fixed GH #176: Poco::JSON::Stringifier UTF encoding
- fixed GH #458: Broadcast address and subnet mask for IEEE802.11 network interface
- fixed GH #456: poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
2014-10-09 21:25:31 +02:00
2014-05-21 10:28:24 +02:00
!!Incompatible Changes and Possible Transition Issues
- Data::ODBC: UTF-16 Unicode is now directly mapped and recognized as type by ODBC.
2017-09-01 20:24:45 +02:00
This may cause behavior different from previosu versions, especially with Any and
Dynamic::Var bindings.
2017-09-01 20:24:45 +02:00
In this release, UTF-16 binding is only available for ODBC back end; although other
back ends will compile with UTF-16 strings bound, such binding attempt will throw
NotImplementedException at runtime.
- Please note that 1.5.x releases are development releases and not considered stable. Interfaces may
change, and backwards compatibility with the stable 1.4 release series
2017-09-01 20:24:45 +02:00
is not guaranteed. There may also be some rough edges.
The next stable release incorporating 1.5 features will be 1.6.
2014-10-09 21:25:31 +02:00
2013-06-16 19:13:44 +02:00
!!!Release 1.5.2
!!Summary of Changes
- added MongoDB library
2013-06-16 19:13:44 +02:00
- fixed GH #57: poco-1.5.1: Doesn't compile for Android
- added VoidEvent (Arturo Castro)
- fixed GH #80: NumberFormatter::append broken
- fixed GH #93: ParallelSocketAcceptor virtual functions
- optional small object optimization for IPAddress, SocketAddress, Any and Dynamic::Var
- SQLite events (insert, update, delete, commit, rollback) handlers
- merged GH #91: Improve SQLite multi-threaded use (Rangel Reale)
- merged GH #86: Invalid pointers to vector internals (Adrian Imboden)
- automatic library initialization macros
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
- fixed GH #71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h
- fixed GH #109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
- added clang libc++ build configurations for Darwin and iPhone (Andrea Bigagli)
- fixed GH #116: Wrong timezone parsing in DateTimeParse (Matej Knopp)
- fixed GH #118: JSON::Object::stringify endless loop
- added Recursive and SortedDirectoryIterator (Marian Krivos)
- added ListMap (map-like container with preserving insertion order)
- MailMessage: attachments saving support and consistent read/write
- fixed GH #124: Possible buffer overrun in Foundation/EventLogChannel
- fixed GH #119: JSON::Object holds values in ordered map
- added JSON::PrintHandler
- renamed JSON::DefaultHandler to ParseHandler (breaking change!)
- fixed GH #127: Eliminate -Wshadow warnings
- fixed GH #79: Poco::Thread leak on Linux
- fixed GH #61: static_md build configs for Crypto and NetSSL
- fixed GH #130: prefer sysconf over sysctlbyname
- fixed GH #131: no timezone global var on OpenBSD
- fixed GH #102: Some subprojects don't have x64 solutions for VS 2010
- added GH #75: Poco::Uri addQueryParameter method
- Poco::Environment::osDisplayName() now recognizes Windows 8/Server 2012
- fixed GH #140: Poco::Runnable threading cleanup issue
- simplified default TCP/HTTPServer construction
- fixed GH #141: Application::run() documentation/implementation discrepancy
- changed RowFormatter to SharedPtr<RowFormatter> in Data::RecordSet interface (breaking change!)
- fixed GH #144: Poco::Dynamic emits invalid JSON
- removed naked pointers from Data interfaces
- fixed GH #82: name conflict in Data::Keywords::bind
- fixed GH #157: MySQL: cannot bind to 'long' data type on Windows/Visual C++
- fixed GH #158: MySQL: MYSQL_BIND 'is_unsigned' member is not set
- fixed GH #160: MultipartReader ignores first part, if preamble is missing
- fixed GH #156: Possible buffer overrun in Foundation/EventLogChannel
- XML: fixed an issue with parsing a memory buffer > 2 GB
- upgraded to expat 2.1.0
- Data/ODBC: added support for setting query timeout (via setProperty
of "queryTimeout"). Timeout is int, given in seconds.
2017-09-01 20:24:45 +02:00
- fixed a potential endless loop in SecureStreamSocketImpl::sendBytes()
2013-06-16 19:13:44 +02:00
and also removed unnecessary code.
2017-09-01 20:24:45 +02:00
- fixed GH #159: Crash in openssl CRYPTO_thread_id() after library libPocoCrypto.so
2013-06-16 19:13:44 +02:00
has been unloaded.
2017-09-01 20:24:45 +02:00
- fixed GH #155: MailOutputStream mangles consecutive newline sequences
2013-06-16 19:13:44 +02:00
- fixed GH #139: FileChannel::PROP_FLUSH is invalid (contains a tab character)
- fixed GH #173: HTTPClientSession::proxyConnect forces DNS lookup of host names
- fixed GH #194: MessageNotification constructor is inefficient.
- fixed GH #189: Poco::NumberParser::tryParse() documentation bug
- fixed GH #172: IPv6 Host field is stripped of Brackets in HTTPClientSession
- fixed GH #188: Net: SocketAddress operator < unusable for std::map key
2017-09-01 20:24:45 +02:00
- fixed GH #128: DOMWriter incorrectly adds SYSTEM keyword to DTD if PUBLIC is
2013-06-16 19:13:44 +02:00
already specified
- fixed GH #65: Poco::format() misorders sign and padding specifiers
- upgraded bundled SQLite to 3.7.17
- replaced JSON parser with Poco::Web::JSON parser (from sandbox)
- added JSON conversion to Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var (empty == empty)
- added Alignment.h header for C++03 alignment needs
- added Data/WebNotifier (DB, WebSocket) example
- fixed GH #209: Poco::NumberFormatter double length
- fixed GH #204: Upgrade zlib to 1.2.8
- fixed GH #198: The "application.configDir" property is not always created.
2017-09-01 20:24:45 +02:00
- fixed GH #185: Poco::NumberFormatter::format(double value, int precision)
2013-06-16 19:13:44 +02:00
ignore precision == 0
- fixed GH #138: FreeBSD JSON tests fail
- fixed GH #99: JSON::Query an JSON::Object
2017-09-01 20:24:45 +02:00
- limited allowed types for JSON::Query to Object, Array, Object::Ptr,
2013-06-16 19:13:44 +02:00
Array::Ptr and empty
- fixed GH #175: HTMLForm does not read URL parameters on POST or PUT
- added GH #187: MySQL: allow access to the underlying connection handle
- added GH #186: MySQL: support for MYSQL_SECURE_AUTH
- fixed GH #174: MySQL: 4GB allocated when reading any largetext or largeblob field
2017-09-01 20:24:45 +02:00
- fixed a potential memory leak in Poco::Net::HTTPClientSession if it is misused
(e.g., sendRequest() is sent two times in a row without an intermediate call to
receiveResponse(), or by calling receiveResponse() two times in a row without
2013-06-16 19:13:44 +02:00
an intermediate call to sendRequest()) - GH #217
2017-09-01 20:24:45 +02:00
- removed a few unnecessary protected accessor methods from Poco::Net::HTTPClientSession
2013-06-16 19:13:44 +02:00
that would provide inappropriate access to internal state
- merged GH #210: Don't call CloseHandle() twice on Windows; Ability to select the
threadpool that will be used to start an Activity(Patrice Tarabbia)
- fixed GH #212: JSONConfiguration was missing from the vs90 project(Patrice Tarabbia)
- fixed GH #220: add qualifiers for FPEnvironment in C99 (Lucas Clemente)
2013-07-18 13:34:38 +02:00
- fixed GH #222: HTTPCookie doesn't support expiry times in the past (Karl Reid)
- fixed GH #224: building 1.5.1 on Windows for x64
2016-10-07 22:29:23 +02:00
- fixed GH #233: ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only) does not work
- fixed GH #231: Compatibility issue with Poco::Net::NetworkInterface
- fixed GH #236: Bug in RecursiveDirectoryIterator
2013-09-14 13:42:08 +02:00
- added ColorConsoleChannel and WindowsColorConsoleChannel classes supporting
colorizing log messages
2016-10-07 22:29:23 +02:00
- fixed GH #259: Poco::EventLogChannel fails to find 64bit Poco Foundation dll
- fixed GH #254: UTF8::icompare unexpected behavior
2013-09-14 13:42:08 +02:00
- Poco::UUID::tryParse() also accepts UUIDs without hyphens. Also updated documentation
(links to specifications).
2016-10-07 22:29:23 +02:00
- added GH #268: Method to get JSON object value using Poco::Nullable
2017-09-01 20:24:45 +02:00
- fixed GH #267: JSON 'find' not returning empty result if object is expected but another
2013-09-15 21:41:20 +02:00
value is found
2013-09-16 20:58:54 +02:00
- Added support for ARM64 architecture and iPhone 5s 64-bit builds
(POCO_TARGET_OSARCH=arm64).
2013-09-14 13:42:08 +02:00
2013-06-16 19:13:44 +02:00
!!Incompatible Changes and Possible Transition Issues
- Dynamic::Var: comparison of two empty objects now returns true
- WinCE does not build in this release; this will be fixed in a later release
- JSON::DefaultHandler was renamed to a more appropriate name - ParseHandler;
ParseHandler does not have to be passed to the Parser, it will be used by default;
handlers are now passed into Parser as smart pointers, so passing in addresses of
stack objects will cause undefined behavior
- Please note that 1.5.x releases are development releases and not considered stable.
Interfaces may change, and backwards compatibility with the stable 1.4 release
2017-09-01 20:24:45 +02:00
series is not guaranteed. There may also be some rough edges.
The next stable release incorporating 1.5 features will be 1.6.
2013-06-16 19:13:44 +02:00
2012-12-25 01:12:36 +01:00
!!!Release 1.5.1
!!Summary of Changes
- using double-conversion library for floating-point numeric/string conversions
- added Poco::istring (case-insensitive string) and Poco::isubstr (case-insensitive substring)
- added Poco::Data::SQLite sys.dual (in-memory system table)
- applied SF Patch #120: The ExpireLRUCache does not compile with a tuple as key on Visual Studio 2010
- fixed SF Bug #599: Poco::JSON::Array and JSON::Object size() member can implicitly lose precision
- fixed SF Bug #602: iterating database table rows not correct if no data in table
- fixed SF Bug #603: count() is missing in HashMap
- fixed GH #23: Poco::JSON::Object::stringify throw BadCastException
- fixed GH #16: Poco::Net::NetworkInterface::firstAddress() should not throw on unconfigured interfaces
- Android compile/build support (Rangel Reale)
- improved iPhone compile/build (Rangel Reale)
- TypeHandler::prepare() now takes const-reference
- fixed GH #27: Poco::URI::decode() doesn't properly handle '+'
- fixed GH #31: Poco::JSON implementation bug
- fixed SF #597: Configure script ignores cflags
- fixed SF #593: Poco 1.5.0 on FreeBSD: cannot find -ldl
- added SF #542: SocketAddress() needs port-only constructor
- fixed SF #215: Wrong return type in SocketConnector.h
- applied SF Patch #97: fix c++0x / clang++ bugs
- fixed GH32/SF596: Poco::JSON: Parsing long integer (int64) value fails.
- added Net ifconfig sample (contributed by Philip Prindeville)
- merged GH #34: add algorithm header (Roger Meier/Philip Prindeville)
- improved CMake build (Mathaus Mendel)
2017-09-01 20:24:45 +02:00
- fixed GH #26: Cannot compile on gcc
2012-12-25 01:12:36 +01:00
- merged SF #111: FTP Client logging (Marian Krivos)
- fixed GH #30: Poco::Path::home() throws when called from Windows Service
- fixed GH #22: Poco::Data::MySQL connection string lowercased
- added MySQL support for Date/Time
- upgraded SQLite to version 3.7.15.1 (2012-12-19)
- improved SQLite execute() return (affected rows) value and added tests
- added bool Poco::Data::SQLite::Utility::isThreadSafe() function
- added bool Poco::Data::SQLite::Utility::setThreadMode(int) function
- added int Poco::Data::SQLite::Utility::getThreadMode() function
2013-01-07 05:39:48 +01:00
- fixed GH #36: 'distclean' requires 3 traversals of project tree
2012-12-25 01:12:36 +01:00
- fixed GH #41: Buffer::resize crash
2013-01-07 05:31:54 +01:00
- fixed GH #42: Linux unbundled builds don't link
- fixed GH #44: Problems with win x64 build
- fixed GH #46: 1.5.1 build fails on OS X when using libc++
- fixed GH #48: Need getArgs() accessor to Util::Application to retrieve start-up arguments
- fixed GH #49: NetworkInterface::list doesn't return MAC addresses
- fixed GH #51: Android should use isfinite, isinf, isnan and signbit from the std namespace
- fixed GH #53: JSON unicode fixes and running tests on invalid unicode JSON
- added ParallelAcceptor and ParallelReactor classes
- added EOF and error to FIFOBuffer
2012-12-25 01:12:36 +01:00
!!Incompatible Changes and Possible Transition Issues
- Please note that 1.5.x releases are development releases and not considered stable. Interfaces may
change, and backwards compatibility with the stable 1.4 release series
2017-09-01 20:24:45 +02:00
is not guaranteed. There may also be some rough edges.
The next stable release incorporating 1.5 features will be 1.6.
2012-12-25 01:12:36 +01:00
2012-10-14 14:29:08 +02:00
!!!Release 1.5.0
!!Summary of Changes
- added JSON library
- added Util::JSONConfiguration
- added FIFOBuffer and FIFOBufferStream
- fixed SF# 3522906: Unregistering handlers from SocketReactor
- fixed SF# 3522084: AbstractConfiguration does not support 64-bit integers
- HTTPServer::stopAll(): close the socket instead of just shutting it down, as the latter won't wake up a select() on Windows
- added SMTPLogger
- added cmake support
- fixed SF#3538778: NetworkInterface enumeration uses deprecated API
- fixed SF#3538779: IPAddress lacks useful constructors: from prefix mask, native SOCKADDR
- fixed SF#3538780: SocketAddress needs operator < function
- fixed SF#3538775: Issues building on Fedora/Centos, etc. for AMD64
- fixed SF#3538786: Use size_t for describing data-blocks in DigestEngine
- added IPAddress bitwise operators (&,|,^,~)
- added IPAddress BinaryReader/Writer << and >> operators
- modified IPAddress to force IPv6 to lowercase (RFC 5952)
2017-09-01 20:24:45 +02:00
- fixed SF#3538785: SMTPClientSession::sendMessage() should take recipient list
2012-10-14 14:29:08 +02:00
- added IPAddress::prefixLength()
- UTF portability improvements
- fixed SF#3556186: Linux shouldn't use <net/if.h> in Net/SocketDefs.h
- added IPAddress RFC 4291 compatible site-local prefix support
- fixed SF#3012166: IPv6 patch
- added SF#3558085: Add formatter to MACAddress object
- fixed SF#3552774: Don't hide default target in subordinate makefile
- fixed SF#3534307: Building IPv6 for Linux by default
2017-09-01 20:24:45 +02:00
- fixed SF#3516844: poco missing symbols with external >=lipcre-8.13
2012-10-14 14:29:08 +02:00
- added SF#3544720: AbstractConfigurator to support 64bit values
- fixed SF#3522081: WinRegistryConfiguration unable to read REG_QWORD values
- fixed SF#3563626: For Win32 set Up/Running flags on NetworkInterface
- fixed SF#3560807: Deprecate setPeerAddress() as this is now done in getifaddrs
- fixed SF#3560776: Fix byte-ordering issues with INADDR_* literals
- fixed SF#3563627: Set IP address on multicast socket from socket family
- fixed SF#3563999: Size BinaryWriter based on buffer's capacity(), not size()
- fixed SF#102 Fix building Poco on Debian GNU/FreeBSD
- fixed SF#321 Binding DatTime or Timestamp
- fixed SF#307 Detect the SQL driver type at run time
- added VS 2012 Projects/Solutions
- enhanced and accelerated numeric parsing for integers and floats
- fixed SF#590 Segfault on FreeBSD when stack size not rounded
- added warn function and warnmsg macro in CppUnit
- fixed SF# 3558012 Compilation fails when building with -ansi or -std=c++0x
- fixed SF# 3563517 Get rid of loss-of-precision warnings on x64 MacOS
- fixed SF#3562244: Portability fix for AF_LINK
- fixed SF #3562400: DatagramSocketImpl comment is incorrect
!!Incompatible Changes and Possible Transition Issues
- Keywords for the Data library (now, use, into, etc.) now reside in Poco::Data::Keywords namespace.
2012-10-14 23:18:11 +02:00
- Please note that 1.5.x releases are development releases and not considered stable. Interfaces may
2012-10-14 14:29:08 +02:00
change, and backwards compatibility with the stable 1.4 release series
2017-09-01 20:24:45 +02:00
is not guaranteed. There may also be some rough edges.
The next stable release incorporating 1.5 features will be 1.6.
2012-10-14 14:29:08 +02:00
!!!Release 1.4.7p1
!!Summary of Changes
- Fixed Visual C++ 2010-2013 project files. Release builds now have optimization enabled.
- Poco::URI: added constructor to create URI from Path.
- fixed GH #618: OS X 10.10 defines PAGE_SIZE macro, conflicts with PAGE_SIZE in Thread_POSIX.cpp
- Poco::Net::HTTPClientSession: added support for global proxy configuration
- fixed GH #331: Poco::Zip does not support files with .. in the name.
- fixed a memory leak in Poco::Net::Context constructor when it fails to load the certificate
or private key files.
- upgraded bundled SQLite to 3.8.7.2
- fixed GH #229: added missing value() function
- fixed GH #69: MySQL empty text/blob
!!!Release 1.4.7
!!Summary of Changes
- fixed GH #398: PropertyFileConfiguration: input != output
- fixed GH #368: Build failure of Poco 1.4.6p2 on FreeBSD 9.2
- fixed GH #318: Logger local time doesn't automatically account for DST
- fixed GH #317: Poco::Zip does not support newer Zip file versions.
- fixed GH #454: Fix: handle unhandled exceptions
- fixed GH #463: XML does not compile with XML_UNICODE_WCHAR_T
- fixed GH #282: Using Thread in a global can cause crash on Windows
- fixed GH #424: Poco::Timer deadlock
- fixed GH #465: Fix result enum type XML_Error -> XML_Status
- fixed GH #510: Incorrect RSAKey construction from istream
2017-09-01 20:24:45 +02:00
- fixed GH #332: POCO::ConsoleChannnel::initColors() assigns no color to
PRIO_TRACE and wrong color to PRIO_FATAL
- fixed GH #550: WebSocket fragmented message problem
- Poco::Data::MySQL: added SQLite thread cleanup handler
2017-09-01 20:24:45 +02:00
- Poco::Net::X509Certificate: improved and fixed domain name verification for
wildcard domains
- fixed a crash in Foundation testsuite with Visual C++ 2012
- improved and fixed domain name verification for wildcard domains in
Poco::Net::X509Certificate
- updated TwitterClient sample to use new 1.1 API and OAuth
- added Poco::Clock class, which uses a system-provided monotonic clock
(if available) and is thus not affected by system realtime clock changes.
Monotonic Clock is available on Windows, Linux, OS X and on POSIX platforms
2017-09-01 20:24:45 +02:00
supporting clock_gettime() and CLOCK_MONOTONIC.
- Poco::Timer, Poco::Stopwatch, Poco::TimedNotificationQueue and Poco::Util::Timer
have been changed to use Poco::Clock instead of Poco::Timestamp and are now
unaffected by system realtime clock changes.
- added Poco::PBKDF2Engine class template
- Poco::Net::HTTPCookie: added support for Priority attribute (backport from develop)
- fixed makedepend.* scripts to work in paths containing '.o*'
(contributed by Per-Erik Bjorkstad, Hakan Bengtsen)
- Upgraded bundled SQLite to 3.8.6
- Support for Windows Embedded Compact 2013 (Visual Studio 2012)
- Project and solution files for Visual Studio 2013
- Changes for C++11 compatibility.
- fixed an issue with receiving empty web socket frames (such as ping)
- improved error handling in secure socket classes
- Poco::ByteOrder now uses intrinsics if available
- added new text encoding classes: Latin2Encoding, Windows1250Encoding, Windows1251Encoding
2017-09-01 20:24:45 +02:00
- Zip: Added CM_AUTO, which automatically selects CM_STORE or CM_DEFLATE based on file extension.
Used to avoid double-compression of already compressed file formats such as images.
!!!Release 1.4.6p4
!!Summary of Changes
- no longer use reverse DNS lookups for cert hostname validation
- cert hostname validation is case insensitive and more strict
- HTMLForm: in URL encoding, percent-encode more special characters
- fixed thread priority issues on POSIX platforms with non-standard scheduling policy
- XMLWriter no longer escapes apostrophe character
2016-10-07 22:29:23 +02:00
- fixed GH #316: Poco::DateTimeFormatter::append() gives wrong result for Poco::LocalDateTime
- fixed GH #305 (memcpy in Poco::Buffer uses wrong size if type != char)
- Zip: fixed a crash caused by an I/O error (e.g., full disk) while creating a Zip archive
!!!Release 1.4.6p3
!!Summary of Changes
- Fixed a potential security vulnerability in client-side X509
certificate verification.
!!!Release 1.4.6p2
!!Summary of Changes
- fixed GH #156: Possible buffer overrun in Foundation/EventLogChannel
- XML: fixed an issue with parsing a memory buffer > 2 GB
- upgraded to expat 2.1.0
- Data/ODBC: added support for setting query timeout (via setProperty
of "queryTimeout"). Timeout is int, given in seconds.
2017-09-01 20:24:45 +02:00
- fixed a potential endless loop in SecureStreamSocketImpl::sendBytes()
and also removed unnecessary code.
2017-09-01 20:24:45 +02:00
- fixed GH #159: Crash in openssl CRYPTO_thread_id() after library libPocoCrypto.so
has been unloaded.
2017-09-01 20:24:45 +02:00
- fixed GH #155: MailOutputStream mangles consecutive newline sequences
2016-10-07 22:29:23 +02:00
- fixed GH #139: FileChannel::PROP_FLUSH is invalid (contains a tab character)
- fixed GH #173: HTTPClientSession::proxyConnect forces DNS lookup of host names
- fixed GH #194: MessageNotification constructor is inefficient.
- fixed GH #189: Poco::NumberParser::tryParse() documentation bug
- fixed GH #172: IPv6 Host field is stripped of Brackets in HTTPClientSession
- fixed GH #188: Net: SocketAddress operator < unusable for std::map key
2017-09-01 20:24:45 +02:00
- fixed GH #128: DOMWriter incorrectly adds SYSTEM keyword to DTD if PUBLIC is
already specified
2016-10-07 22:29:23 +02:00
- fixed GH #65: Poco::format() misorders sign and padding specifiers
- upgraded bundled SQLite to 3.7.17
- upgraded bundled zlib to 1.2.8
2017-09-01 20:24:45 +02:00
- fixed a potential memory leak in Poco::Net::HTTPClientSession if it is misused
(e.g., sendRequest() is sent two times in a row without an intermediate call to
receiveResponse(), or by calling receiveResponse() two times in a row without
an intermediate call to sendRequest()) - GH #217
2017-09-01 20:24:45 +02:00
- removed a few unnecessary protected accessor methods from Poco::Net::HTTPClientSession
that would provide inappropriate access to internal state
2016-10-07 22:29:23 +02:00
- fixed GH #223 (Poco::Net::HTTPCookie does not support expiry times in the past)
2017-09-01 20:24:45 +02:00
- fixed GH #233: ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only)
does not work
- added ColorConsoleChannel and WindowsColorConsoleChannel classes supporting
colorizing log messages
2016-10-07 22:29:23 +02:00
- fixed GH #259: Poco::EventLogChannel fails to find 64bit Poco Foundation dll
- fixed GH #254: UTF8::icompare unexpected behavior
- Poco::UUID::tryParse() also accepts UUIDs without hyphens. Also updated documentation
(links to specifications).
- Added support for ARM64 architecture and iPhone 5s 64-bit builds
(POCO_TARGET_OSARCH=arm64).
!!!Release 1.4.6p1
!!Summary of Changes
2016-10-07 22:29:23 +02:00
- fixed GH #71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
- fixed an ambiguity error with VC++ 2010 in Data/MySQL testsuite
- Poco::Net::NetworkInterface now provides the interface index even for IPv4
- added DNS::reload() as a wrapper for res_init().
- On Linux, Poco::Environment::nodeId() first always tries to obtain the
MAC address of eth0, before looking for other interfaces.
2017-09-01 20:24:45 +02:00
- Poco::Net::HTTPSession now always resets the buffer in connect() to clear
any leftover data from a (failed) previous session
- fixed copysign namespace issue in FPEnvironment_DUMMY.h
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h
- added a build configuration for BeagleBoard/Angstrom
2017-09-01 20:24:45 +02:00
- fixed GH #109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain)
- fixed compile errors with clang -std=c++11
2016-10-07 22:29:23 +02:00
- fixed GH #116: Wrong timezone parsing in DateTimeParse (fix by Matej Knopp)
- updated bundled SQLite to 3.7.15.2
2017-09-01 20:24:45 +02:00
!!!Release 1.4.6
!!Summary of Changes
- changed FPEnvironment_DUMMY.h to include <cmath> instead of <math.h>
- updated bundled SQLite to 3.7.15.1
2016-10-07 22:29:23 +02:00
- fixed GH #30: Poco::Path::home() throws
- fixed SF Patch# 120: The ExpireLRUCache does not compile with a tuple as key on VS2010
- fixed SF# 603: count() is missing in HashMap
2017-09-01 20:24:45 +02:00
- Crypto and NetSSL_OpenSSL project files now use OpenSSL *MD.lib library files for
static_md builds. Previously, the DLL import libs were used.
- Poco::Environment::osDisplayName() now recognizes Windows 8/Server 2012
!!!Release 1.4.5
!!Summary of Changes
- added Visual Studio 2012 project files
- buildwin.cmd now support building with msbuild for VS2010 and 2012.
- added Poco::Optional class
- fixed SF# 3558012 Compilation fails when building with -ansi or -std=c++0x
- fixed SF# 3563517 Get rid of loss-of-precision warnings on x64 MacOS
- fixed SF# 3562244: Portability fix for AF_LINK
2017-09-01 20:24:45 +02:00
- fixed SF# 3562400: DatagramSocketImpl comment
- fixed SF# 594: Websocket fails with small masked payloads
- fixed SF# 588: Missing POCO_ARCH and POCO_ARCH_LITTLE_ENDIAN define for WinCE on SH4
- fixed SF# 581: Out-of-bound array access in Unicode::properties() function.
- fixed SF# 590: Segfault on FreeBSD when stack size not rounded
- fixed SF# 586: Poco::DateTimeParser and ISO8601 issues when seconds fraction has more than 6 digits
2017-09-01 20:24:45 +02:00
- Poco::Net::HTTPSSessionInstantiator::registerInstantiator() now optionally accepts a
Poco::Net::Context object.
- added Poco::XML::XMLWriter::depth() member function.
- added Poco::XML::XMLWriter::uniquePrefix() and Poco::XML::XMLWriter::isNamespaceMapped().
- Poco::FileChannel now supports a new rotateOnOpen property (true/false) which can be used
to force rotation of the log file when it's opened.
- fixed a bug in Poco::XML::XMLWriter::emptyElement(): need to pop namespace context
- OS X builds now use Clang as default compiler
- Updated SQLite to 3.7.14.1
2017-09-01 20:24:45 +02:00
- POCO_SERVER_MAIN macro now has a try ... catch block for Poco::Exception and writes
the displayText to stderr.
- Poco/Platform.h now defines POCO_LOCAL_STATIC_INIT_IS_THREADSAFE macro if the compiler
generates thread-safe static local initialization code.
!!!Release 1.4.4
!!Summary of Changes
- ZipStream now builds correctly in unbundled build.
- added proxy digest authentication support to Net library
- integrated MySQL BLOB fixes from Franky Braem.
2017-09-01 20:24:45 +02:00
- use standard OpenSSL import libraries (libeay32.lib, ssleay32.lib) for Crypto and
NetSSL_OpenSSL Visual Studio project files.
2017-09-01 20:24:45 +02:00
- fixed a potential buffer corruption issue in Poco::Net::SecureStreamSocket if lazy
handshake is enabled and the first attempt to complete the handshake fails
2017-09-01 20:24:45 +02:00
- Poco::DateTimeParser::tryParse() without format specifier now correctly parses ISO8601
date/times with fractional seconds.
2017-09-01 20:24:45 +02:00
- Poco::Process::launch() now has additional overloads allowing to specify an initial
directory and/or environment.
2017-09-01 20:24:45 +02:00
- Poco::Net::FTPClientSession: timeout was not applied to data connection, only to
control connection.
2017-09-01 20:24:45 +02:00
- Fixed potential IPv6 issue with socket constructors if IPv6 SocketAddress is given
(contributed by ??????? ????????? <milovidov@yandex-team.ru>).
2017-09-01 20:24:45 +02:00
- Added an additional (optional) parameter to Poco::Thread::setOSPriority() allowing to
specify a scheduling policy. Currently this is only used on POSIX platforms and allows
specifying SCHED_OTHER (default), SCHED_FIFO or SCHED_RR, as well as other
platform-specific policy values.
- Added Poco::Crypto::DigestEngine class providing a Poco::DigestEngine interface to
the digest algorithms provided by OpenSSL.
- Fixed some potential compiler warnings in Crypto library
- In some cases, when an SSL exception was unexpectedly closed, a generic Poco::IOException
was thrown. This was fixed to throw a SSLConnectionUnexpectedlyClosedException instead.
- Added Poco::ObjectPool class template.
2017-09-01 20:24:45 +02:00
- Poco::Net::HTTPServer has a new stopAll() method allowing stopping/aborting of all
currently active client connections.
- The HTTP server framework now actively prevents sending a message body in the
response to a HEAD request, or in case of a 204 No Content or 304 Not Modified
response status.
- fixed a DOM parser performance bug (patch by Peter Klotz)
- fixed SF# 3559325: Util Windows broken in non-Unicode
- updated iOS build configuration to use xcode-select for finding toolchain
- Poco::Net::SecureSocketImpl::shutdown() now also shuts down the underlying socket.
- fixed SF# 3552597: Crypto des-ecb error
- fixed SF# 3550553: SecureSocketImpl::connect hangs
2017-09-01 20:24:45 +02:00
- fixed SF# 3543047: Poco::Timer bug for long startInterval/periodic interval
- fixed SF# 3539695: Thread attributes should be destroyed using the pthread_attr_destroy()
- fixed SF# 3532311: Not able to set socket option on ServerSocket before bind
Added Poco::Net::Socket::init(int af) which can be used to explicitely
initialize the underlying socket before calling bind(), connect(), etc.
- fixed SF# 3521347: Typo in UnWindows.h undef
- fixed SF# 3519474: WinRegistryConfiguration bug
Also added tests and fixed another potential issue with an empty root path passed to the constructor.
- fixed SF# 3516827: wrong return value of WinRegistryKey::exists()
- fixed SF# 3515284: RSA publickey format(X.509 SubjectPublicKeyInfo)
- fixed SF# 3503267: VxWorks OS prio is not set in standard constructor
- fixed SF# 3500438: HTTPResponse failure when reason is empty
- fixed SF# 3495656: numberformater, numberparser error in mingw
- fixed SF# 3496493: Reference counting broken in TaskManager postNotification
- fixed SF# 3483174: LogFile flushing behavior on Windows
Flushing is now configurable for FileChannel and SimpleFileChannel
using the "flush" property (true or false).
- fixed SF# 3479561: Subsequent IPs on a NIC is not enumerated
- fixed SF# 3478665: Permission checks in Poco::File not correct for root
- fixed SF# 3475050: Threading bug in initializeNetwork() on Windows
- fixed SF# 3552680: websocket small frames bug and proposed fix
- fixed a WebSocket interop issue with Firefox
- added Poco::Net::MessageHeader::hasToken()
- Poco::AtomicCounter now uses GCC 4.3 builtin atomics on more platforms
- fixed SF# 3555938: NetSSL: socket closed twice
- socket exceptions now include OS error code
- fixed SF# 3556975: Need to fix Shared Memory for memory map
- Poco::Net::SecureSocketImpl::close() now catches exceptions thrown by its call to shutdown().
- fixed SF# 3535990: POCO_HAVE_IPv6 without POCO_WIN32_UTF8 conflict
- fixed SF# 3559665: Poco::InflatingInputStream may not always inflate completely
- added Poco::DirectoryWatcher class
- fixed SF# 3561464: Poco::File::isDevice() can throw due to sharing violation
- Poco::Zip::Compress::addRecursive() has a second variant that allows to specify the compression method.
- Upgraded internal SQLite to 3.7.14
!!!Release 1.4.3p1
!!Summary of Changes
- fixed SF# 3476926: RegDeleteKeyEx not available on Windows XP 32-bit.
!!!Release 1.4.3
!!Summary of Changes
- fixed a compilation error with Data/MySQL on QNX.
- fixed Util project files for WinCE (removed sources not compileable on CE)
- removed MD2 license text from Ackowledgements document
- fixed iPhone build config for Xcode 4.2 (compiler name changed to llvm-g++)
- Poco::Util::XMLConfiguration: delimiter char (default '.') is now configurable.
This allows for working with XML documents having element names with '.' in them.
2017-09-01 20:24:45 +02:00
- Poco::Util::OptionProcessor: Required option arguments can now be specified as
separate command line arguments, as in "--option value" in addition to the
"--option=value" format.
2017-09-01 20:24:45 +02:00
- Poco::Util::HelpFormatter: improved option help formatting if indentation has
been set explicitely.
- added Mail sample to NetSSL_OpenSSL, showing use of Poco::Net::SecureSMTPClientSession.
- added additional read() overloads to Poco::Net::HTMLForm.
- fixed SF# 3440769: Poco::Net::HTTPResponse doesn't like Amazon EC2 cookies.
- added support for requiring TLSv1 to Poco::Net::Context.
- added an additional constructor to Poco::Net::HTTPBasicCredentials, allowing
the object to be created from a string containing a base64-encoded, colon-separated
username and password.
- Poco::Zip::ZipStreamBuf: fixed a crash if CM_STORE was used.
- Added setContentLength64() and getContentLength64() to Poco::Net::HTTPMessage.
- added Poco::Environment::osDisplayName().
2017-09-01 20:24:45 +02:00
- fixed SF# 3463096: WinService leaves dangling handles (open() now does not reopen the
service handle if it's already open)
- fixed SF# 3426537: WinRegistryConfiguration can't read virtualized keys
- added Poco::Buffer::resize()
- fixed SF# 3441822: thread safety issue in Poco::Net::HTTPClientSession:
always use getaddrinfo() instead of gethostbyname() on all platforms supporting it
- added version resource to POCO DLLs
- fixed SF# 3440599: Dir Path in Quotes in PATH cause PathTest::testFind to fail.
- fixed SF# 3406030: Poco::Glob::collect() problem
2017-09-01 20:24:45 +02:00
- added Poco::Util::AbstractConfiguration::enableEvents()
- Poco::AtomicCounter now uses GCC builtins with GCC 4.1 or newer
(contributed by Alexey Milovidov)
- made Poco::Logger::formatDump() public as it may be useful for others as well
(SF# 3453446)
- Poco::Net::DialogSocket now has a proper copy constructor (SF# 3414602)
- Poco::Net::MessageHeader and Poco::Net::HTMLForm now limit the maximum number of
fields parsed from a message to prevent certain kinds of denial-of-service
attacks. The field limit can be changed with the new method setFieldLimit().
The default limit is 100.
- Poco::NumberFormatter, Poco::NumberParser and Poco::format() now always use the
classic ("C") locale to format and parse floating-point numbers.
- added Poco::StreamCopier::copyStream64(), Poco::StreamCopier::copyStreamUnbuffered64()
and Poco::StreamCopier::copyToString64(). These functions use a 64-bit integer
to count the number of bytes copied.
- upgraded internal zlib to 1.2.5
- upgraded internal sqlite to 3.7.9
- XML: integrated bugfix for Expat bug# 2958794 (memory leak in poolGrow)
- Added support for HTTP Digest authentication (based on a contribution by
Anton V. Yabchinskiy (arn at bestmx dot ru)). For information on how
to use this, see the Poco::Net::HTTPCredentials, Poco::Net::HTTPDigestCredentials
and Poco::Net::HTTPAuthenticationParams classes.
- Poco::Net::HTTPStreamFactory and Poco::Net::HTTPSStreamFactory now support Basic
and Digest authentication. Username and password must be provided in the URI.
- added Poco::Net::WebSocket, supporting the WebSocket protocol as described in RFC 6455
- NetSSL_OpenSSL: added client-side support for Server Name Indication.
Poco::Net::SecureSocketImpl::connectSSL() now calls SSL_set_tlsext_host_name()
if its available (OpenSSL 9.8.6f and later).
- added Poco::Net::HTTPClientSession::proxyConnect() (factored out from
Poco::Net::HTTPSClientSession::connect())
- added Poco::Process::kill(const Poco::ProcessHandle&) which is preferable to
kill(pid) on Windows, as process IDs on Windows may be reused.
- fixed SF# 3471463: Compiler warnings with -Wformat
- Poco::Util::Application::run() now catches and logs exceptions thrown in initialize()
- Fixed a WinCE-specific bug in Poco::Util::ServerApplication where uninitialize() would
be called twice.
- fixed SF# 3471957: WinRegistryKey::deleteKey() unable to delete alt views
2017-09-01 20:24:45 +02:00
- Added additional constructor to Poco::ScopedLock and Poco::ScopedLockWithUnlock
accepting a timeout as second argument.
- Added Poco::Logger::parseLevel()
- Poco::format(): an argument that does not match the format
2017-09-01 20:24:45 +02:00
specifier no longer results in a BadCastException. The string [ERRFMT] is
written to the result string instead.
!!!Release 1.4.2p1
!!Summary of Changes
2017-09-01 20:24:45 +02:00
- On Linux, the RTLD_DEEPBIND option is no longer passed to dlopen().
This change was introduced in 1.4.2 to solve a specific problem one customer
was having. Unfortunately, it leads to problems with RTTI.
2017-09-01 20:24:45 +02:00
- It's now possible to pass flags (SHLIB_GLOBAL, SHLIB_LOCAL) to
Poco::SharedLibrary::load() (and the constructor implicitly calling load()),
controlling the mode flags (RTLD_GLOBAL, RTLD_LOCAL) passed to dlopen().
On platforms not using dlopen(), these flags are ignored.
- fixed SF# 3400267: Path_WIN32.cpp bug
!!!Release 1.4.2
!!Summary of Changes
- added Poco::DateTimeFormat::ISO8601_FRAC_FORMAT
- added new Poco::DateTimeFormatter and Poco::DateTimeParser format specifier:
%s for seconds with optional fractions of a second
2017-09-01 20:24:45 +02:00
- fixed a problem with ioctl() on BSD platforms (including OS X) where the
second argument to ioctl() is unsigned long instead of int, causing bad
things on a OS X 64-bit kernel.
2017-09-01 20:24:45 +02:00
- fixed a potential endless loop when enumerating IPv6 network addresses
(reported by Laurent Carcagno)
- new compile-time config option on Windows to set thread names in
debugger. Enable with -DPOCO_WIN32_DEBUGGER_THREAD_NAMES. Available
only in debug builds.
2017-09-01 20:24:45 +02:00
- Cipher can now create Base64 and HexBinary encoded output without linefeeds
(suitable for use in cookies, etc.)
- added Poco::Path::popFrontDirectory()
- improved VxWorks support
- IPv6 fixes: added proper scope id handling in IPAddress, SocketAddress
and related classes.
- Added Poco::Net::ServerSocket::bind6() which allows control over the
IPPROTO_IPV6/IPV6_V6ONLY socket option.
2017-09-01 20:24:45 +02:00
- Removed Poco::MD2Engine class due to licensing issues (the
license for the MD2 code from RSA only allows non-commercial
use). Note that the MD4 and MD5 code from RSA does not have
this issue.
- fixed a Net HTTP client testsuite issue where some tests might
have failed due to prematurely aborted connections by
the HTTPTestServer.
- Poco::Net::SocketAddress: when there is more than one address
returned by a DNS lookup for a name, IPv4 addresses will be
preferred to IPv6 ones.
2017-09-01 20:24:45 +02:00
- Poco::Net::NetworkInterface::list() now also returns IPv4 interfaces on Windows when
built with -DPOCO_HAVE_IPv6
2017-09-01 20:24:45 +02:00
- Poco::XML::XMLWriter: fixed a bug with attribute namespaces (no namespace prefix
written if attribute namespace is the same as element namespace)
- fixed SF# 3378588: Mismatched new[]/delete (in RSAEncryptImpl and RSADecryptImpl)
2017-09-01 20:24:45 +02:00
- fixed SF# 3212954 (OpenSSLInitializer::uninitialize() crash) and
SF# 3196862 (Static OpenSSLInitializer instance causes Windows deadlocks) by
removing the static Poco::Crypto::OpenSSLInitializer instance. Automatic OpenSSL
2017-09-01 20:24:45 +02:00
initialization is now done through Poco::Crypto::Cipher, Poco::Crypto::CipherKey,
Poco::Crypto::X509Certificate, Poco::Net::Context classes; however, it is still
2017-09-01 20:24:45 +02:00
recommended to call Poco::Crypto::initializeCrypto() and
Poco::Crypto::uninitializeCrypto() early at application startup, and late at
shutdown respectively (or Poco::Net::initializeSSL()/Poco::Net::uninitializeSSL()
if the NetSSL library is used) to avoid multiple full OpenSSL init/uninit cycles
during application runtime.
- Poco::Logger now also support a symbolic log level "none"
(for use with setLevel()) that disables logging completely
for that Logger (equivalent to setLevel(0)).
- Added experimental Android support, using the existing gmake-based
build system.
- fixed SF# 3288584: DateTimeFormatter link error
- fixed SF# 3187117: Typo in InflatingInputStream doc
- fixed SF# 3309731: _WIN32_WCE comparison should be with 0x600 not 600
- fixed SF# 3393026: RegularExpression.h identical enum value
- fixed SF# 3274222: AtomicCounter's postfix operators aren't atomic on Windows
- fixed SF# 3317177: Handle leak on windows
- fixed SF# 3181882: Poco::URI::getPathEtc() double-encodes query
- fixed SF# 3379935: Poco::ThreadPool Start Bug
- fixed SF# 3354451: Poco::Format::parsePrec() never sets the precision to zero
- fixed SF# 3387258: _MAX_PATH used but unknown in Path_WIN32
2017-09-01 20:24:45 +02:00
- fixed a problem in Poco::Crypto::RSAKeyImpl where direct access to the RSA in a
EVP_PKEY would no longer work in recent OpenSSL versions. Using EVP_PKEY_get1_RSA()
fixes the issue.
2017-09-01 20:24:45 +02:00
- added Poco::Crypto::EncryptingInputStream, Poco::Crypto::EncryptingOutputStream,
Poco::Crypto::DecryptingInputStream and Poco::Crypto::DecryptingOutputStream.
- fixed SF# 3148126: Poco::Net::HTTPSClientSession destructor throws an IOException
- fixed SF# 3178098: Add constructor to Poco::TemporaryFile to specify directory
2017-09-01 20:24:45 +02:00
- fixed SF# 3175310: Absolute path when device
- fixed SF# 3301207: Guided tour example contradicts apidoc (API doc was wrong)
- Poco::Net::HTTPMessage::setContentLength() and Poco::Net::HTTPMessage::getContentLength() now
use std::streamsize instead of int. This enables 64-bit Content-Length support at least
on 64-bit platforms.
- fixed SF# 3177530: Poco::TemporaryFile::tempName() + glob bug on xp
- fixed SF# 3177372: Poco::FileChannel documentation inconsistency
- added %E format specifier to Poco::PattermFormatter (epoch time in seconds
since midnight, January 1 1970)
2017-09-01 20:24:45 +02:00
- On Windows, Poco::Util::ServerApplication now supports a /description command
line argument for specifying a service description (together with /registerService)
2017-09-01 20:24:45 +02:00
- added Poco::Util::WinService::setDescription() and
Poco::Util::WinService::getDescription()
- fixed SF# 3155477: Incorrect URI path handling
- fixed SF# 3309736: Extended Exception macros to set default exception code
new macro is named POCO_DECLARE_EXCEPTION_CODE
- added getter functions for modulus and exponents to Poco::Crypto::RSAKey.
2017-09-01 20:24:45 +02:00
- added Poco::Net::SocketAddress::operator == () and
Poco::Net::SocketAddress::operator != ()
- fixed SF# 3182746: IPAddress.cpp IPv6 bug on big-endian
- fixed SF# 3196961: Unix daemon fails to loadConfiguration() if started from cwd
- fixed SF# 3393700: NotificationCenter may call a removed observer and crash.
- Reworked implementation of the events framework (Poco::BasicEvent and friends).
The framework is now completely multithreading save (even in the case that
an event subscriber object unsubscribes and is deleted while an event is
being dispatched). Also, the restriction that any object can only register
one delegate for each event has been removed. For most cases, dispatching
events should be faster, as dispatching an event now needs less dynamic memory
allocations.
- fixed SF# 3178109: getNodeByPath() changes:
2017-09-01 20:24:45 +02:00
getNodeByPath() and getNodeByPathNS() have been moved to Poco::XML::Node.
Furthermore, when invoked on a Poco::XML::Document, the behavior has changed
so that the document element is now included when traversing the path (previously,
traversal would start at the document element, now it starts at the document).
The path expression can now start with a double-slash, which results in a recursive
search for the path's first element in the DOM tree.
- fixed SF# 3382935: String data being truncated using ODBC, and
SF# 2921813: Wrong implementation of the ODBC string binding
!!!Release 1.4.1p1
!!Summary of Changes
- Poco::Mutex is now a recursive mutex again on Linux
(this was caused by an unfortunate feature test for
PTHREAD_MUTEX_RECURSIVE which did not work on Linux
as PTHREAD_MUTEX_RECURSIVE is an enum value and not
a macro)
- Poco::Net::SecureSocketImpl::abort() now only shuts
down the underlying socket connection and does not free
the SSL object, due to multithreading issues.
!!!Release 1.4.1
!!Summary of Changes
- fixed SF# 3150223: Poco::BinaryReader cannot read std::vector correctly
- fixed SF# 3146326: Poco::SharedMemory issue
- made Poco::Net::HTTPSession::abort() virtual
- added Poco::Net::SecureStreamSocket::abort() to immediately close
a SSL/TLS connection without performing an orderly SSL/TLS shutdown.
- fixed SF# 3148126: Poco::Net::HTTPSClientSession destructor (!) throws an IOException.
Added try/catch block to Poco::Net::SecureSocketImpl destructor.
- added additional constructor to Poco::Net::HTTPSClientSession, taking
both a socket and a session object.
- Poco::Net::HTTPSession::abort() now also can be used with a
Poco::Net::HTTPSClientSession.
- fixed SF# 3148045: make clean and distclean issues
- changed Data library names on Unix/Linux platforms to
match the names on Windows (PocoSQLite -> PocoDataSQLite,
PocoMySQL -> PocoDataMySQL, PocoODBC -> PocoDataODBC)
- added additional options to configure script
- added additional documentation to Poco::Net::HTTPClientSession
2017-09-01 20:24:45 +02:00
- Poco::Net::HTTPClientSession::receiveResponse() closes the connection
if an exception is thrown while reading the response header.
This ensures that a new connection will be set up for the next request
if persistent connections are used.
- improved Poco::Net::MultipartDecoder performance by reading directly from streambuf
2017-09-01 20:24:45 +02:00
- improved performance of Poco::Base64Encoder, Poco::Base64Decoder,
Poco::HexBinaryEncoder and Poco::HexBinaryDecoder by working directly with the
given stream's streambuf.
2017-09-01 20:24:45 +02:00
- improved performance of MessageHeader::read() by reading directly from streambuf
instead of istream.
- it is now possible to specify additional MIME part header fields
for a MIME part through the Poco::Net::PartSource class.
- upgraded SQLite to release 3.7.4
- added experimental VxWorks support for VxWorks 5.5.1/Tornado 2.2 and
newer. Please see the VxWorks Platform Notes in the reference documentation
for more information. Currently, the VxWorks is untested; full support
will be available in release 1.4.2.
- fixed SF# 3165918: Poco::DynamicAny fails to convert from string to float
- fixed SF# 3165910: Poco::Net::MessageHeader does not accept HTTP conforming header
- made Poco::Task::cancel() virtual so that tasks can implement custom
cancellation behavior.
- added optional argument to Poco::Util::WinRegistryKey constructor
to specify additional flags (in addition to KEY_READ and KEY_WRITE)
for the samDesired argument of RegOpenKeyEx() or RegCreateKeyEx().
- improved Poco::BasicEvent::notify() performance by avoiding an unnecessary heap
2017-09-01 20:24:45 +02:00
allocation.
- added additional well-known port numbers to Poco::URI: rtsp, sip, sips, xmpp.
- added Poco::Net::MediaType::matchesRange()
2017-09-01 20:24:45 +02:00
- improved invalid socket handling: a Poco::Net::InvalidSocketException is
now thrown instead of an assertion when an operation is attempted on a closed or
otherwise uninitialized socket.
!!!Release 1.4.0
!!Summary of Changes
- Poco::Net::SSLManager: documentation fixes, code cleanup
- Poco::Net::SSLManager: renamed PrivateKeyPassPhrase event to PrivateKeyPassphraseRequired
- added Poco::Net::HTTPServerRequestImpl::socket() to get access to the underlying socket
- added Poco::Net::Socket::secure() to find out whether a given socket supports SSL/TLS
- added Poco::Net::SecureStreamSocket::havePeerCertificate()
- NetSSL: added support for turning off extended certificate validation (hostname matching)
- fixed SF# 2941228: Poco::Net::ICMPClient::ping() issues on Mac OS X
- fixed SF# 2941231: Poco::Net::ICMPEventArgs out of bounds array access
- added PageCompiler sample
- added missing newline at end of xmlparse.c
- Poco::Glob can now be used with an empty pattern which will match nothing (patch from Kim Graesman)
- added support for HTTP proxy authentication (Basic authentication only)
- fixed SF# 2958959: Poco::XML::XMLWriter must encode CR, LF and TAB in attribute values as character entities.
- Poco::Net::HTMLForm now supports PUT requests as well (see <http://pocoproject.org/forum/viewtopic.php?f=12&t=2163&p=3930#p3930>)
- fixed SF# #2970521: Poco::FileOutputStream and file permissions.
(also fixed in File class)
- removed an unused (and wrong) default parameter from EventImpl constructor for WIN32.
- added full support for session caching to NetSSL_OpenSSL
- fixed SF# 2984454: Poco::Util::Timer::scheduleAtFixedRate() works incorrectly
- fixed a bug in Poco::Util::Timer that could lead to high CPU load if
the system clock is moved forward.
- added "system.nodeId" property to Poco::Util::SystemConfiguration
- added a note to Poco::Util::ServerApplication documentation regarding
creation of threads
2017-09-01 20:24:45 +02:00
- added Poco::Net::IPAddress::broadcast() and Poco::Net::IPAddress::wildcard() to
create broadcast (255.255.255.255) and wildcard (0.0.0.0) addresses.
- fixed SF# 2916154: Poco::Net::IPAddress::isLoopback() only works for 127.0.0.1.
- added build configuration for iPhone Simulator
- GNU Make based build system provides new variables: POCO_HOST_BINDIR, POCO_HOST_BINPATH,
POCO_HOST_LIBDIR, POCO_HOST_LIBPATH and POCO_TARGET_* equivalents.
- Poco::Util::Application::initialize() and Poco::Util::Application::uninitialize() will now be called from within run().
2017-09-01 20:24:45 +02:00
This solves various issues with uninitialize() not being called, or being called inappropriately
from the Application destructor.
Please note that this change will break applications that use the Application class,
but only call init() and not run().
- added /startup option to specify startup mode for Windows services (automatic or manual)
- fixed SF# 2967354: SecureSocketImpl shutdown/close problem
- fixed SF# 3006340: LinearHashTable grows even if key already exists
2017-09-01 20:24:45 +02:00
- fixed a particularly nasty Windows error handling issue that manifested itself on WinCE:
WSAGetLastError() would be called after a std::string was created. The string creation could result
in a heap operation which called a Windows API to allocate memory. This would reset the
GetLastError() error code. Since WSAGetLastError() is just an alias for GetLastError(), the actual
error code from the socket operation would be lost.
- upgraded SQLite to 3.7.3
- added --header-prefix option to PageCompiler
- fixed SF# 3003875: SQLite data binding is broken
- fixed SF# 2993988: Issue with multiple calls to open()/close() on File*Stream
- fixed SF# 2990256: Poco::Net::HTMLForm and file uploads
- fixed SF# 2969227: Poco::DateTimeParser bug
- fixed SF# 2966698: Socket connect with timeout issue
- fixed SF# 2981041: Bind NULL to a query (patch supplied)
- fixed SF# 2961419: Poco::UTF8Encoding::convert() doesn't work properly in DEBUG mode
- fixed SF# 2957068: Timeout value not picked up by proxy in Poco::Net::HTTPSClientSession
- fixed NetSSL_OpenSSL test runner for Poco::Util::Application class changes
- Poco::AbstractEvent, Poco::AbstractCache and related classes now accept a Mutex class as additional template argument.
Poco::NullMutex can be used if no synchronization is desired.
- Added Poco::AbstractEvent::empty() to check whether an event has registered delegates.
- Poco::URI now correctly handles IPv6 addresses.
- Added Poco::Nullable class template.
- Added Poco::NullMutex, a no-op mutex to be used as template argument for template classes
taking a mutex policy argument.
- Poco::XML::XMLWriter: fixed a namespace handling issue that occured with startPrefixMapping() and endPrefixMapping()
2017-09-01 20:24:45 +02:00
- Poco::Net::Context now allows for loading certificates and private keys from Poco::Crypto::X509Certificate objects
and Poco::Crypto::RSAKey objects.
- Poco::Crypto::RSAKey no longer uses temporary files for stream operations. Memory buffers are used instead.
- fixed SF# 2957865: added Poco::UUID::tryParse()
2017-09-01 20:24:45 +02:00
- All Zip classes now use Poco::File[Input|Output]Stream instead of std::[i|o]fstream.
UTF-8 filenames will now be handled correctly on Windows.
- fixed SF# 2902029: zlib flush support (Z_SYNC_FLUSH)
- added Poco::TextBufferIterator class
- fixed SF# 2977249: Use epoll instead select under Linux
Poco::Net::Socket::select() and Poco::Net::Socket::poll() will use epoll under Linux if the Net library is compiled
with -DPOCO_HAVE_FD_EPOLL. This is the default for the Linux build configuration (but not for
the various build configurations targeting embedded Linux platforms).
2017-09-01 20:24:45 +02:00
- fixed SF# 2941664: Memory leak in Poco::DeflatingStream with zero-length streams (also fixed some other potential,
but unlikely, memory leaks)
- fixed SF# 2946457: added Poco::Net::RejectCertificateHandler
- fixed SF# 2946621: Poco::Path bug with POCO_WIN32_UTF8
- fixed SF# 2929805: Environment::nodeId() does not work if no eth0 device exists
2017-09-01 20:24:45 +02:00
- Poco::Environment::nodeId() no longer throws if no hardware ethernet address can be determined.
It returns an all-zero address instead.
- Added additional classification functions to Poco::Unicode class; made classification functions inline.
- added Poco::Ascii class for ASCII character classification.
Methods of the Ascii class are now used instead of the
standard library functions (std::isspace(), etc.) due to
possible inconsistent results or assertions when the
standard library functions are used with character codes
outside the ASCII range.
2017-09-01 20:24:45 +02:00
- Poco::Net::MailMessage: fixed a bug in StringPartHandler that resulted in incorrect handling of non-ASCII data if
char is signed.
- Improved Poco::Net::SMTPClientSession compatibility with various mail servers when using AUTH_LOGIN authentication.
- Added CRAM-SHA1 support to Poco::Net::SMTPClientSession
- Poco::Net::SMTPClientSession now also supports login with AUTH PLAIN.
- Added Poco::Net::SecureSMTPClientSession class, supporting STARTTLS for secure SMTP connections.
2017-09-01 20:24:45 +02:00
- fixed an issue with SharedMemory on POSIX systems, where a shared memory region would be deleted
despite the server flag set to true (see http://pocoproject.org/forum/viewtopic.php?f=12&t=3494).
- PageCompiler: added a new page context directive, to allow passing custom context objects to the
request handler.
- fixed Poco::Net::StreamSocketImpl::sendBytes() for non-blocking sockets
2017-09-01 20:24:45 +02:00
- added Poco::Net::DialogSocket::receiveRawBytes(), which should be used instead of receiveBytes() due to internal
buffering by DialogSocket.
- Poco::XML::DOMParser: FEATURE_WHITESPACE has been renamed to FEATURE_FILTER_WHITESPACE (which now matches the underlying URI)
and is now handled correctly (previously we did the exact reverse thing)
2017-09-01 20:24:45 +02:00
- added Poco::Util::AbstractConfiguration::remove() to remove a configuration property; added removeRaw() implementations
to all implementations (contributions by Daniel Hobi and Alexey Shults).
- fixed NetSSL_OpenSSL compilation error on Windows with OpenSSL 1.0
- Added optional FIPS mode support to NetSSL_OpenSSL (contributed by Lior Okman).
If OpenSSL has been configured and built with FIPS support, then FIPS support can
be enabled by calling Poco::Crypto::OpenSSLInitializer::enableFIPSMode(true); or
by setting the fips property in the OpenSSL configuration to true (see Poco::Net::SSLManager
for details).
- fixed SF# 3031530: Ping and possible no timeout
- added Poco::Net::SocketReactor::onBusy(), called whenever at least one notification will
be dispatched.
- fixed SF# 3034863: Compiler warning in Net/IPAddress.h with poco 1.3.2
- added support for CRAM-SHA1 authentication to Poco::Net::SMTPClientSession
- Poco::format(): arguments can now be addressed by their index, e.g. %[2]d
- Poco::Util::Timer::cancel() now accepts an optional boolean argument.
If true is passed, cancel() waits until the task queue has been purged.
Otherwise, it returns immediately and works asynchronously, as before.
- Poco::Net::HTTPServerResponse::redirect() now accepts an optional additional
2017-09-01 20:24:45 +02:00
argument to specify the HTTP status code for the redirection.
- fixed a warning (BinaryReader.cpp) and error (ThreadLocal.cpp) in Foundation when compiling with Visual Studio 2010
- fixed a wrong exception in Poco::Net::POP3ClientSession
- Poco::Net::FTPClientSession and Poco::Net::SMTPClientSession now set the error code in exceptions they throw
- fixed a potential race condition with terminating a Windows service based on Poco::Util::ServerApplication
- fixed a bug in global build configuration file: explicitly setting POCO_CONFIG did not work on Solaris platforms,
as it was always overridden by the automatically determined configuration.
- Added support for MinGW cross builds on Linux.
- Changed location of statically linked build products in the gmake-based build system.
Statically linked executables are now in bin/$(OSNAME)/$(OSARCH)/static and no longer
have the _s suffix
- The POCO_VERSION macro now is in its own header file, "Poco/Version.h". It is no longer
available through "Poco/Foundation.h".
- added Poco::Net::HTTPCookie::escape() and Poco::Net::HTTPCookie::unescape().
- fixed SF# 3021173: Poco::Thread (POSIX) returns uninitialised value for OS priority
- fixed SF# 3040870: Poco::ThreadPool has no function to get assigned name
- fixed SF# 3044303: Can't use own config file on Solaris & OSARCH_64BITS ignored
- fixed SF# 2943896: Poco::AsyncChannel::log() blocks
- fixed a bug in Poco::Util::WinRegistryKey::getInt():
2017-09-01 20:24:45 +02:00
The size variable passed to RegQueryValueExW() should be initialized to the size
of the output buffer.
- Added rudimentary support for compiling with Clang 2.0 (Xcode 4) on Mac OS X.
- New build configurations for Mac OS X: Darwin32 and Darwin64 for explicit
2017-09-01 20:24:45 +02:00
32-bit and 64-bit builds. Note that the default Darwin build configuration
will build 64-bit on Snow Leopard and 32-bit on Leopard, but will always place
build products in Darwin/i386. The new Darwin32 and Darwin64 configurations
will use the correct directories.
- fixed SF# 3051598: Bug in URL encoding
- Poco::ThreadPool::stopAll() (and thus also the destructor) will now wait for each
pooled thread to terminate before returning. This fixes an issue with creating
and orderly shutting down a thread pool in a plugin. Previously, a pooled thread
in a thread pool created by a dynamically loaded library might still be running
when the plugin's shared library was unloaded, resulting in Bad Things happening.
This can now no longer happen. As a downside, a pooled thread that fails to
finish will block stopAll() and the destructor forever.
2017-09-01 20:24:45 +02:00
- NetSSL_OpenSSL: for a Poco::Net::SecureStreamSocket, available() now returns the number of bytes that
are pending in the SSL buffer (SSL_pending()), not the actual socket buffer.
- Added Poco::Net::HTTPClientSession::secure() to check for a secure connection.
2017-09-01 20:24:45 +02:00
- Poco::Net::HTTPRequest::setHost() now does not include the port number in the Host header
if it's either 80 or 443.
- log messages can now optionally include source file path and line number
- Poco::PatternFormatter can format source file path and line number (%U, %u)
- logging macros (poco_information(), etc.) now use __LINE__ and __FILE__
- new logging macros that incorporate Poco::format(): poco_information_f1(logger, format, arg) with up to 4 arguments
- added Poco::Net::HTTPSession::attachSessionData() and Poco::Net::HTTPSession::sessionData()
to attach arbitrary data to a HTTP session.
- added additional constructors to zlib stream classes that allow passing
a windowBits parameter to the underlying zlib library.
- fixed a potential error handling issue in Poco::Net::SecureSocketImpl.
- fixed SF# 3110272: Poco::Crypto::RSACipherImpl bug.
- fixed SF# 3081677: Poco::Util::ConfigurationView's getRaw not retrieving xml attributes.
- added basic support for Canonical XML and better pretty-printing support to Poco::XML::XMLWriter.
- Poco::Util::AbstractConfiguration now supports events fired when changing or
removing properties.
- XML: added support for finding DOM nodes by XPath-like
expressions. Only a very minimal subset of XPath is supported.
See Poco::XML::Element::getNodeByPath(), Poco::XML::Element::getNodeByPathNS()
and the same methods in Poco::XML::Document.
- Poco::Timer: If the callback takes longer to execute than the
timer interval, the callback function will not be called until the next
proper interval. The number of skipped invocations since the last
invocation will be recorded and can be obtained by the callback
by calling skipped().
- Poco::BinaryReader and Poco::BinaryWriter now support reading and
writing std::vectors of the supported basic types. Also, strings
can now be written in a different encoding (a Poco::TextEncoding
can be optionally passed to the constructor).
- Windows Embedded CE (5.0 and newer) is now a supported platform.
- Poco::UUID::nil() and Poco::UUID::isNil() have been renamed to
Poco::UUID::null() and Poco::UUID::isNull(), respectively, to avoid
issues with Objective-C++ projects on Mac OS X and iOS where nil is
a system-provided macro.
2017-09-01 20:24:45 +02:00
- Crypto bugfixes: Poco::Crypto::RSACipherImpl now pads every block of data, not just the
last (or last two).
- Improved Crypto testsuite by adding new tests.
- Added new Visual Studio project configurations: debug_static_mt and release_static_mt
(linking with static runtime libraries). The existing configurations debug_static
and release_static have been renamed to debug_static_md and release_static_md, respectively.
The suffixes of the static libraries have also changed. The static_md configurations
now build libraries with suffixes md[d], while the libraries built by the static_mt
configurations have mt[d] suffixes.
- Added Visual Studio project files for 64-bit builds.
- Added Visual Studio 2010 project files.
- Removed the use of local static objects in various methods due to
their construction not being threadsafe (and thus leading to
potential race conditions) on Windows/Visual C++.
- Fixed some warning on 64-bit Windows builds.
- The names of the Data connector libraries have changed. They are now
named PocoDataMySQL, PocoDataODBC and PocoDataSQLite.
- fixed SF# 3125498: Linux NetworkInterface::list() doesn't return IPv6 IPs
- fixed SF# 3125457: IPv6 IPAddress tests are wrong
- Added initialization functions for the NetSSL_OpenSSL and Crypto libraries.
These should be called instead of relying on automatic initialization,
implemented with static initializer objects, as this won't work with
statically linked executables (where the linker won't include the
static initializer object).
The functions are Poco::Crypto::initializeCrypto(), Poco::Crypto::uninitializeCrypto(),
Poco::Net::initializeSSL() and Poco::Net::uninitializeSSL().
Applications using Crypto and/or NetSSL should call these methods appropriately at
program startup and shutdown.
Note: In release 1.3.6, similar functions have been added to the Net library.
!!Incompatible Changes and Possible Transition Issues
- The behavior of Poco::Timer has been changed for the case when
the callback function takes longer to execute than the given
timer interval. In this case, the missed intervals are counted
and the next callback will be at the next proper interval.
2017-09-01 20:24:45 +02:00
- Poco::XML::DOMParser: FEATURE_WHITESPACE has been renamed to FEATURE_FILTER_WHITESPACE
(which now matches the underlying URI)
and is now handled correctly (previously we did the exact reverse thing)
- Poco::UUID::nil() and Poco::UUID::isNil() have been renamed to
Poco::UUID::null() and Poco::UUID::isNull(), respectively, to avoid
issues with Objective-C++ projects on Mac OS X and iOS where nil is
a system-provided macro.
- The names of the Data connector libraries have changed. They are now
named PocoDataMySQL, PocoDataODBC and PocoDataSQLite.
- The existing Visual Studio build configurations debug_static
2017-09-01 20:24:45 +02:00
and release_static have been renamed to debug_static_md and
release_static_md, respectively. Also, the suffixes of the static
library names have changed to match usual conventions.
- New static initialization functions for the Crypto and NetSSL_OpenSSL libraries
have been added. These should be called instead of relying on automatic initialization,
implemented with static initializer objects, as this won't work with
statically linked executables (where the linker won't include the
static initializer object).
The functions are Poco::Crypto::initializeCrypto(), Poco::Crypto::uninitializeCrypto(),
Poco::Net::initializeSSL() and Poco::Net::uninitializeSSL().
Applications using Crypto and/or NetSSL should call these methods appropriately at
program startup and shutdown.
Note: In release 1.3.6, similar functions have been added to the Net library.
!!!Release 1.3.6p2
!!Summary of Changes
- fixed an issue in the Windows implementation Poco::RWLock, where
tryReadLock() sometimes would return false even if no writers
were using the lock (fix contributed by Bjrn Carlsson)
- added Poco::Environment::libraryVersion().
- fixed SF# 2919461: Context ignores parameter cypherList
- removed an unused enum from RSACipherImpl.cpp (Crypto)
- integrated a new expat patch for CVE-2009-3560.
- fixed SF# 2926458: SSL Context Problem. The Poco::Net::Context
class now makes sure that OpenSSL is properly initialized.
- updated iPhone build configuration (contributed by Martin York)
- fixed SF# 1815124 (reopened): XML Compile failed on VS7.1 with
XML_UNICODE_WCHAR_T
- fixed SF# 2932647: FTPClientSession::getWorkingDirectory() returns a bad result
!!!Release 1.3.6p1
!!Summary of Changes
2017-09-01 20:24:45 +02:00
- added support for using external zlib, pcre, expat and sqlite3 instead of
bundled ones (-DPOCO_UNBUNDLED, configure --unbundled)
- fixed SF# 2911407: Add sh4 support
- fixed SF# 2912746: RSAKey::EXP_LARGE doesn't work
- fixed SF# 2904119: abstractstrategy uses std::set but do not includes it
- fixed SF# 2909946: localtime NULL pointer
- fixed SF# 2914986: potential expat DoS security issues (CVE-2009-3560 and CVE-2009-3720)
- fixed SF# 2916305: SSL Manager crashes
- fixed SF# 2903676: Tuple TypeHander does not handle composites.
!!!Release 1.3.6
!!Summary of Changes
- added Environment::processorCount()
- added POCO_VERSION macro to Poco/Foundation.h
- fixed SF# 2807527: Poco::Timer bug for long startInterval/periodic interval
- fixed a bug similar to SF# 2807527 in Poco::Util::Timer.
- fixed SF# 2795395: Constructor doesn't treat the params "key" and "iv"
- fixed SF# 2804457: DateTime::checkLimit looks wrong
- fixed SF# 2804546: DateTimeParser requires explicit RFC1123 format
- added ReleaseArrayPolicy to Poco::SharedPtr
- upgraded to SQLite 3.6.20
- fixed SF# 2782709: Missing semicolons in "Logger.h" convenience
- fixed SF# 2526407: DefaultStrategy.h ++it instead of it++ in a loop
- fixed SF# 2502235: Poco STLPort patch
- fixed SF# 2186643: Data::Statement::reset() not implemented in 1.3.3
- fixed SF# 2164227: Allow File opened read only by FileInputSteam to be writable
- fixed SF# 2791934: use of char_traits::copy in BufferedStreamBuf::underflow
- fixed SF# 2807750: Support additional SQL types in SQLite
- fixed documentation bugs in Timed/PriorityNotificationQueue
- fixed SF# 2828401: Deadlock in SocketReactor/NotificationCenter (also fixes patch# 1956490)
NotificationCenter now uses a std::vector internally instead of a std::list, and the mutex is
no longer held while notifications are sent to observers.
- fixed SF# 2835206: File_WIN32 not checking aganist INVALID_HANDLE_VALUE
- fixed SF# 2841812: Posix ThreadImpl::sleepImpl throws exceptions on EINTR
- fixed SF# 2839579: simple DoS for SSL TCPServer, HTTPS server
No SSL handshake is performed during accept() - the handshake is delayed until
sendBytes(), receiveBytes() or completeHandshake() is called for the first time.
This also allows for better handshake and certificate validation when using
nonblocking connections.
- fixed SF# 2836049: Possible handle leak in FileStream
If sync() fails, close() now simply set's the stream's bad bit.
2017-09-01 20:24:45 +02:00
In any case, close() closes the file handle/descriptor.
- fixed SF# 2814451: NetSSL: receiveBytes crashes if socket is closed
- added a workaround for Vista service network initialization issue
(an Windows service using the Net library running under Vista will
crash in the call to WSAStartup() done in NetworkInitializer).
Workaround is to call WSAStartup() in the application's main().
2017-09-01 20:24:45 +02:00
Automatic call to WSAStartup() in the Net library can now be disabled
by compiling Net with -DPOCO_NET_NO_AUTOMATIC_WSASTARTUP. Also
the new Poco::Net::initializeNetwork() and Poco::Net::uninitializeNetwork()
functions can be used to call WSAStartup() and WSACleanup(), respectively,
in a platform-independent way (on platforms other than Windows, these
functions will simply do nothing).
- added VCexpress build script support (contributed by Jolyon Wright)
- fixed SF# 2851052: Poco::DirectoryIterator copy constructor is broken
- fixed SF# 2851197: IPAddress ctor throw keyword missing
- added Poco::ProtocolException
- PageCompiler improvements: new tags, support for buffered output, etc.
- better error reporting in Data MySQL connector (patch #2881270 by Jan "HanzZ" Kaluza)
- fixed SF# 1892462: FTPClient:Choose explicitely between EPSV and PASV
2017-09-01 20:24:45 +02:00
- fixed SF# 2806365: Option for PageCompiler to write output to different dir
- fixed a documentation bug (wrong sample code) in Process::launch() documentation
- added --header-output-dir option to PageCompiler
- fixed SF# 2849144: Zip::Decompress notifications error
- SAXParser has a new feature: "http://www.appinf.com/features/enable-partial-reads".
See ParserEngine::setEnablePartialReads() for a description of what this does.
- fixed SF# 2876179: MySQL Signed/Unsigned value bug
- fixed SF# 2877970: possible bug in timer task
- fixed SF# 2874104: wrong parsing empty http headers
- fixed SF# 2860694: Incorrect return code from SecureStreamSocketImpl::sendBytes
- fixed SF# 2849750: Possible bug with XMLWriter?
- added MailMessage::encodeWord() to support RFC 2047 word encoded
mail header fields when sending out mail containing non-ASCII
characters.
- fixed SF# 2890975: SMTPClientSession bug with 7BIT encoding
2017-09-01 20:24:45 +02:00
- fixed an issue with retrieving the value of socket options on Windows 7.
Before obtaining the value of a socket, we now initialize the variable receiving the
socket option value to zero.
- fixed SF# 2836141: Documentation errors
- fixed SF# 2864232: Socket::select() does not detect closed sockets on windows
- fixed SF# 2812143: Socket::select() should check socket descriptors...
- fixed SF# 2801750: NetworkInterface <iface-Obj>forName returns wrong subnetMask
- fixed SF# 2816315: Problem with POSIX Thread::sleepImpl
- fixed SF# 2795646: IPv6 address parsing bug
- fixed #0000092: ServerApplication::waitForTerminationRequest(), SIGINT and GDB.
Poco::Util::ServerApplication::waitForTerminationRequest() no longer registers a
signal handler for SIGINT if the environment variable POCO_ENABLE_DEBUGGER
is defined.
- fixed SF# 2896070: Poco::Net::Context with non-ASCII paths
2017-09-01 20:24:45 +02:00
- added Unicode Surrogate support to Poco::UTF16Encoding.
See Poco::TextEncoding::queryConvert() and Poco::TextEncoding::sequenceLength()
for how this is implemented. Contributed by Philippe Cuvillier.
- fixed SF# 2897650: [branch 1.3.6] Net.SocketAddress won't compile for CYGWIN
- fixed SF# 2896161: Building on Windows fails when basedir has space in it
- fixed SF# 2864380: Memory leak when using secure sockets
- NetSSL_OpenSSL: the SSL/TLS session cache is now disabled by default and
can be enabled per Context using Poco::Net::Context::enableSessionCache().
2017-09-01 20:24:45 +02:00
- fixed SF# 2899039: Wrong DST handling in LocalDateTime
- added Poco::RWLock::ScopedReadLock and Poco::RWLock::ScopedWriteLock (contributed by Marc Chevrier)
2017-09-01 20:24:45 +02:00
- added Poco::Thread::TID type, as well as Poco::Thread::tid() and Poco::Thread::currentTid()
to obtain the native thread handle/ID
- added Zip file comment support
- On Windows, Poco::SharedLibrary::load() now uses LoadLibraryEx instead of LoadLibrary
and uses the LOAD_WITH_ALTERED_SEARCH_PATH if an absolute path is specified. This will
add the directory containing the library to the search path for DLLs that the
loaded library depends upon.
2017-09-01 20:24:45 +02:00
- Mac OS X build settings now match those used by default Xcode projects, making linking the
POCO libs to Xcode projects easier
2017-09-01 20:24:45 +02:00
- Replaced use of std::valarray in Poco::Net::ICMPEventArgs with std::vector due to issues with
std::valarray together with STDCXX debug mode on OS X
!!!Release 1.3.5
!!Summary of Changes
- fixed SF# 2779410: Poco::Data::ODBC::HandleException impovement
- fixed wrong exception text for Poco::UnhandledException
2017-09-01 20:24:45 +02:00
- Fixed a problem with SSL shutdown that causes clients (web browsers)
to hang when the server attempts to perform a clean SSL shutdown. We now call
SSL_shutdown() once, even if the shutdown is not complete after the first call.
- added Poco::Crypto::X509Certificate::save()
- fixed a bug in Poco::Zip::Decompress that results in wrong paths for extracted files
- fixed a bug in Poco::Zip::ZipManipulator where the Zip file was opened in text format
on Windows.
- added Poco::Crypto::X509Certificate::issuedBy() to verify certificate chain.
2017-09-01 20:24:45 +02:00
- added methods to extract the contents of specific fields from the
subject and issuer distinguished names of a certificate.
- fixed 0000089: Thread::sleep() on Linux is extremely inaccurate
!!!Release 1.3.4
!!Summary of Changes
- fixed SF# 2611804: PropertyFileConfiguration continuation lines
- fixed SF# 2529788: ServerApplication::beDaemon() broken
- fixed SF# 2445467: Bug in Thread_WIN32.cpp
- Improved performance of HTTP Server by removing some
string copy operations
- fixed SF# 2310735: HTTPServer: Keep-Alive only works with send()
- fixed appinf.com IP address in Net testsuite
- fixed RFC-00188: NumberFormatter and float/double numbers
- added --pidfile option to ServerApplication on Unix
- fixed SF# 2499504: Bug in Win32_Thread when using from dll (fixed also for POSIX threads)
- fixed SF# 2465794: HTTPServerRequestImpl memory leak
- fixed SF# 2583934: Zip: No Unix permissions set
- the NetSSL_OpenSSL library has been heavily refactored
- added NumberFormatter::append*() and DateTimeFormatter::append() functions
2017-09-01 20:24:45 +02:00
- use NumberFormatter::append() and DateTimeFormatter::append() instead of format() where
it makes sense to gain some performance
- added system.dateTime and system.pid to Poco::Util::SystemConfiguration
- added %F format specifier (fractional seconds/microseconds) to DateTimeFormatter,
DateTimeParser and PatternFormatter.
- fixed SF# 2630476: Thread_POSIX::setStackSize() failure with g++ 4.3
- fixed SF# 2679279: Handling of -- option broken
2017-09-01 20:24:45 +02:00
- added compile options to reduce memory footprint of statically linked applications
by excluding various classes from automatically being linked.
See the POCO_NO_* macros in Poco/Config.h.
- fixed SF# 2644940: on Windows the COMPUTER-NAME and the HOSTNAME can be different
2017-09-01 20:24:45 +02:00
- added DNS::hostName() function
- added build configuration for iPhone (using Apple's SDK)
- basic support for AIX 5.x/xlC 8
2017-09-01 20:24:45 +02:00
- fixed a bug resulting in a badly formatted exception message with IOException
thrown due to a socket-related error
- fixed SF# 2644718: NetworkInterface name conflict in MinGW
- added a missing #include to CryptoTransform.h
- fixed SF# 2635377: HTTPServer::HTTPServer should take AutoPtr<HTTPServerParams>
- replaced plain pointers with smart pointers in some interfaces
- upgraded to sqlite 3.6.13
- improved Data::SQLite error reporting
- Poco::Glob now works with UTF-8 encoded strings and supports case-insensitive comparison.
This also fixes SF# 1944831: Glob::glob on windows should be case insensitve
- added Twitter client sample to Net library
- Fixed SF# 2513643: Seg fault in Poco::UTF8::toLower on 64-bit Linux
- Poco::Data::SessionPool: the janitor can be disabled by specifying a zero idle time.
- added Poco::Data::SessionPool::customizeSession()
- added support for different SQLite transaction modes (DEFERRED, IMMEDIATE, EXCLUSIVE)
- fixed a few wrong #if POCO_HAVE_IPv6 in the Net library
- added support for creating an initialized, but unconnected StreamSocket.
- added File::isDevice()
- added family() member function to SocketAddress,
- Data::SQLite: added support for automatic retries if the database is locked
- XMLConfiguration is now writable
- fixed an IPv6 implementation for Windows bug in HostEntry
2017-09-01 20:24:45 +02:00
- Timer class improvement: interval between callback is no longer influenced by the
time needed to execute the callback.
2017-09-01 20:24:45 +02:00
- added PriorityNotificationQueue and TimedNotificationQueue classes to Foundation.
These are variants of the NotificationQueue class that support priority and
timestamp-tagged notifications.
2017-09-01 20:24:45 +02:00
- added Poco::Util::Timer class. This implements a timer that can schedule different
tasks at different times, using only one thread.
2017-09-01 20:24:45 +02:00
- the signatures of Poco::NotificationQueue and Poco::NotificationCenter member functions
have been changed to accept a Poco::Notification::Ptr instead of Poco::Notification*
to improve exception safety. This change should be transparent and fully backwards
compatible. The signature of the methods returning a Poco::Notification* have not been
changed for backwards compatibility. It is recommended, that any Notification* obtained
should be immediately assigned to a Notification::Ptr.
- SQLite::SessionImpl::isTransaction() now uses sqlite3_get_autocommit() to find out
about the transaction state.
- improved SQLite data type mapping
- refactored Crypto library to make it independent from NetSSL_OpenSSL.
- added support for RSA-MD5 digital signatures to Crypto library.
- removed SSLInitializer from NetSSL library (now moved to Crypto library)
- added build configs for static libraries to Crypto library
- OpenSSL now depends on Crypto library (which makes more sense than
vice versa, as it was before). Poco::Net::X509Certificate is now
a subclass of Poco::Crypto::X509Certificate (adding the verify()
2017-09-01 20:24:45 +02:00
member function) and the Poco::Net::SSLInitializer class was
moved to Poco::Crypto::OpenSSLInitializer.
- added build configs for static libraries to Zip
- added batch mode to CppUnit::WinTestRunner.
WinTestRunnerApp supports a batch mode, which runs the
test using the standard text-based TestRunner from CppUnit.
To enable batch mode, start the application with the "/b"
or "/B" command line argument. Optionally, a path to a file
where the test output will be written to may be given:
"/b:<path>" or "/B:<path>".
When run in batch mode, the exit code of the application
will denote test success (0) or failure (1).
- testsuites now also work for static builds on Windows
- The IPv6 support for Windows now basically works (Net library compiled with POCO_HAVE_IPv6)
- fixed a potential error when shutting down openssl in a statically linked application
- added static build configs to Data library
2017-09-01 20:24:45 +02:00
- added Poco::AtomicCounter class, which uses OS-specific APIs for atomic (thread-safe)
manipulation of counter values.
2017-09-01 20:24:45 +02:00
- Poco::RefCountedObject and Poco::SharedPtr now use Poco::AtomicCounter for
reference counting
- fixed SF# 2765569: LoadConfiguration failing from current directory
!!Incompatible Changes and Possible Transition Issues
- Some methods that have previously taken a plain pointer (to a reference counted object)
as argument now take a Poco::AutoPtr instead. This shouldn't cause any problems for
properly written code. Examples are Poco::NotificationCenter, Poco::NotificationQueue
and Poco::Net::HTTPServer.
- Poco::Glob now works with and assumes UTF-8 encoded strings.
2017-09-01 20:24:45 +02:00
- Poco::Timer: the interval between callbacks is no longer influenced by the
time needed to execute the callback.
- The Crypto and NetSSL_OpenSSL libraries have been refactored. NetSSL_OpenSSL
now depends on the Crypto library (previously, it was vice versa).
2017-09-01 20:24:45 +02:00
!!!Release 1.3.3
!!Summary of Changes
- Threads now have optional user-settable stack size (if the OS supports that feature)
- Events now support simplified delegate syntax based on delegate function template.
See Poco::AbstractEvent documentation for new syntax.
- Cache supports new access expire strategy.
- Upgraded to SQLite 3.6.2
- Upgraded to PCRE 7.8
- added HttpOnly support to Poco::Net::HTTPCookie
- NetworkInterface now has displayName() member (useful only on Windows)
- Poco::Util::WinRegistryKey now has a read-only mode
- Poco::Util::WinRegistryKey::deleteKey() can now recursively delete registry keys
2017-09-01 20:24:45 +02:00
- Poco::File::created() now returns 0 if the creation date/time is not known, as
it's the case on most Unix platforms (including Linux).
On FreeBSD and Mac OS X, it returns the real creation time.
- Time interval based log file rotation (Poco::FileChannel) now works
2017-09-01 20:24:45 +02:00
correctly. Since there's no reliable and portable way to find out the creation
date of a file (Windows has the tunneling "feature", most Unixes don't provide
the creation date), the creation/rotation date of the log file is written into
the log file as the first line.
- added Environment::nodeId() for obtaining the Ethernet address of the system
(this is now also used by UUIDGenerator - the corresponding code from UUIDGenerator
was moved into Environment)
- added a release policy argument to SharedPtr template
- Socket::select() will no longer throw an InvalidArgumentException
on Windows when called with no sockets at all. If all three socket
sets are empty, Socket::select() will return 0 immediately.
- SocketReactor::run() now catches exceptions and reports them via
the ErrorHandler.
- SocketReactor has a new IdleNotification, which will be posted when
the SocketReactor has no sockets to handle.
- added referenceCount() method to Poco::SharedPtr.
- POCO now builds with GCC 4.3 (but there are some stupid warnings:
"suggest parentheses around && within ||".
- Solution and project files for Visual Studio 2008 are included
- fixed SF# 1859738: AsyncChannel stall
- fixed SF# 1815124: XML Compile failed on VS7.1 with XML_UNICODE_WCHAR_T
- fixed SF# 1867340: Net and NetSSL additional dependency not set - ws2_32.lib
- fixed SF# 1871946: no exception thrown on error
- fixed SF# 1881113: LinearHashTable does not conform to stl iterators
- fixed SF# 1899808: HTMLForm.load() should call clear() first
- fixed SF# 2030074: Cookie problem with .NET server
- fixed SF# 2009707: small bug in Net/ICMPPacketImpl.cpp
- fixed SF# 1988579: Intel Warning: invalid multibyte character sequence
- fixed SF# 2007486: Please clarify license for Data/samples/*
- fixed SF# 1985180: Poco::Net::DNS multithreading issue
- fixed SF# 1968106: DigestOutputStream losing data
- fixed SF# 1980478: FileChannel loses messages with "archive"="timestamp"
2017-09-01 20:24:45 +02:00
- fixed SF# 1906481: mingw build WC_NO_BEST_FIT_CHARS is not defined
- fixed SF# 1916763: Bug in Activity?
- fixed SF# 1956300: HTTPServerConnection hanging
- fixed SF# 1963214: Typo in documentation for NumberParser::parseFloat
- fixed SF# 1981865: Cygwin Makefile lacks ThreadTarget.cpp
- fixed SF# 1981130: pointless comparison of unsigned integer with zero
- fixed SF# 1943728: POCO_APP_MAIN namespace issue
- fixed SF# 1981139: initial value of reference to non-const must be an lvalue
- fixed SF# 1995073: setupRegistry is broken if POCO_WIN32_UTF8 enabled
- fixed SF# 1981125: std::swap_ranges overloading resolution failed
- fixed SF# 2019857: Memory leak in Data::ODBC Extractor
- fixed SF# 1916761: Bug in Stopwatch?
- fixed SF# 1951443: NetworkInterface::list BSD/QNX no netmask and broadcast addr
- fixed SF# 1935310: Unhandled characters in Windows1252Encoding
- fixed SF# 1948361: a little bug for win32
- fixed SF# 1896482: tryReadLock intermittent error
- workaround for SF# 1959059: Poco::SignalHandler deadlock
the SignalHandler can now be disabled globally by adding a
#define POCO_NO_SIGNAL_HANDLER to Poco/Config.h
- fixed SF# 2012050: Configuration key created on read access
- fixed SF# 1895483: PCRE - possible buffer overflow
- fixed SF# 2062835: Logfile _creationDate is wrong
- fixed SF# 2118943: out_of_bound access in Poco::Data::BLOB:rawContent
- fixed SF# 2121732: Prevent InvalidArgumentException in SocketReactor
- fixed SF# 1891132: Poco::Data::StatementImpl::executeWithLimit is not correct
- fixed SF# 1951604: POCO refuses to compile with g++ 4.3.0
- fixed SF# 1954327: CYGWIN's pthread does not define PTHREAD_STACK_MIN
- fixed SF# 2124636: Discrepancy between FileWIN32(U)::handleLastError
- fixed SF# 1558300: MinGW/MSYS Builds
- fixed SF# 2123266: Memory leak under QNX6 with dinkum library
!!!Release 1.3.2
!!Summary of Changes
- added POCO_NO_SHAREDMEMORY to Config.h
- POCO_NO_WSTRING now really disables all wide string related calls
- added template specialization for string hashfunction (performance)
- XML parser performance improvements (SAX parser is now up to 40 % faster
- added parseMemoryNP() to XMLReader and friends
- URIStreamOpener improvement: redirect logic is now in URIStreamOpener.
this enables support for redirects from http to https.
- added support for temporary redirects and useproxy return code
2017-09-01 20:24:45 +02:00
- added getBlocking() to Socket
- added File::isHidden()
- better WIN64 support (AMD64 and IA64 platforms are recognized)
- added support for timed lock operations to [Fast]Mutex
2017-09-01 20:24:45 +02:00
- SharedLibrary: dlopen() is called with RTLD_GLOBAL instead of RTLD_LOCAL
(see http://gcc.gnu.org/faq.html#dso)
- Poco::Timer threads can now run with a specified priority
- added testcase for SF# 1774351
- fixed SF# 1784772: Message::swap omits _tid mem
- fixed SF# 1790894: IPAddress(addr,family) doesn't fail on invalid address
- fixed SF# 1804395: Constructor argument name wrong
- fixed SF# 1806807: XMLWriter::characters should ignore empty strings
- fixed SF# 1806994: property application.runAsService set too late
- fixed SF# 1828908: HTMLForm does not encode '+'
- fixed SF# 1831871: Windows configuration file line endings not correct.
- fixed SF# 1845545: TCP server hangs on shutdown
- fixed SF# 1846734: Option::validator() does not behave according to doc
- fixed SF# 1856567: Assertion in DateTimeParser::tryParse()
- fixed SF# 1864832: HTTP server sendFile() uses incorrect date
- HTTPServerResponseImpl now always sets the Date header automatically
in the constructor.
- fixed SF# 1787667: DateTimeFormatter and time related classes
(also SF# 1800031: The wrong behavior of time related classes)
- fixed SF# 1829700: TaskManager::_taskList contains tasks that never started
- fixed SF# 1834127: Anonymous enums in Tuple.h result in invalid C++
- fixed SF# 1834130: RunnableAdapter::operator= not returning a value
- fixed SF# 1873924: Add exception code to NetException
- fixed SF# 1873929: SMTPClientSession support for name in sender field
- logging performance improvements (PatternFormatter)
- fixed SF# 1883871: TypeList operator < fails for tuples with duplicate values
- CYGWIN build works again (most things work but Foundation testsuite still fails)
- new build configuration for Digi Embedded Linux (ARM9, uclibc)
- new build configuration for PowerPC Linux
!!!Release 1.3.1
!!Summary of Changes
- DynamicAny fixes for char conversions
- fixed SF# 1733362: Strange timeout handling in SocketImpl::poll and Socket::select
- fixed SF patch# 1728912: crash in POCO on Solaris
- fixed SF# 1732138: Bug in WinRegistryConfiguration::getString
- fixed SF# 1730790: Reference counting breaks NetworkInterface::list()
- fixed SF# 1720733: Poco::SignalHandler bug
- fixed SF# 1718724: Poco::StreamCopier::copyStream loops forever
- fixed SF# 1718437: HashMap bug
- changed LinearHashTable iterator implementation. less templates -> good thing.
- fixed SF# 1733964: DynamicAny compile error
- UUIDGenerator: fixed infinite loop with non ethernet interfaces
- updated expat to 2.0.1
- fixed SF# 1730566: HTTP server throws exception
- Glob supports symbolic links (additional flag to control behavior)
- fixed a problem with non blocking connect in NetSSL_OpenSSL
(see http://www.appinf.com/poco/wiki/tiki-view_forum_thread.php?comments_parentId=441&topics_threshold=0&topics_offset=29&topics_sort_mode=commentDate_desc&topics_find=&forumId=6)
- fixed a problem with SSL renegotiation in NetSSL_OpenSSL (thanks to Sanjay Chouksey for the fix)
- fixed SF# 1714753: NetSSL_OpenSSL: HTTPS connections fail with wildcard certs
- HTTPClientSession: set Host header only if it's not already set (proposed by EHL)
- NetworkInterface (Windows): Loopback interface now has correct netmask;
interfaces that do not have an IP address assigned are no longer reported.
- Fixes for VC++ W4 warnings from EHL
2017-09-01 20:24:45 +02:00
- SharedMemory: first constructor has an additional "server" parameter
Setting to true does not unlink the shared memory region when the SharedMemory object is destroyed. (Alessandro Oliveira Ungaro)
- fixed SF# 1768231: MemoryPool constructor
!!!Release 1.3.0
Release 1.3 of the POCO C++ Libraries contains major improvements and new features throughout all libraries.
!!Summary of Changes
- Poco::HashMap and Poco::HashSet classes (Foundation)
- Poco::Tuple class template (Foundation)
- Poco::SharedMemory class (Foundation)
- Poco::FileStream, Poco::FileInputStream, Poco::FileOutputStream classes that
support Unicode (UTF-8) filenames on Windows (Foundation)
- improvements and bugfixes in the Net library, with a focus on the HTTP client
and server classes
- Poco::DynamicAny class (Foundation)
- improvements to Poco::Net::NetworkInterface class (Net)
- Poco::Condition class, implementing POSIX condition variable-style
thread synchronization (Foundation)
- Poco::RegularExpression now uses [[http://www.pcre.org PCRE]] 7.1 (Foundation)
- improved Unicode/UTF-8 support -- Poco::Unicode and Poco::UTF8 classes
- Poco::XML::NodeAppender class for faster DOM tree creation (XML)
- Poco::Checksum class (Foundation)
- lots of bugfixes and other improvements -- please see the
CHANGELOG for details
!!Incompatible Changes and Possible Transition Issues
2017-09-01 20:24:45 +02:00
The (now deprecated) Poco::HashFunction class template has been changed in an
incompatible way. The member function formerly named hash() is now the function
call operator. If you have defined your own HashFunction classes,
you have to update your code. Sorry for the inconvenience.
2017-09-01 20:24:45 +02:00
On Windows, POCO now builds with Unicode/UTF-8 support
(POCO_WIN32_UTF8) enabled by default. If you need the previous (1.2)
behavior, remove the corresponding #define from Poco/Config.h