Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: boyney123/wing

Tags

v0.74.45

Toggle v0.74.45's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(console): option to keep nodes expanded in node display (winglan…

…g#6653)

Resolves winglang#6645

This PR adds a new display setting to keep a node expanded by default:

```
let rateSchedule = new cloud.Schedule(cloud.ScheduleProps{
  rate: 5m
}) as "Rate Schedule";
nodeof(rateSchedule).expanded = true;
```

Also expands automatically if there is one single node

---------

Signed-off-by: monada-bot[bot] <[email protected]>
Co-authored-by: wingbot <[email protected]>
Co-authored-by: monada-bot[bot] <[email protected]>

v0.74.44

Toggle v0.74.44's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: update set literal syntax in language spec (winglang#6663)

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.

v0.74.43

Toggle v0.74.43's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: remove usage of `$TURBO_DEFAULT$` in turbo.json (winglang#6660)

Either I misunderstood the usage of `$TURBO_DEFAULT$` or it just doesn't work 🤷
https://turbo.build/repo/docs/reference/configuration#turbo_default

Regardless, adding specific inputs here isn't hard since there are so few

Fixes winglang#6658

v0.74.42

Toggle v0.74.42's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: avoid full wasm optimizations in development (winglang#6656)

The `-O3` level optimization for wingc's wasm is pretty slow but worth keeping in for the final build.
For local dev it's still valuable to run wasm-opt with some optimization as it greatly reduces the size of the wasm file, which then improves performance when JS loads it. The base level optimization runs in like 500ms on my machine so it's not much of a problem.

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.

v0.74.41

Toggle v0.74.41's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(console): console preview is OOM (winglang#6651)

## Checklist

- [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.

v0.74.40

Toggle v0.74.40's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(console): strange map connections (winglang#6646)

Fixes a visual bug introduced by winglang#6602 where strange connections would show floating around the map.

v0.74.39

Toggle v0.74.39's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: show connections for token references (winglang#6602)

Resolves winglang#6433 by adding a connection edge when resources reference each other through tokens (e.g. a function references `api.url`). The fact that these are implicit references doesn't mean they are not references...

## Console UI Tweaks

* Remove the `()` from the connection operations because oftentimes they do not represent an actual method name. If we want to distinguish between operations and other types of connections, we should add this to the model and then display.
* Only show the operation when there's a `sourceOp` in the connection. Do not default to the connection name.
* In the navigation pane, change the label from "Access" to "Connections".
* Restore connections for `invokeAsync()`. Not sure why they were removed (resolves winglang#6607)
* Change the node title of topics created for bucket notifications to `OnXxx` instead of `onxxx` (all lowercase).
* Change the lift-based connection name to `call`.
* Change the title for the queue consumer function to `Consumer` instead of `SetConsumer()`, also `Tick` (for schedules), `Subscriber` (for topics).

## Misc

* Make the `source` property of `nodeof(x).addConnection()` optional and default to `this`.

## Checklist

- [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.

v0.74.38

Toggle v0.74.38's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: can't modify display attributes of non-wing constructs (winglang…

…#6641)

Fixes winglang#6629 

## Checklist

- [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.

v0.74.37

Toggle v0.74.37's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(console): allow collapsing and expanding map nodes (winglang#6627)

Resolves winglang#6624

v0.74.36

Toggle v0.74.36's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(compiler): implicit optional args not working (sometimes) for met…

…hods (winglang#6633)

fixes winglang#6559

The fold mechanism re-generated the IDs used to identify argument lists in the AST. This means that even though we currently detected implicitly optional arguments we lost that information after the closure transform forld operation. I fixed the default fold implementation not to regenerated these IDs, similar to how we preserve expresion IDs during folds, for example.

## Checklist

- [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [x] Description explains motivation and solution
- [x] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.