Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
DataMapper 1.1 Released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan Kubb (dkubb)  
View profile  
 More options Mar 17 2011, 1:46 am
From: "Dan Kubb (dkubb)" <dan.k...@gmail.com>
Date: Wed, 16 Mar 2011 22:46:15 -0700 (PDT)
Local: Thurs, Mar 17 2011 1:46 am
Subject: DataMapper 1.1 Released
I'm pleased to announce that we have released DataMapper 1.1.

This has been one of the most enjoyable releases in recent memory. The
community rallied together and compared to the previous release we had
at least 3-4x more people submitting patches and working together to
get this release ready.

DataMapper 1.1 brings several minor API changes, warranting the minor
version bump, and closes 52 tickets in Lighthouse. There have been
many performance improvements, some closing bottlenecks that result in
as much as a 20x speedup from the 1.0.2 behaviour.

As part of the bug fixing process we've refactored some of the objects
we use internally to group relationships and dependencies and removed
methods and classes that were deprecated in 1.0.

Installation
------------

DataMapper can be installed with a one-line command:

  $ gem install datamapper dm-sqlite-adapter --no-ri --no-rdoc

The above command assumes you are using SQLite, but if you plan to use
MySQL, PostgreSQL or something else replace dm-sqlite-adapter with
your preferred adapter gem.

Changes
-------

Here's a list of the tickets we've resolved for 1.1:

  http://datamapper.lighthouseapp.com/projects/20609/milestones/83769

Highlights:

* ActiveSupport / Extlib dependency is removed. If your code relies on
one of these libs then just add a dependency on your own.

* DataMapper::Type is gone now in favour of DataMapper::Property. The
Type API was deprecated in 1.0 but if you still have some Types
floating around read how to upgrade them here:
http://groups.google.com/group/datamapper/browse_thread/thread/5d3d21...

* RelationshipSet and PropertySet are now subclasses of a new
SubjectSet class - more info:
https://github.com/datamapper/dm-core/commit/e97e9af2021660dc422a0354...
Please be aware that previously RelationshipSet and PropertySet
inherited from Hash and Array, respectively.

* Property class finder is now improved and it's possible to declare
properties that aren't defined in DataMapper::Property namespace
without providing the full const path. For instance you can have
YourApp::Properties::FooBar and you can declare it as
"property :foo_bar, FooBar". There's a convention that if your
property class has the same name as one of the other properties from
DataMapper::Property namespace then you have to provide the full const
path, otherwise your property won't be found.

* Removed deprecated methods:

    DataMapper::Collection#add (replaced by #<<)
    DataMapper::Collection#build (replaced by #new)
    DataMapper::IdentityMap#get (replaced by #[])
    DataMapper::IdentityMap#set (replaced by #[]=)
    DataMapper::PropertySet#has_property? (replaced by #named?)
    DataMapper::PropertySet#slice (replaced by #values_at)
    DataMapper::PropertySet#add (replaced by #<<)
    DataMapper::Query::Conditions::Comparison#property (replaced by
#subject)
    DataMapper::Query::Direction#property (replaced by #subject)
    DataMapper::Query::Direction#direction (replaced by #operator)
    DataMapper::Property#unique (replaced by #unique?)
    DataMapper::Property#nullable? (replaced by #allow_nil?)
    DataMapper::Property#value (replaced by #dump)
    DataMapper::Resource#new_record? (replaced by #new?)

How to report issues
--------------------

Please report any issues you find in IRC, on the mailing list, or in
the bug tracker:

  IRC:          #datamapper
  Mailing List: http://groups.google.com/group/datamapper
  Bug Tracker:  http://datamapper.lighthouseapp.com/projects/20609


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Avdi Grimm  
View profile  
 More options Mar 17 2011, 1:55 am
From: Avdi Grimm <gro...@inbox.avdi.org>
Date: Thu, 17 Mar 2011 01:55:56 -0400
Local: Thurs, Mar 17 2011 1:55 am
Subject: Re: [DataMapper] DataMapper 1.1 Released
On Thu, Mar 17, 2011 at 1:46 AM, Dan Kubb (dkubb) <dan.k...@gmail.com> wrote:

> I'm pleased to announce that we have released DataMapper 1.1.

Nice!

--
Avdi Grimm
http://avdi.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Ribeiro  
View profile  
 More options Mar 17 2011, 8:59 am
From: Daniel Ribeiro <dan...@gmail.com>
Date: Thu, 17 Mar 2011 05:59:09 -0700 (PDT)
Local: Thurs, Mar 17 2011 8:59 am
Subject: Re: DataMapper 1.1 Released

Really nice.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Kulik  
View profile  
 More options Mar 17 2011, 8:59 am
From: Marcin Kulik <marcin.ku...@gmail.com>
Date: Thu, 17 Mar 2011 05:59:28 -0700 (PDT)
Local: Thurs, Mar 17 2011 8:59 am
Subject: Re: DataMapper 1.1 Released
Awesome!

On Mar 17, 6:55 am, Avdi Grimm <gro...@inbox.avdi.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Gamsjaeger  
View profile  
 More options Mar 17 2011, 10:04 am
From: Martin Gamsjaeger <gamsnj...@gmail.com>
Date: Thu, 17 Mar 2011 15:04:26 +0100
Local: Thurs, Mar 17 2011 10:04 am
Subject: Re: [DataMapper] Re: DataMapper 1.1 Released
Totally awesome! Congratz everyone!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Piotr Solnica  
View profile  
 More options Mar 17 2011, 5:58 pm
From: Piotr Solnica <piotr.soln...@gmail.com>
Date: Thu, 17 Mar 2011 14:58:08 -0700 (PDT)
Local: Thurs, Mar 17 2011 5:58 pm
Subject: Re: DataMapper 1.1 Released
YES! Good job!

It's also worth mentioning that we have a CI server setup which runs
entire DataMapper spec suite of ~ 30 gems on 5 adapters and 4 ruby
vms. It means from now on it will be much easier to do quick bug fix
releases and in general it should speed up the development.

Check it out here: http://ci.datamapper.org

Cheers!

# solnic

On Mar 17, 6:46 am, "Dan Kubb (dkubb)" <dan.k...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michishige Kaito  
View profile  
 More options May 21 2011, 12:20 pm
From: Michishige Kaito <chris.webs...@gmail.com>
Date: Sat, 21 May 2011 09:20:16 -0700 (PDT)
Local: Sat, May 21 2011 12:20 pm
Subject: Re: DataMapper 1.1 Released

Does any documentation on the following deprecation message exist?

DataObjects::URI.new with arguments is deprecated, use a Hash of URI
components


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Piotr Solnica  
View profile  
 More options May 21 2011, 12:45 pm
From: Piotr Solnica <piotr.soln...@gmail.com>
Date: Sat, 21 May 2011 18:45:28 +0200
Local: Sat, May 21 2011 12:45 pm
Subject: Re: [DataMapper] Re: DataMapper 1.1 Released
On 05/21/2011 06:20 PM, Michishige Kaito wrote:

> Does any documentation on the following deprecation message exist?

> DataObjects::URI.new with arguments is deprecated, use a Hash of URI
> components

This warning is already gone in DM 1.1.1 which will be released once the
blocker issue in DO is fixed.

Cheers

# solnic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier (DBIYF)  
View profile  
 More options May 21 2011, 11:30 pm
From: "Xavier (DBIYF)" <xav...@dbisyourfriend.com>
Date: Sun, 22 May 2011 13:30:07 +1000
Local: Sat, May 21 2011 11:30 pm
Subject: Re: [DataMapper] Re: DataMapper 1.1 Released
On 22/05/11 2:20 AM, Michishige Kaito wrote:
> Does any documentation on the following deprecation message exist?

> DataObjects::URI.new with arguments is deprecated, use a Hash of URI
> components

To fix it now, use a git version of dm-do-adapter just before 1.1.1 was
gemspecced.

# We can technically use the 1.1 gem, but it throws up deprecation warnings.
# This ref is the commit the warnings were silenced, but is before the DM
# dependencies were bumped to 1.1.1 (which hasn't been released yet)
gem 'dm-do-adapter',
   git: 'git://github.com/datamapper/dm-do-adapter',
   ref: '7f0b53d1ada8735910e0'

Xavier


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mltsy  
View profile  
 More options Jun 29 2011, 4:01 pm
From: mltsy <j...@ownlocal.com>
Date: Wed, 29 Jun 2011 13:01:09 -0700 (PDT)
Local: Wed, Jun 29 2011 4:01 pm
Subject: Re: DataMapper 1.1 Released
I think it's worth mentioning that the Mash class and the to_mash
method are part of extlib.  I found those quite useful, and wondered
where they had gone after I updated to DataMapper 1.1.0

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »