Skip to content

Releases: alineacms/alinea

v0.1.17

03 Aug 08:15
Compare
Choose a tag to compare
  • The alinea serve command will try another port if the chosen port is in use
    (#179)
  • Avoid duplicate entries after publishing in the development server (#214)
  • The generated types for pages depended on a type that would be namespaced
    when using typeNamespace. It did not take the namespace into account, but
    does now.
  • The connection with Alinea Cloud should now handle previewing drafts
    correctly.

v0.1.16

29 Jul 15:35
Compare
Choose a tag to compare
  • Alinea Cloud can now handle relative urls & authentication is automatically
    redirected.

v0.1.15

28 Jul 14:37
Compare
Choose a tag to compare
  • The alinea cli will now forward commands placed after the serve or generate
    commands. It will wait until the alinea package is generated before doing so
    to make sure userland code can always depend on the package being available.
    It also simplifies running the dashboard and development server without
    requiring tools like npm-run-all. In practice, for a next.js website, this
    means one can configure scripts like so:

    {
      "scripts": {
        "dev": "alinea serve -- next dev",
        "build": "alinea generate -- next build"
      }
    }

v0.1.14

28 Jul 09:20
Compare
Choose a tag to compare
  • Fix missing dependencies in the dashboard package

v0.1.13

28 Jul 08:50
Compare
Choose a tag to compare
  • Added a button to mark text as small within the rich text editor

  • New UI buttons to insert rows in any position in a list field

  • User preferences get a dedicated popover

  • Previews can register a listener and implement their own refetch mechanism.
    The communication happens via messages which work cross-origin.

    // For any environment
    import {registerPreview} from '@alinea/preview'
    registerPreview({
      refetch() {
        // Reload server data
      }
    })
    // A react hook is available
    import {usePreview} from '@alinea/preview/react'
    const {isPreviewing} = usePreview({
      refetch() {
        // Reload server data & redraw
      }
    })
    // A hook specifically for next.js, which refetches static/server props
    import {useNextPreview} from '@alinea/preview/next'
    const {isPreviewing} = useNextPreview()

v0.1.12

25 Jul 15:13
Compare
Choose a tag to compare
  • Previous release contained a few debug logs which are removed.
  • Hard breaks (shift + enter) will be rendered as break in the RichText
    component.

v0.1.11

21 Jul 08:51
Compare
Choose a tag to compare
  • Tested and fixed the integration with Alinea Cloud for drafts and publishing
    content.

v0.1.10

18 Jul 08:20
Compare
Choose a tag to compare
  • Avoid errors during the serve command that would stop the process with
    "memory access out of bounds".
  • Detect if we're serving a preview cross origin and cannot use the iframe's
    history. If so we adjust the UI to hide the back/forward buttons and change
    the reload button to refresh the iframe source instead of a history reload.

v0.1.9

15 Jul 08:48
Compare
Choose a tag to compare
  • Log errors during CLI builds
  • Use a more stable local drafts implementation

v0.1.8

06 Jul 16:04
Compare
Choose a tag to compare
  • Add the MIT license
  • Use internal router, removing the Express.js dependency for the CLI, reducing
    the overall install size