Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging for release 0.3.0 #261

Merged
merged 2 commits into from May 25, 2018
Merged

Staging for release 0.3.0 #261

merged 2 commits into from May 25, 2018

Conversation

jashnani
Copy link

Staging for release 0.3.0

  • This contribution adheres to CONTRIBUTING.md.
    - [ ] New tests have been created for any new features or regression tests for bugfixes.
  • tox successfully runs, including unit tests and style checks (see CONTRIBUTING.md).

Fixes ni#220

Encouraging install to compatible versions.
@jashnani jashnani force-pushed the release branch 2 times, most recently from 2dab087 to 9b8e98d Compare May 25, 2018 21:06
Breaking Changes

* Renamed `Database.save_database()` to `Database.save()` ni@039e374
  * `Database.save()` now defaults to overwriting
*  Renamed `Database.cluster` to `Database.clusters` ni@57fb0cf
* `LinSchedEntry.frames` will now get/set a list of Frame objects instead ni@855b783
* Changed type of `Ecu.lin_protocol_ver` to an enum ni@02dac70
* Renamed `nixnet.db` namespace to `nixnet.database` ni@d539f32
* Renamed database objects' properties ni@b216d61
  * Renamed `Cluster.pd_us_reqd` to `Cluster.pdus_reqd`
  * Renamed `Cluster.sig_refs` to `Cluster.sigs`
  * Renamed `Ecu.clst_ref` to `Ecu.clst`
  * Renamed `Ecu.rx_frm_refs` to `Ecu.rx_frms`
  * Renamed `Ecu.tx_frm_refs` to `Ecu.tx_frms`
  * Renamed `Ecu.linp_2min` to `Ecu.lin_p2_min`
  * Renamed `Ecu.lins_tmin` to `Ecu.lin_st_min`
  * Renamed `Frame.cluster_ref` to `Frame.cluster`
  * Renamed `Frame.sig_refs` to `Frame.sigs`
  * Renamed `Frame.mux_data_mux_sig_ref` to `Frame.mux_data_mux_sig`
  * Renamed `Frame.pdu_refs` to `Frame.pdus`
  * Renamed `LinSched.clst_ref` to `LinSched.clst`
  * Renamed `Pdu.cluster_ref` to `Pdu.cluster`
  * Renamed `Pdu.frm_refs` to `Pdu.frms`
  * Renamed `Pdu.mux_data_mux_sig_ref` to `Pdu.mux_data_mux_sig`
  * Renamed `Pdu.mux_static_sig_refs` to `Pdu.mux_static_sigs`
  * Renamed `Signal.frame_ref` to `Signal.frame`
  * Renamed `Signal.pdu_ref` to `Signal.pdu`
  * Renamed `Signal.mux_subfrm_ref` to `Signal.mux_subfrm`
  * Renamed `SubFrame.frm_ref` to `SubFrame.frm`
  * Renamed `SubFrame.pdu_ref` to `SubFrame.pdu`
* Changed database objects' property types ni@b216d61
  * Frame.application_protocol is now constants.AppProtocol
  * Frame.can_timing_type type is now constants.FrmCanTiming
  * Frame.lin_checksum type is now constants.FrmLinChecksum
  * All property renames that dropped "ref" now get/set the db object
    except for Cluster.database (opened issue ni#244)
* Removed `constants.IntfCanFdIsoMode` (unused duplicate of `constants.CanFdIsoMode`) ni@b216d61
* Renamed `config_status` to `check_config_status` ni@fb9db27
  * `check_config_status` now raises exceptions and logs warnings (as opposed to returning a status code)
* `pdus`, `pdu_start_bits`, and `pdu_update_bits` properties have been removed from the Frame class. Use `pdu_properties` instead. ni@043b296
* Renamed `constants.DevForm.PX_IE` to `constants.DevForm.PXIE` ni@df5d287

Features

* Expose System and Database references as Collections ni@a2a8bec
  * Improve performance for list(sys.databases) ni@caa19f8
  * Support `len()` for System iterables ni@b799f7c
* Added examples for dynamic database creation ni@024bacc
* Support for DBC Attributes from Cluster, Frame, ECU and Signal objects. ni@075ec5b
* Support for DBC Signal Value Table ni@d46b4fd ni@755274d
* Support for exporting Cluster objects to a database file ni@5218cec
* Support for descendant find for database objects ni@675f03e

Bug Fixes

* Corrected Signal parenting  ni@e5842b1
* Fixed mux_subframes property to return Frame subframes ni@a5eb586
* Fixed a bug in `nx_read_state` that affected Session properties ni@34345e9
* Fixed an ASCII decoding bug in the following properties ni@d608b33
  * DatabaseObject.comment
  * Frames.set_session_j1939_addr_filter
  * Interface.src_term_start_trigger
* Fixed some examples for Python27 and improved them for Python34 ni@f93982c
@coveralls
Copy link

coveralls commented May 26, 2018

Coverage Status

Coverage remained the same at 67.708% when pulling bfe6108 on jashnani:release into 698ae2a on ni:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 67.708% when pulling 061cc13 on jashnani:release into 698ae2a on ni:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants