Information about #clr/angular#next - vmware-clarity

both Angular Blog and Twitter mention is possible to use #clr/angular with Angular v6 using #clr/angular#next
Can we have details about that version? which version/branch in GitHub it refers to?
Thanks

#clr/angular#next is a tag for one of our 0.11 releases that supports the ng add functionality. There is a PR open right now that is designed to bring Clarity up to speed with RXJS 6 changes (which were the only real issues for Angular 6). https://github.com/vmware/clarity/pull/2238
You can always look up what a tag references on NPM https://www.npmjs.com/package/#clr/angular, and we tag our releases in GitHub as well for tracking purposes.
After this PR is merged, we will start doing beta releases for 0.12, which will be fully Angular 6 compatible. However, using the 0.11 release with the RXJS compat layer should also work fine. NPM will spit out a few warnings that most likely can be ignored.

Related

Firepad and CodeMirror 6

I couldn't find this information on either Firepad documentation or CodeMirror. I have read CodeMirror is npm bundle based. Is Firepad compatible with CodeMirror 6 ?
Is Firepad compatible with CodeMirror 6 ?
Probably not. At the time of writing, Firepad is running on 5.52.2 (see package.json) and isn't actively developed anymore (see README.md):
This repository is no longer under active development. No new features will be added and issues are not actively triaged. Pull Requests which fix bugs are welcome and will be reviewed on a best-effort basis.
Since Codemirror 6 seems a complete rewrite with a new architecture, I don't think anymore will bother to port it over at the moment.
The original project is no longer mantainer, but I got it working and published the result as the npm package #lucafabbian/firebase. Far from perfect, but runs without major issues.
Check my demo here:
https://github.com/lucafabbian/codemirror6-firepad-demo

Implement User.updatePhoneNumber

When reading through the docs I found that updatePhoneNumber is not implemented in react-native-firebase.
The following methods are not supported in RNFirebase as they cannot work in the React Native environment or have a different implementation.
So how would I implement this specific method?
#Salakar from the react-native-firebase team here - support for updatePhoneNumber is landing in the upcoming v5.0.0 release of react-native-firebase.
If you need this sooner and are ok with using a release candidate version of the library then there should be another v5 RC version published by the end of next week with this change included (v5.0.0-rc2) - keep an eye out on discord for an announcement or the releases page on GitHub.

Is Prism 6.3.0 tied to an older version of Unity (I can't seem to upgrade)

I've got a WPF App using the latest version of Prism for WPF (6.3.0) and Unity. Just a few modules. It works great.
When I manage NuGet packages for my solution, it tells me that there is a new version of Unity (5.4.0) available. Unfortunately, if I try to update to that version, I can no longer build.
It's pretty clear to see why: Upgrading unity via this method removes all references to it (Unity) from my project. Specifically the following 3 references completely disappear from all my projects without any replacement:
Microsoft.Practices.Unity
Microsoft.Practices.Unity.Configuration
Microsoft.Practices.Unity.RegistrationByConvention
(The Prism references remain, of course)
Error messages tell me that IUnityContainer is defined in an unreferenced assembly (Microsoft.Practices.Unity. 4.0.0.0). Given that it removed those assemblies, this all makes sense.
If I then try to go looking to add Unity back in, the Add Project Reference dialog cannot even find Microsoft.Practices.Unity when I search for it.
Now this isn't that big of a deal. I didn't need to upgrade. and it's easy for me to revert back. But I want to understand why this is failing for future reference.
Does this mean that Prism is tied to the older version of Unity and I just shouldn't upgrade?
Does this mean that types have moved to different namespaces and I need to make some other fix?
Some other reason?
Among the Unity 5 updates included a change of namespaces which as you noticed was a major breaking change. There are no plans for Prism 6 to support Unity 5, however the current Prism 7 previews (which is available for WPF) have updated both the Common Service Locator and Unity.
https://www.nuget.org/packages/Prism.Unity/7.0.0.336-pre

Migrate from SBJson 2.2 to SBJson 5

Hello We are using SBJson lib with version pod 'SBJson', '~>2.2.3' and want migrate to latest version pod 'SBJson5', '~> 5.0.0'.
What will be effort to migrate. I mean will it support old methods or do i need find the deprecated or changed methods or any other specific change.
Does any one used this lib or done migration with SBJson do post to this thread.
Please suggest some solution
I don't know how complicated your usage is, but you will definitively have to do some manual edits. I released version 3, with a major shift in focus towards streaming JSON way back in 2011, and I'm frankly amazed version 2.x.x even compiles today!
I tried to document the changes in the repo's NEWS file. When naming the releases I tried to follow SemVer, which means that every 2.x.x -> 3.x.x and 3.x.x -> 4.x.x and 4.x.x -> 5.x.x were named thus because they all broke backwards compatibility in some way.
For version 3 the API went through a big change to focus on streaming. Much of the API changed to support this. Version 4 further removed old methods that had been obsoleted in the 3.1.x, 3.2.x and 3.3.x series. For 4 -> 5 the breaking change was very small: the API stayed the same, and only the behaviour is slightly different. ("Naked Scalars", e.g. strings and numbers not wrapped it an array or object, is now accepted as per the updated JSON RFC.)
Have you considered whether you actually need to use SBJson? You may be better off just using NSJSONSerialisation. After all it's been in the iOS SDK since iOS 5, and in the Mac SDK since a bit after that. The main benefit of using SBJson is if you want to be able to start parsing JSON before it's fully downloaded. (Thus improving perceived latency.)
Other issues you may run into: I fixed a lot of bugs since 2.x.x releases, which means the parser is much stricter now than it was back then. (Due to bugs it used to allow all sorts of broken JSON, and broken UTF-8.) So if you rely on any of that behaviour you will be out of luck. Hopefully that's not the case :-)

How can I upgrade my Realm Swift version from 0.96 to 0.97?

Can I just replace the two old version realm frameworks to the new version ones? Or what should I do?
Yep! If you're not using a dependency manager like CocoaPods or Carthage, you just need to delete the old framework folders and copy the new ones into the same place. Xcode should be fine handling that the next time you attempt to build your project.
If you are using a dependency manager, then you just need to hit the update command in their command line tools, and it'll be taken care of automatically.
Please keep in mind that Realm 0.97 has completely removed all of its previously deprecated APIs, so if you were using any of those, you will get build errors, but they'll be very easy to fix.
I cam up with the same question and while looking around came up with a good solution. This is in addition to what TiM has pointed out. Also, a few things to keep in mind:
I upgraded from version 1.0 to 1.0.1: so there weren't many changes to the framework and commands I used in my app.
I didn't use any special or very specific commands. Mainly the queries and writes/updates of objects. Nothing very fancy. If you have very specific requirements of Realm than I suggest look into those and see if there are any special changes to how they are managed.
Now to the steps:
Remove the frameworks from the "Embedded Binaries" section by clicking the "-":
General Tab - Embedded Binaries
Remove the frameworks from the project itself by right-clicking on them and select "Delete"
Navigator - Framework Files
Now just go and do the steps for installing the frameworks as found in the documentation "realm.io/docs/swift/latest/#installation-swift-22".
I understand this question is rather old, but looking through the SO I dint find a definite answer to this.
Hope this helped!

Resources