Skip to content

Releases: ggoodman/nostalgie

v0.72.0

11 Feb 21:46
Compare
Choose a tag to compare

Changed

  • Synced dependencies.

Fixed

  • Reintegrated @twind/shim/server now that it performs non-destructive edits to the markup apart from the class attribute values. Bonus: the markup parsing and augmentation is 50% faster.
  • Forced react, react-dom, @types/react-dom and @types/react-dom-server into peerDependencies 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

11 Feb 03:22
Compare
Choose a tag to compare

Added

  • Added support for picking among first-party create-nostalgie-app templates. With this release, we include javascript and typescript.
  • 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's shim() function because this was causing browser hydration warnings due to minor changes in whitespace.

v0.70.0

11 Feb 01:15
Compare
Choose a tag to compare

Changed

  • Change robots.text from Disallow: / 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

10 Feb 14:55
Compare
Choose a tag to compare

Fixed

  • Removed debug logs accidentally shipped in 0.69.3.

v0.69.3

10 Feb 02:55
Compare
Choose a tag to compare

Fixed

  • Fixed the orchestration of the different build steps so that the node server will not attempt to start until the SSR library is ready.

    Also wired up the internal build throttling mechanism that was present but unused.

v0.69.2

08 Feb 03:27
Compare
Choose a tag to compare

Changed

  • Bumped dependencies:

    • joi@17.4.0
    • react-query@3.8.2

Fixed

  • Fixed obvious (in retrospect) XSS vector in using JSON.stringify to encode initial boostrap data into the initial html markup. This is corrected by using jsesc to safely encode data for embedding in a script tag.

v0.69.1

06 Feb 19:06
Compare
Choose a tag to compare

Changed

  • Bumped dependencies:

    • react-query to 3.8.0.
    • blob-polyfill to 5.0.20210201

v0.69.0

06 Feb 02:29
Compare
Choose a tag to compare

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

05 Feb 21:11
Compare
Choose a tag to compare

Fixed

  • Run npm publish correctly in ./dist.

v0.68.4

05 Feb 21:07
Compare
Choose a tag to compare

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 to nostalgie/internal/renderer to better reflect purpose.