All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
NOTE: Version 1.0.0 was release before this changelog was implemented, so those changes are not documented.
- documentation to methods where documentation was lacking
get_[module_type]_all_ids
for classifications, subjects, and resourcesdelete_[module_type]
for classifications, subjects, and resourcesresources.json.jbuilder
jbuilder template
- all methods that had a
field
parameter now have afields
parameter that accepts a string or array, exceptcommon:container_profiles:attach_container_profiles
andcommon:top_containers:attach_top_containers
. This is because ASpace expects a single ref for these two entities - removed hard-coded
page_size
query parameter sinceArchivesspace::Configuration.page_size
is already set as a default.page_size
can be added to individual queries to override the default - removed
.to_sym
for POST methods because of the change in template functionality in archivesspace-client - updated template reference in
chains.thor
based on change in template functionality in archivesspace-client
- fixed bug in
common:objects:make_index_aos_dynamic
where the index return was in the wrong location - fixed typos in
common:objects:move_aos_children_to_parents
- fixed bug in
common:subjects:attach_subjects
. needed to flatten multi-level array - updated
Gemfile
to point to master branch of archivesspace-client
2.2.0 - 2023-03-24
templater.rb
set of tools for creating ERB templatesutils:templatize
method/task to create ERB templates from the command linecommon:objects:attach_resources
methodcommon:locations:attach_locations
methodcommon:locations:get_locations
methodcommon:locations:get_locations_all_ids
methodcommon:locations:make_index
methodcommon:locations:post_locations
methodcommon:locations:delete_locations
methodcommon:container_profiles:attach_container_profiles
methodcommon:container_profiles:delete_container_profiles
methodcommon:container_profiles:get_container_profiles
methodcommon:container_profiles:get_container_profiles_all_ids
methodcommon:container_profiles:make_index
methodcommon:container_profiles:post_container_profiles
methodcommon:top_containers:attach_top_containers
methodcommon:top_containers:delete_top_containers
methodcommon:top_containers:get_top_containers
methodcommon:top_containers:get_top_containers_all_ids
methodcommon:top_containers:make_index
methodcommon:top_containers:post_top_containers
methodregistries:get_csv
methodregistries:json_to_csv
method
- fixed typo in
common:objects:move_aos_children_to_parents
2.1.0 - 2023-02-08
common:objects:make_index_aos_dynamic
methodcommon:objects:move_aos_children_to_parents
methodcommon:objects:post_aos_children
methodcommon:objects:post_aos_children_intermediary_grouping
methodget_children_of_ao
method- aos_tester_iterate.rb example template script for catching breaking template issues
- Changed all remaining
invoke
method calls toexecute
method calls - Generalized all of the directory references in the template utility scripts
- Removed all
*args
method parameters. This was a janky bandaid for callinginvoke
method calls multiple times within a given context
2.0.0 - 2022-10-19
get_json
method to read JSON data from file- needed since methods now accept data instead of files
get_accessions
methodget_accessions_all_ids
methoddelete_accessions
methodmake_index_accessions
methodpost_accessions
methodturn_on_access_restrictions
methodupdate_accessions
method example- Mixin module that contains the
execute
method
- Refactored
get
,get_all_ids
,post
, anddelete
methods for agents- Instead of having static methods for each agent type, these methods are now dynamically defined using
define_method
- Instead of having static methods for each agent type, these methods are now dynamically defined using
- Refactored all
post
methods to accept data rather than reading in a file- This makes the
post
methods more flexible when chaining methods together
- This makes the
- Added a countdown message for each
delete
andpost
method - Moved
attach_x
(agents, subjects, classifications) to their respective classes- Makes more sense than having these methods in the Objects class since one can attach any of those entities to accessions as well
- Refactored the
chains.thor
examples to useget_json
- Changed
aspace_client.rb
log paths to be more reusable in conjuction with kiba-extend projects - Monkey-patched Thor class to include
mixin
module- This replaces all of the
no_commands
blocks previously required in each file
- This replaces all of the
common:subjects:make_index
now removes the spacing around dashes that ArchivesSpace inserts- conforms to common practice for how complex headings are formed
- added condition to
attach_x
methods to ensure the process doesn't override an array if it already exists, adding to it instead
- Removed
post_all_agents
method in favor of the chaining capabilities of this app
1.1.0 - 2022-06-24
- Changelog
- Logging to all POST methods
- Refactored
execute
method with optional arguments
- Removing
post_all_agents
method in the next major release. See issue #17
- Fixed bug in
post_subjects
method