v0.4.0

blakeblackshear/frigatev0.4.0Aug 28, 2015by koistya

AI Summary

This release represents a significant architectural overhaul, removing Gulp and Flux in favor of custom build scripts and modern CSS tooling. It focuses on simplifying the build process and optimizing server-side rendering performance.

Key Highlights

  • Migrated build system from Gulp to custom JavaScript scripts
  • Removed Flux architecture (actions/stores) and LESS in favor of PostCSS
  • Implemented an isomorphic HTTP client and improved server-side rendering logic
  • Refactored content page loading and removed Database.js

Breaking Changes

  • Removed Gulp build system
  • Removed Flux actions and stores
  • Removed LESS in favor of PostCSS
  • Removed Database.js file
  • Changed DOM mounting point from document.body to div#app

New Features

  • Custom JavaScript-based build automation
  • Isomorphic HTTP client using superagent
  • RESTful API sample routes
  • Critical CSS pre-rendering

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