Releases: ggoodman/nostalgie
v0.72.0
Changed
- Synced dependencies.
Fixed
- Reintegrated
@twind/shim/server
now that it performs non-destructive edits to the markup apart from theclass
attribute values. Bonus: the markup parsing and augmentation is 50% faster. - Forced
react
,react-dom
,@types/react-dom
and@types/react-dom-server
intopeerDependencies
using a range compatible with>= 16.8.0
or>= 17.0.0
. It remains to be seen if putting the types in peer dependencies is beneficial or a point of friction.
v0.71.0
Added
- Added support for picking among first-party
create-nostalgie-app
templates. With this release, we includejavascript
andtypescript
. - Added a simple (but fun) Server Function to the default templates. This function demonstrates using the
useQueryFunction
hook with a Server Function. The hook is configured to keep the initial, server-rendered value for 5s and then cycle every 5s.
Changed
- Changed default
create-nostalgie-app
to use the JavaScript template.
Fixed
- Reverted treating all files as externals for server functions (for now) because that seemed to break the entrypoint resolution.
- Stopped using the serialized output from
@twind/shim/server
'sshim()
function because this was causing browser hydration warnings due to minor changes in whitespace.
v0.70.0
Changed
-
Change
robots.text
fromDisallow: /
to allowing everything but/.nostalgie
endpoints. This is a temporary measure to allow Nostalgie sites to be crawled.A likely future direction is to put this file totally in the hands of users via some
./public
directory feature. The./public
directory approach seems to be the idiomatic solution in the wild. However, it's unclear if that's the best solution. Nostalgie will already copy and include assets referenced by JavaScript code in builds.
v0.69.4
v0.69.3
v0.69.2
v0.69.1
v0.69.0
Added
-
Added
create-nostalgie-app
, the easiest way to scaffold out a new Nostalgie project.With a simple
npx create-nostalgie-app my-app
you have a fully-functioning Nostalgie app in less than 30 seconds.
Changed
-
Increased logging during build and forced clean exit upon completion.
There is some, as-yet-unknown handle keeping Node's event loop alive. To work around that, we're forcing exit via
process.exit(0)
when the build completes. -
Switch to requirin
npm@7
during development to prepare for using workspaces.
v0.68.5
v0.68.4
Added
- Added detailed Contribution guidelines to help newcomers get acquainted with Nostalgie's architecture and codebase.
- Publish releases of Nostalgie automatically, triggered by GitHub releases.
Changed
- Renamed
nostalgie/internal/server
tonostalgie/internal/renderer
to better reflect purpose.