-
New: Add the Authorization header identifier in the middleware after login.
-
New: Add App Router Template and save Pages Router Template.
- rename the folder
pages
to@pages
- add new folder
app
- To enable Pages Router, you need to rename the folder
@pages
topages
, and deleteapp
- remove hook
useSafePush
- rename the folder
-
Tweak:
next/router
migrated tonext/navigation
, adapted to page and app router. -
Tweak: remove demo of dynamic component using
next/dynamic
. -
Tweak: Other optimizations.
- New: Add a demo page of Markdown Render.
- New: update
cache
utils of Nodejs and addrequest.js
of axios. - New: Add a guide of Migrating from Pages Router to App Router.
- Upgraded: Update Dockerfile.
- Upgraded: Update the cache and compression sample code for the node service
-
New: Add HTML/CSS/JS checker to the node service.
-
New: Add some new custom hooks:
useKeyPress()
useAutosizeTextArea()
useClickOutside()
useDraggable()
- ...
-
Fixed: JWT scripts from nodejs.
- Upgraded: nextjs to 4.2.2+.
- New: Added some minor utilities.
- Tweak: Change some files via ESM.
- Fix: fixed some bugs for "output: export".
- Tweak: Upgrade to next 14+.
- New: add some new utilities.
- Tweak: Roll back to nextjs 13.0.0, compatible with previous HTML export.
⚠️ Nextjs 14+ has export compatibility issues with some configurations of this project and current nextjs will not be updated yet.⚠️ This project is compatible with nextjs 14+, however, if you don't need to use the "Exporting Pure HTML Static Files", you can directly upgrade to next 14+
- New: Add general component
<Avatar />
. - New: Add
src/interfaces
. - Refact: Using auth hooks (using createContext & useReducer) to control all components.
- New: Add a new custom hook
useEffectOnce()
to avoid StrictMode renders components twice on development mode.
- New: Authentication of Microservices.
- Tweak: Optimize SSR scripts.
- Tweak: Optimize some node services.
- New: API Supplement.
- Tweak: Node services optimization and performance fixes.
- Feat: Refactored Node services.
- New: Add some node services.
- New: Add Request Cache demo.
- Tweak: Code optimization and performance fixes.
- Tweak: Upgrade next.js to 13.4.x.
- Tweak: Update documentation of Docker deployment.
- Tweak: Enhanced usage of Redux's Store.
-
New: Let custom server support socket.io.
- custom server file of nextjs
server.js
- socket server file
backend/server-socket.js
- custom server file of nextjs
-
New: add a new utility of shuffle.
-
Fix: fixed some minor issues for utilities
- Tweak: update Node scripts for server-side.
- New: add a new utility of color.
- Tweak: update repackage scripts
- New: Add a new tool script to bind the Enter key
- New: Add language generated scripts
- Tweak: update translation script
- Tweak: Modify the tool that listens to the Enter key
- Tweak: Modify the architecture of CoreUtils
- Fix:fix a bug for CoreUtils
- Fix: Fixed cross domain issue in express service.
-
New: Using Redux for navigation API.
- The new dependencies include
redux
,react-redux
,redux-thunk
,next-redux-wrapper
- Related pages include
src/store/
,src/components/Header/
,src/components/Layout/
,pages/_app.tsx
,pages/api/navigation.ts
- Related components include
<Header />
,<Layout />
- The new dependencies include
-
New: Add new components
<MultilevelDropdownMenuProps />
,<Loader />
and<Layout />
. -
Feat: All page code optimization and partial Layout refactoring
- New: Added new script that allows configuring the root directory of publishing source.
- New: Added the file
ecosystem.config.js
and modified the PM2 script.
- New: Added some small tools for parsing HTML source code.
- Tweak: Updated some Node scripts.
- Tweak: Adjusted some dependencies.
- Tweak: Some updates using nodejs as server side.
-
New: Added configuration for deploying with Docker.
- change
next.config.js
- add
Dockerfile
&.dockerignore
- change
-
New: Added an example using dynamic component imports.
-
New: Added examples of dynamic routing API.
- Tweak: some minor optimizations.
- New: Remote resource download support video and audio.
- New: Add general component
<BackToTop />
.
- New: Add Site URL (Root Directory) Configurations.
- Fix: Fix pagination switching.
- Fix: Image matching problem with parameters.
- Fix: Solve problems that may arise when publishing to e.g. Github page
- Fix: Fix JSON content output.
- Fix: Correct query for URL parameters.
- Fix: Fix script for matching image URLs
- Tweak:Optimized sanitize function and content output in JSON format.
- Tweak: Tools to optimize remote downloads.
- Tweak: Fix the parameter passing problem of build CLI.
- New: Download images or other files of the remote API to the local (valid for local testing)
- Tweak: Updated Nextjs to 13+.
- Tweak: Adjust file structure related to user permissions.
- Tweak: Simplified authorization judgment code.
- New: Supports the writing method of executing Node server events according to the route, which can avoid browser blocking.
- New: Navigation support active state.
- Tweak: Updated
<Pagination />
component - New: Defer generating all pages on-demand by custom command.
- New: Common tool library update.
- Tweak: Handling of request errors.
- Fix: Fixed possible warnings for asynchronous requests.
- Fix: Fixed development commands.
- Tweak: Optimized data calling method.
- New: Added API interface to export static pages(Pages generate routes that support HTML suffixes).
- New: Added Node commands
npm run export
,npm run export:test
andnpm run export:fix
- New: Add a CRUD with axios demo on Dashboard page.
- Fix: Fixed a bug in front-end and back-end API communication.
- New: Support for importing SVG files.
- Tweak: Added solutions to problems that may occur when deploying the application on cloud server.
- Tweak: Modified the test path of the API.
- First release.