nextron icon indicating copy to clipboard operation
nextron copied to clipboard

2024 Roadmaps - I'm back! (again)

Open saltyshiomix opened this issue 1 year ago • 29 comments

I'm back!

Suffering from bipolar disorder, I was unable to maintain nextron for over 1 year. Medication has allowed me to be somewhat more active, and I will be gradually improving this project.

I would like to thank everyone who has supported nextron so far:

  • All stargazers
  • All used by
  • All contributers
  • All collaborators
  • All sponsors

Thank you very much for your continued support.

Roadmaps

  • https://github.com/saltyshiomix/nextron/issues/398

v8.13.0 - 2024/2/3

  • Library updates
  • Examples
    • Add basic-lang-javascript-python example
      • https://github.com/saltyshiomix/nextron/pull/428
  • Bug fixes
    • https://github.com/saltyshiomix/nextron/pull/430

v8.14.0 - 2024/4/14

  • Support Next.js v13 🎉
  • Examples
    • Add with-next-i18next example
      • https://github.com/saltyshiomix/nextron/issues/169
      • https://github.com/saltyshiomix/nextron/pull/441

v8.15.0 - 2024/4/14

  • Library updates
  • Check whole example
  • Update docs

v8.24.0 - 2024/6/16

  • Support Next.js v12 - v14 🎉
  • Library updates
  • Check whole example

v9.0.0 (officially support Next.js v14) - 2024/6/16

  • Next.js v14 support 🎉
    • https://github.com/saltyshiomix/nextron/issues/296
    • https://github.com/saltyshiomix/nextron/issues/339
    • https://github.com/saltyshiomix/nextron/issues/399
    • https://github.com/saltyshiomix/nextron/discussions/393

v9.1.0 (upcoming)

  • Examples
    • Add with-persistant-logger example
      • https://github.com/saltyshiomix/nextron/pull/356
  • Enhancement
    • https://github.com/saltyshiomix/nextron/issues/247
    • https://github.com/saltyshiomix/nextron/issues/377
  • Documentation
    • SSR support? No.
      • https://github.com/saltyshiomix/nextron/issues/263
      • https://github.com/saltyshiomix/nextron/issues/86
      • https://github.com/saltyshiomix/nextron/issues/213
    • Api routes? No.
      • https://github.com/saltyshiomix/nextron/issues/214
      • https://github.com/saltyshiomix/nextron/issues/327
      • https://github.com/saltyshiomix/nextron/issues/119
      • https://github.com/saltyshiomix/nextron/issues/61

Examples

  • Add with-next-ui example
    • https://github.com/saltyshiomix/nextron/issues/391
  • Environment variables
    • https://github.com/saltyshiomix/nextron/issues/188
    • https://github.com/saltyshiomix/nextron/issues/128
    • https://github.com/saltyshiomix/nextron/issues/157
  • Working with databases
    • https://github.com/saltyshiomix/nextron/issues/175
    • https://github.com/saltyshiomix/nextron/issues/253
    • https://github.com/saltyshiomix/nextron/issues/386
    • https://github.com/saltyshiomix/nextron/issues/363
  • End to end testing
    • https://github.com/saltyshiomix/nextron/issues/260
  • Electron Forge
  • https://github.com/saltyshiomix/nextron/issues/376
  • https://github.com/saltyshiomix/nextron/issues/378
  • https://github.com/saltyshiomix/nextron/issues/395
  • https://github.com/saltyshiomix/nextron/issues/381
  • https://github.com/saltyshiomix/nextron/issues/94

MEMO

Bug Fixes

  • https://github.com/saltyshiomix/nextron/issues/170
  • https://github.com/saltyshiomix/nextron/issues/241
  • https://github.com/saltyshiomix/nextron/issues/121
  • https://github.com/saltyshiomix/nextron/issues/168
  • https://github.com/saltyshiomix/nextron/issues/291
  • https://github.com/saltyshiomix/nextron/issues/307

Help Wanted

  • https://github.com/saltyshiomix/nextron/issues/141
  • https://github.com/saltyshiomix/nextron/issues/132
  • https://github.com/saltyshiomix/nextron/issues/336

Documentation

  • Why nextron?
    • https://github.com/saltyshiomix/nextron/issues/92
    • https://github.com/saltyshiomix/nextron/issues/233

FYI

  • https://github.com/saltyshiomix/nextron/discussions/244
  • Useful references: https://github.com/vercel/next.js/tree/canary/examples

saltyshiomix avatar Feb 03 '24 00:02 saltyshiomix

Happy to see you back. I hope you get safe soon!

bm777 avatar Feb 03 '24 08:02 bm777

Thank you, @bm777 !

I'll try my best :)

saltyshiomix avatar Feb 03 '24 08:02 saltyshiomix

Welcome back! But please do take care of yourself!

kentbetita avatar Feb 05 '24 03:02 kentbetita

Thank you for your kindness, @kentbetita !

I'll prepare for next major release :)

saltyshiomix avatar Feb 11 '24 11:02 saltyshiomix

I apologize for the very slow work on support Next.js v14. I'm preparing it little by little, so please wait a little longer.

saltyshiomix avatar Feb 11 '24 11:02 saltyshiomix

I have been looking forward to it for a long time

Pai-Po avatar Feb 20 '24 03:02 Pai-Po

Happy to see you back, hope you feel a whole lot better ! 😄

Psycokwet avatar Feb 26 '24 07:02 Psycokwet

Welcome back, u are already an inspiration

Stancobridge avatar Apr 01 '24 22:04 Stancobridge

Please do take good care of yourself, god bless you🙏🙏

DOROMOLLL avatar Apr 08 '24 03:04 DOROMOLLL

@Pai-Po

Sorry for late work 🙇

I'll definitely release nextron v9 (Next.js v14 support)!

saltyshiomix avatar Apr 14 '24 13:04 saltyshiomix

@Psycokwet Thank you for your kindness. You're always a great help!

saltyshiomix avatar Apr 14 '24 13:04 saltyshiomix

Thank you, @Stancobridge !

Thank you for putting it that way 🙇

saltyshiomix avatar Apr 14 '24 13:04 saltyshiomix

@DOROMOLLL

Thank you very much!

Day by day, I feel better and better 👍

saltyshiomix avatar Apr 14 '24 13:04 saltyshiomix

CC: @Pai-Po @Psycokwet @Stancobridge @DOROMOLLL

Just released nextron v5.15.0, which supports Next.js v13 🎉

Next.js v14 support is coming soon 🙇

saltyshiomix avatar Apr 14 '24 13:04 saltyshiomix

Next.js v14 support? 🙏🏻

200

mccombs avatar Apr 30 '24 00:04 mccombs

@saltyshiomix when you have planned the to release the next version of nextron with support for next js 14? .

We need this update please 🙏.

noevermaurice avatar May 27 '24 19:05 noevermaurice

@noevermaurice Thank you for mention me. I want to support Next v14 - v15 this month!

saltyshiomix avatar May 28 '24 12:05 saltyshiomix

@saltyshiomix I am so hyped.

Will nextron support turbopack for dev builds??

And in future will it support turbpack production build?

noevermaurice avatar Jun 01 '24 09:06 noevermaurice

Welcome back Shiono! Your efforts are hugely appreciated by all of us in the community.

ph33nx avatar Jun 03 '24 18:06 ph33nx

@bm777 @kentbetita @Pai-Po @Psycokwet @Stancobridge @DOROMOLLL @mccombs @noevermaurice

Sorry for late reply and inconvenience.

I just released nextron v9.0.0, which supports next.js v13 and v14 🎉 If you have time, please try it :)


NOTE:

Please update renderer/next.config.js as belows:

module.exports = {
  output: 'export',
  // we want to change distDir to "app" so as nextron can build the app in production mode!
  distDir: process.env.NODE_ENV === 'production' ? '../app' : '.next',
  trailingSlash: true,
  images: {
    unoptimized: true,
  },
}

saltyshiomix avatar Jun 16 '24 07:06 saltyshiomix

@saltyshiomix i have testet nextron v9 with next js 14.2.4.

when i use "electron": "^21.4.4", "electron-builder": "^23.3.3",

than the yarn dev works fine but when i use 

"buildmac": "nextron build --universal",

yarn buildmac the app will build but when i launch the app on my m1 macbook i get only a empty body and a white window. 

When i use 
 "electron": "^31.0.1",
"electron-builder": "^24.13.3",

than with yarn dev i get a white window with this logs in the console. 

node:electron/js2c/renderer_init:2 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security

Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks.

For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged.

and the buildmac get a white window without any logs or error on the page.

How i can i solve these problems can you help me @saltyshiomix please.

noevermaurice avatar Jun 18 '24 07:06 noevermaurice

@noevermaurice Thank you for reporting issues! Could you tell me renderer/next.config.js?

saltyshiomix avatar Jun 18 '24 08:06 saltyshiomix

@noevermaurice

Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security

This will show up when running dev mode by Next.js, so we can ignore it safely :)

saltyshiomix avatar Jun 18 '24 08:06 saltyshiomix

@noevermaurice

"buildmac": "nextron build --universal" yarn buildmac the app will build but when i launch the app on my m1 macbook i get only a empty body and a white window.

I tried to build it but found no reproduces.

Could you tell me renderer/next.config.js?

Nextron v9 expects this to:

module.exports = {
  output: 'export',
  distDir: process.env.NODE_ENV === 'production' ? '../app' : '.next',
  // ...
}

saltyshiomix avatar Jun 18 '24 08:06 saltyshiomix

Yes of corse, there is my package json and my next js config

{
  "private": true,
  "name": "checknotespro",
  "description": "Checknotes pro",
  "version": "0.1.0",
  "author": "Maurice Noever",
  "main": "app/background.js",
  "scripts": {
    "dev": "nextron",
    "build": "nextron build",
    "buildmac": "nextron build --universal",
    "postinstall": "electron-builder install-app-deps",
    "lint": "yarn eslint . --ext .js,.jsx,.ts,.tsx"
  },
  "dependencies": {
    "@types/sortablejs": "^1.15.8",
    "axios": "^1.7.2",
    "dotenv": "^16.4.5",
    "electron-serve": "^1.3.0",
    "electron-store": "^8.2.0",
    "node-schedule": "^2.1.1",
    "pako": "^2.1.0",
    "react-icons": "^4.12.0",
    "react-sortablejs": "^6.1.4",
    "sass": "^1.77.5",
    "sortablejs": "^1.15.2",
    "uuid": "^9.0.1"
  },
  "devDependencies": {
    "@types/node": "^20.14.5",
    "@types/react": "^18.3.3",
    "@typescript-eslint/eslint-plugin": "^7.12.0",
    "@typescript-eslint/parser": "^7.12.0",
    "autoprefixer": "^10.4.19",
    "electron": "^21.4.4",
    "electron-builder": "^23.3.3",
    "eslint": "^8.57.0",
    "eslint-config-next": "^13.5.4",
    "eslint-plugin-es": "^4.1.0",
    "eslint-plugin-next": "^0.0.0",
    "eslint-plugin-react": "^7.34.2",
    "eslint-plugin-react-hooks": "^4.6.2",
    "eslint-plugin-unicorn": "^53.0.0",
    "next": "^14.2.4",
    "nextron": "^9.1.0",
    "postcss": "^8.4.38",
    "prettier": "^3.3.2",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "tailwindcss": "^3.4.4",

    "typescript": "^5.4.5"
  }
}

// next js config

const path = require('path');
require('dotenv').config({ path: path.resolve(process.cwd(), '.env.local') });

module.exports = {
  output: 'export',
  // we want to change distDir to "app" so as nextron can build the app in production mode!
  distDir: process.env.NODE_ENV === 'production' ? '../app' : '.next',
  trailingSlash: true,
  images: {
    unoptimized: true,
  },
}

noevermaurice avatar Jun 18 '24 08:06 noevermaurice

@noevermaurice

Ok, I'll investigate it :)

saltyshiomix avatar Jun 18 '24 08:06 saltyshiomix

@noevermaurice

I tried it but I can't find any problems you met.

I tried:

  • install your deps above
  • yarn buildmac
  • open dist production app => correct home page shown

saltyshiomix avatar Jun 18 '24 09:06 saltyshiomix

@noevermaurice Could you make a GitHub issue? I want to talk with you in the issue :)

saltyshiomix avatar Jun 18 '24 09:06 saltyshiomix