Macroid 2.0.0-M4 released

61 views
Skip to first unread message

Nick Stanchenko

unread,
Apr 12, 2015, 6:20:50 PM4/12/15
to mac...@googlegroups.com, scala-on...@googlegroups.com

Please find the changelog below. TL;DR: the most important (breaking) change is that mapUi, flatMapUi, etc, now take UI actions. This was suggested by a few people and is outlined at http://macroid.github.io/guide/UiActions.html#usage-with-futures.

Version 2.0.0-M4

Detailed diff can be found on GitHub.

All modules

All Macroid modules now reside in the same repository and take advantage of a unified build setup. Note that commit history has been rewritten to include references to the relevant modules in the commit messages.

Core

  • mapUiflatMapUi, etc now receive UI actions
  • IDs inside fragments are now hidden from outer search #31
  • Fixed wrongfully eager evaluation of RichOption#|Ui#~ and dialog event handlers
  • FragmentApi is now contravariant in A #33
  • Fixed unused dialog theme parameter
  • Not just a List, but any TraversableOnce is an Effector #47 (thanks Fernando)
  • Generalized typeface tweak #53 (thanks Sean Griffin)
  • toast now supports resource IDs besides plain strings #51 (thanks Sean Griffin)
  • New tweaks for TextView#setHint #49 (thanks Sean Griffin)
  • Added aliases for lw and f #32
  • Added side-based media queries #29
  • New contrib tweaks

Akka

  • Package changed to macroid.akka, artifact changed to macroid-akka

Viewable

  • Added Listable#addFillView

Nick Stanchenko

unread,
Apr 12, 2015, 6:27:27 PM4/12/15
to mac...@googlegroups.com, scala-on...@googlegroups.com
I’d also like to address the question “why M4 and not 2.0.0 stable?”. There are at least two things I would like to see before releasing 2.0.0:
  1. A new implementation of implicit contexts, which replaces ActivityContext and AppContext with a single ContextWrapper — see https://github.com/macroid/macroid/pull/57 and discussions at https://github.com/macroid/macroid/issues/54https://groups.google.com/forum/#!topic/macroid/Xf7JJs-9vV0. I’d be grateful to hear any opinions on this change.
  2. Intent and activity navigation DSL — some discussion can be found at https://groups.google.com/forum/#!searchin/macroid/intent/macroid/BFDlv0Kmohc/ebyLMeuq3pMJ. Currently I don’t have enough time to research this myself (although recently I am able to find more and more time to work on Macroid), so contributions and ideas are welcome :)
Kind regards,
Nick

Austin Guest

unread,
Apr 26, 2015, 8:41:40 PM4/26/15
to mac...@googlegroups.com, scala-on...@googlegroups.com
This is great! Curious: how do we pull this version into current projects?

Is there a published sbt package for it? Or snapshot? Is there some other way to pull it into a project of which I'm not aware?

/a/

Nick Stanchenko

unread,
Apr 26, 2015, 8:55:16 PM4/26/15
to Austin Guest, mac...@googlegroups.com, scala-on...@googlegroups.com

Hi Austin,

Which version do you mean? If the one with the new ContextWrapper implementation, it’s not published yet. I can do a timestamped release (like 2.0.0-20150427) tomorrow (not a fan of snapshots, and I could never figure out the bintray+sonatype magic required anyway). Alternatively you can clone macroid/macroid, set the version to something different, run “sbt publish-local” and reference the published version in your project.

Nick

--
You received this message because you are subscribed to the Google Groups "macroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macroid+u...@googlegroups.com.
To post to this group, send email to mac...@googlegroups.com.
Visit this group at http://groups.google.com/group/macroid.
To view this discussion on the web visit https://groups.google.com/d/msgid/macroid/e4a8ffa7-6652-4b6f-906e-607c4976ba09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Austin Guest

unread,
Apr 26, 2015, 9:01:44 PM4/26/15
to Nick Stanchenko, mac...@googlegroups.com, scala-on...@googlegroups.com
Yes, was interested in the new ContextWrapper implementation. If it doesn't put you out too much to publish the timestamped version, that would be great! Otherwise happy to give the locally published method a try. :)

/a/

Nick Stanchenko

unread,
Apr 27, 2015, 7:09:28 PM4/27/15
to mac...@googlegroups.com, nick....@gmail.com, scala-on...@googlegroups.com


On Monday, April 27, 2015 at 2:01:44 AM UTC+1, Austin Guest wrote:
Yes, was interested in the new ContextWrapper implementation. If it doesn't put you out too much to publish the timestamped version, that would be great! Otherwise happy to give the locally published method a try. :)

/a/
On Sun, Apr 26, 2015 at 8:55 PM, Nick Stanchenko <nick....@gmail.com> wrote:

Hi Austin,

Which version do you mean? If the one with the new ContextWrapper implementation, it’s not published yet. I can do a timestamped release (like 2.0.0-20150427) tomorrow (not a fan of snapshots, and I could never figure out the bintray+sonatype magic required anyway). Alternatively you can clone macroid/macroid, set the version to something different, run “sbt publish-local” and reference the published version in your project.

Nick

On Apr 27, 2015 01:41, "Austin Guest" <guest....@gmail.com> wrote:
This is great! Curious: how do we pull this version into current projects?

Is there a published sbt package for it? Or snapshot? Is there some other way to pull it into a project of which I'm not aware?

/a/



On Sunday, April 12, 2015 at 6:27:27 PM UTC-4, Nick Stanchenko wrote:
I’d also like to address the question “why M4 and not 2.0.0 stable?”. There are at least two things I would like to see before releasing 2.0.0:
  1. A new implementation of implicit contexts, which replaces ActivityContext and AppContext with a single ContextWrapper — see https://github.com/macroid/macroid/pull/57 and discussions at https://github.com/macroid/macroid/issues/54https://groups.google.com/forum/#!topic/macroid/Xf7JJs-9vV0. I’d be grateful to hear any opinions on this change.
  2. Intent and activity navigation DSL — some discussion can be found at https://groups.google.com/forum/#!searchin/macroid/intent/macroid/BFDlv0Kmohc/ebyLMeuq3pMJ. Currently I don’t have enough time to research this myself (although recently I am able to find more and more time to work on Macroid), so contributions and ideas are welcome :)
Kind regards,
Nick

--
You received this message because you are subscribed to the Google Groups "macroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macroid+unsubscribe@googlegroups.com.

To post to this group, send email to mac...@googlegroups.com.
Visit this group at http://groups.google.com/group/macroid.
To view this discussion on the web visit https://groups.google.com/d/msgid/macroid/e4a8ffa7-6652-4b6f-906e-607c4976ba09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Austin Guest

unread,
Apr 27, 2015, 8:16:54 PM4/27/15
to Nick Stanchenko, mac...@googlegroups.com, scala-on...@googlegroups.com

HUZZAH! Thanks, Nick! :)


On Mon, Apr 27, 2015, 7:09 PM Nick Stanchenko <nick....@gmail.com> wrote:


On Monday, April 27, 2015 at 2:01:44 AM UTC+1, Austin Guest wrote:
Yes, was interested in the new ContextWrapper implementation. If it doesn't put you out too much to publish the timestamped version, that would be great! Otherwise happy to give the locally published method a try. :)

/a/
On Sun, Apr 26, 2015 at 8:55 PM, Nick Stanchenko <nick....@gmail.com> wrote:

Hi Austin,

Which version do you mean? If the one with the new ContextWrapper implementation, it’s not published yet. I can do a timestamped release (like 2.0.0-20150427) tomorrow (not a fan of snapshots, and I could never figure out the bintray+sonatype magic required anyway). Alternatively you can clone macroid/macroid, set the version to something different, run “sbt publish-local” and reference the published version in your project.

Nick

On Apr 27, 2015 01:41, "Austin Guest" <guest....@gmail.com> wrote:
This is great! Curious: how do we pull this version into current projects?

Is there a published sbt package for it? Or snapshot? Is there some other way to pull it into a project of which I'm not aware?

/a/



On Sunday, April 12, 2015 at 6:27:27 PM UTC-4, Nick Stanchenko wrote:
I’d also like to address the question “why M4 and not 2.0.0 stable?”. There are at least two things I would like to see before releasing 2.0.0:
  1. A new implementation of implicit contexts, which replaces ActivityContext and AppContext with a single ContextWrapper — see https://github.com/macroid/macroid/pull/57 and discussions at https://github.com/macroid/macroid/issues/54https://groups.google.com/forum/#!topic/macroid/Xf7JJs-9vV0. I’d be grateful to hear any opinions on this change.
  2. Intent and activity navigation DSL — some discussion can be found at https://groups.google.com/forum/#!searchin/macroid/intent/macroid/BFDlv0Kmohc/ebyLMeuq3pMJ. Currently I don’t have enough time to research this myself (although recently I am able to find more and more time to work on Macroid), so contributions and ideas are welcome :)
Kind regards,
Nick

--
You received this message because you are subscribed to the Google Groups "macroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macroid+u...@googlegroups.com.

To post to this group, send email to mac...@googlegroups.com.
Visit this group at http://groups.google.com/group/macroid.
To view this discussion on the web visit https://groups.google.com/d/msgid/macroid/e4a8ffa7-6652-4b6f-906e-607c4976ba09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "macroid" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/macroid/AkTR-82dhew/unsubscribe.
To unsubscribe from this group and all its topics, send an email to macroid+u...@googlegroups.com.

To post to this group, send email to mac...@googlegroups.com.
Visit this group at http://groups.google.com/group/macroid.
Reply all
Reply to author
Forward
0 new messages