Ruby 2.3.1 Released Posted by nagachika on 26 Apr 2016
Ruby 2.3.1 has been released.
This is the first TEENY version release of the stable 2.3 series.
There are many bugfixes. See the ChangeLog for details.
Ruby 2.1.10 Released Posted by usa on 1 Apr 2016
Ruby 2.1.10 has been released. This release is not intended for production
use, but for compatibility tests with two-digit version numbers. You don¡Çt
have to replace Ruby 2.1.9 by 2.1.10 in normal use.
As announced in the 2.1.9 release post, Ruby 2.1.10 does not include any
changes from 2.1.9, except for its version number (and only one small related
change in its test suite). Please test your applications and/or libraries for
compatibility with two-digit version numbers.
Ruby 2.1.9 Released Posted by usa on 30 Mar 2016
Ruby 2.1.9 has been released.
This release includes many bug fixes. See ChangeLog for details.
As announced before, this is the last normal release of the Ruby 2.1
series. After this release we will never backport any bug fixes to 2.1 except
security fixes. We recommend that you start planning to upgrade to Ruby 2.3 or
2.2.
By the way, we are planning to release Ruby 2.1.10 in a few days. Ruby 2.1.10
will not include any changes from 2.1.9, except for its version number. You do
not have to use it on production, but you should test it because it has a
two-digit version number.
This will set all normal files to NONBINMODE (=644) avoiding, in the first
place, install warnings and errors about world and/or group writeability.
Some modules may even be shipped with egg-info files having mode 600
which has an adverse side-effect of wreaking havoc with setuptools
find_package() for *any* python module after installation of the culprit.
Ensuring world and group readability fixes this anomaly.
ok'd by wiz@
New in version 1.3.5
* enhancement: the platform's strtod() is exposed as SB-POSIX:STRTOD
* enhancement: speed up debug info creation for highly nested functions.
* enhancement: the interleaved structure slot optimization from release 1.2.6
has been ported to all architectures.
* enhancement: support run-program I/O redirection into lisp streams on Windows.
* bug fix: better wording in missed optimization note.
* bug fix: interpreted (CAS SVREF) was broken
* bug fix: support CLISP as build host for ARM
Changelog:
Bug Fixes
The following table lists the bug fixes included in JDK 8u92 release:
Bug Id Category Subcategory Description
JDK-8041900 client-libs 2d [macosx] Java forces the use of discrete GPU
JDK-8132890 client-libs 2d Text Overlapping on Dot Matrix Printers
JDK-8132503 client-libs java.awt [macosx] Chinese full stop symbol cannot be entered with Pinyin IM on OS X
JDK-8138764 client-libs java.awt In some cases the usage of TreeLock can be replaced by other synchronization
JDK-8041501 client-libs javax.imageio ImageIO reader is not capable of reading JPEGs without JFIF header
JDK-8134828 client-libs javax.swing Scrollbar thumb disappears with Nimbus L&F
JDK-8131129 core-libs java.lang.invoke Attempt to define a duplicate BMH$Species class
JDK-8067800 core-libs java.time Clarify java.time.chrono.Chronology.isLeapYear for out of range years
JDK-8062901 core-libs java.util Iterators is spelled incorrectly in the Javadoc for Spliterator
JDK-8140587 core-libs java.util.concurrent Atomic*FieldUpdaters should use Class.isInstance instead of direct class check
JDK-8145539 core-libs java.util:collections (coll) AbstractMap.keySet and .values should not be volatile
JDK-8143297 core-libs jdk.nashorn Nashorn compilation time reported in nanoseconds
JDK-8143896 core-libs jdk.nashorn java.lang.Long is implicitly converted to double
JDK-8144020 core-libs jdk.nashorn Remove long as an internal numeric type
JDK-8144131 core-libs jdk.nashorn ArrayData.getInt implementations do not convert to int32
JDK-8146147 core-libs jdk.nashorn Java linker indexed property getter does not work for computed nashorn string
JDK-8147845 core-libs jdk.nashorn Varargs Array functions still leaking longs
JDK-8147857 core-svc javax.management RMIConnector logs attribute names incorrectly
JDK-8140244 core-svc tools Port fix of JDK-8075773 to AIX and possibly MacOSX
JDK-8139773 deploy Add more debug traces to deployment registration process (RegFx.cpp)
JDK-8142982 deploy Race Condition can cause CacheEntry.getJarSigningData() to return null.
JDK-8143294 deploy cookie handler can't get JSESSIONID on linux
JDK-8145217 deploy Fix GenericCookieHandlerTest
JDK-8143314 deploy packager Runtime not respected with INI-configuration while creating native bundle
JDK-8139389 deploy webstart Register a protocol handler for Java Webstart
JDK-6869327 hotspot compiler Add new C2 flag to keep safepoints in counted loops.
JDK-8058563 hotspot compiler InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries
JDK-8080650 hotspot compiler Enable stubs to use frame pointers correctly
JDK-8129847 hotspot compiler Compiling methods generated by Nashorn triggers high memory usage in C2
JDK-8131782 hotspot compiler C1 Class.cast optimization breaks when Class is loaded from static final
JDK-8139421 hotspot compiler PPC64LE: MacroAssembler::bxx64_patchable kills register R12
JDK-8140483 hotspot compiler Atomic*FieldUpdaters final fields should be trusted
JDK-8144487 hotspot compiler PhaseIdealLoop::build_and_optimize() must restore major_progress flag if skip_loop_opts is true
JDK-8144935 hotspot compiler C2: safepoint is pruned from a non-counted loop
JDK-8145754 hotspot compiler PhaseIdealLoop::is_scaled_iv_plus_offset() does not match AddI
JDK-8065579 hotspot gc WB method to start G1 concurrent mark cycle should be introduced
JDK-8138966 hotspot gc Intermittent SEGV running ParallelGC
JDK-8145442 hotspot gc Add the facility to verify remembered sets for G1
JDK-8029630 hotspot runtime Thread id should be displayed as hex number in error report
JDK-8046611 hotspot runtime Build errors with gcc on sparc/fastdebug
JDK-8087120 hotspot runtime [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
JDK-8138745 hotspot runtime Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
JDK-8139258 hotspot runtime PPC64LE: argument passing problem when passing 15 floats in native call
JDK-8143963 hotspot runtime improve ClassLoader::trace_class_path to accept an additional outputStream* arg
JDK-8029726 hotspot svc On OS X some dtrace probe names are mismatched with Solaris
JDK-8029727 hotspot svc On OS X dtrace probes Call<type>MethodA/Call<type>MethodV are not fired.
JDK-8029728 hotspot svc On OS X dtrace probes SetStaticBooleanField are not fired
JDK-8130910 hotspot svc hsperfdata file is created in wrong directory and not cleaned up if /tmp/hsperfdata_<username> has wrong permissions
JDK-8140031 hotspot svc SA: Searching for a value in Threads does not work
JDK-8144885 hotspot svc agent/src/os/linux/libproc.h needs to support Linux/SPARC builds
JDK-8145099 hotspot svc Better error message when SA can't attach to a process
JDK-8074935 security-libs java.security jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
JDK-8139436 security-libs java.security sun.security.mscapi.KeyStore might load incomplete data
JDK-8064330 security-libs javax.net.ssl Remove SHA224 from the default support list if SunMSCAPI enabled
JDK-8131665 security-libs javax.net.ssl Bad exception message in HandshakeHash.getFinishedHash
JDK-8136442 security-libs javax.net.ssl Don't tie Certificate signature algorithms to ciphuites
JDK-8038184 security-libs javax.xml.crypto XMLSignature throws StringIndexOutOfBoundsException if ID attribute value is empty String
JDK-8038349 security-libs javax.xml.crypto Signing XML with DSA throws Exception when key is larger than 1024 Exception when calling super with Object<>()
JDK-8066974 tools javac Compiler doesn't infer method's generic type information in lambda body
JDK-8068254 tools javac Method reference uses wrong qualifying type
JDK-8130506 tools javac javac Assertien invoking MethodHandle.invoke with lambda parameter
JDK-8134007 tools javac Improve string folding
JDK-8134759 tools javac jdb: Incorrect stepping inside finally block
JDK-8139751 tools javac Javac crash with -XDallowStringFolding=false
JDK-8145466 tools javac javac: No line numbers in compilation error
JDK-8145722 tools javadoc(tool) NullPointerException in javadoc
JDK-8133924 xml jaxp NPE may be thrown when xsltc select a non-existing node after JDK-8062518
* [28 Apr 16] Fixed problems of compatibility with previous versions of
ocaml.
* [23 Jan 16] Fixed bug on optional types (ocaml 4.02).
* [15 Jan 16] Fixed bug on methods wrongly interpreted as vals.
* [05 Jan 16] Updated for ocaml trunk 4.03.0
(git version be2a7e2f830911b331657b8cfa462f5219dfec5b)
* [26 Nov 15] Updated again for ocaml trunk current version (4.03.0).
* [23 Sep 15] Updated for ocaml trunk current version (4.03.0).
- assert: deep{Strict}Equal() now works correctly with circular
references.
- debugger: Arrays are now formatted correctly in the debugger repl.
- deps: Upgrade OpenSSL sources to 1.0.2h
- net: Introduced a Socket#connecting property.
- process: Introduced process.cpuUsage().
- stream: Writable#setDefaultEncoding() now returns this.
- util: Two new additions to util.inspect():
- Added a maxArrayLength option to truncate the formatting of
Arrays.
- Added a showProxy option for formatting proxy intercepting
handlers.
unneeded patches.
The list of changes is a thousand lines long, so I'm not including it
here: details can be found in the Changes file in the top directory of the
package after extraction.
This is the command-line tool, which uses the recently added libduktape package.
Duktape is an embeddable Ecmascript E5/E5.1 engine with a focus on
portability and compact footprint. By integrating Duktape into your
C/C++ program you can easily extend its functionality through
scripting. You can also build the main control flow of your program
in Ecmascript and use fast C code functions to do heavy lifting.
The terms Ecmascript and Javascript are often considered more or less
equivalent, although Javascript and its variants are technically just
one environment where the Ecmascript language is used. The line
between the two is not very clear in practice: even non-browser
Ecmascript environments often provide some browser-specific built-ins.
Duktape is no exception, and provides the commonly used print() and
alert() built-ins. Even so, we use the term Ecmascript throughout to
refer to the language implemented by Duktape.
which can be embedded in other C programs.
Duktape is an embeddable Ecmascript E5/E5.1 engine with a focus on
portability and compact footprint. By integrating Duktape into your
C/C++ program you can easily extend its functionality through
scripting. You can also build the main control flow of your program
in Ecmascript and use fast C code functions to do heavy lifting.
The terms Ecmascript and Javascript are often considered more or less
equivalent, although Javascript and its variants are technically just
one environment where the Ecmascript language is used. The line
between the two is not very clear in practice: even non-browser
Ecmascript environments often provide some browser-specific built-ins.
Duktape is no exception, and provides the commonly used print() and
alert() built-ins. Even so, we use the term Ecmascript throughout to
refer to the language implemented by Duktape.
Changelog:
NAME
perldelta - what is new for perl v5.22.2
DESCRIPTION
This document describes differences between the 5.22.1 release and the
5.22.2 release.
If you are upgrading from an earlier release such as 5.22.0, first read
perl5221delta, which describes differences between 5.22.0 and 5.22.1.
Security
Fix out of boundary access in Win32 path handling
This is CVE-2015-8608. For more information see [perl #126755]
<https://rt.perl.org/Ticket/Display.html?id=126755>.
Fix loss of taint in "canonpath()"
This is CVE-2015-8607. For more information see [perl #126862]
<https://rt.perl.org/Ticket/Display.html?id=126862>.
Set proper umask before calling mkstemp(3)
In 5.22.0 perl started setting umask to 0600 before calling mkstemp(3)
and restoring it afterwards. This wrongfully tells open(2) to strip
the owner read and write bits from the given mode before applying it,
rather than the intended negation of leaving only those bits in place.
Systems that use mode 0666 in mkstemp(3) (like old versions of glibc)
create a file with permissions 0066, leaving world read and write
permissions regardless of current umask.
This has been fixed by using umask 0177 instead.
[perl #127322] <https://rt.perl.org/Ticket/Display.html?id=127322>
Avoid accessing uninitialized memory in Win32 "crypt()"
Validation that will detect both a short salt and invalid characters in
the salt has been added.
://rt.perl.org/Ticket/Display.html?id=126922>
Remove duplicate environment variables from "environ"
Previously, if an environment variable appeared more than once in
"environ[]", %ENV would contain the last entry for that name, while a
typical "getenv()" would return the first entry. We now make sure %ENV
contains the same as what "getenv()" returns.
Secondly, we now remove duplicates from "environ[]", so if a setting
with that name is set in %ENV we won't pass an unsafe value to a child
process.
This is CVE-2016-2381.
Incompatible Changes
There are no changes intentionally incompatible with Perl 5.22.1. If
any exist, they are bugs, and we request that you submit a report. See
"Reporting Bugs" below.
Modules and Pragmata
Updated Modules and Pragmata
• File::Spec has been upgraded from version 3.56 to 3.56_01.
"canonpath()" now preserves taint. See "Fix loss of taint in
"canonpath()"".
• Module::CoreList has been upgraded from version 5.20151213 to
5.20160429.
The version number of Digest::SHA listed for Perl 5.18.4 was wrong
and has been corrected. Likewise for the version number of Config
in 5.18.3 and 5.18.4. [perl #127624]
<https://rt.perl.org/Ticket/Display.html?id=127624>
Documentation
Changes to Existing Documentation
perldiag
• The explanation of the warning "unable to close filehandle %s
properly: %s" which can occur when doing an implicit close of a
filehandle has been expanded and improved.
perlfunc
• The documentation of "hex()" has been revised to clarify valid
inputs.
Configuration and Compilation
• Dtrace builds now build successfully on systems with a newer dtrace
that require an input object file that uses the probes in the .d
file.
Previously the probe would fail and cause a build failure.
[perl #122287] <https://rt.perl.org/Ticket/Display.html?id=122287>
• Configure no longer probes for libnm by default. Originally this
was the "New Math" library, but the name has been re-used by the
GNOME NetworkManager.
[perl #127131] <https://rt.perl.org/Ticket/Display.html?id=127131>
• Configure now knows about gcc 5.
• Compiling perl with -DPERL_MEM_LOG now works again.
Platform Support
Platform-Specific Notes
Darwin
Compiling perl with -Dusecbacktrace on Darwin now works again.
[perl #127764] <https://rt.perl.org/Ticket/Display.html?id=127764>
OS X/Darwin
Builds with both -DDEBUGGING and threading enabled would fail with
a "panic: free from wrong pool" error when built or tested from
Terminal on OS X. This was caused by perl's internal management of
the environment conflicting with an atfork handler using the libc
"setenv()" function to update the environment.
Perl now uses "setenv()"/"unsetenv()" to update the environment on
OS X.
[perl #126240] <https://rt.perl.org/Ticket/Display.html?id=126240>
ppc64el
The floating point format of ppc64el (Debian naming for little-
endian PowerPC) is now detected correctly.
Tru64
A test failure in t/porting/extrefs.t has been fixed.
Internal Changes
• An unwarranted assertion in "Perl_newATTRSUB_x()" has been removed.
If a stub subroutine definition with a prototype has been seen,
then any subsequent stub (or definition) of the same subroutine
with an attribute was causing an assertion failure because of a
null pointer.
[perl #126845] <https://rt.perl.org/Ticket/Display.html?id=126845>
Selected Bug Fixes
• Calls to the placeholder &PL_sv_yes used internally when an
"import()" or "unimport()" method isn't found now correctly handle
scalar context. [perl #126042]
<https://rt.perl.org/Ticket/Display.html?id=126042>
• The "pipe()" operator would assert for "DEBUGGING" builds instead
of producing the correct error message. The condition asserted on
is detected and reported on correctly without the assertions, so
the assertions were removed. [perl #126480]
<https://rt.perl.org/Ticket/Display.html?id=126480>
• In some cases, failing to parse a here-doc would attempt to use
freed memory. This was caused by a pointer not being restored
correctly. [perl #126443]
<https://rt.perl.org/Ticket/Display.html?id=126443>
• Perl now reports more context when it sees an array where it
expects to see an operator, and avoids an assertion failure. [perl
#123737] <https://rt.perl.org/Ticket/Display.html?id=123737>
• If a here-doc was found while parsing another operator, the parser
had already read end of file, and the here-doc was not terminated,
perl could produce an assertion or a segmentation fault. This now
reliably complains about the unterminated here-doc. [perl #125540]
<https://rt.perl.org/Ticket/Display.html?id=125540>
• Parsing beyond the end of the buffer when processing a "#line"
directive with no filename is now avoided. [perl #127334]
<https://rt.perl.org/Ticket/Display.html?id=127334>
• Perl 5.22.0 added support for the C99 hexadecimal floating point
notation, but sometimes misparsed hex floats. This has been fixed.
[perl #127183] <https://rt.perl.org/Ticket/Display.html?id=127183>
• Certain regex patterns involving a complemented posix class in an
inverted bracketed character class, and matching something else
optionally would improperly fail to match. An example of one that
could fail is "qr/_?[^\Wbar]\x{100}/". This has been fixed. [perl
#127537] <https://rt.perl.org/Ticket/Display.html?id=127537>
• Fixed an issue with "pack()" where "pack "H"" (and "pack "h"")
could read past the source when given a non-utf8 source and a utf8
target. [perl #126325]
<https://rt.perl.org/Ticket/Display.html?id=126325>
• Fixed some cases where perl would abort due to a segmentation
fault, or a C-level assert. [perl #126193]
<https://rt.perl.org/Ticket/Display.html?id=126193> [perl #126257]
<https://rt.perl.org/Ticket/Display.html?id=126257> [perl #126258]
<https://rt.perl.org/Ticket/Display.html?id=126258> [perl #126405]
<https://rt.perl.org/Ticket/Display.html?id=126405> [perl #126602]
<https://rt.perl.org/Ticket/Display.html?id=126602> [perl #127773]
<https://rt.perl.org/Ticket/Display.html?id=127773> [perl #127786]
<https://rt.perl.org/Ticket/Display.html?id=127786>
• A memory leak when setting $ENV{foo} on Darwin has been fixed.
[perl #126240] <https://rt.perl.org/Ticket/Display.html?id=126240>
• Perl now correctly raises an error when trying to compile patterns
with unterminated character classes while there are trailing
backslashes. [perl #126141]
<https://rt.perl.org/Ticket/Display.html?id=126141>
• "NOTHING" regops and "EXACTFU_SS" regops in "make_trie()" are now
handled properly. [perl #126206]
<https://rt.perl.org/Ticket/Display.html?id=126206>
• Perl now only tests "semctl()" if we have everything needed to use
it. In FreeBSD the "semctl()" entry point may exist, but it can be
disabled by policy. [perl #127533]
<https://rt.perl.org/Ticket/Display.html?id=127533>
• A regression that allowed undeclared barewords as hash keys to work
despite strictures has been fixed. [perl #126981]
<https://rt.perl.org/Ticket/Display.html?id=126981>
• As an optimization (introduced in Perl 5.20.0), "uc()", "lc()",
"ucfirst()" and "lcfirst()" sometimes modify their argument in-
place rather than returning a modified copy. The criteria for this
optimization has been made stricter to avoid these functions
accidentally modifying in-place when they should not, which has
been happening in some cases, e.g. in List::Util.
• Excessive memory usage in the compilation of some regular
expressions involving non-ASCII characters has been reduced. A
more complete fix is forthcoming in Perl 5.24.0.
Acknowledgements
Perl 5.22.2 represents approximately 5 months of development since Perl
5.22.1 and contains approximately 3,000 lines of changes across 110
files from 24 authors.
Excluding auto-generated files, documentation and release tools, there
were approximately 1,500 lines of changes to 52 .pm, .t, .c and .h
files.
Perl continues to flourish into its third decade thanks to a vibrant
community of users and developers. The following people are known to
have contributed the improvements that became Perl 5.22.2:
Aaron Crane, Abigail, Andreas Koenig, Aristotle Pagaltzis, Chris
'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsaaker, David
Golden, David Mitchell, H.Merijn Brand, James E Keenan, Jarkko
Hietaniemi, Karen Etheridge, Karl Williamson, Matthew Horsfall, Niko
Tyni, Ricardo Signes, Sawyer X, Stevan Little, Steve Hay, Todd Rinaldo,
Tony Cook, Vladimir Timofeev, Yves Orton.
The list above is almost certainly incomplete as it is automatically
generated from version control history. In particular, it does not
include the names of the (very much appreciated) contributors who
reported issues to the Perl bug tracker.
Many of the changes included in this version originated in the CPAN
modules included in Perl's core. We're grateful to the entire CPAN
community for helping Perl to flourish.
For a more complete list of all of Perl's historical contributors,
please see the AUTHORS file in the Perl source distribution.
Originally reported from abs@ on tech-pkg@.
From random(4) man page:
Applications should read from /dev/urandom when they need randomly
generated data, e.g. key material for cryptography or seeds for
simulations.
This release will become the new LTS later in 2016.
The following significant changes have been made since the
previous Node.js v5.0.0 release.
Buffer
- New Buffer constructors have been added #4682 and #5833.
- Existing Buffer() and SlowBuffer() constructors have been
deprecated in docs #4682 and #5833.
- Previously deprecated Buffer APIs are removed #5048, #4594.
- Improved error handling #4514.
- The Buffer.prototype.lastIndexOf() method has been added #4846.
Cluster
- Worker emitted as first argument in 'message' event #5361.
- The worker.exitedAfterDisconnect property replaces
worker.suicide #3743.
Console
- Calling console.timeEnd() with an unknown label now emits a
process warning rather than throwing #5901.
Crypto
- Improved error handling #3100, #5611.
- Simplified Certificate class bindings #5382.
- Improved control over FIPS mode #5181.
- pbkdf2 digest overloading is deprecated #4047.
Dependencies
- Reintroduce shared c-ares build support #5775.
- V8 updated to 5.0.71.35 #6372.
DNS
- Add dns.resolvePtr() API to query plain DNS PTR records #4921.
Domains
- Clear stack when no error handler #4659.
Events
- The EventEmitter.prototype._events object no longer inherits
from Object.prototype #6092.
- The EventEmitter.prototype.prependListener() and
EventEmitter.prototype.prependOnceListener() methods have been
added #6032.
File System
- The fs.realpath() and fs.realpathSync() methods have been
updated to use a more efficient libuv-based implementation. This
change includes the removal of the cache argument and the method
can throw new errors #3594.
- FS apis can now accept and return paths as Buffers #5616.
- Error handling and type checking improvements #5616, #5590,
#4518, #3917.
- fs.read's string interface is deprecated #4525.
HTTP
- 'clientError' can now be used to return custom errors from an
HTTP server #4557.
Buffer:
- Buffer.prototype.compare can now compare sub-ranges of two
Buffers.
deps:
- update to http-parser 2.7.0
- update ESLint to 2.7.0
net:
- adds support for passing DNS lookup hints to createConnection()
node:
- Make the builtin libraries available for the --eval and --print
CLI options
npm:
- upgrade npm to 3.8.6
repl:
- Pressing enter in the repl will repeat the last command by default
if no input has been received. This behaviour was in node
previously and was not removed intentionally.
src:
- add SIGINFO to supported signals
streams:
- Fix a regression that caused by net streams requesting multiple
chunks synchronously when combined with cork/uncork
zlib:
- The flushing flag is now configurable allowing for decompression
of partial data
Some highlights of the release are:
- New statistics info about runnable and active processes & ports.
- Time warp improvements: dbg:p/2 and erlang:trace/3 with
monotonic_timestamp | strict_monotonic_timestamp.
- Introduced a validation callback for heart.
- The module overload in sasl has been deprecated.
- ~90 contributions since 18.2
Full release notes:
http://erlang.org/download/otp_src_18.3.readme