SenseNet / sn-controls-aurelia

Aurelia controls for sensenet ECM
GNU General Public License v2.0
2 stars 0 forks source link

An in-range update of sn-client-js is breaking the build 🚨 #6

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

Version 2.1.0 of sn-client-js just got published.

Branch Build failing 🚨
Dependency sn-client-js
Current Version 2.0.1
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

sn-client-js is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them. I recommend you give this issue a very high priority. I’m sure you can resolve this :muscle:

Status Details - ❌ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/SenseNet/sn-controls-aurelia/builds/258054929?utm_source=github_status&utm_medium=notification)

Release Notes 2.1.0

New features

  • New hierarchical content comparison methods on Content instance level
    • IsParentOf()
    • IsChildOf()
    • IsAncestorOf()
    • IsDescendantOf()
  • repository.Events Observables - RxJS Observables to track repository events
    • OnContentCreated
    • OnContentCreateFailed
    • OnContentModified
    • OnContentModificationFailed
    • OnContentLoaded
    • OnContentDeleted
    • OnContentDeleteFailed
    • OnContentMoved
    • OnContentMoveFailed
    • OnCustomActionExecuted
    • OnCustomActionFailed
  • ContentSerializer feature - can be used to stringify and parse content maintaining all of its data and its origin.
    • Added content.Stringify(): string
    • Added repository.ParseContent(): T
  • ContentReferenceField and ContentListReferenceField handling improved
    • Allow to get the reference w/o additional request when expanded
    • Allow to lazy-load reference when not expanded
    • Automatically serialize and deserialize reference values for requests
  • Content.Reload(viewName)
    • Reload a Content instance, $expand and $select fields automatically based on the desired view
  • Content.ReloadFields(...fields)
    • Reload the specified fields / references on a Content instance

Changes

  • repository.Load() parameter ordering has been changed to: idOrPath:string | int, odataOptions?: IODataParams, returnsType?, version?
  • Content.Create() parameter ordering has been changed to: contentOptions: IContentOptions, newContentType, repository: BaseRepository
  • repository.HandleLoadedContent() will try to get the content type from the constructor options 'Type' field, if provided, and the optional contentType parameter is not provided
  • Content.GetSchema() will fall back to GenericContent's schema instead of throwing an error when there is no available Schema for the type
  • Updated sensenet specific enums to be string-based ones. Their values will be provided by sensenet ECM and they can be used on API calls without casting or converting

Fixes

  • Fixed content.Delete() fired a duplicated request
  • Fixed content.HasPermission() method
  • Fixed typo on ControlMapper.GetFullSchemaForContentType()

Deprecations

  • repository.Content - Please use repository.GetODataApi() instead
  • Content.HandleLoadedContent() - Please use repository.HandleLoadedContent() instead
Commits

The new version differs by 10 commits.

  • 6f5126e chore(package): bumped version
  • 84124af Feature/reference loading (#35)
  • 020b100 Merge branch 'master' into development
  • 0f04123 feat(Enums): Updated Enums to Typescript 2.4.1 string based enums (#34)
  • 342437e chore(package): update typescript to version 2.4.2 (#36)
  • d07bdfd Merge branch 'hotfix/2.0.1' into development
  • 9ce5b77 Merge branch 'hotfix/2.0.1'
  • 56483d7 Merge branch 'master' into hotfix/2.0.1
  • e71d2e2 chore(package): update chai to version 4.1.0 (#33)
  • ed59e6c Merge branch 'release/2.0.0' into development

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 7 years ago

After pinning to 2.0.1 your tests are passing again. Downgrade this dependency 📌.