@npio/internals
Version:
A free visual website editor, powered with your own SolidJS components.
124 lines (77 loc) • 4.74 kB
Markdown
# @npio/internals
## 0.65.1
### Patch Changes
- 04c2663: Fixed `Cannot read properties of undefined` error while reading `import.meta.env.PROD` during project scaffolding.
## 0.65.0
### Minor Changes
- c177fc5: Updated dependencies, especially `@solidjs/start` v1.1 and `vite` v6.1.
### Patch Changes
- 5aaada4: Cleaned up the cli demo seed and added additional example elements.
- d6a0163: The production server now shows a welcome message on start, if no users exist. And 404 Not-Found pages show a link to /admin, only during dev.
## 0.64.1
### Patch Changes
- 942fc21: Updated dependencies.
- 9616b58: Replaced references to nitropage.com with nitropage.org.
## 0.64.0
### Minor Changes
- badf6dd: Added basic support for variable fonts and fonts can now be loaded via a CDN (https://fonts.coollabs.io/).
- d140d26: Slightly improved the logging of server function requests during development.
### Patch Changes
- 10141c8: Removed `createdAt` and `updatedAt` fields from the public data of layouts and revisions.
- bbdf6d0: Updated dependencies.
## 0.63.0
### Minor Changes
- 6fc6c54: Updated the dependencies.
## 0.62.1
- Updated internal dependencies
## 0.62.0
### Minor Changes
- 5e24c7d: Intensely overhauled the user interface:
- Redesigned color palettes and applied colors consistenly
- Aligned the design of interactable elements
- Improved element drag and drop UX
- Reworked login, welcome and dashboard screens
- Reduced junk
- b289716: **BREAKING CHANGE**: Renamed the Slot `editorPadding` prop to `expand` and implemented a new `expand` utility css class that can be used to add temporary padding to blueprint elements.
- 837d1af: Users can now create reusable **layouts**, consisting of multiple elements and other layouts. Such layouts can also have areas for parent-provided content, commonly known as slots.
> `Header`, `Main` and `Footer` slots on the page root are deprecated! Instead the blueprints listed below now include a `Html Tag` setting, allowing semantic HTML maximalists to specify any tag they want.
>
> - Card
> - Flex
> - Footer
> - Header
> - Style
- a1c220c: Requests to urls ending with a "/" will now be redirected to non-slash url variants (#124).
- 7f2f291: Deprecated blueprint slot options `max`, `acceptBlueprint`, `acceptParentType` and `acceptParent`, and removed the options from the starter blueprints.
Some of these options might come back, but need to be reworked. The follow up discussion can be found here:
https://codeberg.org/nitropage/nitropage/issues/128.
- be9bf61: **BREAKING CHANGE**: Renamed `name` and `data` props of `Rte` and `Slot` components to `key`.
- 4bb20b9: **BREAKING CHANGE**: Moved the `Rte` `path` prop functionality into the existing `key` prop and overhauled the approach to specify such paths. The new path function receives an object argument with the familiar structure of `props.data`, drastically improving the developer experience of this thing.
Old approach:
```jsx
return <props.Rte path={(d) => d("someData").someDeepValue} />;
```
New approach:
```jsx
return <props.Rte key={(d) => d.someData.someDeepValue} />;
```
- 131e7b7: **BREAKING CHANGE**: Moved `createAdminRoute` and `createPageRoute` exports to `nitropage/routes` and moved `Admin` to `nitropage`. This change fixes some internal issues with circular imports.
**You have to update some project files!** Please read the upgrade notes in the [v0.62](https://nitropage.org/docs/guides/upgrades#v062) docs.
### Patch Changes
- 86e78c6: The fonts upload dialog now only shows supported font types.
## 0.61.0
### Minor Changes
- f2fb6ae: Updated internal dependencies.
## 0.60.0
### Minor Changes
- 5a20493: Updated dependencies, including minor updates for Prisma and Solid.
- 1a8fecd: Syntax errors in blueprints now don't cause the dev-server to crash (regression from v0.59).
Also stopped blueprints with syntax errors from unmounting prematurely. The page editor now renders such blueprints with the last valid component.
## 0.59.0
### Minor Changes
- 90a54e90c9: Focal point image cropping: Keep the important parts when cropping an image.
- 92bfa36bac: SolidStart v1.0, Nitro and Vinxi: Enjoy all new features of the upgraded SolidStart framework.
- a93f79b32b: Global server configuration: One place to configure all internal services.
- b09fa6bc29: Smaller HTML document size: Passive blueprints no longer affected by the double data problem.
- f530eeb: Enabled the `prismaSchemaFolder` setting, separated the Nitropage schema into an own file and renamed the `import-prisma` cli command to `update`.
- 90a54e90c9: Reworked image optimization API: Fewer lines of code for the same result.