Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .changeset/afraid-shirts-try.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/deep-words-hope.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/famous-jeans-learn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-kids-arrive.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/modern-papayas-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-ears-punch.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/rotten-humans-sniff.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-cougars-go.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lynx-js/react

## 0.105.3

### Patch Changes

- Modified the format of data sent from background threads to the main thread. ([#207](https://github.com/lynx-family/lynx-stack/pull/207))

## 0.105.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/react",
"version": "0.105.2",
"version": "0.105.3",
"description": "ReactLynx is a framework for developing Lynx applications with familiar React.",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/rspeedy/plugin-react-alias/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @lynx-js/react-alias-rsbuild-plugin

## 0.9.3

## 0.9.2

## 0.9.1
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/plugin-react-alias/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/react-alias-rsbuild-plugin",
"version": "0.9.2",
"version": "0.9.3",
"description": "A rsbuild plugin for making alias in ReactLynx",
"keywords": [
"rsbuild",
Expand Down
12 changes: 12 additions & 0 deletions packages/rspeedy/plugin-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @lynx-js/react-rsbuild-plugin

## 0.9.3

### Patch Changes

- Updated dependencies [[`ba26a4d`](https://github.com/lynx-family/lynx-stack/commit/ba26a4db1ec3dcfd445dd834533b3bc10b091686), [`d2d55ef`](https://github.com/lynx-family/lynx-stack/commit/d2d55ef9fe438c35921d9db0daa40d5228822ecc)]:
- @lynx-js/template-webpack-plugin@0.6.6
- @lynx-js/web-webpack-plugin@0.6.3
- @lynx-js/css-extract-webpack-plugin@0.5.2
- @lynx-js/react-webpack-plugin@0.6.8
- @lynx-js/react-alias-rsbuild-plugin@0.9.3
- @lynx-js/react-refresh-webpack-plugin@0.3.2

## 0.9.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/react-rsbuild-plugin",
"version": "0.9.2",
"version": "0.9.3",
"description": "A rsbuild plugin for ReactLynx",
"keywords": [
"rsbuild",
Expand Down
52 changes: 52 additions & 0 deletions packages/web-platform/web-constants/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# @lynx-js/web-constants

## 0.9.0

### Minor Changes

- refractor: remove entryId concept ([#217](https://github.com/lynx-family/lynx-stack/pull/217))

After the PR #198
All contents are isolated by a shadowroot.
Therefore we don't need to add the entryId selector to avoid the lynx-view's style taking effect on the whole page.

### Patch Changes

- feat: `nativeModulesUrl` of lynx-view is changed to `nativeModulesMap`, and the usage is completely aligned with `napiModulesMap`. ([#220](https://github.com/lynx-family/lynx-stack/pull/220))

"warning: This is a breaking change."

`nativeModulesMap` will be a map: key is module-name, value should be a esm url which export default a
function with two parameters(you never need to use `this`):

- `NativeModules`: oriented `NativeModules`, which you can use to call
other Native-Modules.

- `NativeModulesCall`: trigger `onNativeModulesCall`, same as the deprecated `this.nativeModulesCall`.

example:

```js
const nativeModulesMap = {
CustomModule: URL.createObjectURL(
new Blob(
[
`export default function(NativeModules, NativeModulesCall) {
return {
async getColor(data, callback) {
const color = await NativeModulesCall('getColor', data);
callback(color);
},
}
};`,
],
{ type: 'text/javascript' },
),
),
};
lynxView.nativeModulesMap = nativeModulesMap;
```

In addition, we will use Promise.all to load `nativeModules`, which will optimize performance in the case of multiple modules.

- Updated dependencies []:
- @lynx-js/web-worker-rpc@0.9.0

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-platform/web-constants/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/web-constants",
"version": "0.8.0",
"version": "0.9.0",
"private": false,
"description": "",
"keywords": [],
Expand Down
56 changes: 56 additions & 0 deletions packages/web-platform/web-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
# @lynx-js/web-core

## 0.9.0

### Minor Changes

- feat: `nativeModulesUrl` of lynx-view is changed to `nativeModulesMap`, and the usage is completely aligned with `napiModulesMap`. ([#220](https://github.com/lynx-family/lynx-stack/pull/220))

"warning: This is a breaking change."

`nativeModulesMap` will be a map: key is module-name, value should be a esm url which export default a
function with two parameters(you never need to use `this`):

- `NativeModules`: oriented `NativeModules`, which you can use to call
other Native-Modules.

- `NativeModulesCall`: trigger `onNativeModulesCall`, same as the deprecated `this.nativeModulesCall`.

example:

```js
const nativeModulesMap = {
CustomModule: URL.createObjectURL(
new Blob(
[
`export default function(NativeModules, NativeModulesCall) {
return {
async getColor(data, callback) {
const color = await NativeModulesCall('getColor', data);
callback(color);
},
}
};`,
],
{ type: 'text/javascript' },
),
),
};
lynxView.nativeModulesMap = nativeModulesMap;
```

In addition, we will use Promise.all to load `nativeModules`, which will optimize performance in the case of multiple modules.

- refractor: remove entryId concept ([#217](https://github.com/lynx-family/lynx-stack/pull/217))

After the PR #198
All contents are isolated by a shadowroot.
Therefore we don't need to add the entryId selector to avoid the lynx-view's style taking effect on the whole page.

### Patch Changes

- fix: When the width and height of lynx-view are not auto, the width and height of the `lynx-tag="page"` need to be correctly set to 100%. ([#228](https://github.com/lynx-family/lynx-stack/pull/228))

- Updated dependencies [[`5b5e090`](https://github.com/lynx-family/lynx-stack/commit/5b5e090fdf0e896f1c38a49bf3ed9889117c4fb8), [`d2d55ef`](https://github.com/lynx-family/lynx-stack/commit/d2d55ef9fe438c35921d9db0daa40d5228822ecc)]:
- @lynx-js/web-worker-runtime@0.9.0
- @lynx-js/web-constants@0.9.0
- @lynx-js/web-worker-rpc@0.9.0

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-platform/web-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/web-core",
"version": "0.8.0",
"version": "0.9.0",
"private": false,
"description": "",
"keywords": [],
Expand Down
10 changes: 10 additions & 0 deletions packages/web-platform/web-elements/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @lynx-js/web-elements

## 0.5.0

### Minor Changes

- feat(web): The list element supports list-type with **flow**. ([#240](https://github.com/lynx-family/lynx-stack/pull/240))

It supports all attributes and events under single, and also provides `full-span`.

For detailed usage, please refer to the official website.

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-platform/web-elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/web-elements",
"version": "0.4.0",
"version": "0.5.0",
"private": false,
"repository": {
"type": "git",
Expand Down
15 changes: 15 additions & 0 deletions packages/web-platform/web-mainthread-apis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @lynx-js/web-mainthread-apis

## 0.9.0

### Minor Changes

- refractor: remove entryId concept ([#217](https://github.com/lynx-family/lynx-stack/pull/217))

After the PR #198
All contents are isolated by a shadowroot.
Therefore we don't need to add the entryId selector to avoid the lynx-view's style taking effect on the whole page.

### Patch Changes

- Updated dependencies [[`5b5e090`](https://github.com/lynx-family/lynx-stack/commit/5b5e090fdf0e896f1c38a49bf3ed9889117c4fb8), [`d2d55ef`](https://github.com/lynx-family/lynx-stack/commit/d2d55ef9fe438c35921d9db0daa40d5228822ecc)]:
- @lynx-js/web-constants@0.9.0

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-platform/web-mainthread-apis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/web-mainthread-apis",
"version": "0.8.0",
"version": "0.9.0",
"private": false,
"description": "",
"keywords": [],
Expand Down
2 changes: 2 additions & 0 deletions packages/web-platform/web-worker-rpc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @lynx-js/web-worker-rpc

## 0.9.0

## 0.8.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-platform/web-worker-rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/web-worker-rpc",
"version": "0.8.0",
"version": "0.9.0",
"private": false,
"description": "",
"keywords": [],
Expand Down
Loading