Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #3706

Open
wants to merge 1 commit into
base: v11
Choose a base branch
from
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
10 changes: 0 additions & 10 deletions .changeset/great-melons-refuse.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-melons-crash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-spies-crash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-islands-listen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-cars-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-bats-taste.md

This file was deleted.

24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# preact

## 11.0.0

### Major Changes

- [#3363](https://github.com/preactjs/preact/pull/3363) [`ea9b8da1`](https://github.com/preactjs/preact/commit/ea9b8da180b66490e99cfbc6b103d178436b31b8) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - - `[MAJOR]` Deprecated `component.base`
- `[MAJOR]` Remove `replaceNode`, [use this technique instead](https://gist.github.com/developit/f321a9ef092ad39f54f8d7c8f99eb29a)
- `[MAJOR]` Removed select `<option>` fix for IE11, using select in IE11 will always require you to specify a `value` attribute
- `[MAJOR]` Removed automatic suffixing of `px` to dimensional style attributes
- `[MINOR]` Add `createRoot` API
- `[MAJOR]` Change `options._hook` to get an internal passed in (devtools)

* [#3366](https://github.com/preactjs/preact/pull/3366) [`5a6f0367`](https://github.com/preactjs/preact/commit/5a6f0367e8c8d77b3c87488ee5e67e52483dd19a) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Move `defaultProps` handling to preact/compat

### Minor Changes

- [#3408](https://github.com/preactjs/preact/pull/3408) [`436afec3`](https://github.com/preactjs/preact/commit/436afec3ab8993fecaaf326b89e1c1e2e9d51c01) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Move `createPortal` to the core package

* [#3480](https://github.com/preactjs/preact/pull/3480) [`3bb6f6ed`](https://github.com/preactjs/preact/commit/3bb6f6ed1dc189da0b30385a4d60c96070f513df) Thanks [@marvinhagemeister](https://github.com/marvinhagemeister)! - Add `preact/server` entry to the core package

- [#3484](https://github.com/preactjs/preact/pull/3484) [`64d0f823`](https://github.com/preactjs/preact/commit/64d0f823e21f7254e2fe8ff94dc53d8a9d1cadfc) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Remove memory leak warning from debug

* [#3598](https://github.com/preactjs/preact/pull/3598) [`c0273909`](https://github.com/preactjs/preact/commit/c027390949420de18dd91bca7b7b00a9b388e790) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Add the React 18 hooks
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "preact",
"amdName": "preact",
"version": "11.0.0-beta",
"version": "11.0.0",
"private": false,
"description": "Fast 3kb React-compatible Virtual DOM library.",
"main": "dist/preact.js",
Expand All @@ -21,76 +21,76 @@
"Samsung>=8.2",
"not dead"
],
"sideEffects": [
"./compat/**/*",
"./debug/**/*",
"./devtools/**/*",
"./hooks/**/*",
"./test-utils/**/*"
],
"sideEffects": [
"./compat/**/*",
"./debug/**/*",
"./devtools/**/*",
"./hooks/**/*",
"./test-utils/**/*"
],
"exports": {
".": {
"types": "./src/index.d.ts",
"types": "./src/index.d.ts",
"module": "./dist/preact.mjs",
"import": "./dist/preact.mjs",
"require": "./dist/preact.js",
"umd": "./dist/preact.umd.js"
},
"./compat": {
"types": "./compat/src/index.d.ts",
"types": "./compat/src/index.d.ts",
"module": "./compat/dist/compat.mjs",
"import": "./compat/dist/compat.mjs",
"require": "./compat/dist/compat.js",
"umd": "./compat/dist/compat.umd.js"
},
"./debug": {
"types": "./debug/src/index.d.ts",
"types": "./debug/src/index.d.ts",
"module": "./debug/dist/debug.mjs",
"import": "./debug/dist/debug.mjs",
"require": "./debug/dist/debug.js",
"umd": "./debug/dist/debug.umd.js"
},
"./devtools": {
"types": "./devtools/src/index.d.ts",
"types": "./devtools/src/index.d.ts",
"module": "./devtools/dist/devtools.mjs",
"import": "./devtools/dist/devtools.mjs",
"require": "./devtools/dist/devtools.js",
"umd": "./devtools/dist/devtools.umd.js"
},
"./hooks": {
"types": "./hooks/src/index.d.ts",
"types": "./hooks/src/index.d.ts",
"module": "./hooks/dist/hooks.mjs",
"import": "./hooks/dist/hooks.mjs",
"require": "./hooks/dist/hooks.js",
"umd": "./hooks/dist/hooks.umd.js"
},
"./test-utils": {
"types": "./test-utils/src/index.d.ts",
"types": "./test-utils/src/index.d.ts",
"module": "./test-utils/dist/testUtils.mjs",
"import": "./test-utils/dist/testUtils.mjs",
"require": "./test-utils/dist/testUtils.js",
"umd": "./test-utils/dist/testUtils.umd.js"
},
"./jsx-runtime": {
"types": "./jsx-runtime/src/index.d.ts",
"types": "./jsx-runtime/src/index.d.ts",
"module": "./jsx-runtime/dist/jsxRuntime.mjs",
"import": "./jsx-runtime/dist/jsxRuntime.mjs",
"require": "./jsx-runtime/dist/jsxRuntime.js",
"umd": "./jsx-runtime/dist/jsxRuntime.umd.js"
},
"./jsx-dev-runtime": {
"types": "./jsx-runtime/src/index.d.ts",
"types": "./jsx-runtime/src/index.d.ts",
"module": "./jsx-runtime/dist/jsxRuntime.mjs",
"import": "./jsx-runtime/dist/jsxRuntime.mjs",
"require": "./jsx-runtime/dist/jsxRuntime.js",
"umd": "./jsx-runtime/dist/jsxRuntime.umd.js"
},
"./compat/client": {
"./compat/client": {
"import": "./compat/client.mjs",
"require": "./compat/client.js"
},
"./compat/server": {
"browser": "./compat/server.browser.js",
"browser": "./compat/server.browser.js",
"module": "./compat/server.mjs",
"import": "./compat/server.mjs",
"require": "./compat/server.js"
Expand Down Expand Up @@ -211,7 +211,7 @@
"compat/server.js",
"compat/server.browser.js",
"compat/server.mjs",
"compat/client.js",
"compat/client.js",
"compat/client.mjs",
"compat/test-utils.js",
"compat/jsx-runtime.js",
Expand Down