text:
Adapt replacements to modify json schema tests

When using Portman, we wanted to use replacements to modify the generated JSON schema tests. However, we couldn't get it to work as described in the documentation.
To test our use cases, I added two tests which either replace parts of the JSON schema with an empty string (to delete parts) or another string (to modify parts). I then corrected the used pattern in the writeRawReplacements function to make the tests pass.

@miriamgreis Thanks for the contribution. The change to the "writeRawReplacements" is rather straightforward.
Could you explain your primary use-case a bit more in detail?
What do you try to achieve? What was not working, based on the documentation?

Could you have a look at the "lint" validation step, since it complaints about the improper escaped values?
https://github.com/apideck-libraries/portman/runs/6835570728?check_suite_focus=true

@nicklloyd Could you review the change and the impact?

@miriamgreis Thanks for the contribution. The change to the "writeRawReplacements" is rather straightforward.
Could you explain your primary use-case a bit more in detail? What do you try to achieve? What was not working, based on the documentation?

What we want to do: we want to remove parts of the JSON schema (as the format: date in the test I wrote) because we have legacy API definition that use this "format: date", but the API doesn't provide dates in the correct format. We cannot just adapt the definitions right now, but we want to run some tests. So for us the easiest way to get the tests to run would be using replacements.
The documentation states "By defining portmanReplacements, you can modify any snippet that is injected by Portman, like the test names, correct part of the JSON schema, ... that you would not be able to modify by the available "overwrite" methods." Unfortunately, the documentation doesn't provide any example of how to do this. After trying with different searchString without getting it to work, we started digging in the code and noticed that the "searchFor.replace(/"/g, '\\"')" might have a problem, so the easiest way for me was writing a test how I expect it to work and adapt the code.
I'll take a look at the lint step and code scanning results as soon as possible.

@miriamgreis Thanks for explaining the use-case. The usage of writeRawReplacements  would indeed solve your need.
Of course be cautious since it is quite a "raw" replacement.
If you could fix the linting error in the coming days, we could include it the upcoming release.

I had to add prettier-ignore and eslint-disable to fix the listing errors. The escaped characters are necessary for the test because that's exactly how the generated output will look like. I hope that's ok.

@miriamgreis It looks good, lets see what the tests say.
The timing is perfect, since we could include it in the upcoming release of Portman.

@miriamgreis The code scanning steps warns about the security risk

Incomplete string escaping or encoding - High
This does not escape backslash characters in the input.

I'm not regex expert, but perhaps you are?

@thim81 Unfortunately not. But I'll take a closer look this afternoon.

So, I took a closer look with one of my colleagues and improved the readability of the tests by making the examples shorter. We also realised that disabling the linter was not necessary, so I was able to remove that again.
@thim81 For the code scanner warning: we do think that it is irrelevant. It is a warning related to sanitise untrusted input to avoid injections, which doesn't have anything to do with the functionality implemented here. The same regex is used in the next line of code as well. Is there an option to ignore/disable the code scanning for the line?

IIRC, the extra escaping was there to silence the security warning...

@miriamgreis We just released Portman v1.18.0, which includes your PR.
Thank you for your contribution.

Thanks! 👍

Does it works? I still can't change '"mode": "file"' in collection json to something else

Yes, the use case that I described works now.

authors: miriamgreis nicklloyd proDOOMman thim81

repo: apideck-libraries/portman


text:
Implement privileges for all apiBackends publication

For the catalog view, we need to publish a list of API backends.
Definition of done

[x] Create all apiBackends publication
[ ] Subscribe to apiBackends publication in the catalog view.

PR #451 is open.

The second step is unnecessary, as we are using a Reactive Table in the catalogue view.

source: gharchive/issue

authors: bajiat brylie

repo: apinf/api-umbrella-dashboard

license: mit

license_type: permissive

license_source: bigquery


text:
🛑 Harbor is down

In d7fddf1, Harbor (https://registry.openstorage.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harbor is back up in 1c7db69.

repo: apinter/OSC-mon

license: MIT

license_source: github-api


text:
Android does not respond to the provided bitrate

Android streams at a bitrate between 4000000 and 7000000 even when the provided bitrate in the VideoConfig is 2000000.
To Reproduce
Steps to reproduce the behavior:

Stream from an Android device with resolution Resolution.RESOLUTION_720 and bitrate 2000000.

Expected behavior
Streams at 2000000 bps

Possibly related:
https://github.com/ThibaultBee/StreamPack/issues/64

Hi,
As you have close the issue in StreamPack, could you close this one as well?

As https://github.com/ThibaultBee/StreamPack/issues/64 has been closed also closing this one.

authors: ThibaultBee brauliolomeli


text:
[ISSUE-698] Added support for Instant Apps

Issue #698
I started working with feature modules for my app, and Apollo not supporting it has become a blocker. As explained in https://developer.android.com/topic/google-play-instant/getting-started/feature-plugin, developers are expected to add apply plugin: 'com.android.feature' to the top of their feature's build.gradle. Currently, Apollo only recognizes com.android.application and the other java plugins.
Here is the suggested edit from that ticket.

Thanks @digitalbuddha! Is there a particular process to get his merged in?

Merged should be available in snapshot version soon.

source: gharchive/pull-request

repo: apollographql/apollo-android


text:
Parameter of the from function should be an array

Hi, the middleware documentation says :
    apollo.create({
      link: from(authMiddleware, otherMiddleware, http),
    });

I think it should rather be from([authMiddleware, otherMiddleware, http]), since the from signature is export const from = (links: ApolloLink[]): ApolloLink => {…};
Correct ?

PR #433 fix it

authors: b-barry nlko

repo: apollographql/apollo-angular


text:
(deps) Update dgs example

Updating to latest dgs-framework and spring-boot-starter as of 11/27/21

Awesome @michael-watson @lennyburdette.


text:
chore(deps): update dependency @babel/eslint-parser to v7.25.9

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

@babel/eslint-parser (source)
7.11.0 -> 7.25.9

Release Notes

babel/babel (@babel/eslint-parser)
v7.25.9
Compare Source
:bug: Bug Fix

babel-parser, babel-template, babel-types

#16905 fix: Keep type annotations in syntacticPlaceholders mode (@liuxingbaoyu)

babel-helper-compilation-targets, babel-preset-env

#16907 fix: support BROWSERSLIST{,_CONFIG} env (@JLHwung)

Other

#16884 Analyze ClassAccessorProperty to prevent the no-undef rule (@victorenator)

:house: Internal

babel-helper-transform-fixture-test-runner

#16914 remove test options flaky (@JLHwung)

:running_woman: Performance

babel-parser, babel-types

#16918 perf: Make VISITOR_KEYS etc. faster to access (@liuxingbaoyu)

v7.25.8
Compare Source
:bug: Bug Fix

babel-core

#16888 Restore public API of resolvePlugin/resolvePreset (@nicolo-ribaudo)

:house: Internal

babel-parser, babel-plugin-proposal-async-do-expressions, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-do-expressions, babel-plugin-proposal-explicit-resource-management, babel-plugin-proposal-export-default-from, babel-plugin-proposal-function-bind, babel-plugin-proposal-function-sent, babel-plugin-proposal-import-defer, babel-plugin-proposal-partial-application, babel-plugin-proposal-throw-expressions, babel-plugin-transform-async-generator-functions, babel-plugin-transform-class-static-block, babel-plugin-transform-dynamic-import, babel-plugin-transform-export-namespace-from, babel-plugin-transform-json-strings, babel-plugin-transform-logical-assignment-operators, babel-plugin-transform-nullish-coalescing-operator, babel-plugin-transform-numeric-separator, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-catch-binding, babel-plugin-transform-optional-chaining, babel-plugin-transform-private-property-in-object, babel-preset-env

#16824 Inline one-line syntax plugins (@nicolo-ribaudo)

v7.25.7
Compare Source
:bug: Bug Fix

babel-helper-validator-identifier

#16825 fix: update identifier to unicode 16 (@JLHwung)

babel-traverse

#16814 fix: issue with node path keys updated on unrelated paths (@DylanPiercey)

babel-plugin-transform-classes

#16797 Use an inclusion rather than exclusion list for super() check (@nicolo-ribaudo)

babel-generator

#16788 Fix printing of TS infer in compact mode (@nicolo-ribaudo)
#16785 Print TS type annotations for destructuring in assignment pattern (@nicolo-ribaudo)
#16778 Respect [no LineTerminator here] after nodes (@nicolo-ribaudo)

:nail_care: Polish

babel-types

#16852 Add deprecated JSDOC for fields (@liuxingbaoyu)

:house: Internal

babel-core

#16820 Allow sync loading of ESM when --experimental-require-module (@nicolo-ribaudo)

babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env

#16858 Add browserslist config to external dependency (@JLHwung)

babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decimal, babel-plugin-syntax-import-reflection, babel-standalone

#16809 Archive syntax-import-reflection and syntax-decimal (@nicolo-ribaudo)

babel-generator

#16779 Simplify logic for [no LineTerminator here] before nodes (@nicolo-ribaudo)

:running_woman: Performance

babel-plugin-transform-typescript

#16875 perf: Avoid extra cloning of namespaces (@liuxingbaoyu)

babel-types

#16842 perf: Improve @babel/types builders (@liuxingbaoyu)
#16828 Only access BABEL_TYPES_8_BREAKING at startup (@nicolo-ribaudo)

v7.25.1
Compare Source
:bug: Bug Fix

babel-plugin-transform-function-name

#16683 fix: ensureFunctionName may be undefined (@liuxingbaoyu)

babel-plugin-transform-react-constant-elements

#16582 fix plugin-transform-react-constant-elements transform JSXFrament but not add JSXExpressionContainer (@keiseiTi)

babel-traverse

#16587 fix: fixed issue16583 + test (@nerodesu017)

:house: Internal

#16663 Test eslint plugin against eslint 9 (@JLHwung)

v7.25.0
Compare Source
:eyeglasses: Spec Compliance

babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs3

#16537 await using normative updates (@JLHwung)

babel-plugin-transform-typescript

#16602 Ensure enum members syntactically determinable to be strings do not get reverse mappings (@liuxingbaoyu)

:rocket: New Feature

babel-helper-create-class-features-plugin, babel-helper-function-name, babel-helper-plugin-utils, babel-helper-wrap-function, babel-plugin-bugfix-safari-class-field-initializer-scope, babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-preset-env, babel-traverse, babel-types

#16658 Move ensureFunctionName to NodePath.prototype (@nicolo-ribaudo)

babel-helper-hoist-variables, babel-helper-plugin-utils, babel-plugin-proposal-async-do-expressions, babel-plugin-transform-modules-systemjs, babel-traverse

#16644 Move hoistVariables to Scope.prototype (@nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-split-export-declaration, babel-plugin-transform-classes, babel-traverse, babel-types

#16645 Move splitExportDeclaration to NodePath.prototype (@nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-helper-environment-visitor, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-plugin-bugfix-firefox-class-in-computed-class-key, babel-plugin-bugfix-v8-static-class-fields-redefine-readonly, babel-plugin-transform-async-generator-functions, babel-plugin-transform-classes, babel-traverse

#16649 Move environment-visitor helper into @babel/traverse (@nicolo-ribaudo)

babel-core, babel-parser

#16480 Expose wether a module has TLA or not as .extra.async (@nicolo-ribaudo)

babel-compat-data, babel-plugin-bugfix-safari-class-field-initializer-scope, babel-preset-env

#16569 Introduce bugfix-safari-class-field-initializer-scope (@davidtaylorhq)

babel-plugin-transform-block-scoping, babel-traverse, babel-types

#16551 Add NodePath#getAssignmentIdentifiers (@JLHwung)

babel-helper-import-to-platform-api, babel-plugin-proposal-json-modules

#16579 Add uncheckedRequire option for JSON imports to CJS (@nicolo-ribaudo)

babel-helper-transform-fixture-test-runner, babel-node

#16642 Allow using custom config in babel-node --eval (@slatereax)

babel-compat-data, babel-helper-create-regexp-features-plugin, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-duplicate-named-capturing-groups-regex, babel-preset-env, babel-standalone

#16445 Add duplicate-named-capturing-groups-regex to preset-env (@JLHwung)

:bug: Bug Fix

babel-generator

#16678 Print parens around as expressions on the LHS (@nicolo-ribaudo)

babel-template, babel-types

#15286 fix: Props are lost when the template replaces the node (@liuxingbaoyu)

:house: Internal

Other

#16674 bump gulp to 5 (@JLHwung)

babel-generator

#16651 Simplify the printing logic for ( before ambiguous tokens (@nicolo-ribaudo)

babel-helper-function-name, babel-plugin-transform-arrow-functions, babel-plugin-transform-function-name, babel-preset-env, babel-traverse

#16652 Simplify helper-function-name logic (@nicolo-ribaudo)

:running_woman: Performance

babel-parser, babel-plugin-proposal-pipeline-operator

#16461 Some minor parser performance improvements for ts (@liuxingbaoyu)

:microscope: Output optimization

babel-plugin-transform-classes

#16670 Reduce redundant assertThisInitialized (@liuxingbaoyu)

babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super, babel-plugin-transform-private-methods, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#16374 Improve super.x output (@liuxingbaoyu)

babel-plugin-transform-class-properties, babel-plugin-transform-classes

#16656 Simplify output for anonymous classes with no methods (@nicolo-ribaudo)

v7.24.8
Compare Source
:eyeglasses: Spec Compliance

babel-parser

#16567 Do not use strict mode in TS declare (@liuxingbaoyu)

:bug: Bug Fix

babel-generator

#16630 Correctly print parens around in in for heads (@nicolo-ribaudo)
#16626 Fix printing of comments in await using (@nicolo-ribaudo)
#16591 fix typescript code generation for yield expression inside type expre… (@SreeXD)

babel-parser

#16613 Disallow destructuring assignment in using declarations (@H0onnn)
#16490 fix: do not add .value: undefined to regexp literals (@liuxingbaoyu)

babel-types

#16615 Remove boolean props from ObjectTypeInternalSlot visitor keys (@nicolo-ribaudo)

babel-plugin-transform-typescript

#16566 fix: Correctly handle export import x = (@liuxingbaoyu)

:nail_care: Polish

babel-generator

#16625 Avoid unnecessary parens around async in for await (@nicolo-ribaudo)

babel-traverse

#16619 Avoid checking Scope.globals multiple times (@liuxingbaoyu)

v7.24.7
Compare Source
:bug: Bug Fix

babel-node

#16554 Allow extra flags in babel-node (@nicolo-ribaudo)

babel-traverse

#16522 fix: incorrect constantViolations with destructuring (@liuxingbaoyu)

babel-helper-transform-fixture-test-runner, babel-plugin-proposal-explicit-resource-management

#16524 fix: Transform using in switch correctly (@liuxingbaoyu)

:house: Internal

babel-helpers, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#16525 Delete unused array helpers (@blakewilson)

v7.24.6
Compare Source
:bug: Bug Fix

babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties

#16514 Fix source maps for private member expressions (@nicolo-ribaudo)

babel-core, babel-generator, babel-plugin-transform-modules-commonjs

#16515 Fix source maps for template literals (@nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators

#16485 Support undecorated static accessor in anonymous classes (@JLHwung)
#16484 Fix decorator bare yield await (@JLHwung)

babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs3

#16483 Fix: throw TypeError if addInitializer is called after finished (@JLHwung)

babel-parser, babel-plugin-transform-typescript

#16476 fix: Correctly parse cls.fn<C> = x (@liuxingbaoyu)

:house: Internal

babel-core, babel-helpers, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#16501 Generate helper metadata at build time (@nicolo-ribaudo)

babel-helpers

#16499 Add tsconfig.json for @babel/helpers/src/helpers (@nicolo-ribaudo)

babel-cli, babel-helpers, babel-plugin-external-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#16495 Move all runtime helpers to individual files (@nicolo-ribaudo)

babel-parser, babel-traverse

#16482 Statically generate boilerplate for bitfield accessors (@nicolo-ribaudo)

Other

#16466 Migrate import assertions syntax (@JLHwung)

v7.24.5
Compare Source
:bug: Bug Fix

babel-plugin-transform-classes, babel-traverse

#16377 fix: TypeScript annotation affects output (@liuxingbaoyu)

babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs3

#16440 Fix suppressed error order (@sossost)
#16408 Await nullish async disposable (@JLHwung)

:nail_care: Polish

babel-parser

#16407 Recover from exported using declaration (@JLHwung)

:house: Internal

Other

#16414 Relax ESLint peerDependency constraint to allow v9 (@liuxingbaoyu)

babel-parser

#16425 Improve @babel/parser AST types (@nicolo-ribaudo)
#16417 Always pass type argument to .startNode (@nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-module-transforms, babel-helper-split-export-declaration, babel-helper-wrap-function, babel-helpers, babel-plugin-bugfix-firefox-class-in-computed-class-key, babel-plugin-proposal-explicit-resource-management, babel-plugin-transform-block-scoping, babel-plugin-transform-destructuring, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-chaining, babel-plugin-transform-parameters, babel-plugin-transform-private-property-in-object, babel-plugin-transform-react-jsx-self, babel-plugin-transform-typeof-symbol, babel-plugin-transform-typescript, babel-traverse

#16439 Make NodePath<T | U> distributive (@nicolo-ribaudo)

babel-plugin-proposal-partial-application, babel-types

#16421 Remove JSXNamespacedName from valid CallExpression args (@nicolo-ribaudo)

babel-plugin-transform-class-properties, babel-preset-env

#16406 Do not load unnecessary Babel 7 syntax plugins in Babel 8 (@nicolo-ribaudo)

:running_woman: Performance

babel-helpers, babel-preset-env, babel-runtime-corejs3

#16357 Performance: improve objectWithoutPropertiesLoose on V8 (@romgrk)

v7.24.1
Compare Source
:bug: Bug Fix

babel-generator

#16648 Fix parens detection for object&function in as/satisfies (@nicolo-ribaudo)

v7.23.10
Compare Source
:bug: Bug Fix

Other

#16240 [eslint] Include field decorators in scope analysis (@nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators

#16235 Fix protoInit call injection timing (@JLHwung)

v7.23.9
Compare Source
:bug: Bug Fix

babel-helper-transform-fixture-test-runner, babel-plugin-transform-function-name, babel-plugin-transform-modules-systemjs, babel-preset-env

#16225 fix: systemjs re-traverses helpers (@liuxingbaoyu)

babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators

#16226 Improve decorated private method check (@JLHwung)

babel-plugin-proposal-decorators, babel-plugin-transform-async-generator-functions, babel-plugin-transform-runtime, babel-preset-env

#16224 Properly sort core-js@3 imports (@nicolo-ribaudo)

babel-traverse

#15383 fix: Don't throw in getTypeAnnotation when using TS+inference (@liuxingbaoyu)

Other

#16210 [eslint] Fix no-use-before-define for class ref in fields (@nicolo-ribaudo)

:house: Internal

babel-core, babel-parser, babel-template

#16222 Migrate eslint-parser to cts (@liuxingbaoyu)

babel-types

#16213 Remove @babel/types props that are not produced by the parser (@liuxingbaoyu)

:running_woman: Performance

babel-parser

#16072 perf: Improve parser performance for typescript (@liuxingbaoyu)

:microscope: Output optimization

babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-new-target, babel-plugin-transform-parameters, babel-plugin-transform-private-methods, babel-preset-env

#16218 Improve temporary variables for decorators (@liuxingbaoyu)

babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#15959 Improve output of using (@liuxingbaoyu)

v7.23.3
Compare Source
:bug: Bug Fix

babel-plugin-transform-typescript

#16071 Strip type-only TS namespaces (@colinaaa)

babel-generator

#16078 Fix indentation when generating comments with concise: true (@liuxingbaoyu)

babel-compat-data, babel-plugin-bugfix-v8-static-class-fields-redefine-readonly, babel-preset-env

#14295 Add a bugfix plugin for https://crbug.com/v8/12421 (@nicolo-ribaudo)

babel-plugin-transform-object-super

#15948 fix: super.x in a loop (@liuxingbaoyu)

babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd

#16015 fix: handle __proto__ exports name in CJS/AMD/UMD (@magic-akari)

:memo: Documentation

#16044 docs: Update links in @babel/eslint-parser README (@aryehb)

:house: Internal

babel-core, babel-preset-env

#15988 Refactor handling of modules plugins in preset-env (@nicolo-ribaudo)

:running_woman: Performance

babel-generator

#16061 perf: Improve @babel/generator performance (@liuxingbaoyu)

babel-traverse

#16060 Avoid dynamic dispatch when calling wrapCheck (@yepitschunked)

:microscope: Output optimization

babel-plugin-transform-computed-properties

#6652 Optimize computed properties output (byte-wise) (@Andarist)

v7.22.15
Compare Source
:bug: Bug Fix

babel-core

#15923 Only perform config loading re-entrancy check for cjs (@nicolo-ribaudo)

:house: Internal

babel-cli, babel-core, babel-generator, babel-helper-builder-binary-assignment-operator-visitor, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin, babel-helper-member-expression-to-functions, babel-helper-module-imports, babel-helper-module-transforms, babel-helper-transform-fixture-test-runner, babel-helper-validator-identifier, babel-helper-validator-option, babel-helpers, babel-node, babel-parser, babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-async-generator-functions, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-destructuring, babel-plugin-transform-for-of, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-chaining, babel-plugin-transform-parameters, babel-plugin-transform-property-mutators, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env, babel-preset-flow, babel-preset-react, babel-preset-typescript, babel-register, babel-standalone, babel-template, babel-traverse, babel-types

#15892 Add explicit .ts/.js extension to all imports in src (@nicolo-ribaudo)

v7.22.11
Compare Source
:bug: Bug Fix

babel-plugin-transform-typescript

#15882 Fix: fully remove TS nested type-only exported namespaces (@yangguansen)

babel-types

#15867 fix: definition of TS function type params (@danez)

babel-plugin-transform-async-generator-functions, babel-plugin-transform-class-static-block, babel-plugin-transform-dynamic-import, babel-plugin-transform-export-namespace-from, babel-plugin-transform-json-strings, babel-plugin-transform-logical-assignment-operators, babel-plugin-transform-nullish-coalescing-operator, babel-plugin-transform-numeric-separator, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-catch-binding, babel-plugin-transform-optional-chaining, babel-plugin-transform-private-property-in-object

#15858 fix(standalone): strip archived syntax plugins (@JLHwung)

babel-core

#15850 Support configuring cache in ESM configs (@nicolo-ribaudo)

:house: Internal

babel-parser

#10940 Do not record trailing comma pos when maybeAsyncArrow: false (@JLHwung)

babel-core, babel-helper-compilation-targets, babel-parser, babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decorators, babel-preset-env, babel-preset-react, babel-register, babel-traverse, babel-types

#15872 enable jest/no-standalone-expect (@JLHwung)

babel-core, babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-modules-commonjs, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#15833 bump json5, terser and webpack, further minimize babel helpers (@JLHwung)

Other

#15846 Use Babel 8.0 alpha to build babel (@JLHwung)
#15856 Exclude redundant files from publish process (@JLHwung)

:microscope: Output optimization

babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-optional-chaining, babel-preset-env

#15871 Simplify ?. output when chain result is ignored (@nicolo-ribaudo)

v7.22.10
Compare Source
:bug: Bug Fix

babel-plugin-transform-typescript

#15799 [ts] Strip type-only namespaces (@nicolo-ribaudo)
#15798 [ts] Fix compiling extended exported nested namespace (@nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-new-target, babel-plugin-transform-private-methods, babel-preset-env

#15701 Memoize class binding when compiling private methods and static elements (@JLHwung)

:nail_care: Polish

babel-cli

#15824 Add meta object to @babel/eslint-plugin (@JLHwung)

babel-traverse, babel-types

#15661 Improve the type definition of path.isX (@liuxingbaoyu)

babel-generator, babel-types

#15776 improve SourceLocation typing (@JLHwung)

:house: Internal

Other

#15818 build: generate flow typings in prepublish job (@JLHwung)
#15777 chore: bump dev dependencies and remove .eslintignore (@JLHwung)

babel-cli, babel-core, babel-generator, babel-helper-builder-react-jsx, babel-preset-env, babel-standalone

#15794 Enable @typescript-eslint/no-redundant-type-constituents rule (@JLHwung)

babel-helper-compilation-targets

#15811 Remove @babel/core peerDep from helper-compilation-targets (@nicolo-ribaudo)

babel-parser

#15793 Use const enum in babel-parser (@JLHwung)

babel-plugin-transform-runtime, babel-traverse, babel-types

#15716 chore: Use typescript-eslint@v6 with reworked configs (@JoshuaKGoldberg)

:microscope: Output optimization

babel-plugin-transform-block-scoping, babel-plugin-transform-parameters, babel-plugin-transform-regenerator

#15746 Reduce transform-block-scoping loops output size (@liuxingbaoyu)

v7.22.9
Compare Source
:bug: Bug Fix

babel-plugin-transform-typescript

#15774 fix: Infinity in enums (@liuxingbaoyu)

:nail_care: Polish

babel-generator

#15757 recordAndTupleSyntaxType defaults to "hash" (@coderaiser)

:house: Internal

#15748 Migrate to eslint.config.js (@JLHwung)
#15758 Use Prettier 3 stable (@nicolo-ribaudo)

v7.22.7
Compare Source
:bug: Bug Fix

babel-generator

#15719 fix: Avoid internally generating negative source maps columns (@liuxingbaoyu)

babel-core, babel-traverse

#15725 Use NodePath#hub as part of the paths cache key (@nicolo-ribaudo)

Other

#15747 fix: export meta from eslint-parser/experimental-worker (@JLHwung)

:house: Internal

babel-core, babel-traverse

#15702 Refactor visitors merging (@nullableVoidPtr)

v7.22.6
Compare Source
:bug: Bug Fix

babel-compat-data, babel-helper-compilation-targets, babel-preset-env

#15727 Add opera mobile compat data (@JLHwung)

babel-plugin-transform-optional-chaining

#15739 Fix transform of delete a?.b in function params (@nicolo-ribaudo)

babel-helper-split-export-declaration, babel-plugin-transform-modules-commonjs

#15736 fix: Default export for duplicate names (@liuxingbaoyu)

babel-compat-data, babel-preset-env

#15726 update compat-data sources (@JLHwung)

babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs3, babel-runtime

#15705 Fix handling of sync error in @@asyncDispose (@nicolo-ribaudo)

babel-standalone

#15707 fix: Support transforming Explicit Resource Management in stage-2 (@liuxingbaoyu)

babel-core

#15626 fix: Works correctly with --frozen-intrinsics (@liuxingbaoyu)

:house: Internal

babel-helper-create-class-features-plugin, babel-plugin-transform-classes

#15700 Minor class transform cleanups (@JLHwung)

:microscope: Output optimization

babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-transform-class-properties, babel-plugin-transform-optional-chaining, babel-plugin-transform-typescript

#15740 Compress output for optional chain with multiple ?. (@nicolo-ribaudo)

babel-plugin-proposal-destructuring-private, babel-plugin-proposal-do-expressions, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties, babel-plugin-transform-nullish-coalescing-operator, babel-plugin-transform-optional-chaining, babel-plugin-transform-private-property-in-object, babel-traverse

#15741 Inject tmp vars in the params list of IIFEs when possible (@nicolo-ribaudo)

v7.22.5
Compare Source
:bug: Bug Fix

babel-preset-env, babel-standalone

#15675 Fix using syntax-unicode-sets-regex in standalone (@nicolo-ribaudo)

:nail_care: Polish

babel-core

#15683 Suggest -transform- when resolving missing plugins (@nicolo-ribaudo)

v7.21.8
Compare Source
:eyeglasses: Spec Compliance

babel-parser

#15602 Remove using await restriction in explicitResourceManagement (@JLHwung)

:bug: Bug Fix

babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin

#15605 Fix backward compat for semver checks in class&regexp feat plugins (@nicolo-ribaudo)

v7.21.3
Compare Source
:eyeglasses: Spec Compliance

babel-parser

#15479 disallow mixins/implements in flow interface (@JLHwung)

:bug: Bug Fix

babel-parser

#15423 [ts] Allow keywords in tuple labels (@Harpica)

babel-plugin-transform-typescript

#15489 Register var decls generated by import ... = TS transform (@amoeller)
#15494 fix: Consider export { type foo } as type-only usage (@magic-akari)

:nail_care: Polish

babel-traverse, babel-types

#15484 Skip node deprecation warnings when used by an old @babel package (@nicolo-ribaudo)

babel-generator

#15480 chore: Improve jsonCompatibleStrings deprecation (@liuxingbaoyu)

:house: Internal

#15465 Add ESLint-readable package name (@nzakas)

:microscope: Output optimization

babel-plugin-transform-typescript, babel-preset-typescript

#15467 Optimize TS enums output (@liuxingbaoyu)

v7.19.1
Compare Source
:bug: Bug Fix

babel-core

#14930 Avoid fancy stack traces size computation (@nicolo-ribaudo)

babel-traverse

#14932 fix: isForAwaitStatement is broken (@JLHwung)

Other

#14872 Use the built-in class fields and private methods rules in ESLint 8 (@JLHwung)

babel-parser

#14920 [estree] attach comments after directives at the end of file (@hegemonic)
#14900 [ts] allow redeclaring a var/type with the same name as import (@liuxingbaoyu)

babel-plugin-transform-typescript

#14913 fix: do not remove type import used in TS import= (@JLHwung)

v7.18.9
Compare Source
:bug: Bug Fix

babel-plugin-transform-modules-systemjs, babel-types

#14763 fix: allow exporting TSDeclareFunction as default (@zxbodya)

babel-generator

#14758 fix: returnType with comments generates incorrect code (@liuxingbaoyu)

:nail_care: Polish

babel-cli

#14748 Print a message when the watcher of babel-cli is ready. (@liuxingbaoyu)

:house: Internal

babel-core, babel-helper-remap-async-to-generator, babel-helpers, babel-parser, babel-plugin-transform-block-scoping, babel-preset-env

#13414 Prepare for compiling Babel to native ESM (@nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-helper-wrap-function, babel-helpers, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-proposal-object-rest-spread, babel-plugin-proposal-optional-chaining, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-traverse, babel-types

#14739 Provide better parentPath typings (@JLHwung)

:running_woman: Performance

babel-generator

#14701 perf: Improve generator perf (@liuxingbaoyu)

v7.18.2
Compare Source
:bug: Bug Fix

babel-plugin-transform-template-literals

#14582 fix: skip template literal transform for TSLiteralType (@JLHwung)

babel-helpers

#14537 Support frozen built-ins in @babel/runtime (@Jack-Works)

babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#14581 Define the global regeneratorRuntime in @babel/runtime/regenerator (@nicolo-ribaudo)

babel-helper-environment-visitor, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-traverse, babel-types

#14371 environmentVisitor should skip decorator expressions (@JLHwung)

:memo: Documentation

babel-types

#14571 add Accessor alias description (@JLHwung)

:house: Internal

#14541 Fix synchronization between main thread and worker (@liuxingbaoyu)

v7.17.0
Compare Source
:rocket: New Feature

babel-cli, babel-core

#14065 Allow plugins/presets to indicate external dependencies (@nicolo-ribaudo)

babel-core, babel-parser, babel-traverse

#14174 Expose .index on Position to internally track nodes location (@tolmasky)

babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator

#13973 proposal-pipe: Add support for ^^ and @@ topics (@js-choi)

babel-traverse

#13940 Add new method to check if node is null or not (@danez)

babel-generator, babel-parser, babel-plugin-syntax-destructuring-private, babel-standalone

#13931 Parse destructuring private fields (@JLHwung)

babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone, babel-types

#14004 Add new decorators transform (@pzuraq)

babel-generator, babel-parser, babel-traverse, babel-types

#13681 Add the decoratorsAutoAccessors parser plugin (@pzuraq)

babel-core, babel-helper-create-regexp-features-plugin, babel-plugin-proposal-unicode-sets-regex, babel-plugin-syntax-unicode-sets-regex, babel-plugin-transform-dotall-regex

#14125 Add transform support for the "regexp unicode sets" proposal (@nicolo-ribaudo)

babel-parser

#14086 Add pars

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

This PR has been generated by Renovate Bot.

🛠 Docs Preview Building...

Configuration
{
  "repoOverrides": {
    "apollographql/apollo-ios-dev@main": {
      "remote": {
        "owner": "apollographql",
        "repo": "apollo-ios-dev",
        "branch": "renovate/babel-monorepo"
      }
    }
  }
}

d57f7e65d9b363d78906dff629e2b0ff0e64efb4

`This is causing docs rendering to break. We will need to update dependencies here next time we work on the docs.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (7.25.9). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

authors: AnthonyMDev svc-apollo-docs svc-secops

repo: apollographql/apollo-ios-dev


text:
@types/graphql is a dependency, not devDependency

The current latest version of graphql-tools has a dependency on a very outdated @types/graphql version. This should be moved to devDependencies.

Yep, working on updating dependencies right now!

Fixed in #421

authors: Panoplos freiksenet martijnwalraven

repo: apollographql/graphql-tools


text:
Declare a mutation without any input variables

Is it possible to declare and execute a mutation with no input variables?
I realize it's an edge case, but I also think that it can be useful. So for example:
input WorkingInput {
  id: String!
}
type Response {
  result: Boolean!
}
type Mutation {
  doSomething(): Response!
  thisOneWorks($input: WorkingInput): Response!
}

I am using graphql-tools v2.7.2 and when the schema is being parsed the error is:
GraphQLError: Syntax Error GraphQL request (75:12) Expected Name, found )

for the doSomething() mutation. It seems it's always expecting a variable, before the closing parenthesis.
Is there any way to go around this? I could be wrong, but from what I read in the GraphQL specification, nowhere does it say that a Mutation can not be declared with no input variables. I can imagine wanting to invoke some action, which is pre-defined, where you just need the action to get executed, no need to supply any data.

@gorjanz You have to leave out the parentheses, just as you do for other fields without arguments.

@martijnwalraven
thanks for the fast response. that works just as I would expect.
For everyone else that run into this problem, the correct form is:
type Response {
  result: Boolean!
}
type Mutation {
  doSomething: Response!
}

closing the issue... thanks again!

authors: gorjanz martijnwalraven


text:
Create multiple variants for framework testing

Variant 1: Marathon instances only
Variant 2: Aurora instances only
Variant 3: Mixed Aurora and Marathon instances on Mesos cluster

Current state is ok for now.


text:
Decide the technological stack

What kind of technologies will we use.

Scaffolding
We will use create-react-app because it provides all the necessary tools in order to quickly set up a new project.
UI Framework
The are many options here. We have some well-known projects:

Bootstrap it is getting old
Material UI, it is too heavy
Semantic UI, it is too heavy
... and the list never stops

Our requirement here is to use a lightweight library that will boost productivity for the limited deadline. Grommet seems a decent alternative. It uses css-in-js, a modern API and it is used by Netflix and Boeing. css-in-js is the perfect solution for a quick project.
Prettier
For keeping the code consistent
ESLint
For listing our code
jest, react-testing-library
For testing our code
CI/CI
We have a static frontend SPA. So we can use an automated tool that will deploy the static content.
We will try to use github actions in order to setup the CI/CD process and automated testing.

repo: apostolidhs/iwantit


text:
Added powershell script for Windows

So that's the powershell script I mentioned here. I'm not sure how the command in the plugin.yaml has to be so that it uses cnr.sh or cnr.ps1 depending on the OS.
The powershell script was also requested here #14

I talked to upstream and there isn't anyway to pivot on which script depending on OS.
I did see on stackoverflow there's some nasty hacks to embed bash/cmd into one script using some hacks...
I'm not quite sure the best way to move forward here.

@jzelinskie we can just release two zip file, containing different plugin.yaml, 1 for linux* 1 for windows.

@jzelinskie @sbueringer , latest appr release will allow to directly use the cli without a shell-script.
on the plugin.yaml command will be appr helm .
And because there is no more shell/ps script required, we should probably merge both repo too:
appr and appr-helm-plugin.

@ant31 Sounds good and it's obivously the better solution.

authors: ant31 jzelinskie sbueringer

repo: app-registry/appr-helm-plugin


text:
Resume from saved commit offset

I can't seem to get the consumer to continue from the last committed offset.

Should be resolved with 1.0.0

repo: apparatus/Kafkaesque


text:
What is supposed to happen when an event is received in the middle of a state transition?

I am curious what the intended behavior is for an event that is fired during a state transition. Both of my states define how that event should be handled. However, when that event occurs during transitioning between states (and the state machine is busy executing transition actions), it seems like that action is being ignored. In other words, neither the action for the previous nor target state is invoked for the event.
Is this expected behavior? It's very likely that this will occur due in my application as the state transition is also likely to cause the system to send events, and I'd like to ensure that they are routed properly. My expectation would be that they are queued up and handled in the new state.
I'm using the async active machine. Thanks!

Your assumption is correct. Events are always queued. So if you fire an event onto the state machine during a transition action, the event gets queued and once the current transition is finished, the new event is processed. That holds for all kinds of state machines (sync/async, passive/active).
If this is not the observed behaviour in your case then maybe it helps when you add an extension so that you can see what is going on (either with the debugger or with some log statements). A bit more info about extensions can be found here: https://github.com/appccelerate/statemachine/blob/nullable_reference_types/documentation/extensions.md
Using the async active state machine is the correct option in the scenario that you describe.
Let me know if this helps, otherwise, we look further.

authors: mdwhitten ursenzler

repo: appccelerate/statemachine


text:
Remove amp-pilot dependency for swarm min services

amp-pilot is preventing services from starting. Remove the amp-pilot dependencies for the minimum service set to unblock development & testing.

Tested and confirmed: because of the use of HEALTHCHECK in our base images those services that come up and fail due to an upstream dependency not being available are successfully restarted according to restart settings and become healthy.

repo: appcelerator/amp


text:
fix tests for ci

rebased version of https://github.com/appcelerator/amp/pull/8

I added an env to set the etcd hosts so local and ci tests flows are preserved

LGTM. It's really nice to see passing CI builds now. Thanks! 👍

authors: generalhenry subfuzion


text:
Updated: registry-finder 2.43.0

${}

4717c49a-aece-4689-b56a-290a71371eef

Newer version of registry-finder (2.44.0) is now available in master. 13eb244ac0cf3bf3f4e8d0676c25cd8fda8b48e9


text:
Database Migrations done right

Provide a brief summary of the planned work
All previous database migrations have been run manually or through a simple sequencer in-code. This should not happen because the project is now stable enough and would benefit from a professional database schema management tool.
Detailed overview
Some popular schema management tools are:

Liquibase
Flyway

In addition to the schema management tool, it looks like we can completely replace Spring Boot's JPA tooling for schema management. One open question is: will it work with the in-memory H2 database?
Hint/location:
com.appifyhub.monolith.features.init.domain.SchemaInitializer

List the acceptance criteria

Manual database schema management is no more (use current db as base)
Unnecessary tooling such as JPA is removed from code and dependencies [if possible]
Tests are updated to reflect these changes, and passing

Include any additional notes (optional)
No response

Related issues:

https://github.com/appifyhub/monolith/issues/179
https://github.com/appifyhub/monolith/issues/180

repo: appifyhub/monolith


text:
Flutter Appium tests crash on real iOS device with Appium 2

I have received the following error when running tests with the Flutter driver for iOS on the latest Appium 2 version:

E   selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: A new session could not be created. Details: Cannot launch scanbot.sdk.ui.test.app.flutter application. Make sure the correct bundle identifier has been provided in capabilities and check the device log for possible crash report occurrences Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
E   Stacktrace:
E   UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: A new session could not be created. Details: Cannot launch scanbot.sdk.ui.test.app.flutter application. Make sure the correct bundle identifier has been provided in capabilities and check the device log for possible crash report occurrences Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
E       at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:956:9)
E       at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/protocol.js:435:35)

On the iOS device the Flutter app attempts to load, but then quickly crashes. I recorded the following video to demonstrate what is happening...
https://user-images.githubusercontent.com/81746805/195052206-8ceaa6fa-3307-4efb-a154-8b5596476cfd.mov
Running the app normally in Flutter works perfectly fine. This issue only occurs when running Appium tests.
Also, this issue only occurs on real devices for me. I have no problems when running on an iOS Simulator or on Android devices.
Device Information:
The issue has been reproduced on the following devices:

iPhone 11 Pro, 15.6.1
iPhone XR, 15.5

Version Information:

appium v2.0.0-beta.44
flutter v3.3.4
appium-flutter-driver v1.7.2
Xcode 14.0.1

It seems like the app got something crashed. The app launch itself started from Apple's API, so maybe you may need to take a look the crash log and investigate the reason in your code.
default	08:48:06.964143+0200	ReportCrash	Formulating fatal 309 report for corpse[77884] Runner
default	08:48:06.965683+0200	ReportCrash	loadStoreInfo [platform 2] scanbot.sdk.ui.test.app.flutter from file:///private/var/containers/Bundle/Application/F2E6AF63-B8A4-4047-A258-E393597A1A3E/scanbot.sdk.ui.test.app.flutter.app/
default	08:48:06.967042+0200	ReportCrash	unable to retrieve storeCohort: <private>
default	08:48:06.971081+0200	ReportCrash	post-exception thread qos drop 21 -> 17
default	08:48:06.971978+0200	osanalyticshelper	starting prolongation transaction timer
default	08:48:06.972485+0200	osanalyticshelper	S1. helper service invoked for '<private>' report creation on behalf of <private>
default	08:48:06.975817+0200	osanalyticshelper	Received log event: <private>
default	08:48:06.976042+0200	osanalyticshelper	S2. helper service creating file
default	08:48:06.982728+0200	ReportCrash	C6. report request failed: <private>
default	08:48:06.982947+0200	ReportCrash	client log create type 309 result FAILED: Log limit exceeded
default	08:48:06.987234+0200	ReportCrash	scanbot.sdk.ui.test.app.flutter is not a MetricKit client
default	08:48:06.987406+0200	ReportCrash	Sending event: com.apple.stability.crash {"bundleID":"scanbot.sdk.ui.test.app.flutter","bundleVersion":"1","exceptionCodes":"0x0000000000000001, 0x0000000000000000(\n    1,\n    0\n)EXC_BAD_ACCESSSIGSEGVKERN_INVALID_ADDRESS at 0x0000000000000000","incidentID":"31D2572D-9DD4-4C1B-931F-C932BCE28143","logwritten":0,"process":"Runner","terminationReasonExceptionCode":"0xb","terminationReasonNamespace":"SIGNAL"}
default	08:48:06.987548+0200	ReportCrash	recordCrashEvent; isBeta 0, log: '(null)'
default	08:48:06.990274+0200	analyticsd	Received event: com.apple.stability.crash {"bundleID":"scanbot.sdk.ui.test.app.flutter","bundleVersion":"1","exceptionCodes":"0x0000000000000001, 0x0000000000000000(\n    1,\n    0\n)EXC_BAD_ACCESSSIGSEGVKERN_INVALID_ADDRESS at 0x0000000000000000","incidentID":"31D2572D-9DD4-4C1B-931F-C932BCE28143","logwritten":0,"process":"Runner","terminationReasonExceptionCode":"0xb","terminationReasonNamespace":"SIGNAL"}
default	08:48:06.991396+0200	analyticsd	Aggregated. Transform: StabilityCrashNumerator3WithBundleVersion Dirty: 1 Event: com.apple.stability.crash {"bundleID":"scanbot.sdk.ui.test.app.flutter","bundleVersion":"1","exceptionCodes":"0x0000000000000001, 0x0000000000000000(\n    1,\n    0\n)EXC_BAD_ACCESSSIGSEGVKERN_INVALID_ADDRESS at 0x0000000000000000","incidentID":"31D2572D-9DD4-4C1B-931F-C932BCE28143","logwritten":0,"process":"Runner","terminationReasonExceptionCode":"0xb","terminationReasonNamespace":"SIGNAL","timestamp":1665557286878499}
default	08:48:06.991559+0200	analyticsd	[TransformManager::checkpoint] Checkpoint initiated. Persistence time throttle expired. Additional info {eventsSeen: 4, eventsRequired: 100000}
default	08:48:06.998673+0200	analyticsd	Persisted Transform: StabilityCrashNumerator3WithBundleVersion Dirty: 1
default	08:48:07.020591+0200	analyticsd	Aggregated. Transform: StabilityCrashNumerator3WithIncidentID Dirty: 1 Event: com.apple.stability.crash {"bundleID":"scanbot.sdk.ui.test.app.flutter","bundleVersion":"1","exceptionCodes":"0x0000000000000001, 0x0000000000000000(\n    1,\n    0\n)EXC_BAD_ACCESSSIGSEGVKERN_INVALID_ADDRESS at 0x0000000000000000","incidentID":"31D2572D-9DD4-4C1B-931F-C932BCE28143","logwritten":0,"process":"Runner","terminationReasonExceptionCode":"0xb","terminationReasonNamespace":"SIGNAL","timestamp":1665557286878499}
default	08:48:07.022049+0200	analyticsd	[Daemon perf] Performance checks are disabled. Please update the daemon perf params in defaults if you wish to turn this on.
default	08:48:07.022700+0200	analyticsd	Aggregated. Transform: StabilityCrashNumerator3 Dirty: 1 Event: com.apple.stability.crash {"bundleID":"scanbot.sdk.ui.test.app.flutter","bundleVersion":"1","exceptionCodes":"0x0000000000000001, 0x0000000000000000(\n    1,\n    0\n)EXC_BAD_ACCESSSIGSEGVKERN_INVALID_ADDRESS at 0x0000000000000000","incidentID":"31D2572D-9DD4-4C1B-931F-C932BCE28143","logwritten":0,"process":"Runner","terminationReasonExceptionCode":"0xb","terminationReasonNamespace":"SIGNAL","timestamp":1665557286878499}
default	08:48:07.022929+0200	analyticsd	[TransformManager::checkpoint] Checkpoint initiated (forced)
error	08:48:07.057106+0200	kernel	Failed to read key 1195856451 from SMC with error code 84
default	08:48:07.099457+0200	fmflocatord	{"msg":"CLInternalGetAuthorizationStatus", "event":"activity"}

Close as not this driver's one

In case it helps someone else, I resolved this particular issue by using flutter run --profile instead of flutter run --debug to build the app. It seems related to this: https://stackoverflow.com/a/64211651

authors: KazuCocoa hudson-pierce

repo: appium-userland/appium-flutter-driver


text:
fix: Update parse memory data for Android 11(API 30)

getPerformanceData() get memoryinfo return : Error: Unable to parse memory data for Android 11(API 30) .
Android 11 (API 30) dumpsys meminfo adds "Rss Total" column before "Heap Size"

I resubmitted the code and added a  API 30 unit case. please check it

@mykola-mokhnach I submitted the code again. It looks better than last time

@mykola-mokhnach I am trying to learn javascript, I want to fix this bug simply, but the result of the fix is not very satisfactory. So please  refactor and fix this code.

I am trying to learn javascript, I want to fix this bug simply, but the result of the fix is not very satisfactory. So please refactor and fix this code.

Unfortunately I don't have time this week. Probably, I can get back back to it closer to the weekend.
Altogether, nicely done as for a beginner.

I closed this PR and opened a new issue. Thank you for your reply

I closed this PR and opened a new issue. Thanks for your reply

authors: YueChen-C mykola-mokhnach

repo: appium/appium-android-driver


text:
Fix typo in the CHANGELOG file

Replace this paragraph with a description of your changes and rationale. Provide links to an existing issue or external references/discussions, if appropriate.
Checklist

[ ] I've added at least one test that validates that my change is working, if appropriate
[ ] I've followed the code style of the rest of the project
[ ] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary

@swift-ci test

authors: rauhul revolter

repo: apple/swift-argument-parser


text:
Expose the paging token API from the C/C++ driver

Adds support for getting/setting a paging token that can be reused.
Motivation:
Cassandra allows for paginated result querying to support iterating over large request sets. This pagination mechanism is currently an implementation detail internal to the client. For end clients talking to a web service, being able to jump to a particular page is useful for larger result sets, especially with unreliable network conditions, or additional business logic and processing that may happen on the end client.
Modifications:

Adds a function on Rows to retrieve the current paging token.
Adds a function on Statement to set the paging token.
Include tests for above

Result:

New public APIs are available for using paging tokens

@swift-server-bot add to allowlist

Updated the PR based on some discussions, also updated the description accordingly.

once CI is green!

Looks like I need to go back a few Swift versions...

Seems like withMemoryRebound was added in Swift 5.7. Perhaps we add a #if swift(>=5.7) check around the feature?

Seems like withMemoryRebound was added in Swift 5.7. Perhaps we add a #if swift(>=5.7) check around the feature?

It took a bit of work to get a Swift 5.4 installation working but looks like everything is good now.

authors: erichmenge yim-lee

repo: apple/swift-cassandra-client


text:
Merge release/1.0 to release/1.1

Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[ ] I've followed the coding style of the rest of the project.
[ ] I've added tests covering all new code paths my change adds to the project (if appropriate).
[ ] I've added benchmarks covering new functionality (if appropriate).
[ ] I've verified that my change does not break any existing tests or introduce unexplained benchmark regressions.
[ ] I've updated the documentation if necessary.

@swift-ci test

repo: apple/swift-collections


text:
Consolidates index checking in NSOrderedSet

Consolidates several index checks into object(at:) and adds a few index
checks where it makes sense.

@swift-ci please test

@millenomi Yes. I've brought the branch up-to-date and made the changes I proposed. Please let me know what you think.

@swift-ci please test and merge

@millenomi It looks like the build failed due to a compilation error, but the error seems unrelated to my changes. Do you know what may have caused it? Could you please try again?

@swift-ci test

@philium Looks like it failed again. I would suggest rebasing the branch by doing:
git fetch origin
git rebase -i origin/master

then force pushing it back to the PR

@spevans Thank you. I've rebased my branch and force pushed the changes. Please try again.

@swift-ci test

@swift-ci please test and merge

It looks like the last build succeeded, but the status hasn't been reported.

authors: millenomi philium spevans

repo: apple/swift-corelibs-foundation


text:
Fix NSURLComponents bridging with percent-encoding

Resolves https://github.com/apple/swift-foundation/issues/828 (thanks @giginet for filing!)
Because the bridging code assigns non-percentEncoded variants of the components (e.g. .path instead of .percentEncodedPath), an NSURLComponents that is bridged to Swift URLComponents loses its percent-encoding. For example:
let nsURLComponents = NSURLComponents(
    string: "https://example.com?url=https%3A%2F%2Fapple.com"
)!
let urlComponents = nsURLComponents as URLComponents
print(nsURLComponents.string) // "https://example.com?url=https%3A%2F%2Fapple.com"
print(urlComponents.string) // "https://example.com?url=https://apple.com"

Note we only lose percent-encoding if the percent-encoding is not absolutely required, e.g. "://" does not require encoding in the query component, but this is something we should fix regardless.
This PR first checks if we can cast the NSURLComponents to a _NSSwiftURLComponents and take the components right out of it. If the cast fails, we fall back to assigning the percentEncoded properties.

@swift-ci please test

repo: apple/swift-foundation


text:
Move UserToolchain and Destination

Purpose of this is to make libSwift easier to use for parsing manifests.

@swift-ci please smoke test

repo: apple/swift-package-manager


text:
Possibly Swift runtime bug in iOS <= 15.2

Description
I have met a strange crash with swift existential. It appears always on iOS 15.2, 14.5, 14.7, only when using binary compiled with optimizations. If optimizations are disabled then app is executed as usual, no crashes appear. On iOS 15.5 (16.0, 16.1...) and above everything is also ok, no matter what optimization flags are set up.
Crash message: Thread 12: EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff8)
Seems like a bug in runtime shipped with previous iOS versions.
Steps to reproduce
public struct StatisticsEventSnapshot {
  public let eventName: StatisticsEventName // Type declaration: public enum StatisticsEventName: String, CaseIterable { ... }

  public let params: any Collection<StatisticsEventParam> // Type declaration: public enum StatisticsEventParam: Hashable  { ... }, has associated values of different Value Types in every case

  public let creationDate: Date

  public let _file: StaticString

  public let _line: UInt

  fileprivate init(eventName: StatisticsEventName,
                   params: any Collection<StatisticsEventParam>,
                   creationDate: Date,
                   file: StaticString,
                   line: UInt) {
    self.eventName = eventName
    self.params = params // --->> Thread 12: EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff8)
    self.creationDate = creationDate
    _file = file
    _line = line
  }
}

extension StatisticsEvent {
  public func asSnapshot() -> StatisticsEventSnapshot {
    StatisticsEventSnapshot(eventName: eventName, params: params, creationDate: creationDate, file: _fileID, line: _line)
  }
}

Expected behavior
No crashes on old iOS versions.
Environment

Swift compiler version info: 1.62.15 Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
Xcode version info: Xcode 14.1 Build version 14B47b
Deployment target: iOS 14.5

Crash log
Incident Identifier: B0888AA8-DE32-4430-8A3C-281E4B843E46
Beta Identifier:     81EE1387-814A-414B-8B16-B656EB0597C3
Hardware Model:      iPhone11,2
Process:             Впрок DEV [1127]
Path:                /private/var/containers/Bundle/Application/27539676-DC07-4A18-AFF4-3306D8D72201/Впрок DEV.app/Впрок DEV
Identifier:          ru.x5.perekrestokDarkstore.develop
Version:             2.8.0 (2628101)
AppStoreTools:       14C17
AppVariant:          1:iPhone11,2:15
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           ru.x5.perekrestokDarkstore.develop [852]
Date/Time:           2023-01-31 16:09:13.3699 +0800
Launch Time:         2023-01-31 16:09:10.7506 +0800
OS Version:          iPhone OS 15.2 (19C56)
Release Type:        User
Baseband Version:    4.02.02
Report Version:      104
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0xfffffffffffffff8
Exception Codes: 0x0000000000000001, 0xfffffffffffffff8
VM Region Info: 0xfffffffffffffff8 is not in any region.  Bytes after previous region: 18446743592673214457
REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
commpage (reserved)     1000000000-7000000000 [384.0G] ---/--- SM=NUL  ...(unallocated)
--->
UNUSED SPACE AT END
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [1127]
Triggered by Thread:  12
Thread 0 name:   Dispatch queue: com.Mindbox.initialization
Thread 0:
0   libswiftCore.dylib            	       0x185c785cc swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadataswift::InProcess const*, swift::TargetProtocolDescriptorswift::InProcess const*, bool)::$_5::operator()((anonymous namespace)::ConformanceSection const&) const::'lambda'(swift::TargetProtocolConformanceDescriptorswift::InProcess const&)::operator()(swift::TargetProtocolConformanceDescriptorswift::InProcess const&) const + 60
1   libswiftCore.dylib            	       0x185c774bc swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadataswift::InProcess const*, swift::TargetProtocolDescriptorswift::InProcess const*, bool) + 2224
2   libswiftCore.dylib            	       0x185c774bc swift_conformsToProtocolMaybeInstantiateSuperclasses(swift::TargetMetadataswift::InProcess const*, swift::TargetProtocolDescriptorswift::InProcess const*, bool) + 2224
3   libswiftCore.dylib            	       0x185c768a0 swift_conformsToProtocol + 136
4   libswiftCore.dylib            	       0x185c35970 swift::_conformsToProtocol(swift::OpaqueValue const*, swift::TargetMetadataswift::InProcess const*, swift::TargetProtocolDescriptorRefswift::InProcess, swift::TargetWitnessTableswift::InProcess const**) + 48
5   libswiftCore.dylib            	       0x185c3b87c tryCastToConstrainedOpaqueExistential(swift::OpaqueValue*, swift::TargetMetadataswift::InProcess const*, swift::OpaqueValue*, swift::TargetMetadataswift::InProcess const*, swift::TargetMetadataswift::InProcess const*&, swift::TargetMetadataswift::InProcess const*&, bool, bool) + 172
6   libswiftCore.dylib            	       0x185c3a20c tryCast(swift::OpaqueValue*, swift::TargetMetadataswift::InProcess const*, swift::OpaqueValue*, swift::TargetMetadataswift::InProcess const*, swift::TargetMetadataswift::InProcess const*&, swift::TargetMetadataswift::InProcess const*&, bool, bool) + 844
7   libswiftCore.dylib            	       0x185c3a4dc tryCast(swift::OpaqueValue*, swift::TargetMetadataswift::InProcess const*, swift::OpaqueValue*, swift::TargetMetadataswift::InProcess const*, swift::TargetMetadataswift::InProcess const*&, swift::TargetMetadataswift::InProcess const*&, bool, bool) + 1564
8   libswiftCore.dylib            	       0x185c39db4 swift_dynamicCastImpl(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadataswift::InProcess const*, swift::TargetMetadataswift::InProcess const*, swift::DynamicCastFlags) + 72
9   libswiftCore.dylib            	       0x18595958c Mirror.init(reflecting:) + 92
10  Mindbox                       	       0x1017a5674 closure #1 in variable initialization expression of static DeviceModelHelper.model + 360
11  Mindbox                       	       0x1017a54f8 one-time initialization function for model + 12
12  libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
13  libdispatch.dylib             	       0x180b7cf18 _dispatch_once_callout + 32
14  Mindbox                       	       0x1017a4e4c specialized MBNetworkFetcher.init(utilitiesFetcher:persistenceStorage:) + 1228
15  Mindbox                       	       0x1017a4798 MBInstanceFactory.makeNetworkFetcher() + 304
16  Mindbox                       	       0x1017a4800 MBInstanceFactory.makeEventRepository() + 40
17  Mindbox                       	       0x1017a4418 DependencyProvider.init() + 1036
18  Mindbox                       	       0x1017de8a0 closure #1 in Mindbox.().init() + 200
19  Mindbox                       	       0x1017e01f8 partial apply for closure #1 in Mindbox.().init() + 16
20  libswiftDispatch.dylib        	       0x19a599938 partial apply for thunk for @callee_guaranteed () -> (@out A, @error @owned Error) + 28
21  libswiftDispatch.dylib        	       0x19a5a0c18 thunk for @callee_guaranteed () -> (@out A, @error @owned Error)partial apply + 16
22  libswiftDispatch.dylib        	       0x19a59ac70 closure #1 in closure #1 in OS_dispatch_queue._syncHelper(fn:execute:rescue:) + 188
23  libswiftDispatch.dylib        	       0x19a59ad5c partial apply for thunk for @callee_guaranteed () -> () + 28
24  libswiftDispatch.dylib        	       0x19a59a680 thunk for @escaping @callee_guaranteed () -> () + 28
25  libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
26  libdispatch.dylib             	       0x180b8a8c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
27  libswiftDispatch.dylib        	       0x19a59b550 implicit closure #2 in implicit closure #1 in OS_dispatch_queue.sync(flags:execute:) + 196
28  libswiftDispatch.dylib        	       0x19a599d8c OS_dispatch_queue._syncHelper(fn:execute:rescue:) + 396
29  libswiftDispatch.dylib        	       0x19a59b874 OS_dispatch_queue.sync(flags:execute:) + 332
30  Mindbox                       	       0x1017de794 Mindbox.().init() + 708
31  Mindbox                       	       0x1017deb9c @objc Mindbox.().init() + 20
32  Mindbox                       	       0x1017d9b58 one-time initialization function for shared + 40
33  libdispatch.dylib             	       0x180b7b670 dispatch_client_callout + 20
34  libdispatch.dylib             	       0x180b7cf18 dispatch_once_callout + 32
35  Mindbox                       	       0x1017d81c4 Mindbox.shared.unsafeMutableAddressor + 60
36  Впрок DEV                     	       0x100395d24 specialized AppDelegate.application(:didFinishLaunchingWithOptions:) + 3664
37  Впрок DEV                     	       0x10038d804 @objc AppDelegate.application(:didFinishLaunchingWithOptions:) + 136
38  UIKitCore                     	       0x1836404bc -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 356
39  UIKitCore                     	       0x183828518 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3524
40  UIKitCore                     	       0x183810e58 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1208
41  UIKitCore                     	       0x18366e424 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152
42  UIKitCore                     	       0x1834c5e14 _UIScenePerformActionsWithLifecycleActionMask + 104
43  UIKitCore                     	       0x1835f1f48 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 224
44  UIKitCore                     	       0x183712be8 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 248
45  UIKitCore                     	       0x183953db0 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 760
46  UIKitCore                     	       0x1838df2d0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340
47  UIKitCore                     	       0x1834c6c18 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 196
48  UIKitCore                     	       0x183587484 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892
49  UIKitCore                     	       0x1834c8b28 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276
50  UIKitCore                     	       0x1835b3f58 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384
51  UIKitCore                     	       0x183a3c084 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.613 + 776
52  UIKitCore                     	       0x1834f7460 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256
53  UIKitCore                     	       0x18353ad74 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 288
54  UIKitCore                     	       0x183673350 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 572
55  UIKitCore                     	       0x1835b2218 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388
56  FrontBoardServices            	       0x192b618d4 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 440
57  FrontBoardServices            	       0x192b87824 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215 + 128
58  FrontBoardServices            	       0x192b4206c -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
59  FrontBoardServices            	       0x192b436ac __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372
60  libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
61  libdispatch.dylib             	       0x180b7f128 _dispatch_block_invoke_direct + 264
62  FrontBoardServices            	       0x192b439c4 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 48
63  FrontBoardServices            	       0x192b42d8c -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220
64  FrontBoardServices            	       0x192b47414 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
65  CoreFoundation                	       0x180f2b0d0 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
66  CoreFoundation                	       0x180f3bd90 __CFRunLoopDoSource0 + 208
67  CoreFoundation                	       0x180e76098 __CFRunLoopDoSources0 + 268
68  CoreFoundation                	       0x180e7b8a4 __CFRunLoopRun + 820
69  CoreFoundation                	       0x180e8f468 CFRunLoopRunSpecific + 600
70  GraphicsServices              	       0x19ca1b38c GSEventRunModal + 164
71  UIKitCore                     	       0x183831088 -[UIApplication _run] + 1100
72  UIKitCore                     	       0x1835af958 UIApplicationMain + 2092
73  Впрок DEV                     	       0x10039152c main + 64
74  dyld                          	       0x1008f9aa4 start + 520
Thread 1:
0   libsystem_pthread.dylib       	       0x1f18dae8c start_wqthread + 0
Thread 2 name:   Dispatch queue: com.apple.UIKit.KeyboardManagement
Thread 2:
0   libsystem_kernel.dylib        	       0x1b843e1a4 __ulock_wait + 8
1   libdispatch.dylib             	       0x180b7c064 _dlock_wait + 56
2   libdispatch.dylib             	       0x180b7be08 _dispatch_thread_event_wait_slow + 56
3   libdispatch.dylib             	       0x180b8abac DISPATCH_WAIT_FOR_QUEUE + 364
4   libdispatch.dylib             	       0x180b8a754 _dispatch_sync_f_slow + 144
5   UIKitCore                     	       0x183689b44 __37-[_UIRemoteKeyboards startConnection]block_invoke_3 + 136
6   CoreFoundation                	       0x180e923a4 invoking + 148
7   CoreFoundation                	       0x180eafb74 -[NSInvocation invoke] + 468
8   Foundation                    	       0x1826c7f90 NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK + 24
9   Foundation                    	       0x1826e8f44 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 572
10  Foundation                    	       0x1826c3b14 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 212
11  libxpc.dylib                  	       0x1f191132c _xpc_connection_reply_callout + 116
12  libxpc.dylib                  	       0x1f190485c _xpc_connection_call_reply_async + 88
13  libdispatch.dylib             	       0x180b7b6f0 _dispatch_client_callout3 + 20
14  libdispatch.dylib             	       0x180b98ed8 _dispatch_mach_msg_async_reply_invoke + 348
15  libdispatch.dylib             	       0x180b82ccc _dispatch_lane_serial_drain + 376
16  libdispatch.dylib             	       0x180b8399c _dispatch_lane_invoke + 444
17  libdispatch.dylib             	       0x180b8e1b8 _dispatch_workloop_worker_thread + 656
18  libsystem_pthread.dylib       	       0x1f18db0f4 _pthread_wqthread + 288
19  libsystem_pthread.dylib       	       0x1f18dae94 start_wqthread + 8
Thread 3 name:   Dispatch queue: APMExperimentWorkerQueue
Thread 3:
0   libsystem_kernel.dylib        	       0x1b843e228 __ulock_wake + 8
1   libsystem_platform.dylib      	       0x1f18d3140 _os_unfair_lock_unlock_slow + 56
2   libobjc.A.dylib               	       0x199735524 lookUpImpOrForward + 664
3   libobjc.A.dylib               	       0x1997309e4 _objc_msgSend_uncached + 68
4   Впрок DEV                     	       0x1003f93c4 -[APMEManager taskManagerShouldFetchExperiments:] + 100
5   Впрок DEV                     	       0x1003fc654 -[APMETaskManager scheduleFetchingExperimentsOnWorkerQueue] + 904
6   Впрок DEV                     	       0x1003fd1a0 -[APMETaskManager startTaskManagerOnWorkerQueue] + 124
7   Впрок DEV                     	       0x1003fd114 __35-[APMETaskManager startTaskManager]_block_invoke + 36
8   Впрок DEV                     	       0x1003fe758 __46-[APMETaskManager dispatchAsyncOnWorkerQueue:]_block_invoke + 36
9   libdispatch.dylib             	       0x180b79924 _dispatch_call_block_and_release + 32
10  libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
11  libdispatch.dylib             	       0x180b82df4 _dispatch_lane_serial_drain + 672
12  libdispatch.dylib             	       0x180b83968 _dispatch_lane_invoke + 392
13  libdispatch.dylib             	       0x180b8e1b8 _dispatch_workloop_worker_thread + 656
14  libsystem_pthread.dylib       	       0x1f18db0f4 _pthread_wqthread + 288
15  libsystem_pthread.dylib       	       0x1f18dae94 start_wqthread + 8
Thread 4 name:  com.apple.uikit.eventfetch-thread
Thread 4:
0   libsystem_kernel.dylib        	       0x1b843d504 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1b843db9c mach_msg + 76
2   CoreFoundation                	       0x180e77738 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x180e7ba2c __CFRunLoopRun + 1212
4   CoreFoundation                	       0x180e8f468 CFRunLoopRunSpecific + 600
5   Foundation                    	       0x1826abc94 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236
6   Foundation                    	       0x1826ecdc8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92
7   UIKitCore                     	       0x1837aa230 -[UIEventFetcher threadMain] + 524
8   Foundation                    	       0x1826fb40c NSThread__start + 808
9   libsystem_pthread.dylib       	       0x1f18db9a4 _pthread_start + 148
10  libsystem_pthread.dylib       	       0x1f18daea0 thread_start + 8
Thread 5:
0   libsystem_pthread.dylib       	       0x1f18dae8c start_wqthread + 0
Thread 6 name:   Dispatch queue: com.google.firebase.crashlytics.startup
Thread 6:
0   libsystem_kernel.dylib        	       0x1b843d558 semaphore_timedwait_trap + 8
1   libdispatch.dylib             	       0x180b7bc7c _dispatch_sema4_timedwait + 64
2   libdispatch.dylib             	       0x180b7c280 _dispatch_semaphore_wait_slow + 76
3   FirebaseCrashlytics           	       0x100b72d5c -[FIRCLSInstallIdentifierModel regenerateInstallIDIfNeeded] + 200
4   FirebaseCrashlytics           	       0x100b7f660 __91-[FIRCLSReportUploader prepareAndSubmitReport:dataCollectionToken:asUrgent:withProcessing:]_block_invoke_2 + 36
5   libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
6   libdispatch.dylib             	       0x180b7cf18 _dispatch_once_callout + 32
7   FirebaseCrashlytics           	       0x100b7f638 __91-[FIRCLSReportUploader prepareAndSubmitReport:dataCollectionToken:asUrgent:withProcessing:]_block_invoke + 904
8   FirebaseCrashlytics           	       0x100b63304 FIRCLSApplicationActivity + 72
9   FirebaseCrashlytics           	       0x100b7f268 -[FIRCLSReportUploader prepareAndSubmitReport:dataCollectionToken:asUrgent:withProcessing:] + 172
10  FirebaseCrashlytics           	       0x100b6e57c __92-[FIRCLSExistingReportManager processExistingActiveReportPath:dataCollectionToken:asUrgent:]_block_invoke_2 + 52
11  Foundation                    	       0x1826e3c64 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 24
12  Foundation                    	       0x1826f5df8 -[NSBlockOperation main] + 104
13  Foundation                    	       0x1826ce784 NSOPERATION_IS_INVOKING_MAIN + 24
14  Foundation                    	       0x1826df700 -[NSOperation start] + 804
15  Foundation                    	       0x1826e2cac NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 24
16  Foundation                    	       0x1826f0d50 __NSOQSchedule_f + 184
17  libdispatch.dylib             	       0x180b8a454 _dispatch_block_async_invoke2 + 148
18  libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
19  libdispatch.dylib             	       0x180b82df4 _dispatch_lane_serial_drain + 672
20  libdispatch.dylib             	       0x180b83968 _dispatch_lane_invoke + 392
21  libdispatch.dylib             	       0x180b8e1b8 _dispatch_workloop_worker_thread + 656
22  libsystem_pthread.dylib       	       0x1f18db0f4 _pthread_wqthread + 288
23  libsystem_pthread.dylib       	       0x1f18dae94 start_wqthread + 8
Thread 7 name:   Dispatch queue: com.google.firebase.crashlytics.ios.binary-images
Thread 7:
0   libsystem_kernel.dylib        	       0x1b843ef18 write + 8
1   FirebaseCrashlytics           	       0x100b70530 FIRCLSFileLoopWithWriteBlock + 56
2   FirebaseCrashlytics           	       0x100b704a8 FIRCLSFileWriteToFileDescriptorOrBuffer + 196
3   FirebaseCrashlytics           	       0x100b70a88 FIRCLSFileWriteStringWithSuffix + 184
4   FirebaseCrashlytics           	       0x100b708cc FIRCLSFileWriteHashKey + 76
5   FirebaseCrashlytics           	       0x100b70b28 FIRCLSFileWriteHashEntryUint64 + 24
6   FirebaseCrashlytics           	       0x100b64adc __FIRCLSBinaryImageChanged_block_invoke + 904
7   libdispatch.dylib             	       0x180b79924 _dispatch_call_block_and_release + 32
8   libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
9   libdispatch.dylib             	       0x180b82df4 _dispatch_lane_serial_drain + 672
10  libdispatch.dylib             	       0x180b83968 _dispatch_lane_invoke + 392
11  libdispatch.dylib             	       0x180b8e1b8 _dispatch_workloop_worker_thread + 656
12  libsystem_pthread.dylib       	       0x1f18db0f4 _pthread_wqthread + 288
13  libsystem_pthread.dylib       	       0x1f18dae94 start_wqthread + 8
Thread 8:
0   libsystem_pthread.dylib       	       0x1f18dae8c start_wqthread + 0
Thread 9:
0   libsystem_pthread.dylib       	       0x1f18dae8c start_wqthread + 0
Thread 10 name:   Dispatch queue: com.apple.network.connections
Thread 10:
0   libnetwork.dylib              	       0x181c25688 nw_path_network_is_satisfied_update_reason + 288
1   libnetwork.dylib              	       0x181c25684 nw_path_network_is_satisfied_update_reason + 284
2   libnetwork.dylib              	       0x181c6e808 nw_path_get_interface_index + 80
3   libnetwork.dylib              	       0x181c26338 __nw_path_snapshot_fallback_block_invoke + 148
4   libxpc.dylib                  	       0x1f1909d10 _xpc_dictionary_apply_apply + 68
5   libxpc.dylib                  	       0x1f1908bc0 _xpc_dictionary_apply_node_f + 156
6   libxpc.dylib                  	       0x1f1909cac xpc_dictionary_apply + 140
7   libnetwork.dylib              	       0x181c30744 nw_path_snapshot_fallback + 420
8   libnetwork.dylib              	       0x181c272a4 nw_path_snapshot_path + 348
9   libnetwork.dylib              	       0x181cc0cd4 nw_path_necp_update_evaluator + 784
10  libnetwork.dylib              	       0x181ca3340 nw_path_necp_check_for_updates + 876
11  libnetwork.dylib              	       0x181c117b4 nw_path_evaluator_force_update + 128
12  libnetwork.dylib              	       0x1820415b4 nw_association_force_update + 108
13  libnetwork.dylib              	       0x181b708b0 nw_endpoint_flow_setup_channel + 8720
14  libnetwork.dylib              	       0x181b66d8c -[NWConcrete_nw_endpoint_flow startWithHandler:] + 3608
15  libnetwork.dylib              	       0x181bc939c nw_endpoint_handler_path_change + 1800
16  libnetwork.dylib              	       0x181bf6080 nw_endpoint_handler_start + 1096
17  libnetwork.dylib              	       0x181b629e0 nw_endpoint_resolver_start_next_child + 4168
18  libdispatch.dylib             	       0x180b79924 _dispatch_call_block_and_release + 32
19  libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
20  libdispatch.dylib             	       0x180b84dac _dispatch_workloop_invoke + 2092
21  libdispatch.dylib             	       0x180b8e1b8 _dispatch_workloop_worker_thread + 656
22  libsystem_pthread.dylib       	       0x1f18db0f4 _pthread_wqthread + 288
23  libsystem_pthread.dylib       	       0x1f18dae94 start_wqthread + 8
Thread 11 name:  com.google.firebase.crashlytics.MachExceptionServer
Thread 11:
0   libsystem_kernel.dylib        	       0x1b843ef18 write + 8
1   FirebaseCrashlytics           	       0x100b731f0 FIRCLSSDKFileLog + 316
2   FirebaseCrashlytics           	       0x100b74df0 FIRCLSMachExceptionServer + 968
3   libsystem_pthread.dylib       	       0x1f18db9a4 _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1f18daea0 thread_start + 8
Thread 12 name:   Dispatch queue: ru.x5.StatisticsProxySenderImp
Thread 12 Crashed:
0   Statistics                    	       0x1022baccc outlined init with take of [StatisticsEventParam]? + 32
1   Statistics                    	       0x1022bacc8 outlined init with take of [StatisticsEventParam]? + 28
2   Statistics                    	       0x1022b927c StatisticsEvent.asSnapshot() + 260
3   Statistics                    	       0x1022c9ad4 StatisticsSDKSender.sendEvent(:) + 104
4   Statistics                    	       0x1022d500c partial apply for closure #1 in StatisticsProxySenderImp.sendEvent(:) + 308
5   Statistics                    	       0x1022d2c4c thunk for @escaping @callee_guaranteed () -> () + 28
6   libdispatch.dylib             	       0x180b79924 _dispatch_call_block_and_release + 32
7   libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
8   libdispatch.dylib             	       0x180b82df4 _dispatch_lane_serial_drain + 672
9   libdispatch.dylib             	       0x180b83968 _dispatch_lane_invoke + 392
10  libdispatch.dylib             	       0x180b8e1b8 _dispatch_workloop_worker_thread + 656
11  libsystem_pthread.dylib       	       0x1f18db0f4 _pthread_wqthread + 288
12  libsystem_pthread.dylib       	       0x1f18dae94 start_wqthread + 8
Thread 13 name:   Dispatch queue: com.google.fira.worker
Thread 13:
0   libsqlite3.dylib              	       0x19f738784 0x19f72d000 + 46980
1   libsqlite3.dylib              	       0x19f73769c 0x19f72d000 + 42652
2   libsqlite3.dylib              	       0x19f736f80 0x19f72d000 + 40832
3   libsqlite3.dylib              	       0x19f736c24 0x19f72d000 + 39972
4   Впрок DEV                     	       0x10047831c -[APMSqliteStore prepareSQL:error:] + 236
5   Впрок DEV                     	       0x1004762d0 -[APMSqliteStore tableExists:error:] + 148
6   Впрок DEV                     	       0x100475848 -[APMSqliteStore ensureTableWithName:createSQL:requiredColumnNames:addOnColumns:error:] + 276
7   Впрок DEV                     	       0x100474b0c -[APMSqliteStore ensureTableWithName:elementaryColumnInfo:addOnColumnInfo:error:] + 1640
8   Впрок DEV                     	       0x100475410 -[APMSqliteStore ensureTableWithName:elementaryColumnInfo:addOnColumnInfo:modifyColumnInfo:error:] + 124
9   Впрок DEV                     	       0x1003f0e70 -[APMDatabase ensureAllTables] + 5200
10  Впрок DEV                     	       0x1003ef848 -[APMDatabase initializeDatabaseResourcesWithContext:databasePath:error:] + 140
11  Впрок DEV                     	       0x1003e5774 -[APMDatabase initWithDatabaseName:persistedConfig:error:] + 188
12  Впрок DEV                     	       0x100414be4 __47-[APMMeasurement startMeasurementOnWorkerQueue]_block_invoke + 860
13  Впрок DEV                     	       0x100414778 -[APMMeasurement startMeasurementOnWorkerQueue] + 156
14  Впрок DEV                     	       0x100413dd0 -[APMMeasurement setEnabledOnWorkerQueue:] + 272
15  Впрок DEV                     	       0x100413cb0 __29-[APMMeasurement setEnabled:]_block_invoke + 44
16  Впрок DEV                     	       0x10046d460 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44
17  libdispatch.dylib             	       0x180b79924 _dispatch_call_block_and_release + 32
18  libdispatch.dylib             	       0x180b7b670 _dispatch_client_callout + 20
19  libdispatch.dylib             	       0x180b82df4 _dispatch_lane_serial_drain + 672
20  libdispatch.dylib             	       0x180b83968 _dispatch_lane_invoke + 392
21  libdispatch.dylib             	       0x180b8e1b8 _dispatch_workloop_worker_thread + 656
22  libsystem_pthread.dylib       	       0x1f18db0f4 _pthread_wqthread + 288
23  libsystem_pthread.dylib       	       0x1f18dae94 start_wqthread + 8
Thread 14:
0   libsystem_pthread.dylib       	       0x1f18dae8c start_wqthread + 0
Thread 15:
0   libsystem_pthread.dylib       	       0x1f18dae8c start_wqthread + 0
Thread 16:
0   libsystem_pthread.dylib       	       0x1f18dae8c start_wqthread + 0
Thread 17 name:  com.facebook.SocketRocket.NetworkThread
Thread 17:
0   libsystem_kernel.dylib        	       0x1b843d504 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1b843db9c mach_msg + 76
2   CoreFoundation                	       0x180e77738 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x180e7ba2c __CFRunLoopRun + 1212
4   CoreFoundation                	       0x180e8f468 CFRunLoopRunSpecific + 600
5   Foundation                    	       0x1826abc94 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236
6   Threads                       	       0x1024623a8 -[SRRunLoopThread main] + 252
7   Foundation                    	       0x1826fb40c NSThread__start + 808
8   libsystem_pthread.dylib       	       0x1f18db9a4 _pthread_start + 148
9   libsystem_pthread.dylib       	       0x1f18daea0 thread_start + 8
Thread 18 name:  com.apple.NSURLConnectionLoader
Thread 18:
0   libsystem_kernel.dylib        	       0x1b843d504 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1b843db9c mach_msg + 76
2   CoreFoundation                	       0x180e77738 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x180e7ba2c __CFRunLoopRun + 1212
4   CoreFoundation                	       0x180e8f468 CFRunLoopRunSpecific + 600
5   CFNetwork                     	       0x1819033f0 0x181689000 + 2597872
6   Foundation                    	       0x1826fb40c NSThread__start + 808
7   libsystem_pthread.dylib       	       0x1f18db9a4 _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1f18daea0 thread_start + 8
Thread 12 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000   x1: 0x0000000283bf7480   x2: 0x0000000000000000   x3: 0x0000000192bf93a4
x4: 0x0000000170089860   x5: 0x0000000170089840   x6: 0x000000000000006a   x7: 0x00000001dadae158
x8: 0x000000017008a588   x9: 0x00000001db757b48  x10: 0x00000000000007fd  x11: 0x0000000000000001
x12: 0x0000000000000119  x13: 0x00000000c3c1d11b  x14: 0x00000000c3e1d800  x15: 0x000000000001d800
x16: 0x00000001db757b48  x17: 0x83f30001db757b48  x18: 0x0000000000000000  x19: 0x000000017008a798
x20: 0x000000017008a718  x21: 0x0000000281bb0000  x22: 0x000000010a217a40  x23: 0x00000001022e9778
x24: 0x0000000000000024  x25: 0x0000000000000001  x26: 0x0000000000000002  x27: 0x00000001003802f4
x28: 0x00000002820c9400   fp: 0x000000017008a6f0   lr: 0x00000001022bacc8
sp: 0x000000017008a6e0   pc: 0x00000001022baccc cpsr: 0x60000000
far: 0xfffffffffffffff8  esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x1858b9000 -        0x185d0afff libswiftCore.dylib arm64e  <56a4bad33c483ab694c7657cdcf3df42> /usr/lib/swift/libswiftCore.dylib
0x101780000 -        0x101863fff Mindbox arm64  <66a2bf11d5003d2283b93c4caae9fba4> /private/var/containers/Bundle/Application/27539676-DC07-4A18-AFF4-3306D8D72201/Впрок DEV.app/Frameworks/Mindbox.framework/Mindbox
0x180b77000 -        0x180bbdfff libdispatch.dylib arm64e   /usr/lib/system/libdispatch.dylib
0x19a598000 -        0x19a5affff libswiftDispatch.dylib arm64e  <34e47d31b6a231b98bdd5b3e4e09b33f> /usr/lib/swift/libswiftDispatch.dylib
0x100378000 -        0x1004c3fff Впрок DEV arm64   /private/var/containers/Bundle/Application/27539676-DC07-4A18-AFF4-3306D8D72201/Впрок DEV.app/Впрок DEV
0x183317000 -        0x184ba1fff UIKitCore arm64e   /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x192b38000 -        0x192be3fff FrontBoardServices arm64e  <3cc7e1a10b6b3aee832729bc57f4d1ce> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
0x180e70000 -        0x1812c3fff CoreFoundation arm64e  <16faa70c278c3561859ecec407c2dc7c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x19ca1a000 -        0x19ca22fff GraphicsServices arm64e  <064a1bb60e413ad2a402fb563fc141f5> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1008e0000 -        0x100937fff dyld arm64e   /usr/lib/dyld
0x1f18da000 -        0x1f18e5fff libsystem_pthread.dylib arm64e   /usr/lib/system/libsystem_pthread.dylib
0x1b843c000 -        0x1b846ffff libsystem_kernel.dylib arm64e   /usr/lib/system/libsystem_kernel.dylib
0x182693000 -        0x182999fff Foundation arm64e  <9618b2f2a4c23e07b7eed8d9e1bdeaec> /System/Library/Frameworks/Foundation.framework/Foundation
0x1f18f5000 -        0x1f192cfff libxpc.dylib arm64e  <4a0071bc1b1f3cbb960272663b72e875> /usr/lib/system/libxpc.dylib
0x1f18d2000 -        0x1f18d8fff libsystem_platform.dylib arm64e  <75aa782c44f53f6fbb1a4ae145c37f73> /usr/lib/system/libsystem_platform.dylib
0x19972f000 -        0x199768fff libobjc.A.dylib arm64e  <73e920f0e7ce394197d87a10dd2cd390> /usr/lib/libobjc.A.dylib
0x100b5c000 -        0x100b9ffff FirebaseCrashlytics arm64  <5a19ba2975ad30fa85c588150e6ed2c2> /private/var/containers/Bundle/Application/27539676-DC07-4A18-AFF4-3306D8D72201/Впрок DEV.app/Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics
0x181b4e000 -        0x182614fff libnetwork.dylib arm64e   /usr/lib/libnetwork.dylib
0x1022a8000 -        0x1022e3fff Statistics arm64  <32cd185818a634b697c5a065d639e1f8> /private/var/containers/Bundle/Application/27539676-DC07-4A18-AFF4-3306D8D72201/Впрок DEV.app/Frameworks/Statistics.framework/Statistics
0x19f72d000 -        0x19f8bffff libsqlite3.dylib arm64e   /usr/lib/libsqlite3.dylib
0x10238c000 -        0x102547fff Threads arm64  <03e8ce2d350c35fe840fecbc7f0800cb> /private/var/containers/Bundle/Application/27539676-DC07-4A18-AFF4-3306D8D72201/Впрок DEV.app/Frameworks/Threads.framework/Threads
0x181689000 -        0x181b4dfff CFNetwork arm64e   /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x0 - 0xffffffffffffffff ??? unknown-arch  <00000000000000000000000000000000> ???
EOF

@hborla

repo: apple/swift


text:
can't show diagnostics for multi view

import SwiftUI
@main
struct MW_ExampleApp: App {
let persistanceController = PersistenceController.shared
var body: some Scene {
    WindowGroup {
        ContentView()
            .environment(\.managedObjectContext,
                          persistanceController.container.viewContext)
    }

    WindowGroup("Example", for: Example.ID.self) { $exampleID in
        if let exampleID {
            let example = try? persistanceController.container.viewContext.fetch(
                Example.fetchRequest(forID: exampleID)
            ).first {
                DetailView(example: example)
                    .environment(\.managedObjectContext, persistanceController.container.viewContext)
            }
        } else {
            Text("No Example Found")
                .foregroundColor(.secondary)
        }
    }
}

}

posted previously

posted previously

@sambhaskins Do you have a link?

authors: AnthonyLatsis sambhaskins


text:
Vim syntax

fix inout handling
clean up let, var handling

@swift-ci please test and merge


text:
[Batch mode] When emitting dependencies, only emit supplementary outputs for the current input.

Fix performance bug for >1 primary by not visiting every supplementary output for every primary input.

@swift-ci please smoke test

@graydon @jrose-apple Here is a first attempt to fix the dependency file performance bug. Will see if it passes the tests, which I expect it to.

Ha, whoops! Yes, this makes sense. Please add a test, though!

@jrose-apple OK, the test is there. Let me know what it might need, tx:)

@swift-ci please smoke test

@swift-ci please smoke test

authors: davidungar jrose-apple


text:
[Parse] Recover missing initializer in stmt condition

Fix a crash introduced in aac92da252e1779dd97f0286c4af17473e26f440.
rdar://problem/43395202

@swift-ci Please smoke test

@swift-ci Please smoke test


text:
[Serialization] Bump module format for b1f3a1d0e

See #19290. I forgot to do this because it didn't directly change a record. Oops!

@swift-ci Please smoke test and merge


text:
[stdlib] tee _stdlib_AtomicInt > SwiftPrivate

Turns out some people used this type despite it being prefixed with
_stdlib_, so we have to keep it, with an obsoletion message this time.
Second copy of the same type is kept available past Swift 5 in
SwiftPrivate for use in tests.

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - a67e083eed69e8f5985f7f7e5bbaf4b30c05f88a

Build failed
Swift Test OS X Platform
Git Sha - a67e083eed69e8f5985f7f7e5bbaf4b30c05f88a

@swift-ci Please smoke test Linux platform

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - ed841bb11358d0b1f95e60cfb02a13832cd908fb

Build failed
Swift Test OS X Platform
Git Sha - ed841bb11358d0b1f95e60cfb02a13832cd908fb

authors: moiseev swift-ci


text:
[ClangImporter] Retire the term "adapter" in favor of "overlay"

Way back in Swift 1 I was trying to draw a distinction between "overlays", separate libraries that added Swift content to an existing Objective-C framework, and "the Swift part of a mixed-source framework", even though they're implemented in almost exactly the same way. "Adapter module" was the term that covered both of those. In practice, however, no one knew what "adapter" meant. Bring an end to this confusion by just using "overlay" within the compiler even for the mixed-source framework case.
No intended functionality change.

@swift-ci Please smoke test