v0.4.0

HumanAIGC/Cloth2Texv0.4.0Aug 28, 2015by koistya

AI Summary

This release focuses on modernizing the build process, removing legacy dependencies, and improving server-side rendering capabilities by shifting to custom automation and PostCSS.

Key Highlights

  • Migration from Gulp to custom JavaScript-based build automation scripts
  • Removal of Flux architecture (actions and stores) to reduce overhead
  • Removal of LESS in favor of plain CSS via PostCSS and cssnext
  • Introduction of an isomorphic HTTP client based on superagent
  • Improved server-side rendering logic and DOM structure

Breaking Changes

  • Removal of Gulp build system
  • Removal of Flux actions and stores
  • Removal of LESS preprocessor
  • Removal of Database.js file
  • Change in rendering target from document.body to <div id="app">

New Features

  • Custom JavaScript build automation
  • Integration of react-routing and history modules
  • Basic isomorphic HTTP client
  • RESTful API sample routes based on Express
  • Pre-rendering of critical CSS

Full Release Notes

- Remove Gulp in favor of custom JavaScript-based build automation scripts
- Integrate `react-routing` and `history` npm modules
- Remove Flux actions, stores to reduce unnecessary overload
- Refactor the way content pages (About Us, Privacy etc.) are loaded into the app
- Add basic version of an "isomorphic" HTTP client based on `superagent` (see `src/core/HttpClient.js`)
- Remove LESS in favor of plain CSS via `PostCSS`, `cssnext`
- Get rid of Uglifyjs warnings during build in `release` mode
- Remove `Database.js` file to reduce overload and simplify server-side rendering
- Compile static files into the `build/public` folder
- Add a couple of RESTful API sample routes based on Express (see `src/api/*.js`)
- Pre-render critical CSS on the initial page load to deal with FOUC
- Render the top level component to `<div id="app"></div>` instead of `document.body`
- Improve server-side rendering logic
- Improve documentation
- Update dot files with project settings for text editors and IDEs