Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

272 lines (169 sloc) 9.649 kB
Added ActiveModel validations.
Added callbacks on initialize, save, update, create, delete and find
Added Base.create
HYDRA-730 ActiveFedora isn't being initialized unless it is specified in the project Gemfile
Don't create pids until save
inspect and equality methods
Deprecate datastream_collections
Disseminators have been added
HYDRA-729 don't update xml datastreams unless they've changed
Adapt To
ActiveFedora::Relationship is deprecated
Rails 3.1 compatibility
Ruby 1.9 compatibility
HYDRA-722 updating AF::Base#label= and then saving doesn't persist the change
JettyWrapper to 1.2.0
Upgrade to rspec2
add_file_datastream should take a prefix option.
Added assert_content_model method
Updates for ruby 1.9 compatibility
Update rubydora to 0.2.6
Created a consistent implementation of Model.classname_from_uri
Set mimeType for all datastreams, default to text/xml
Update rubydora to 0.2.4
correctly handling non-default pid_namespace (Benjamin Armintor)
info uri support; rdf:type predicate compatibility with Fedora(Benjamin Armintor)
more flexibility for initializing Rubydora (Michael B. Klein)
NokogiriDatastream and RELS-EXT datastream set mimeType (Justin Coyne)
adds support for better handling of literal values in the RELS-EXT datastream.
adds support for setting the controlGroup via a parameter to has_metadata.
ability to pass a predicate as a parameter to AF::Base#relationships to get a list of the matching targets. This reads a bit better than ids_for_outbound().
refactoring to support overriding certain sections (ContentModel) by consumers of active-fedora.
Based on rubydora for fedora interface
RDF-xml for the relationships
HYDRA-663 -- Passing an empty string to a id setter should clear the belongs to association
Added HasAndBelongsToManyAssociation
HYDRA-654 -- Fixed reification using has_model as the class instead of active_fedora_model
added belongs_to and has_many model relationships
added nested_attributes_for
Added dependency on rails > 3.0.0
HYDRA-650 -- Fixed relationship inheritance (Rick Johnson)
Removed Bundler.require, which was causing odd dependency order resolving.
branched so that trunk now require rails 3.
Named finders HYDRA-541 (Rick Johnson)
moved dirty assignment to NokogiriDatastream#update_values; added test (Benjamin Armintor)
Fixed HYDRA-590
HYDRUS-151: Base.update_datastream_attributes now relies on update_indexed_attributes instead of update_attributes. This makes it easier to support non-javascript forms (and makes update_datastream_attributes worth using).
collection_members_append now returns self.
HYHULL-25: tweaking ContentModel to ignore namespace
Fixed activeresource requirement in specfile
Switched Bundler to rely on specfile for runtime dependencies.
Made Gemfile agnostic about Rails version (dependency on activeresource)
Upgraded to use solrizer 1.0.0, which uses RSolr instead of the outdated ruby-solr:
All solrize and extract methods now accept and return a _Hash_ rather than a Solr::Document
As part of this switch, *all field names are stored as Strings, not Symbols*. If you previously accessed something as solr_doc[:title_t], now you need to access it as solr_doc["title_t"]
Minor: Fixed Gemfile to require activeresource <3.0.0 NOT >3.0.0
Requires Solrizer 0.3.0 or higher
HYDRA-274 Configurable Facets
HYDRA-275 Update ActiveFedora to use Solrizer::XML::TermBasedSolrizer when indexing NokogiriDatastreams
1.2.5 -- botched version release
Bug: Base.file_objects_append wasn't saving the child object after modifying its RELS-EXT
Major: Switched flow of relationship assertions for file objects. Now children assert isPartOf rather than parents asserting hasCollectionMember (see HYDRA-70 and HYDRA-71)
New class method: ActiveFedora::Base#has_bidirectional_relationship creates relationship finder methods that search across bidirectional relationships (ie. finds all of the object's hasPart assertions as well as any objects pointing at it with isPartOf)
Feature: Fedora::Connection now returns the Fedora error in any ServerError messages
Documentation: Added RDoc code comments for experimental features from version 1.2
Bug: MetadataDatastream.update_indexed_attributes doesn't get tripped up by attribute names wrapped in arrays (previously wrapping the symbol in an array would cause an error
Bug: Applied some fixes to usage of URIs in SemanticNode
Misc bug fixes
TERMPORARY: removed solrizer from gem dependency list (cyclic reference breaks bundler)
Now support using OM::XML::Terminologies in NokogiriDatastreams
resolved #504 -- Allow SSL certificate client authentication for connections to Fedora
Added Experimental methods for has_datastream, named_datastream, and remove_relationship (contributed by Rick Johnson at Notre Dame)
MetadataDatastream.update_indexed_attributes was no longer marking the object dirty when triggered. Resulted in changed datastreams not saving. Fixed now.
* Minor fix to Base.get_values_from_datstream (wasn't returning default values when necessary)
* fix to update_index preventing double-metadata
* now nokogiri datastreams initialize with default template.
solrizer fix to ensure that Nokogiri Datastreams are included in Base.to_solr
Nokogiri Datastream support using Nokogiri and OM::XML. Includes indexing of xml contents into solr based on accessors declared using OM::XML:Accessor module.
You now have the option of calling has_metadata without passing in a block
Bug #959: Base.delete fails to delete objects from Solr even when ENABLE_SOLR_UPDATES == true
Feature: triggers Solrizer if you've required the gem in your app
Bug: Model.find_by_solr fails when you pass it an argument of :all
Testing: Updated RSpec tests to run against localhost:8983 with Fedora 3.3 (instead of localhost:8080 with Fedora 3.2). This means you can use a copy of hydra-jetty from
Testing: Reduced the amount of noise output to the shell during tests
1.1.1 2010-03-22
Bug: .load_objects wipes out datastream attributes from model-defined datastreams (ie. label and mimeType)
1.1.0 2010-03-20
Feature #822: Export & Ingest Fedora Objects
1.0.9 2010-03-10
!! Requires a new Solr schema by default. We recommend updating solr with the schema.xml located at If you want to keep using the old schema.xml, you must save the solr mappings file from as config/solr_mappings.yml in your application(s).
Bundled ruby-fedora into active-fedora, removing external gem dependency
Field names now map to solr field names using solr_mappings.yml. You can put your own into RAILS_ROOT/config/solr_mappings.yml or rely on the default within the gem.
* Bug #552: Model relationship should be asserted using hasModel instead of conformsTo
* Bug #614: Datastream should have mime_type accessors
* Bug #692: should allow you to use :mime_type as an argument instead of :mimeType
* Feature #430: YAML-based config files for Fedora Repository and SolrService
* Feature #475: Ability to perform XUpdate-style partial updates of XML metadata
* Feature #753: Configurable Solr Field Names
* Feature #807: update_indexed_attributes should return the new index for any added values
1.0.7 2009-09-18
Performance improvements. Requires RubyFedora 1.0.7 (but will probably work with 1.0.5)
Feature #489: Optimize datastreams method so that you only hit fedora and parse xml when you have to
Bug #415: returns meaningful responses and yields exceptions when appropriate
Bug #465: ActiveFedora::Base#fields method performance issues (tied to #489)
1.0.6 2009-08-27
Minor update.
* ToDo #78: Relationship finders should return an array of ActiveFedora Objects
* Bug #40: Fedora::Datastream should track control_group attribute correctly
* Bug #425: SOLR_DOCUMENT_ID still hardcoded as "id" in a few spots
* Bug #449: using has_metadata breaks support for custom pids
1.0.5 2009-07-17
Minor update.
* Bug #387: Base.deserialize should mark all datastreams as not new
* ToDo #389: Base.update_attributes and Base.update_indexed_attributes should accept :datastream limiter
* Feature #388: Base.update_attributes and Base.update_indexed_attributes should support deleting fields
1.0.4 2009-07-10
!! Not Backwards Compatible with Fedora < 3.2.* !!
* 1 major enhancement:
* ruby-fedora is now compatible with Fedora 3.2.1
* ToDo #272: should accept a :prefix option for auto-incrementing DSIDs
* ToDo #275: Update RubyFedora to work with Fedora 3.2 REST API
* ToDo #308: ActiveFedora::FedoraObject.datatsreams should load label as well as pid and dsId
* ToDo #318: Intelligent FileDatastream and FileAsset Management
* Bug #312: Base.delete should delete the solr record as well as the Fedora Object
* Feature #46: Improve OSX Fedora/Solr Disk Image
* Feature #284: solr document id should by a config option instead of hard coded as "id"
* Feature #307: ActiveFedora::Base should provide a label setter.
* Feature #314: Relationship finder should provide a "response_format" option, default to format of "objects"
* Feature #327: Option to turn off solr updates (assume that something else will update Solr for you)
Jump to Line
Something went wrong with that request. Please try again.