Astro-Constants

 view release on metacpan or  search on metacpan

ChangeLog  view on Meta::CPAN

0.14051   2025-01-11 18:06:06+00:00 Europe/London
====
* moved constants into main module, Astro::Constants
* removed Astro::Constants::CGS from distribution
* removed short names
* changed `:long` tag to `:all`

v0.14	2020 Apr
====
* updated values to the **2018 CODATA** standard
* build script now produces a Raku module for Astro::Constants
* removed references to CGS in documentation
* added script that fetches constant values and uncertainties from NIST
* added warnings to module when using deprecated constants
* added a script to archive the current PhysicalConstants.xml file
* added dimensions to constants in terms of the SI base units
* values that are established by definition are assigned an relative uncertainty of 0
* clarified definition of critical density parameter, rho_c
* updated PhysicalConstants.xml schema definition
  * changed name of **url** element to **source**
  * added _authority_, _year_ and _reference_ attributes to **source**

v0.13	2018 May
====
* adding symbols to PhysicalConstants.xml definition file
* adding deprecation warning to Astro::Constants::CGS - to be removed from package v0.15
* alternateName element in PhysicalConstants.xml can now take a "type" attribute
* alternateName with type=deprecated are now listed with the deprecated tag, not the long tag
* adding RADIUS_JUPITER and MASS_JUPITER to the definition file
* adding notice of deprecation to Astro::Constants::CGS
* updating schema definition to accommodate symbol elements and allow attributes in alternateName
* switched ELECTRON_CHARGE to CHARGE_ELEMENTARY in long name and alternateName

v0.12	2017 Oct
=====
* Fixed MASS_HYDROGEN
* added warning for undefined constants in precision
* removed alternateNames from :long export tag

v0.11	2017 May
=====
* Fixed precision() 

* Added the following constants for compatability with Astro::Cosmology

Added
-----

FOUR_PI 	- 4 * PI
STERADIAN	- solid angle subtended by the radius squared in square degrees

Deprecated
----------

HUBBLE_TIME	- should move to Astro::Cosmology as it's not really constant


v0.10	2016 Feb
=====
A couple of interface-breaking changes:
* 'list_constants' and 'describe_constant' have been removed and
	people are directed to the docs, 'perldoc Astro::Constants'
* 'precision' is broken at the moment and will be fixed in the next version

These changes are enhancements/improvements:
* Short name constants are now *actually* constant and cannot be assigned to
* Values are now stored in an XML file, PhysicalConstants.xml
* Values have been updated using NIST's CODATA 2014 and the IAU 2009/2012
	System of Astronomical Constants
* Long names have an added alternate name to facilitate migrating from
	adjective_noun to noun_adjective.


List of name changes
====================
New names have replaced the old names which are retained in the file using 
the <alternateName> tag



( run in 0.669 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )