1.0.0 (2017-04-27)
- build: fix #777 (9bd7dbd)
- build: fix #955 (#961) (dd63535)
- build: hopefully fix the prod & aot build errors (#753) (7215b0b)
- card: fix #962 (#966) (72cb319)
- components: add css pseudo-selector for dropdown arrow (#848) (1be434b)
- components: add notification and message count from array length (#893) (a8fe3f1)
- dependencies: fix #689, #688 (d34e6e9)
- dependencies: fix angular2-template-loader version (2b25258)
- dependencies: fix versions (62810ae)
- dependencies: fix versions (5523029)
- dependencies: update dependencies, fix #694, fix #695 (08de1f6)
- docker: fix #712 (cd7520e)
- documents: fix #771 (78c70ae)
- editors: fix an issue where ckeditor doesn't load on the demo (0a4f40c)
- forms: bad linking correction between label and input (#886) (bb6ecd3)
- maps: fix #813 (b414eaf)
- menu: fix inactive menu item (2468710)
- package: add the description fields (0d77147)
- sidebar: fix #997 (0a3c98e)
- style: fix #958 (#963) (06d1b98)
- tables: fix #1000 (#1001) (4b98e0e)
- tables: fix #700 (c85eae7)
- tables: fix #704 (0fbad7e)
- theme: fix cards background of blur theme (0528e2e)
- ui: fix NgbModal declaration (49ff10e)
- validator: change email regex to: http://emailregex.com/ (4470607)
- angular-cli: integrate angular-cli 🎉 (#989) (7932421)
- dependencies: update yarn.lock file, fix debugging (cc97bf1)
- layouts: add file uploader (#842) (7d03461)
- localization: implement the localization using ngx-translate (#830) (627d62d)
- login: add the locale changes (#993) (e033edf)
- test: add testing infrastructure: karma, jasmine and chrome (#982) (4420048)
- The webpack version of ng2-admin was moved to webpack branch.
- We dropped the electron support as, unfortunately, angular-cli doesn't have the official support of electron. Please consider using preview 'webpack' (link to webpack branch) version manually.
- Pull the latest ng2-admin version from https://github.com/akveo/ng2-admin.git;
- Copy your src/app, src/assets, src/custom-typings.d.ts from webpack version into src folder in cli version;
- Add each of your required modules and styles into .angular-cli.json;
- Change paths to file(images, fonts, ets);
- Add import * as $ from 'jquery'; into app.component.ts in cli version;
- Delete unused files in cli version: .bootstraprc, postcss.config.js, tsconfig.webpack.js, typedoc.json, webpack.config.js, config/, docs/, src/custom-typings.d.ts, desktop, ts, src/main.browser.aot.ts, src/package.json, src/polyfills.browser.ts, src/vendor.browser.ts, src/app/environment.ts, src/app/index.ts, src/assets/service-worker.js;
- Change style-loader css import to
styleUrls[‘./example.scss’]
and wrap your sass styles into:host /deep/ {}
expression.
NOTE: Sometimes you may have some individual issues with a concrete library, each such problem needs to be solved individually and can not be described in this guide.
0.9.0 (2017-01-30)
- Angular 2.4.4
- Dependencies updated
- AOT 🎉
- DLL bundles
npm run build:aot
npm run server:prod
- Pull sources from git, merge accordingly
- remove
node_modules
- run
npm install
- replace
require
for templates and styles withtemplateUrl
andstyleUrls
- private, protected accessors should be changed to public for any members accessed from template
- replace default export on named export in modules
- remove ViewEncapsulation from components
- Enjoy!
0.8.0 (2016-11-25)
- Angular 2.2.3
- Dependencies updated
- Pull sources from git, merge accordingly
- remove
node_modules
- run
npm install
- Enjoy!
0.7.0 (2016-09-19)
Tree package does not support angular 2.0 currently so it was hidden from the menu.
- Angular 2.0
- Dependencies updated
- Pull sources from git, merge accordingly
- remove
node_modules
- run
npm install
- Remove all directives & pipes from components and move them to the ngModule declarations
- Enjoy!
0.6.0 (2016-09-19)
Tree package does not support RC6 currently so it was hidden from the menu.
- Angular rc.6
- Dependencies updated
- Pull sources from git, merge accordingly
- remove
node_modules
- run
npm install
- Remove all directives & pipes from components and move them to the ngModule declarations
- Enjoy!
0.5.0 (2016-08-30)
Not all packages used in ng2-admin support RC5 at the moment, so we suggest waiting until [email protected] version for a complete support of RC5.
- Angular rc.5 (ngModule)
- Webpack 2
- Dependencies updated
Things to consider:
- We introduced NgaModule - wrapper for all ng2-admin features. At the moment it includes everything (directives, services, configs, etc). But, the important thing is that we are planning to refactor it and divide into smaller modules, so that if you don't need a whole list of features somewhere in your code - you can simply import a smaller part. Here are some more details.
- Each page section now is a module (Feature Module as per angular documents) wrapped in pages.module.
- Routes configuration (again :( ) moved from one complete file to modules (page sections) configurations. Thus we just left menu configuration as it was before (in one file), just renamed it into app.menu.ts.
- We are planning to continue code refactoring and planning to change component names to follow angular recommendations. Thus we strongly recommend to not import Ba* directives directly and use NgaModule which will encapsulate the changes we are going to make. Here are some more details.
- Read Angular RC4 -> RC5 migration guide
- Pull sources from git, merge accordingly
- remove
node_modules
- run
npm install
- Wrap all your pages into modules, register them in the PagesModule
- Create separate routing files per module
- Remove all direct imports of Ba* components, directives, pipes, etc, instead change your modules the way to import NgaModule
- Enjoy!
0.4.4 (2016-08-29)
- Missed new component ng2-smart-table - demo
- Pull sources from git
- run
npm install
0.4.3 (2016-08-23)
- Fix leaflet maps styles
- Fix license
- Remove tracing of typings (thanks to @GRoguelon)
- Update baContentTop to work with routerLink (thanks to @Kaizeras)
- Fix Chartist to handle data update dynamically (thanks to @bnayalivne)
- Finally get rid of bower (thanks to @GRoguelon)
- New component ng2-smart-table - demo
- Pull sources from git
- run
npm install
0.4.2 (2016-07-28)
- Fix menu and router configuration
- Fix broken dependencies
- Dependencies updated
- Use @types instead of typings
- Typings were removed, now we use @types instead, more details here
- Remove node_modules folder
- Remove typings folder and move all custom typings to package.json
- run
npm install
- Make source files generated correctly (thanks to @AlbertXingZhang)
- Fix docker configuration (thanks to @gavinzhou)
- Angular updated to rc.4
- Dependencies updated accordingly
- Angular Component Router instead or Router Deprecated (thanks to @RonnyRoos)
- New Angular Forms
- Sidebar rewritten, menu merged with routes configuration
- New CKEditor component
- New Image Uploader component
- New Tree view component
- New Rating component
- New Checkbox and multi-checkbox component
-
Router is updated to Angular Router Component. Old beta router is removed. That means that all the routes are moved to the
src/app/app.routes.ts
file.src/app/app.menu.ts
is also merged into the routes configuration. More details on how to configure a new route you can find here. -
Forms are updated as well. Thus you need to reconfigure all your forms to use new Angular Forms. Checkout the
src/app/pages/login/login.component.ts
component for more details and example.
- run
npm install
- Sidebar menu angle fixed
- Sidebar menu selected item fixed
- Angular updated to rc.3
- Dependencies updated accordingly
- Remove
node_modules
andtypings
folders - run
npm install
- Multiple bugfixes
- Angular updated to rc.2
- Dependencies updated accordingly
- Login page component Demo
- Sign up page component Demo
$
renamed tojQuery
because of name resolution conflicts
- Remove
node_modules
andtypings
folders - run
npm install