As a patch release, Qt 6.6.1 does not introduce any new features but contains more than 400 bug fixes, security updates, and other improvements to the top of the Qt 6.6.0 release. See more information about the most important changes and bug fixes from Qt 6.6.1 release note.
There appear to be a number of UTF-8 issues in ghc, some of which are patched
in this package and the resulting binaries, but there are others that may be
caused by the bootstrap kit. Package now builds correctly on SunOS.
PHP is a widely-used open source general-purpose scripting language
that is especially suited for web development and can be embedded
into HTML. It is modular, and object-oriented. Much of its syntax
is borrowed from C, Java and Perl with a couple of unique PHP-specific
features thrown in. The language is designed to allow web developers
to write dynamically generated pages quickly.
PHP 8.3 comes with numerous improvements and new features such as
* Typed Class Constants
* Fetch class constant dynamically syntax
* Readonly Amendments
* Override Attribute
* New Randomizer method Random\Randomizer::getBytesFromString
* New function json_validate
* And much much more...
When python bl3 files are included with PYTHON_FOR_BUILD_ONLY=yes, their
DEPMETHOD is set to "build", in which case we do not want to include
indirect dependencies as they will then be tagged as "build" also. Fixes
potential runtime issues exposed by indirect dependency checks.
Enable NetBSD/i386 build again.
Changes in sbcl-2.3.11 relative to sbcl-2.3.10
* minor incompatible change: streams with an external-format
specified with :REPLACEMENT will use their replacement data once
per stream unit that causes a decoding error (rather than, in
some cases, once for a sequence of bytes none of which is a
valid character start position for that external-format).
* minor incompatible change: external-format designators with
unsupported or unrecognized options now signal an error when
used.
* enhancement: During generic function dispatch, for a generic
function using standard- or short-method-combination, if there
are no applicable primary methods the system will call the
generic function SB-PCL:NO-PRIMARY-METHOD, whose default
behaviour is to signal an error. Users may define methods on
this generic function.
* enhancement: external formats for unibyte encodings and utf-8
now support newline variants.
* enhancement: character decoding and encoding errors signalled by
stream or octet functions now provide a USE-VALUE restart for
handlers to provide replacement input or output.
* enhancement: READ-SEQUENCE and WRITE-SEQUENCE support
user-defined sequences; the default implementation proceeds
element-by-element, reading or writing single bytes or
characters to or from the stream as appropriate.
* bug fix: OCTETS-TO-STRING using unibyte external formats with
unallocated codepoints (e.g. iso-8859-3) correctly signal or use
replacements rather than taking bits from the address of NIL and
converting those bits to a character.
* bug fix: FILE-STRING-LENGTH now returns NIL if the input datum
is not encodable in the stream's external format.
* bug fix: table-based multibyte external formats (EUC-JP,
Shift-JIS, GBK) now honour a replacement character (in the
external format or through restarts) when encoding to octets.
* bug fix: converting from octets using the UCS-2, UCS-4 and
UTF-32 external formats no longer reads past the end of an octet
array with a non-integral number of two- or four-byte units.
* bug fix: converting from octets using the UCS-2, UCS-4, UTF-16
or UTF-32 external formats now returns a simple string, as
required by the type declaration of OCTETS-TO-STRING.
* bug fix: providing an invalid external format argument to OPEN
or WITH-OPEN-FILE (or the internal MAKE-FD-STREAM) no longer
leaks a file descriptor.
* bug fix: SB-ROTATE-BYTE recognizes out-of-relevant-range BYTE
specifications for integers before attempting to cons up
enormous bignums for masking and shifting. (#2042937)
* bug fix: fix type derivation on compiling SB-ROTATE-BYTE forms
with non-zero POSITION in the byte specifier. (#2042775)
* bug fix: fix multiple assembler errors when compiling
MAKE-ARRAY, MAKE-STRING and similar with a large constant
size. (#2037347, #2038744)
* bug fix: fix internal error when compiling (SETF SBIT) with a
large constant index. (#2037415)
* bug fix: fix internal compiler error on invalid lambda list
parameters in LABELS. (#2040334)
* bug fix: fix internal compiler error when compiling some
infinitely-recursive LABELS forms. (#2042704)
* bug fix: fix internal compiler error when attempting to inline a
jump to a label that has been deleted. (#2043262)
* bug fix: FILL-POINTER should never be made to go negative. (#2042452)
* optimization: external formats with :REPLACEMENT no longer bind
handlers for coding errors around conversion functions, and so
should cons less and be faster.
* optimization: when the :EXTERNAL-FORMAT argument to
STRING-TO-OCTETS or OCTETS-TO-STRING is a compile-time constant,
the external format is resolved at load time rather than on each
call.
* optimization: the compiler is able to constrain the types of
inputs to some functions given a derived or asserted type of the
function's return value.
* optimization: the compiler performs fewer redundant type checks
in ASSOC, GETF and similar functions.
Changes in sbcl-2.3.10 relative to sbcl-2.3.9
* enhancement: The compiler now allows stack allocating vectors of
any size on all safety levels, not just those which it can prove
are of sub-page sizes. It can do this because it now inserts
code to check for stack overflow explicitly on higher safety
levels.
* enhancements to the disassembler:
* on arm64, x86-64, DISASSEMBLE annotates references to static
symbols.
* bug fix: calls to generic functions now detect erroneous
keywords (in the sense of CLHS 7.6.5) passed as arguments even
when auxiliary methods are applicable.
* bug fix: the standard method on SB-MOP:COMPUTE-EFFECTIVE-METHOD
no longer inserts calls to implementation-defined local
macros. (reported by Daniel Kochmański)
* bug fix: compiler error from state-machine-like LABELS forms in
some circumstances. (#2037318)
* bug fix: fix compile-time error in constant-folding RATIONAL on
literal float infinities. (#2037455)
* bug fix: failure on x86-64 to assemble code for EQL tests of
comparisons with immediates. (#2037456)
* bug fix: infinite loop in the compiler for simplification of
type tests of complicated union types. (#2038112, reported by
Paul M. Rodriguez)
* bug fix: inability to dump a literal displaced array containing
copies of its displacement target. (#2038233, reported by James
Kalenius)
* bug fix: compiler error in LOGBITP type derivation. (#2038241)
* bug fix: compiler error in AREF type derivation. (#2038659)
* bug fix: compiler internal consistency failure in overflow type
checks. (#2038736)
* bug fix: work around an infinite loop in type simplification by
not providing such types from the compiler. (#2038980, reported
by Richard Holcombe)
* bug fix: spurious run-time argument count errors from generic
function calls on arm64. (#2039006, reported by fiddlerwoaroof)
* bug fix: errors in SCALE-FLOAT on floating-point
infinities. (#2039613)
* bug fix: ROOM is slightly more robust to
incompletely-initialized instances at the point of running
ROOM. (Reported by Andreas Franke)
* bug fix: finalizers saved through SAVE-LISP-AND-DIE and
subsequently executed do not trigger memory faults. (Reported by
Bohong Huang)
* optimization: improvements to type derivation for ISQRT,
INTEGER-LENGTH, LOGCOUNT, LOG, DENOMINATOR.
Changes in sbcl-2.3.9 relative to sbcl-2.3.8
* enhancement: stack allocation via DYNAMIC-EXTENT now applies to
all values that a variable can take on (for example via SETQ),
not just the initial binding. This permits for example building
complex or recursive structures on the stack more easily via
iteration. See the updated manual entry for more details.
* minor incompatible change: some interfaces in the SB-POSIX
contrib module adhere to the spec that a NULL result from the C
library is an error if and only if errno was altered by the
call. SYSCALL-ERROR will be signaled if so.
* enhancement: the SB-POSIX contrib module provides DO-PASSWDS and
DO-GROUPS to allow users to iterate over password and group
databases safely.
* platform support:
* support for Darwin on x86 and PowerPC has been
restored. (#2033287, thanks to Kirill A. Korinsky, Sergey
Fedorov and barracuda156)
* bug fix: miscompilation due to erroneous type derivation in the
presence of multiplication of fixnums by ratios. (#2033695,
reported by Patrick Dussud)
* bug fix: compiler error when compiling signed- and unsigned
64-bit type checks in some cases. (#2033997, reported by Eric
Smith)
* bug fix: compiler error when the :INITIAL-CONTENTS argument to
MAKE-ARRAY is a constant non-sequence. (#2037328)
* bug fix: compiler error when constant-folding sequence functions
with :TEST or :KEY functions erroring on the given
sequence. (#2037341)
* bug fix: compiler error when arguments to array or sequence
functions imply a very large sequence size. (#2037443, #2037348)
* bug fix: compiler error when the return value of ADJUST-ARRAY is
not used. (#2037450)
* optimization: function types derived by the compiler can in some
cases be propagated backwards through the intermediate
representation.
* optimization: better type derivations for LDB, LOGBITP, RATIO.
* optimization: eliminate bound checks in more cases involving
transitive comparisons.
It's not clear why this was ever added in the first place (back in gcc46),
but it results in the build gcc finding libraries in PREFIX that aren't
buildlinked.
Discovered on macOS with the indirect DEPENDS checks where iconv was being
pulled in directly from PREFIX. While here fix a non-ASCII space.
The default DEPMETHOD for vala's bl3 is "build", so there's no point
duplicating that in each package. Given that it is only ever a build
dependency, completely remove the indirect dependencies as they should not
be made available. Also remove obsolete BUILDLINK_API_DEPENDS settings.
Tested with a few of the affected packages.
This file is generally only included when the valac and vapigen tools are
required, and it even defaults to DEPMETHOD=build. The library dependencies
are not required for running the tools, and this avoids a number of implicit
dependency issues.
Version 20.10.0 'Iron' (LTS)
--experimental-default-type flag to flip module defaults
The new flag --experimental-default-type can be used to flip the default module system used by Node.js. Input that is already explicitly defined as ES modules or CommonJS, such as by a package.json "type" field or .mjs/.cjs file extension or the --input-type flag, is unaffected. What is currently implicitly CommonJS would instead be interpreted as ES modules under --experimental-default-type=module:
String input provided via --eval or STDIN, if --input-type is unspecified.
Files ending in .js or with no extension, if there is no package.json file present in the same folder or any parent folder.
Files ending in .js or with no extension, if the nearest parent package.json field lacks a type field; unless the folder is inside a node_modules folder.
In addition, extensionless files are interpreted as Wasm if --experimental-wasm-modules is passed and the file contains the "magic bytes" Wasm header.
Detect ESM syntax in ambiguous JavaScript
The new flag --experimental-detect-module can be used to automatically run ES modules when their syntax can be detected. For “ambiguous” files, which are .js or extensionless files with no package.json with a type field, Node.js will parse the file to detect ES module syntax; if found, it will run the file as an ES module, otherwise it will run the file as a CommonJS module. The same applies to string input via --eval or STDIN.
We hope to make detection enabled by default in a future version of Node.js. Detection increases startup time, so we encourage everyone—especially package authors—to add a type field to package.json, even for the default "type": "commonjs". The presence of a type field, or explicit extensions such as .mjs or .cjs, will opt out of detection.
New flush option in file system functions
When writing to files, it is possible that data is not immediately flushed to permanent storage. This allows subsequent read operations to see stale data. This PR adds a 'flush' option to the fs.writeFile family of functions which forces the data to be flushed at the end of a successful write operation.
Experimental WebSocket client
Adds a --experimental-websocket flag that adds a WebSocket global, as standardized by WHATWG.
vm: fix V8 compilation cache support for vm.Script
Previously repeated compilation of the same source code using vm.Script stopped hitting the V8 compilation cache after v16.x when support for importModuleDynamically was added to vm.Script, resulting in a performance regression that blocked users (in particular Jest users) from upgrading from v16.x.
The recent fixes allow the compilation cache to be hit again for vm.Script when --experimental-vm-modules is not used even in the presence of the importModuleDynamically option, so that users affected by the performance regression can now upgrade. Ongoing work is also being done to enable compilation cache support for vm.CompileFunction.
Changelog:
mono-6.12.0.199
Bump nuget.exe to v6.6.1
mono-6.12.0.198
Fix xar url again
(cherry picked from commit 3005442)
mono-6.12.0.190
Change download URL for PCL reference assemblies
mono-6.12.0.188
Bump NuGetSdkResolver in msbuild
mono-6.12.0.185
Backport fixes for sharing wrappers when type attributes are involved (…
…#21537)
* [wasm] Fix the handling of i8/u8 in get_wrapper_shared_type_full (). (#19859)
Previously, these were returned verbatim, which caused sharing issues when the type had
attributes.
Fixes#19841.
* [aot] Fix the handling of r4/r8 parameter types with attributes during generic sharing. (#20217)
The attributes need to be ignored as with the other types, otherwise gsharedvt wrappers for signatures with
parameters like double f = default will not be found.
Fixes#20195.
mono-6.12.0.184
Backporting dotnet/runtime#59861 (#21532)
Fixesdotnet/runtime#72181
mono-6.12.0.183
Backport dotnet/runtime#71436 (#21519)
Backport dotnet/runtime#71436
Backport of #21516 to 2020-02
Changelog:
# v2.0.0 - 2023-08-01
Version 2.0 is a big milestone with too many changes to list them all here.
For a full list see [details](changelog_2_0_0_details.html).
## New features
### Better tuple unpacking
Tuple unpacking for variables is now treated as syntax sugar that directly
expands into multiple assignments. Along with this, tuple unpacking for
variables can now be nested.
```nim
proc returnsNestedTuple(): (int, (int, int), int, int) = (4, (5, 7), 2, 3)
# Now nesting is supported!
let (x, (_, y), _, z) = returnsNestedTuple()
```
### Improved type inference
A new form of type inference called [top-down inference](https://nim-lang.github.io/Nim/manual_experimental.html#topminusdown-type-inference) has been implemented for a variety of basic cases.
For example, code like the following now compiles:
```nim
let foo: seq[(float, byte, cstring)] = @[(1, 2, "abc")]
```
### Forbidden Tags
[Tag tracking](https://nim-lang.github.io/Nim/manual.html#effect-system-tag-tracking) now supports the definition
of forbidden tags by the `.forbids` pragma which can be used to disable certain effects in proc types.
For example:
```nim
type IO = object ## input/output effect
proc readLine(): string {.tags: [IO].} = discard
proc echoLine(): void = discard
proc no_IO_please() {.forbids: [IO].} =
# this is OK because it didn't define any tag:
echoLine()
# the compiler prevents this:
let y = readLine()
```
### New standard library modules
The famous `os` module got an overhaul. Several of its features are available
under a new interface that introduces a `Path` abstraction. A `Path` is
a `distinct string`, which improves the type safety when dealing with paths, files
and directories.
Use:
- `std/oserrors` for OS error reporting.
- `std/envvars` for environment variables handling.
- `std/paths` for path handling.
- `std/dirs` for directory creation/deletion/traversal.
- `std/files` for file existence checking, file deletions and moves.
- `std/symlinks` for symlink handling.
- `std/appdirs` for accessing configuration/home/temp directories.
- `std/cmdline` for reading command line parameters.
### Consistent underscore handling
The underscore identifier (`_`) is now generally not added to scope when
used as the name of a definition. While this was already the case for
variables, it is now also the case for routine parameters, generic
parameters, routine declarations, type declarations, etc. This means that the following code now does not compile:
```nim
proc foo(_: int): int = _ + 1
echo foo(1)
proc foo[_](t: typedesc[_]): seq[_] = @[default(_)]
echo foo[int]()
proc _() = echo "_"
_()
type _ = int
let x: _ = 3
```
Whereas the following code now compiles:
```nim
proc foo(_, _: int): int = 123
echo foo(1, 2)
proc foo[_, _](): int = 123
echo foo[int, bool]()
proc foo[T, U](_: typedesc[T], _: typedesc[U]): (T, U) = (default(T), default(U))
echo foo(int, bool)
proc _() = echo "one"
proc _() = echo "two"
type _ = int
type _ = float
```
### JavaScript codegen improvement
The JavaScript backend now uses [BigInt](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt)
for 64-bit integer types (`int64` and `uint64`) by default. As this affects
JS code generation, code using these types to interface with the JS backend
may need to be updated. Note that `int` and `uint` are not affected.
For compatibility with [platforms that do not support BigInt](https://caniuse.com/bigint)
and in the case of potential bugs with the new implementation, the
old behavior is currently still supported with the command line option
`--jsbigint64:off`.
## Docgen improvements
`Markdown` is now the default markup language of doc comments (instead
of the legacy `RstMarkdown` mode). In this release we begin to separate
RST and Markdown features to better follow specification of each
language, with the focus on Markdown development.
See also [the docs](https://nim-lang.github.io/Nim/markdown_rst.html).
* Added a `{.doctype: Markdown | RST | RstMarkdown.}` pragma allowing to
select the markup language mode in the doc comments of the current `.nim`
file for processing by `nim doc`:
1. `Markdown` (default) is basically CommonMark (standard Markdown) +
some Pandoc Markdown features + some RST features that are missing
in our current implementation of CommonMark and Pandoc Markdown.
2. `RST` closely follows the RST spec with few additional Nim features.
3. `RstMarkdown` is a maximum mix of RST and Markdown features, which
is kept for the sake of compatibility and ease of migration.
* Added separate `md2html` and `rst2html` commands for processing
standalone `.md` and `.rst` files respectively (and also `md2tex`/`rst2tex`).
* Added Pandoc Markdown bracket syntax `[...]` for making anchor-less links.
* Docgen now supports concise syntax for referencing Nim symbols:
instead of specifying HTML anchors directly one can use original
Nim symbol declarations (adding the aforementioned link brackets
`[...]` around them).
* To use this feature across modules, a new `importdoc` directive was added.
Using this feature for referencing also helps to ensure that links
(inside one module or the whole project) are not broken.
* Added support for RST & Markdown quote blocks (blocks starting with `>`).
* Added a popular Markdown definition lists extension.
* Added Markdown indented code blocks (blocks indented by >= 4 spaces).
* Added syntax for additional parameters to Markdown code blocks:
```nim test="nim c $1"
...
```
## C++ interop enhancements
Nim 2.0 takes C++ interop to the next level. With the new [virtual](https://nim-lang.github.io/Nim/manual_experimental.html#virtual-pragma) pragma and the extended [constructor](https://nim-lang.github.io/Nim/manual_experimental.html#constructor-pragma) pragma.
Now one can define constructors and virtual procs that maps to C++ constructors and virtual methods, allowing one to further customize
the interoperability. There is also extended support for the [codeGenDecl](https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-codegendecl-pragma) pragma, so that it works on types.
It's a common pattern in C++ to use inheritance to extend a library. Some even use multiple inheritance as a mechanism to make interfaces.
Consider the following example:
```cpp
struct Base {
int someValue;
Base(int inValue) {
someValue = inValue;
};
};
class IPrinter {
public:
virtual void print() = 0;
};
```
```nim
type
Base* {.importcpp, inheritable.} = object
someValue*: int32
IPrinter* {.importcpp.} = object
const objTemplate = """
struct $1 : public $3, public IPrinter {
$2
};
""";
type NimChild {.codegenDecl: objTemplate .} = object of Base
proc makeNimChild(val: int32): NimChild {.constructor: "NimClass('1 #1) : Base(#1)".} =
echo "It calls the base constructor passing " & $this.someValue
this.someValue = val * 2 # Notice how we can access `this` inside the constructor. It's of the type `ptr NimChild`.
proc print*(self: NimChild) {.virtual.} =
echo "Some value is " & $self.someValue
let child = makeNimChild(10)
child.print()
```
It outputs:
```
It calls the base constructor passing 10
Some value is 20
```
## ARC/ORC refinements
With the 2.0 release, the ARC/ORC model got refined once again and is now finally complete:
1. Programmers now have control over the "item was moved from" state as `=wasMoved` is overridable.
2. There is a new `=dup` hook which is more efficient than the old combination of `=wasMoved(tmp); =copy(tmp, x)` operations.
3. Destructors now take a parameter of the attached object type `T` directly and don't have to take a `var T` parameter.
With these important optimizations we improved the runtime of the compiler and important benchmarks by 0%! Wait ... what?
Yes, unfortunately it turns out that for a modern optimizer like in GCC or LLVM there is no difference.
But! This refined model is more efficient once separate compilation enters the picture. In other words, as we think of
providing a stable ABI it is important not to lose any efficiency in the calling conventions.
## Tool changes
- Nim now ships Nimble version 0.14 which added support for lock-files. Libraries are stored in `$nimbleDir/pkgs2` (it was `$nimbleDir/pkgs` before). Use `nimble develop --global` to create an old style link file in the special links directory documented at https://github.com/nim-lang/nimble#nimble-develop.
- nimgrep now offers the option `--inContext` (and `--notInContext`), which
allows to filter only matches with the context block containing a given pattern.
- nimgrep: names of options containing "include/exclude" are deprecated,
e.g. instead of `--includeFile` and `--excludeFile` we have
`--filename` and `--notFilename` respectively.
Also, the semantics are now consistent for such positive/negative filters.
- Nim now ships with an alternative package manager called Atlas. More on this in upcoming versions.
## Porting guide
### Block and Break
Using an unnamed break in a block is deprecated. This warning will become an error in future versions! Use a named block with a named break instead. In other words, turn:
```nim
block:
a()
if cond:
break
b()
```
Into:
```nim
block maybePerformB:
a()
if cond:
break maybePerformB
b()
```
### Strict funcs
The definition of `"strictFuncs"` was changed.
The old definition was roughly: "A store to a ref/ptr deref is forbidden unless it's coming from a `var T` parameter".
The new definition is: "A store to a ref/ptr deref is forbidden."
This new definition is much easier to understand, the price is some expressitivity. The following code used to be
accepted:
```nim
{.experimental: "strictFuncs".}
type Node = ref object
s: string
func create(s: string): Node =
result = Node()
result.s = s # store to result[]
```
Now it has to be rewritten to:
```nim
{.experimental: "strictFuncs".}
type Node = ref object
s: string
func create(s: string): Node =
result = Node(s: s)
```
### Standard library
Several standard library modules have been moved to nimble packages, use `nimble` or `atlas` to install them:
- `std/punycode` => `punycode`
- `std/asyncftpclient` => `asyncftpclient`
- `std/smtp` => `smtp`
- `std/db_common` => `db_connector/db_common`
- `std/db_sqlite` => `db_connector/db_sqlite`
- `std/db_mysql` => `db_connector/db_mysql`
- `std/db_postgres` => `db_connector/db_postgres`
- `std/db_odbc` => `db_connector/db_odbc`
- `std/md5` => `checksums/md5`
- `std/sha1` => `checksums/sha1`
- `std/sums` => `sums`
This ends up leaking into the shipped python-config, which wouldn't normally
be a problem, but broken build systems such as waf end up linking against
libraries that are not buildlinked, resulting in missing libuuid references.
If this is still required for builtin libuuid support then that will need to
be done in a different way that doesn't end up in the exported libraries.
Avoids problems where python is buildlinked, and buildlink dependencies of
python ending up being available during the build but not registered as full
dependencies, resulting in them potentially being unavailable at runtime.
Avoids problems where python is buildlinked, and buildlink dependencies of
python ending up being available during the build but not registered as full
dependencies, resulting in them potentially being unavailable at runtime.
Open-source implementation of the Java Platform, Standard Edition.
This package privides OpenJDK 21 LTS.
This package is NOT certified to be compatible with any Java standard.
Use at own risk.
Mandatory trademark notice:
"OpenJDK is a trademark or registered trademark of Oracle America,
Inc. in the United States and other countries."
1.7.0
Using TypedDict for **kwargs Typing
TypeVarTuple Support Enabled (Experimental)
New Way of Installing Mypyc Dependencies
New Rules for Re-exports
Improved Type Inference
Narrowing Tuple Types Using len()
More Precise Tuple Lengths (Experimental)
Vala 0.56.14
============
* Various improvements and bug fixes:
- codegen: Generate compatible wrapper of ref-void functions [#1486]
- vala: Prevent usage of strlen() on non-null-terminated string [#1485]
* Bindings:
- glib-2.0: Add new symbols from 2.78
- gstreamer-1.0: Make ElementFactory.make()'s name parameter default to null
- gtk4-wayland: Add the missing wayland-client bindings
- wayland-client: Complete the binding
What's Changed
Remove dependency on typeguard by @karthiknadig in #411
Simplify vscode-playground setup and fix Python discovery by @alcarney in #374
chore: pin lsprotocol to 2023.0.0 by @alcarney in #414
build: v1.2.0 by @tombh in #412
This isn't full multi support like other languages yet, but for now simply a
way for a package to indicate that it requires a specific version of go.
Useful for things like wireguard-go which currently do not build with 1.21.