Skip to content

Latest commit

 

History

History
689 lines (571 loc) · 40.2 KB

CHANGELOG.md

File metadata and controls

689 lines (571 loc) · 40.2 KB

v1.0.0 (2016/10/8)

Bug Fixes

  • macPopover: Fix mac-popover-refresh-on not registering properly (ec9e4ff4, #38)

1.0.0-rc.1 (2016/5/22)

Bug Fixes

  • macTagAutocomplete:
    • Fix macTagAutocompleteOnSuccess not using '&' (50edb3a7)
    • Fix not creating event directives (f13e6bb0)

Optimizations

  • macTagAutocomplete:
    • Switch to use macTagAutocompleteController (9e83d0e1)
    • Add mac-tag-autocomplete-on-success attribute for callback on a successful xhr request. This will allow users to modify the data pass back to mac-autocomplete before rendering (9e83d0e1)

Breaking Changes

  • macTagAutocomplete:
    • Directly populate item from source without filtering (9e83d0e1)

1.0.0-rc.0 (2016/2/10)

Bug Fixes

  • macAffix: Fix referencing incorrect variable due to JS conversion (7d95b2a7)
  • macModal: Fix not closing modal with escape (ac70db5c)
  • macPopover:
    • Fix always switching to aligning right (34d94c5e)
    • Fix not extending proper popover default values (bf03f6b3)
  • macTagAutocomplete: Fix bugs introduced in refactor (c55011d1)
  • macTooltip: Fix appending tooltip inside does not calculate offset correctly (19cbb097, #31)
  • main: Update height and width calculation to prevent NaN (d77e40db)

Breaking Changes

  • macAutocomplete:
    • macAutocomplete is now isolated scope
    • mac-autocomplete-url has been removed in favor of mac-autocomplete-source (438e8fe6)
  • macCSpinner: Canvas spinner has been removed. Use macSpinner instead. (f6d04ce3)
  • macFocusOnEvent: mac-focus-on-event directive has been removed from MacGyver. The directive was never documented and should not be used. (f0e12ecd)
  • macPopover:
    • mac-popover-fixed option has been removed (7ef8a197)
    • macPopover service resize renamed to reposition
    • mac-popover-child-popover attr has been removed
    • mac-popover-exclude attr has been removed (2b3c91e6)
  • macTagAutocomplete:
    • mac-tag-autocomplete-url has been removed (fa4bab82)
  • underscoreStringFilter: Underscore string filter has been completely removed (c9ec969a)

Optimizations

  • booleanFilter: Converted to Javascript (8a7d3149)
  • constants: Move component default values to constants file (7222c105)
  • keys: Converted keys to Javascript Switched from factory to constants (7467e789)
  • listFilter: Converted to Javascript (89423980)
  • macAffix:
    • Clean up affix directive Move logic to macAffixController Fix some bus causing display issues (48b774e8)
    • Add macAffixDefaults (4f94a667)
    • Converted to Javascript (6b106c94)
  • macAutocomplete: Embed template into directive js (29463577)
  • macKeydown: Converted to Javascript (c7f7b509)
  • macMenu: Converted to Javascript (91cf2c95)
  • macModal:
    • Clean up mac-modal trigger (451c2a0a)
    • Convert macModal to JS - Move macModal defaults to constants - Clean up template, render and display modal logic - Add unit tests for modal service (673e1b86)
  • macPauseTyping: Converted to Javascript (73ce8384)
  • macPlaceholder: Converted to Javascript (4ee11131)
  • macScrollSpy:
    • Clean up observe logic on anchor and target (873240c7)
    • Converted to Javascript Minor performance improvements (5bbbab09)
  • macSpinner: Converted to Javascript (6dcfa1c0)
  • macTime:
    • Embed template into directive js (621d371d)
    • Convert to Javascript Move time utility function to a separate service for better testing Add tests for time utility function (bd96c7d4)
  • macTooltip: Convert to Javascript (95287ace)
  • macUtil:
    • Cleaned up JS code (18298981)
    • Converted to Javascript Added validateTime function urlRegex, emailRegex and timeRegex are switched to local variables Updated macTime using validateTime (04c0ba3d)
  • macWindowResize: Minor performance tweak and code cleanup Converted to Javascript and rewrote part of the directive (bba5ebc7)
  • main: Converted to Javascript Removed ngAnimate dependencies for Mac Updated karma config (86933886)
  • pluralizeFilter: Converted to Javascript (c3b5cf78)
  • timestampFilter: Converted to Javascript Cleaned up time calculation (c6d9adf3)

v0.6.1 (2015/2/6)

Bug Fixes

  • macAutocomplete: Fixed dropdown placement issues Related to #11 (725995cb)

v0.6.0 (2014/12/4)

Features

  • Support AngularJS v1.3+

Bug Fixes

  • macAutocomplete: Fixed $animate API changes due to AngularJS v1.3 (d6c69cd7)
  • macModal: Fixed not able to close with escape key (373d6647)

Optimizations

Breaking Changes

  • macModal: modalView provider has been removed and should be switched to use modalProvider instead Related to #4 (c5fb9815)
  • macPopover: popoverView provider has been removed and should be switched to use popoverProvider instead Related to #4 (f38cb92f)

v0.5.1 (2014/12/2)

Bug Fixes

  • macTooltip: Fixed appending multiple tooltips Multiple tooltips get appended to document body when user mouse over the tooltip trigger multiple in a short period of time (8070c262)

v0.5.0 (2014/11/13)

Bug Fixes

  • core: Fixed val not getting initialized correctly (c6eba169)
  • macAutocomplete: Fixed ng-class getting set to null string when no class is provided (013111f9)
  • macPopover: Fixed compile issue replacing original popover element with comments (fc84089b)

Optimizations

  • Mac: Removed jQuery dependencies (174d60c1, #7)
  • MacGyver: Converted directive templates to html (ca7d32f8)
  • macSpinner: Updated to work without jQuery (ed6292b3)
  • macTagAutocomplete: Removed ng-click on reduce digest cycle (dc429cb6)

Breaking Changes

v0.4.0 (2014/9/29)

Breaking Changes

v0.3.10 (2014/9/25)

Bug Fixes

  • macPopover: Fixed popover not changing from below to above when overflow (52306f5e)

v0.3.9 (2014/9/22)

Bug Fixes

  • macTime: Fixed not able to select hour and minute Revert "fix(macTime): Re-render time input view even when viewValue is the same" This reverts commit 695078ea092083dd1f54a87d0ce3136c77a8942b. (20165f2a)

v0.3.8 (2014/9/22)

Bug Fixes

  • macAutocomplete: Fixed dropdown not hiding when no item is returned (f5dec055, #182)

v0.3.7 (2014/9/16)

Bug Fixes

  • jqLite: Fixed scrollTop setting X offset instead of Y offset (a5e7389f)
  • macPopover: Fixed popover positioning not checking scrollLeft (d2572059)

Features

  • jqLite: Added scrollLeft to jqLite (2f926f72)

Breaking Changes

  • macPopover: Popover is now compiling with a new scope. In order to change anything on the original scope developer must pass data through an object.
    (940759b6, #181)

v0.3.6 (2014/9/6)

Bug Fixes

  • macAutocomplete: Fixed not able to select autocomplete from dropdown (609d14f9)
  • macTime:
    • Select meridian after updating view (0a6527b4)
    • Re-render time input view even when viewValue is the same (695078ea)

v0.3.5 (2014/8/29)

Bug Fixes

  • macPopover: Updated popover to respond to hover events. (295c3240)

v0.3.4 (2014/8/6)

Bug Fixes

  • macPopover: Fixed id not interpolating correctly (3100f63d)

v0.3.3 (2014/7/30)

Bug Fixes

  • macPopover: Fix popover not compiling low priority template (706f1ab5)

v0.3.2 (2014/6/29)

Bug Fixes

  • macAutocomplete:
    • Fixed not querying data correctly (aaf8f7c9)
    • Fixed not able to select item using mouse (f644f3f5)
    • Fixed scope not destroyed correctly (5ea9ab0c)

Optimizations

  • macAutocomplete: Reduced parsing when update items (29121368)

v0.3.1 (2014/6/27)

Bug Fixes

  • macAutocomplete: Fixed not able to select item when clicking on dropdown (62e76648, #174)

Optimizations

  • macAutocomplete: Reduced memory usage and fixed scope not destroying correctly (7666d00b)

v0.3.0 (2014/6/23)

###There are major changes with this update. Please read 'Breaking Changes' section before updating.

Bug Fixes

  • macAffix: Fixed affixing bottom not working properly (e8683f55)
  • macAutocomplete:
    • Clear inline style on hide (33297e20)
    • Fixed menu not positioned correctly Fixed offset getting calculated before animation completes (9ffc2e72)
    • Added explicit return to prevent return DOM element (b8cf7018)
  • macDatepicker: Remove date validation on empty string (a4743b67, #173)
  • macMenu: Fixed menu using mac-mouseenter instead of ng-mouseenter (2fbf4073)
  • macModal: Added missing close-modal styles (3560bb7e)

Optimizations

  • macAutocomplete:
    • Improved mac-autocomplete positioning (d07714f5)
    • Removed unnecessary document binding (d0d734bc)

Breaking Changes

  • events: mac-blur, mac-focus, mac-keydown, mac-keyup, mac-mouseenter and mac-mouseleave have been removed from MacGyver. Use the AngularJS equivalents. (a46eed62)
  • macDatepicker:
    • mac-datepicker input element is not in mac-date-time wrapper and is now top level. mac-datepicker-model has been removed in favor of ng-model. mac-datepicker-id has been removed and id attribute should be used instead. (6bdc993c)
    • Icons for datepicker and time input are removed (c1bb850c)
    • For user with custom styles, css classes for mac-datepicker and mac-time have been namespaced with mac- (e99a5c15)
  • macModal: All modal class names are prefixed with mac- (07948fec)
  • macTagAutocomplete: For people using custom css for MacGyver, class names for mac-tag-autocomplete are now namespaced with mac- (035084a3)
  • macTime:
    • mac-time input element is not in a mac-date-time wrapper and is now top level. mac-time-model has been removed in favor of ng-model mac-time-placeholder has been removed mac-time isolated scope has been removed (2d61c26d)
    • Icons for datepicker and time input are removed (c1bb850c)
    • For user with custom styles, css classes for mac-datepicker and mac-time have been namespaced with mac- (e99a5c15)
  • macTooltip: tooltip class has been renamed to mac-tooltip (d0e4c239)
  • macUpload: mac-upload has been moved to a separate module. Module can be found at https://github.com/angular-macgyver/angular-macgyver-upload (a44db86b)

v0.2.9 (2014/4/6)

Bug Fixes

  • macAutocomplete: Item property on template now include full object (6df95c71)
  • macMenu: Fixed mac-menu not working with ng-class before (1f9b2a02)

Features

  • macAutocomplete: Added option to update mac-menu classes (02bbdd25, #166)

v0.2.8 (2014/3/31)

Bug Fixes

  • macMenu: Fixed how custom menu template getting transcluded (385a4149)

Features

  • macAutocomplete: Allow custom html templating for dropdown (190ad2b5)
  • macMenu: Allow for custom html templating for each item (bf1dcfe6)
  • macTableSelectable: Differentiate between click and text selection (645443d4)

Optimizations

  • macAutocomplete: Switched to createElement instead of jq/jqlite creating mac-menu (c1ba7b09)

v0.2.7 (2014/3/26)

Bug Fixes

  • macModal: Fixed modal callbacks firing on page loads (240a7afb, #162)

v0.2.6 (2014/3/14)

Bug Fixes

  • macModal: Fixed not able to close modal when clicking on overlay (f281a28e)

v0.2.5 (2014/3/12)

Features

  • macModal: Added option to disable positioning by modal service (527d3aee)

v0.2.4 (2014/3/6)

Bug Fixes

  • macTableSelectable: Reset selection controls when window regains focus (bc42a805)
  • macTooltip: Fixed multiple tooltips getting appended to body when triggering it multiple times in a short period of time (a45c75b7, #157)

v0.2.3 (2014/2/28)

Bug Fixes

  • macPopover:
    • Prevent scope from getting destroy when using parent scope (c9334171)
    • Fixed mac-popover trigger not opening popover correctly (b0de3a62)

Optimizations

  • macPopover: Fixed how scope is created when compiling popover. Instead of cloning scope, popover will now use the scope passed in or create a new scope using rootScope. (c5c5fb2a)

v0.2.2 (2014/2/28)

Bug Fixes

  • macAutocomplete: Don't allow ENTER in autocomplete to propagate up. This was causing accidental form submissions. (7c8f93ce)
  • macModal: Fixed scope getting destroyed when closing modal (29ac5216)
  • modal: Fixed mac-modal directive not cleaning up when being removed from DOM (f2b3efb9)

Features

  • macModal: Added callbacks for before and after showing modal and before and after hiding modal (c133c3a6, #154)

Optimizations

  • macModal:
    • Cleaned up how scope is included with mac-modal trigger and updated how scope is created on compile (e7bf3439)
    • Add mac-modal-close to handle closing modal to remove a function used by modal to close. Changed mac-modal directive to use the same parent scope. (2992e359)

Breaking Changes

  • build: Underscore.string is not compiled into MacGyver and in order for underscore.string filter to work, user must externally include that library (df95c21b, #156)

v0.2.1 (2014/1/27)

Bug Fixes

  • macTagAutocomplete: Fixed source not getting set properly compiling on top of another directive (b7ac7af9)

Features

  • macAutocomplete: Support attribute declaration style (8cb89a21)
  • macPopover: Added mac-popover to MacGyver. Includes popover service to keep track of all registered and opened popover. Includes multiple popover directives for creating popover and popover trigger. (66c715e6)
  • macTable: Storing parent scope on table object (585243e7, #145)
  • macTagAutocomplete: Source accepts multiple types including custom callback (7f6d138d)

v0.2.0 (2014/1/8)

Bug Fixes

  • bower.json: Fixed bower versioning (f2914bff)
  • jqLite: Make sure jqLite is extended correctly (10cec981)
  • macModal: Fixed mac-modal firing $digest cycle (bfa9b376, #138)
  • macTagAutocomplete:
    • Fixed placeholder not updating correctly without source (c9611f08)
    • Make sure only to watch selected and source when using source (ce3d0237)
  • macUpload: Fixed upload progress not updating and controller not getting set (e8267f6e)

Features

  • core: Add ngAnimate detection and add to Mac automatically (be1ddb1c)
  • macAutocomplete: mac-autocomplete-source can now accept multiple types including custom callback (a9aa4c50)
  • macModal:
    • Use $animate to show and hide mac-modal (6a7373d1)
    • Using $animate to handle DOM manipulation. Destroy scope or hide modal after hide animation complete. Completely isolate modal scope. Related #124 (11d35aad)
  • util: Added trim to util library (ed920966)

Optimizations

  • macAffix: Switched to use $document and $window. Better top and bottom offset validation (0393bbcb)
  • macAutocomplete: Using $animate to create and remove menu. Better handle on click binding. (1c421a17)
  • macCspinner: Use $timeout (86818225)
  • macMenu: Cleaned up mac-menu dependencies (af7332f5)
  • macModal: Refactored modal directive and service. Converted modal directive to isolated scope but transcluded content is using parent scope instead. This prevent modal close function ending up in parent scope. Cleaned up modal stylus. Removed modal service from modal scope. Fixed modal test. (658ea764)
  • macScrollSpy: Clean up and make sure listeners are not binded multiple times (2583617d)
  • macSpinner:
    • Improve performance when compiling spinner (a8c2b3ae)
    • Switched to use $animate (70538b39)
  • macTagAutocomplete:
    • Switched to use ng-keydown and some code cleanup (b1a97ad5)
    • Use watchCollection to update source correctly (5a696ec7)
  • macTime: Switched to use AngularJS events (b86c7186)
  • macUpload: Optimized getting and setting previews. Switched to use $document. Make sure drag and drop timeout getting cancel correctly (2132afa3)

Breaking Changes

  • macAutocomplete: Changed autocomplete event from resetAutocomplete to reset-mac-autocomplete Related to #124 (e4f2021e)
  • macModal: mac-modal-content is completely removed and should switch to use mac-modal-data instead (0f604bd1)
  • macTagInput: Mac-tag-input is removed from MacGyver as it has been a proxy to mac-tag-autocomplete. When switching to mac-tag-autocomplete, DOM attributes should also be updated. - Use mac-tag-autocomplete-source for mac-tag-input-tags - Use mac-tag-autocomplete-selected for mac-tag-input-selected - Use mac-tag-autocomplete-placeholder for mac-tag-input-placeholder - Use mac-tag-autocomplete-value for mac-tag-input-value - Use mac-tag-autocomplete-label for mac-tag-input-label (3b74cd82)

v0.1.25 (2013/11/12)

Bug Fixes

  • macDatepicker: Fixed changing datepicker text input does not update model (5d3fc664, #136)
  • macTime: Refactor time picker interactions to fix model watch conflicts between programatically setting the model vs a user typing in a invalid time (e.g. 11:8) no longer freezes the input. Added extra directive to control validation similar to angularjs inputDirective pattern. Fixed tests to follow new validation convention. (c3ae8f52, #137)

Features

  • macDatepicker: Added validation to mac-datepicker model (7322c4b0)
  • util: Make email regex part of util api (0627e318)

v0.1.24 (2013/11/6)

Bug Fixes

  • macTagAutocomplete: Remove left padding in tag list (389f337f)
  • macTime: Replaced the comparison of {} since you cannot compare objects to {}. (30b68d1b)

Features

  • macTime: Converted date to use current instead of unix. Removed notion of end selection because it broke highlighting when you selected more than one section (hour, minute, or marker). Denested some control blocks for readability/dry-ness. Added new lines for readability. Added "A" and "P" events to modify meridian values. (715bbe20, #135)

v0.1.23 (2013/11/4)

Bug Fixes

  • util: Updated the url regex to be more verbose—more inline with rfc3986. Modified the protocol attribute to return only the protocol. Close #134 (5d573011)

v0.1.22 (2013/10/30)

Bug Fixes

  • macAutocomplete: Changed menu to min width to prevent content getting cut off (d80c4153, #131)
  • macScrollSpy: Scroll spy doesn't flicker when scrolling to last element. (39ed95db, #132)

v0.1.21 (2013/10/24)

Bug Fixes

  • macMenu: Removed left padding on menu item (dd2c2495)
  • macScrollSpy: Fixed not selecting last anchor when scroll to the bottom (cf104358)
  • macTagAutocomplete:
    • Placeholder shows when no items are selected and can now accomedate for longer placeholder (671bd823, #110)
    • Fixed clicking on tag autocomplete focus on input (ce73e365)
    • Removed digest cycle on reset event (d5a53aa6)

v0.1.20 (2013/10/21)

Bug Fixes

  • macScrollSpyAnchor: Fixed interpolated id not working properly (28f0996f)
  • macTime: Removed unnecessary digest cycle on blur (b3faef64)

v0.1.19 (2013/10/16)

Optimizations

  • macAutocomplete:
    • Updated autocomplete to not append menu initially.
    • Menu is appended to body when needed.
    • Menu will not show up when there is no input or after selecting and item.
    • Menu will be removed when scope is destroyed. (b93d17b1)

v0.1.18 (2013/10/9)

Bug Fixes

  • macModal: Fixed showing modal the first time might invoke a digest cycle (bc532a6b)
  • macTagAutocomplete: Fixed autocomplete menu not updating when source gets updated (a26353c5)

0.1.17 (2013/10/8)

Features

Optimizations

  • macFocusOnEvent: Prevent digest cycle from invoking on focus (d019f761)
  • macModal: Allow modal to compile with modal trigger scope (17108162)
  • macTooltip: Clear and not show tooltip with empty string. Make sure events propagate up the bubble (2ab95b26)

Breaking Changes

  • macModal: mac-modal-content is deprecated. Use mac-modal-data instead. (b29cbd68)

v0.1.16 (2013/9/25)

Bug Fixes

  • macKeydown: Fixed mac-keydown events not firing at all (693d263e)

Optimizations

  • macCspinner: Handle timeout better. Switched from setInterval to setTimeout to have better control. Added support for ngShow and ngHide to reduce CPU load. (6f088da9)

v0.1.15 (2013/9/24)

Bug Fixes

  • macTagAutocomplete: Fixed tags getting pushed even when mac-tag-autocomplete-on-enter is returning false (3cef3e74)

Features

  • cspinner: Canvas spinner (33d22fd1)
  • util: Added pyth, degrees, radian and hex2rgb (a3bea8be)

Optimizations

  • macSpinner: Updated to make sure size is rendered correctly. Reduced spinner css size and calculate width and height with js. (61c9549b)

v0.1.14 (2013/9/18)

Bug Fixes

  • changelog: Fixed referencing invalid object (9dc09676)
  • macDatepicker: Fixed cannot reset macDatepicker with null (9d0ab82b, #119)
  • macMenu: Fixed menu index bi-directional binding not working properly (db719b0c)
  • macTime: Fixed not able to reset time with empty string (4420a547, #119)

Optimizations

  • util: Added default values to pluralize, toCamelCase and toSnakeCase (166bf16c)

Breaking Changes

  • util: util.isArray has been removed as it is the same as angular.isArray. User should switch to angular.isArray instead (4f797650)

v0.1.13 (2013/9/15)

Bug Fixes

  • Grunt: Fixed configuration errors with css watch task (9c405f84)
  • macDatepicker: Fixed datepicker possibly watching undefined variables (e6227b73)
  • macTooltip:
    • Fixed removing tooltip invokes $digest cycle (035d677c, #118)
    • Fixed tooltip possibly watching an undefined variable (bc236b27)

Features

  • jqLite: Extended jqLite with new functions. Includes height(), width(), outerHeight(), outerWidth(), offset() and scrollTop() (704bc317)
  • listFilter: Added list filter (de7e2209)

Optimizations

  • Grunt: Moved custom tasks to misc folder Switch to use grunt underscore and grunt.file Removed wrench dependency (6d901f0e)
  • autocomplete: Removed unnecessary watch (5ae2c1a7)
  • directives: Updated directives to work with jqLite. Make sure all core directives run properly with AngularJS jqLite (3794efb6)
  • events: Switched to use bind for event binding. On and off aren't introduced in 1.0.x jqLite. This update will make sure MacGyver works with AngularJS jqLite (d11bb52e)
  • macAutocomplete: Removed jQuery dependency and make sure it works with jqLite (92b76df8)
  • macDatepicker:
    • Removed jQuery dependency (7571bdce)
    • Removed calling digest cycle when setting datepicker date (87ba396e)
  • macModal:
    • Updated mac-modal service to work with jqLite (e3dc31d7)
    • Removed calling digest cycle when changing 'visible' class (6569accd)
  • macTagAutocomplete: Cleaned up tag autocomplete Switched from jQuery to angular.element Refactored how events are bind to autocomplete text field Fixed event not clearing autocomplete text (b88edf25)
  • macTime: Removed calling digest cycle when highlighting text (7e731035)
  • macUpload:
    • Updated directive to be more Angular (fd9a927e)
    • Removed calling digest cycle when changing class on dropzone (5290aff5)
  • package.json: Removed wrench and underscore dependencies (0096f558)
  • server: Switched from express to connect (b2179a8c)