From 1262aa0e65204427b106701443355fe1b6ab6c4f Mon Sep 17 00:00:00 2001 From: Francois Zaninotto Date: Fri, 27 Jan 2017 13:49:21 +0100 Subject: [PATCH] Prepare changelog for 1.0 --- CHANGELOG.md | 126 +++++++++++++++++++++++++++++++++++++++++++++++++ UPGRADE-1.0.md | 13 ++--- 2 files changed, 131 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a80f006..005705e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,132 @@ CHANGELOG ========= +v1.0.0 - 27 Jan. 2017 +--------------------- + +- Add Angular 1.6 compatibility [\#1297](https://github.com/marmelab/ng-admin/pull/1297) ([Kmaschta](https://github.com/Kmaschta)) +- Remove test files from build [\#1295](https://github.com/marmelab/ng-admin/pull/1295) ([Kmaschta](https://github.com/Kmaschta)) +- Update list of contributors [\#1293](https://github.com/marmelab/ng-admin/pull/1293) ([jpetitcolas](https://github.com/jpetitcolas)) +- Remove selenium installation from post install hook [\#1292](https://github.com/marmelab/ng-admin/pull/1292) ([Kmaschta](https://github.com/Kmaschta)) +- Remove `fit`, `fdescribe`, or `.only` in tests [\#1291](https://github.com/marmelab/ng-admin/pull/1291) ([Kmaschta](https://github.com/Kmaschta)) +- Fix filter which was overwriting url after a change [\#1290](https://github.com/marmelab/ng-admin/pull/1290) ([djhi](https://github.com/djhi)) +- Fix typo in Doc [\#1284](https://github.com/marmelab/ng-admin/pull/1284) ([AmarildoGrembi](https://github.com/AmarildoGrembi)) +- Fix CSV export in IE11 & Edge [\#1282](https://github.com/marmelab/ng-admin/pull/1282) ([Kmaschta](https://github.com/Kmaschta)) +- Use field label for embedded list add button [\#1281](https://github.com/marmelab/ng-admin/pull/1281) ([jpetitcolas](https://github.com/jpetitcolas)) +- Update `package.json` [\#1278](https://github.com/marmelab/ng-admin/pull/1278) ([Phocea](https://github.com/Phocea)) +- Add HTTP error handling [\#1273](https://github.com/marmelab/ng-admin/pull/1273) ([Phocea](https://github.com/Phocea)) +- Fix Getting started code and documentation [\#1270](https://github.com/marmelab/ng-admin/pull/1270) ([Phocea](https://github.com/Phocea)) +- Fix the documentation for adding a full request interceptor [\#1269](https://github.com/marmelab/ng-admin/pull/1269) ([Phocea](https://github.com/Phocea)) +- Use `lodash` instead of `underscore` to reduce bundle size [\#1268](https://github.com/marmelab/ng-admin/pull/1268) ([Phocea](https://github.com/Phocea)) +- Fix `npm post install` for windows [\#1267](https://github.com/marmelab/ng-admin/pull/1267) ([Phocea](https://github.com/Phocea)) +- Leave SASS files in lib/sass/ \[BC-BREAK\] [\#1261](https://github.com/marmelab/ng-admin/pull/1261) ([Kmaschta](https://github.com/Kmaschta)) +- Allow to disable sort on columns [\#1260](https://github.com/marmelab/ng-admin/pull/1260) ([fzaninotto](https://github.com/fzaninotto)) +- Fix E2E tests adding missing webdriver [\#1256](https://github.com/marmelab/ng-admin/pull/1256) ([jpetitcolas](https://github.com/jpetitcolas)) +- Remove instances of `{0xC2, 0xA0}` in source files [\#1255](https://github.com/marmelab/ng-admin/pull/1255) ([jpetitcolas](https://github.com/jpetitcolas)) +- Improve http error handling [\#1253](https://github.com/marmelab/ng-admin/pull/1253) ([Phocea](https://github.com/Phocea)) +- Clean `makefile` & `travis.yml` [\#1250](https://github.com/marmelab/ng-admin/pull/1250) ([Kmaschta](https://github.com/Kmaschta)) +- Fix E2E tests [\#1249](https://github.com/marmelab/ng-admin/pull/1249) ([Kmaschta](https://github.com/Kmaschta)) +- Edit Api-mapping nested relationships documentation. [\#1234](https://github.com/marmelab/ng-admin/pull/1234) ([PrintHelloWorld](https://github.com/PrintHelloWorld)) +- Allow to update maDateField dynamically [\#1196](https://github.com/marmelab/ng-admin/pull/1196) ([jpetitcolas](https://github.com/jpetitcolas)) +- Fix infinite scrolling request synchronization [\#1240](https://github.com/marmelab/ng-admin/pull/1240) ([floo51](https://github.com/floo51)) +- Load default value of pinned filter [\#1232](https://github.com/marmelab/ng-admin/pull/1232) ([ThieryMichel](https://github.com/ThieryMichel)) +- Fix dashboard link in theming doc [\#1228](https://github.com/marmelab/ng-admin/pull/1228) ([Phocea](https://github.com/Phocea)) +- Fix missing `ui-view` name in documentation [\#1226](https://github.com/marmelab/ng-admin/pull/1226) ([dealboy](https://github.com/dealboy)) +- Update some docs in regard to `ui-view` BC break [\#1202](https://github.com/marmelab/ng-admin/pull/1202) ([jpetitcolas](https://github.com/jpetitcolas)) +- Fix error messages on failed deletes, updates [\#1197](https://github.com/marmelab/ng-admin/pull/1197) ([jpetitcolas](https://github.com/jpetitcolas)) +- Update issue template with proper plunker [\#1221](https://github.com/marmelab/ng-admin/pull/1221) ([Phocea](https://github.com/Phocea)) +- Fix `ReferenceField` two-step population [\#1216](https://github.com/marmelab/ng-admin/pull/1216) ([Kmaschta](https://github.com/Kmaschta)) +- Unescaped translation [\#1215](https://github.com/marmelab/ng-admin/pull/1215) ([Kmaschta](https://github.com/Kmaschta)) +- Fix typo in `README.md` [\#1205](https://github.com/marmelab/ng-admin/pull/1205) ([tgoodyear](https://github.com/tgoodyear)) +- Fix small typo in Bootstraping instructions [\#1200](https://github.com/marmelab/ng-admin/pull/1200) ([Phocea](https://github.com/Phocea)) +- Fix npm build folder [\#1199](https://github.com/marmelab/ng-admin/pull/1199) ([Kmaschta](https://github.com/Kmaschta)) +- Fix npm main source [\#1198](https://github.com/marmelab/ng-admin/pull/1198) ([Kmaschta](https://github.com/Kmaschta)) +- Update select choices whenever entry changes [\#1195](https://github.com/marmelab/ng-admin/pull/1195) ([jpetitcolas](https://github.com/jpetitcolas)) +- Fix blog demo title [\#1194](https://github.com/marmelab/ng-admin/pull/1194) ([fzaninotto](https://github.com/fzaninotto)) +- Remove build from `prepublish` to prevent building during install [\#1192](https://github.com/marmelab/ng-admin/pull/1192) ([jpetitcolas](https://github.com/jpetitcolas)) +- Fix non-dev dependencies [\#1189](https://github.com/marmelab/ng-admin/pull/1189) ([jpetitcolas](https://github.com/jpetitcolas)) +- Rename main view to `ng-admin` [\#759](https://github.com/marmelab/ng-admin/pull/759) ([fzaninotto](https://github.com/fzaninotto)) +- Add an issue template with a request for Plunkr repro steps [\#1159](https://github.com/marmelab/ng-admin/pull/1159) ([RichardBradley](https://github.com/RichardBradley)) +- Display progress bar when deleting [\#1140](https://github.com/marmelab/ng-admin/pull/1140) ([fzaninotto](https://github.com/fzaninotto)) +- Allow to export `reference_many` fields [\#1132](https://github.com/marmelab/ng-admin/pull/1132) ([ThieryMichel](https://github.com/ThieryMichel)) +- Fixed typo in `README.md` [\#1121](https://github.com/marmelab/ng-admin/pull/1121) ([marcelometal](https://github.com/marcelometal)) +- Fix typos in `Getting-started.md` [\#1108](https://github.com/marmelab/ng-admin/pull/1108) ([strathausen](https://github.com/strathausen)) +- Update `Custom-types.md` documentation [\#1101](https://github.com/marmelab/ng-admin/pull/1101) ([talaviss](https://github.com/talaviss)) +- Show sort column in datagrid even with default sort [\#1092](https://github.com/marmelab/ng-admin/pull/1092) ([fzaninotto](https://github.com/fzaninotto)) +- Fix encoding of entity ids in REST URLs [\#1088](https://github.com/marmelab/ng-admin/pull/1088) ([RichardBradley](https://github.com/RichardBradley)) +- Fix typo in documentation [\#1081](https://github.com/marmelab/ng-admin/pull/1081) ([bestori](https://github.com/bestori)) +- Fix French Translations [\#1053](https://github.com/marmelab/ng-admin/pull/1053) ([SublimeWajih](https://github.com/SublimeWajih)) +- In datagrids, apply label styles to all labels [\#1044](https://github.com/marmelab/ng-admin/pull/1044) ([djhi](https://github.com/djhi)) +- Fix Error in documentation [\#1043](https://github.com/marmelab/ng-admin/pull/1043) ([schmittr](https://github.com/schmittr)) +- Filter button now translate the labels, too [\#1042](https://github.com/marmelab/ng-admin/pull/1042) ([djhi](https://github.com/djhi)) +- Fixed reference to 'notification' service [\#1028](https://github.com/marmelab/ng-admin/pull/1028) ([ganlhi](https://github.com/ganlhi)) +- Better integration with module bundlers [\#959](https://github.com/marmelab/ng-admin/pull/959) ([jpetitcolas](https://github.com/jpetitcolas)) +- Make custom elements translatable [\#1034](https://github.com/marmelab/ng-admin/pull/1034) ([djhi](https://github.com/djhi)) +- Change referring target after form submit [\#1011](https://github.com/marmelab/ng-admin/pull/1011) ([fzaninotto](https://github.com/fzaninotto)) +- Fix typo on Theming documentation [\#1010](https://github.com/marmelab/ng-admin/pull/1010) ([mjlescano](https://github.com/mjlescano)) +- Fix usage of field factory [\#1006](https://github.com/marmelab/ng-admin/pull/1006) ([schmijos](https://github.com/schmijos)) +- Add Translation support [\#1003](https://github.com/marmelab/ng-admin/pull/1003) ([fzaninotto](https://github.com/fzaninotto)) +- Document setting the type for the field [\#1001](https://github.com/marmelab/ng-admin/pull/1001) ([geecu](https://github.com/geecu)) +- Fix typo [\#998](https://github.com/marmelab/ng-admin/pull/998) ([schmijos](https://github.com/schmijos)) +- Update `API-mapping.md` [\#996](https://github.com/marmelab/ng-admin/pull/996) ([albogdano](https://github.com/albogdano)) +- Fix null default value for `DateField` [\#995](https://github.com/marmelab/ng-admin/pull/995) ([fzaninotto](https://github.com/fzaninotto)) +- Add submit button directive [\#993](https://github.com/marmelab/ng-admin/pull/993) ([fzaninotto](https://github.com/fzaninotto)) +- Added missing `EditView.getUrl` parameter [\#990](https://github.com/marmelab/ng-admin/pull/990) ([SebLours](https://github.com/SebLours)) +- Add ability to customize delete error message [\#982](https://github.com/marmelab/ng-admin/pull/982) ([jeromemacias](https://github.com/jeromemacias)) +- Fix spelling error and missing field type in `Field` documentation [\#989](https://github.com/marmelab/ng-admin/pull/989) ([Dan-Nolan](https://github.com/Dan-Nolan)) +- Add missing trailing comma in doc. [\#971](https://github.com/marmelab/ng-admin/pull/971) ([brikou](https://github.com/brikou)) +- Fix Datepicker JS error [\#969](https://github.com/marmelab/ng-admin/pull/969) ([fzaninotto](https://github.com/fzaninotto)) +- Fix mobile menu toggle [\#966](https://github.com/marmelab/ng-admin/pull/966) ([fzaninotto](https://github.com/fzaninotto)) +- Fix current choice does not appear in autocomplete reference field [\#956](https://github.com/marmelab/ng-admin/pull/956) ([fzaninotto](https://github.com/fzaninotto)) +- Fix export sort field [\#954](https://github.com/marmelab/ng-admin/pull/954) ([fzaninotto](https://github.com/fzaninotto)) +- Update `node-sass` version dependency to avoid install error [\#953](https://github.com/marmelab/ng-admin/pull/953) ([fzaninotto](https://github.com/fzaninotto)) +- Update `karma` version [\#951](https://github.com/marmelab/ng-admin/pull/951) ([alexisjanvier](https://github.com/alexisjanvier)) +- Update `restangular` to version 1.5.2 [\#950](https://github.com/marmelab/ng-admin/pull/950) ([alexisjanvier](https://github.com/alexisjanvier)) +- Fix bug on export with field of type template [\#949](https://github.com/marmelab/ng-admin/pull/949) ([alexisjanvier](https://github.com/alexisjanvier)) +- Update `ui-bootstrap` [\#947](https://github.com/marmelab/ng-admin/pull/947) ([alexisjanvier](https://github.com/alexisjanvier)) +- Remove `grunt` [\#946](https://github.com/marmelab/ng-admin/pull/946) ([alexisjanvier](https://github.com/alexisjanvier)) +- Upgrade Angular from 1.3 to 1.4 [\#945](https://github.com/marmelab/ng-admin/pull/945) ([alexisjanvier](https://github.com/alexisjanvier)) +- Fix frontend pagination typo from '1-10 on 15' to '1-10 of 15' [\#942](https://github.com/marmelab/ng-admin/pull/942) ([nschappl](https://github.com/nschappl)) +- Fix typo litteral -\> literal [\#937](https://github.com/marmelab/ng-admin/pull/937) ([Sicaine](https://github.com/Sicaine)) +- Add ability to customize CSV export format [\#933](https://github.com/marmelab/ng-admin/pull/933) ([fzaninotto](https://github.com/fzaninotto)) +- Move "Remove" button for embedded lists out of the way [\#932](https://github.com/marmelab/ng-admin/pull/932) ([fzaninotto](https://github.com/fzaninotto)) +- Fix wrong closing tag in `reference_many` filter [\#929](https://github.com/marmelab/ng-admin/pull/929) ([fzaninotto](https://github.com/fzaninotto)) +- Filter doc [\#927](https://github.com/marmelab/ng-admin/pull/927) ([fzaninotto](https://github.com/fzaninotto)) +- Fix `embedded_list` remove button not clickable [\#926](https://github.com/marmelab/ng-admin/pull/926) ([fzaninotto](https://github.com/fzaninotto)) +- Fix `webpack-dev-server` web socket error [\#923](https://github.com/marmelab/ng-admin/pull/923) ([vasiakorobkin](https://github.com/vasiakorobkin)) +- Remove unnecessary `this` reference in `formController` [\#908](https://github.com/marmelab/ng-admin/pull/908) ([SebLours](https://github.com/SebLours)) +- Allow `reference_many` field to be used as filter [\#905](https://github.com/marmelab/ng-admin/pull/905) ([fzaninotto](https://github.com/fzaninotto)) +- Fix select multiple fails to add choice when removing value [\#904](https://github.com/marmelab/ng-admin/pull/904) ([fzaninotto](https://github.com/fzaninotto)) +- Add edition and creation hooks [\#898](https://github.com/marmelab/ng-admin/pull/898) ([fzaninotto](https://github.com/fzaninotto)) +- skip `DetailLink` when entry is not defined. [\#889](https://github.com/marmelab/ng-admin/pull/889) ([aitboudad](https://github.com/aitboudad)) +- apply some `cs/jshint`. [\#888](https://github.com/marmelab/ng-admin/pull/888) ([aitboudad](https://github.com/aitboudad)) +- Fix `prepare()` doesn't get fully populated datastore [\#884](https://github.com/marmelab/ng-admin/pull/884) ([fzaninotto](https://github.com/fzaninotto)) +- Fix build on Windows [\#881](https://github.com/marmelab/ng-admin/pull/881) ([fzaninotto](https://github.com/fzaninotto)) +- Fix `reference_many` documentation (example uses tags, not comments) [\#868](https://github.com/marmelab/ng-admin/pull/868) ([mdhooge](https://github.com/mdhooge)) +- Fix display of boolean field in embedded\_list [\#858](https://github.com/marmelab/ng-admin/pull/858) ([fzaninotto](https://github.com/fzaninotto)) +- Fix non editable fields in embedded lists [\#857](https://github.com/marmelab/ng-admin/pull/857) ([fzaninotto](https://github.com/fzaninotto)) +- Fix Dashboard bug [\#850](https://github.com/marmelab/ng-admin/pull/850) ([fzaninotto](https://github.com/fzaninotto)) +- Use Karma directly (not through grunt) [\#849](https://github.com/marmelab/ng-admin/pull/849) ([fzaninotto](https://github.com/fzaninotto)) +- Use entity label instead of name for view titles [\#848](https://github.com/marmelab/ng-admin/pull/848) ([fzaninotto](https://github.com/fzaninotto)) +- Remove Lodash [\#845](https://github.com/marmelab/ng-admin/pull/845) ([fzaninotto](https://github.com/fzaninotto)) +- Add `entryCssClasses` functionality to referenced list field. [\#844](https://github.com/marmelab/ng-admin/pull/844) ([lucval](https://github.com/lucval)) +- Fix double-click selection bug in webkit browsers [\#843](https://github.com/marmelab/ng-admin/pull/843) ([lucval](https://github.com/lucval)) +- Reload export data when list is (re)filtered [\#842](https://github.com/marmelab/ng-admin/pull/842) ([lucval](https://github.com/lucval)) +- Fixed typos in `Field.md` [\#827](https://github.com/marmelab/ng-admin/pull/827) ([rpg600](https://github.com/rpg600)) +- Fix some typos in `Getting-started.md` [\#815](https://github.com/marmelab/ng-admin/pull/815) ([dunglas](https://github.com/dunglas)) +- Fix typo in `README.md` [\#814](https://github.com/marmelab/ng-admin/pull/814) ([dunglas](https://github.com/dunglas)) +- Add variable `cssClasses` for the whole row in ListView [\#807](https://github.com/marmelab/ng-admin/pull/807) ([fzaninotto](https://github.com/fzaninotto)) +- Allow boolean filter labels to be overridden [\#804](https://github.com/marmelab/ng-admin/pull/804) ([fzaninotto](https://github.com/fzaninotto)) +- Fix `maChoiceField` for Angular 1.4 [\#803](https://github.com/marmelab/ng-admin/pull/803) ([fzaninotto](https://github.com/fzaninotto)) +- Fix navigation with slow API [\#796](https://github.com/marmelab/ng-admin/pull/796) ([fzaninotto](https://github.com/fzaninotto)) +- Fix issue with remote-complete filtering [\#788](https://github.com/marmelab/ng-admin/pull/788) ([kenegozi](https://github.com/kenegozi)) +- Use `ui-sref` for links instead of `ng-click` [\#785](https://github.com/marmelab/ng-admin/pull/785) ([fzaninotto](https://github.com/fzaninotto)) +- Fix typo in arguments to prepare in router [\#776](https://github.com/marmelab/ng-admin/pull/776) ([yarbelk](https://github.com/yarbelk)) +- Add the ability to set field template with label [\#772](https://github.com/marmelab/ng-admin/pull/772) ([fzaninotto](https://github.com/fzaninotto)) +- Support `template` field in CSV ExportFields list [\#761](https://github.com/marmelab/ng-admin/pull/761) ([lucval](https://github.com/lucval)) +- Cleanup [\#758](https://github.com/marmelab/ng-admin/pull/758) ([fzaninotto](https://github.com/fzaninotto)) +- Add support for the `View.prepare\(\)` logic [\#756](https://github.com/marmelab/ng-admin/pull/756) ([fzaninotto](https://github.com/fzaninotto)) + v0.9.0 - 30 Oct. 2015 --------------------- diff --git a/UPGRADE-1.0.md b/UPGRADE-1.0.md index ba78dae2..911859b0 100644 --- a/UPGRADE-1.0.md +++ b/UPGRADE-1.0.md @@ -1,9 +1,12 @@ # Upgrade to 1.0 ## Angular 1.6 -ng-admin is now ready for Angular 1.6 instead of 1.4, mainly for security reasons. We advice you to update your application too. -To do so, you can follow the Angular Migration Guide [from 1.4 to 1.5](https://docs.angularjs.org/guide/migration#migrating-from-1-4-to-1-5), then [from 1.5 to 1.6](https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6). +Previous versions of ng-admin relied on Angular 1.3. Ng-admin 1.0 now requires at least Angular 1.4, and is compatible with Angular 1.5 and 1.6. Most of the dependencies (like `node-sass` and `ui-bootstrap`) were upgraded, too. + +You must be careful if you use some additional angular plugins in your code, Angular 1.4 causing some BC Breaks. For example it's the case for [angular-cookies](https://code.angularjs.org/1.4.9/docs/api/ngCookies/service/$cookies). + +To upgrade your own application, you can follow the Angular Migration Guide [from 1.3 to 1.4](https://docs.angularjs.org/guide/migration#migrating-from-1-3-to-1-4), then [from 1.4 to 1.5](https://docs.angularjs.org/guide/migration#migrating-from-1-4-to-1-5), then [from 1.5 to 1.6](https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6). Here are the major changes we've faced: @@ -77,12 +80,6 @@ myApp.config(function ($stateProvider) { }); ``` -## Angular 1.4 - -Previous versions of ng-admin relied on Angular 1.3. Version 1.0 bumps the angular version requirement to 1.4. - -You must be careful if you use some additional angular plugins in your code, Angular 1.4 causing some BC Breaks. For example it's the case for [angular-cookies](https://code.angularjs.org/1.4.9/docs/api/ngCookies/service/$cookies). - ## No more `gotoDetails() and `gotoReference()` in column scope If you wrote a custom FieldView, you probably based the Link widget on the ones bundled by ng-admin: